From 2a2d605d038d9f8389e44cda347371d8f156a9d1 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 8 Oct 2024 10:34:47 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 166308 --- .../messages/delta/delta_request_builder.py | 6 +- .../replies/delta/delta_request_builder.py | 6 +- .../device_app_management_request_builder.py | 4 +- ...managed_app_policy_item_request_builder.py | 8 +- .../target_apps_request_builder.py | 2 +- .../managed_app_policies_request_builder.py | 8 +- .../target_apps_request_builder.py | 2 +- .../target_apps_request_builder.py | 2 +- .../assignments_request_builder.py | 8 +- ..._e_book_assignment_item_request_builder.py | 14 +- ...bile_app_configurations_request_builder.py | 8 +- .../item/mobile_app_item_request_builder.py | 20 +- .../mobile_apps_request_builder.py | 14 +- ...ice_compliance_policies_request_builder.py | 14 +- ..._compliance_policy_item_request_builder.py | 20 +- .../device_configurations_request_builder.py | 14 +- ...vice_configuration_item_request_builder.py | 20 +- ...rollment_configurations_request_builder.py | 6 +- ...ment_configuration_item_request_builder.py | 20 +- .../device_management_request_builder.py | 4 +- .../device_category_request_builder.py | 10 + .../ref/ref_request_builder.py | 157 ++ .../role_definition_item_request_builder.py | 8 +- .../role_definitions_request_builder.py | 8 +- .../item/preview/preview_post_request_body.py | 13 +- .../preview/preview_post_request_body_zoom.py | 71 + .../retention_label_request_builder.py | 6 +- .../names/item/range/range_request_builder.py | 6 +- .../names/item/range/range_request_builder.py | 6 +- .../external_item_item_request_builder.py | 6 +- .../item/conversation_item_request_builder.py | 10 +- .../item/reply/reply_request_builder.py | 6 +- .../messages/delta/delta_request_builder.py | 6 +- .../replies/delta/delta_request_builder.py | 6 +- .../messages/delta/delta_request_builder.py | 6 +- .../replies/delta/delta_request_builder.py | 6 +- ...onversation_thread_item_request_builder.py | 2 +- .../item/posts/posts_request_builder.py | 8 +- .../item/reply/reply_request_builder.py | 6 +- .../named_location_item_request_builder.py | 14 +- msgraph/generated/kiota-dom-export.txt | 2227 +++++++++++++++-- msgraph/generated/kiota-lock.json | 4 +- .../models/average_comparative_score.py | 13 +- ...average_comparative_score_average_score.py | 71 + .../generated/models/booking_appointment.py | 9 +- .../models/booking_appointment_price.py | 71 + msgraph/generated/models/booking_service.py | 9 +- .../models/booking_service_default_price.py | 71 + .../models/call_records/device_info.py | 112 +- ...nfo_capture_not_functioning_event_ratio.py | 71 + ...device_info_cpu_insufficent_event_ratio.py | 71 + ...device_info_device_clipping_event_ratio.py | 71 + .../device_info_device_glitch_event_ratio.py | 71 + ...o_initial_signal_level_root_mean_square.py | 71 + ...evice_info_low_speech_level_event_ratio.py | 71 + ...ce_info_low_speech_to_noise_event_ratio.py | 71 + .../device_info_mic_glitch_rate.py | 71 + .../device_info_render_mute_event_ratio.py | 71 + ...info_render_not_functioning_event_ratio.py | 71 + ...ice_info_render_zero_volume_event_ratio.py | 71 + .../device_info_speaker_glitch_rate.py | 71 + .../models/call_records/media_stream.py | 108 +- .../media_stream_average_audio_degradation.py | 71 + .../media_stream_average_packet_loss_rate.py | 71 + ...ream_average_ratio_of_concealed_samples.py | 71 + ...edia_stream_average_received_frame_rate.py | 71 + ...eam_average_video_frame_loss_percentage.py | 71 + .../media_stream_average_video_frame_rate.py | 71 + ...a_stream_average_video_packet_loss_rate.py | 71 + .../media_stream_low_frame_rate_ratio.py | 71 + ...m_low_video_processing_capability_ratio.py | 71 + .../media_stream_max_packet_loss_rate.py | 71 + ...a_stream_max_ratio_of_concealed_samples.py | 71 + ...rward_error_correction_packet_loss_rate.py | 71 + .../models/call_records/network_info.py | 36 +- .../network_info_bandwidth_low_event_ratio.py | 71 + .../network_info_delay_event_ratio.py | 71 + ...twork_info_received_quality_event_ratio.py | 71 + .../network_info_sent_quality_event_ratio.py | 71 + msgraph/generated/models/control_score.py | 13 +- .../generated/models/control_score_score.py | 71 + .../generated/models/data_policy_operation.py | 9 +- .../models/data_policy_operation_progress.py | 71 + .../generated/models/device_geo_location.py | 67 +- .../models/device_geo_location_altitude.py | 71 + .../models/device_geo_location_heading.py | 71 + ...device_geo_location_horizontal_accuracy.py | 71 + .../models/device_geo_location_latitude.py | 71 + .../models/device_geo_location_longitude.py | 71 + .../models/device_geo_location_speed.py | 71 + .../device_geo_location_vertical_accuracy.py | 71 + .../models/device_log_collection_response.py | 9 +- ...ice_log_collection_response_size_in_k_b.py | 71 + .../education_assignment_points_grade.py | 9 +- ...ducation_assignment_points_grade_points.py | 71 + .../education_assignment_points_grade_type.py | 9 +- ...assignment_points_grade_type_max_points.py | 71 + .../models/entitlement_management_schedule.py | 2 +- msgraph/generated/models/geo_coordinates.py | 31 +- .../models/geo_coordinates_altitude.py | 71 + .../models/geo_coordinates_latitude.py | 71 + .../models/geo_coordinates_longitude.py | 71 + .../generated/models/identity_user_flow.py | 9 +- ...entity_user_flow_user_flow_type_version.py | 71 + .../generated/models/insight_value_double.py | 9 +- .../models/insight_value_double_value.py | 71 + .../models/meeting_time_suggestion.py | 9 +- .../meeting_time_suggestion_confidence.py | 71 + msgraph/generated/models/number_column.py | 22 +- .../generated/models/number_column_maximum.py | 71 + .../generated/models/number_column_minimum.py | 71 + .../models/oma_setting_floating_point.py | 9 +- .../oma_setting_floating_point_value.py | 71 + ...mises_directory_synchronization_feature.py | 2 +- .../models/outlook_geo_coordinates.py | 49 +- .../outlook_geo_coordinates_accuracy.py | 71 + .../outlook_geo_coordinates_altitude.py | 71 + ...tlook_geo_coordinates_altitude_accuracy.py | 71 + .../outlook_geo_coordinates_latitude.py | 71 + .../outlook_geo_coordinates_longitude.py | 71 + msgraph/generated/models/payload.py | 9 +- .../payload_predicted_compromise_rate.py | 71 + msgraph/generated/models/photo.py | 40 +- .../models/photo_exposure_denominator.py | 71 + .../models/photo_exposure_numerator.py | 71 + msgraph/generated/models/photo_f_number.py | 71 + .../generated/models/photo_focal_length.py | 71 + msgraph/generated/models/printer_location.py | 22 +- .../models/printer_location_latitude.py | 71 + .../models/printer_location_longitude.py | 71 + .../generated/models/recommended_action.py | 13 +- ...commended_action_potential_score_impact.py | 71 + msgraph/generated/models/reference_numeric.py | 7 + .../models/relying_party_detailed_summary.py | 9 +- ...y_detailed_summary_sign_in_success_rate.py | 71 + msgraph/generated/models/rubric_quality.py | 9 +- .../generated/models/rubric_quality_weight.py | 71 + .../generated/models/scored_email_address.py | 9 +- .../scored_email_address_relevance_score.py | 71 + msgraph/generated/models/secure_score.py | 18 +- .../models/secure_score_control_profile.py | 9 +- .../secure_score_control_profile_max_score.py | 71 + .../models/secure_score_current_score.py | 71 + .../models/secure_score_max_score.py | 71 + .../generated/models/security/cvss_summary.py | 9 +- .../models/security/cvss_summary_score.py | 71 + .../generated/models/security/geo_location.py | 22 +- .../models/security/geo_location_latitude.py | 71 + .../models/security/geo_location_longitude.py | 71 + msgraph/generated/models/service_principal.py | 2 +- .../models/simulation_events_content.py | 9 +- ...ulation_events_content_compromised_rate.py | 71 + .../teleconference_device_media_quality.py | 36 +- ..._inbound_packet_loss_rate_in_percentage.py | 71 + ...outbound_packet_loss_rate_in_percentage.py | 71 + ..._inbound_packet_loss_rate_in_percentage.py | 71 + ...outbound_packet_loss_rate_in_percentage.py | 71 + .../teleconference_device_video_quality.py | 36 +- ..._video_quality_average_inbound_bit_rate.py | 71 + ...ideo_quality_average_inbound_frame_rate.py | 71 + ...video_quality_average_outbound_bit_rate.py | 71 + ...deo_quality_average_outbound_frame_rate.py | 71 + msgraph/generated/models/trending.py | 9 +- msgraph/generated/models/trending_weight.py | 71 + msgraph/generated/models/user.py | 6 +- ...tics_app_health_application_performance.py | 9 +- ...pplication_performance_app_health_score.py | 71 + ...ics_app_health_device_model_performance.py | 9 +- ...odel_performance_model_app_health_score.py | 71 + ...analytics_app_health_device_performance.py | 9 +- ...ice_performance_device_app_health_score.py | 71 + ...tics_app_health_o_s_version_performance.py | 9 +- ...performance_os_version_app_health_score.py | 71 + ...experience_analytics_device_performance.py | 36 +- ...device_performance_average_blue_screens.py | 71 + ...ics_device_performance_average_restarts.py | 71 + ...ormance_model_startup_performance_score.py | 71 + ...e_performance_startup_performance_score.py | 71 + ...user_experience_analytics_device_scores.py | 45 +- ...ics_device_scores_app_reliability_score.py | 71 + ...tics_device_scores_battery_health_score.py | 71 + ..._device_scores_endpoint_analytics_score.py | 71 + ...device_scores_startup_performance_score.py | 71 + ..._device_scores_work_from_anywhere_score.py | 71 + .../user_experience_analytics_metric.py | 9 +- .../user_experience_analytics_metric_value.py | 71 + .../user_experience_analytics_model_scores.py | 45 +- ...tics_model_scores_app_reliability_score.py | 71 + ...ytics_model_scores_battery_health_score.py | 71 + ...s_model_scores_endpoint_analytics_score.py | 71 + ..._model_scores_startup_performance_score.py | 71 + ...s_model_scores_work_from_anywhere_score.py | 71 + ...nce_analytics_work_from_anywhere_device.py | 45 +- ...om_anywhere_device_cloud_identity_score.py | 71 + ..._anywhere_device_cloud_management_score.py | 71 + ...nywhere_device_cloud_provisioning_score.py | 71 + ...work_from_anywhere_device_windows_score.py | 71 + ...nywhere_device_work_from_anywhere_score.py | 71 + ...from_anywhere_hardware_readiness_metric.py | 81 +- ...iness_metric_os_check_failed_percentage.py | 71 + ...processor64_bit_check_failed_percentage.py | 71 + ...ssor_core_count_check_failed_percentage.py | 71 + ...rocessor_family_check_failed_percentage.py | 71 + ...processor_speed_check_failed_percentage.py | 71 + ...ness_metric_ram_check_failed_percentage.py | 71 + ...ric_secure_boot_check_failed_percentage.py | 71 + ..._metric_storage_check_failed_percentage.py | 71 + ...ness_metric_tpm_check_failed_percentage.py | 71 + ...cs_work_from_anywhere_model_performance.py | 45 +- ..._model_performance_cloud_identity_score.py | 71 + ...odel_performance_cloud_management_score.py | 71 + ...el_performance_cloud_provisioning_score.py | 71 + ...nywhere_model_performance_windows_score.py | 71 + ...el_performance_work_from_anywhere_score.py | 71 + .../user_training_content_event_info.py | 13 +- ...ntent_event_info_potential_score_impact.py | 71 + msgraph/generated/models/video.py | 13 +- msgraph/generated/models/video_frame_rate.py | 71 + msgraph/generated/models/web_part_position.py | 31 +- .../models/web_part_position_column_id.py | 71 + ...web_part_position_horizontal_section_id.py | 71 + .../web_part_position_web_part_index.py | 71 + msgraph/generated/models/workbook_chart.py | 36 +- .../generated/models/workbook_chart_font.py | 9 +- .../models/workbook_chart_font_size.py | 71 + .../generated/models/workbook_chart_height.py | 71 + .../generated/models/workbook_chart_left.py | 71 + .../generated/models/workbook_chart_top.py | 71 + .../generated/models/workbook_chart_width.py | 71 + .../generated/models/workbook_range_font.py | 9 +- .../models/workbook_range_font_size.py | 71 + .../generated/models/workbook_range_format.py | 18 +- .../workbook_range_format_column_width.py | 71 + .../workbook_range_format_row_height.py | 71 + .../banner_logo_request_builder.py | 6 +- .../item/organization_item_request_builder.py | 8 +- ...dentity_synchronization_request_builder.py | 6 +- .../generated/sites/sites_request_builder.py | 8 +- ...onversation_member_item_request_builder.py | 6 +- .../messages/delta/delta_request_builder.py | 6 +- .../replies/delta/delta_request_builder.py | 6 +- .../messages/delta/delta_request_builder.py | 6 +- .../replies/delta/delta_request_builder.py | 6 +- .../messages/delta/delta_request_builder.py | 6 +- .../replies/delta/delta_request_builder.py | 6 +- ...lti_tenant_organization_request_builder.py | 6 +- .../messages/delta/delta_request_builder.py | 6 +- .../replies/delta/delta_request_builder.py | 6 +- .../find_meeting_times_post_request_body.py | 9 +- ...equest_body_minimum_attendee_percentage.py | 71 + .../messages/delta/delta_request_builder.py | 6 +- .../replies/delta/delta_request_builder.py | 6 +- .../messages/delta/delta_request_builder.py | 6 +- .../replies/delta/delta_request_builder.py | 6 +- .../device_category_request_builder.py | 10 + .../ref/ref_request_builder.py | 157 ++ .../users/item/user_item_request_builder.py | 16 +- .../generated/users/users_request_builder.py | 14 +- 258 files changed, 13137 insertions(+), 919 deletions(-) create mode 100644 msgraph/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py create mode 100644 msgraph/generated/drives/item/items/item/preview/preview_post_request_body_zoom.py create mode 100644 msgraph/generated/models/average_comparative_score_average_score.py create mode 100644 msgraph/generated/models/booking_appointment_price.py create mode 100644 msgraph/generated/models/booking_service_default_price.py create mode 100644 msgraph/generated/models/call_records/device_info_capture_not_functioning_event_ratio.py create mode 100644 msgraph/generated/models/call_records/device_info_cpu_insufficent_event_ratio.py create mode 100644 msgraph/generated/models/call_records/device_info_device_clipping_event_ratio.py create mode 100644 msgraph/generated/models/call_records/device_info_device_glitch_event_ratio.py create mode 100644 msgraph/generated/models/call_records/device_info_initial_signal_level_root_mean_square.py create mode 100644 msgraph/generated/models/call_records/device_info_low_speech_level_event_ratio.py create mode 100644 msgraph/generated/models/call_records/device_info_low_speech_to_noise_event_ratio.py create mode 100644 msgraph/generated/models/call_records/device_info_mic_glitch_rate.py create mode 100644 msgraph/generated/models/call_records/device_info_render_mute_event_ratio.py create mode 100644 msgraph/generated/models/call_records/device_info_render_not_functioning_event_ratio.py create mode 100644 msgraph/generated/models/call_records/device_info_render_zero_volume_event_ratio.py create mode 100644 msgraph/generated/models/call_records/device_info_speaker_glitch_rate.py create mode 100644 msgraph/generated/models/call_records/media_stream_average_audio_degradation.py create mode 100644 msgraph/generated/models/call_records/media_stream_average_packet_loss_rate.py create mode 100644 msgraph/generated/models/call_records/media_stream_average_ratio_of_concealed_samples.py create mode 100644 msgraph/generated/models/call_records/media_stream_average_received_frame_rate.py create mode 100644 msgraph/generated/models/call_records/media_stream_average_video_frame_loss_percentage.py create mode 100644 msgraph/generated/models/call_records/media_stream_average_video_frame_rate.py create mode 100644 msgraph/generated/models/call_records/media_stream_average_video_packet_loss_rate.py create mode 100644 msgraph/generated/models/call_records/media_stream_low_frame_rate_ratio.py create mode 100644 msgraph/generated/models/call_records/media_stream_low_video_processing_capability_ratio.py create mode 100644 msgraph/generated/models/call_records/media_stream_max_packet_loss_rate.py create mode 100644 msgraph/generated/models/call_records/media_stream_max_ratio_of_concealed_samples.py create mode 100644 msgraph/generated/models/call_records/media_stream_post_forward_error_correction_packet_loss_rate.py create mode 100644 msgraph/generated/models/call_records/network_info_bandwidth_low_event_ratio.py create mode 100644 msgraph/generated/models/call_records/network_info_delay_event_ratio.py create mode 100644 msgraph/generated/models/call_records/network_info_received_quality_event_ratio.py create mode 100644 msgraph/generated/models/call_records/network_info_sent_quality_event_ratio.py create mode 100644 msgraph/generated/models/control_score_score.py create mode 100644 msgraph/generated/models/data_policy_operation_progress.py create mode 100644 msgraph/generated/models/device_geo_location_altitude.py create mode 100644 msgraph/generated/models/device_geo_location_heading.py create mode 100644 msgraph/generated/models/device_geo_location_horizontal_accuracy.py create mode 100644 msgraph/generated/models/device_geo_location_latitude.py create mode 100644 msgraph/generated/models/device_geo_location_longitude.py create mode 100644 msgraph/generated/models/device_geo_location_speed.py create mode 100644 msgraph/generated/models/device_geo_location_vertical_accuracy.py create mode 100644 msgraph/generated/models/device_log_collection_response_size_in_k_b.py create mode 100644 msgraph/generated/models/education_assignment_points_grade_points.py create mode 100644 msgraph/generated/models/education_assignment_points_grade_type_max_points.py create mode 100644 msgraph/generated/models/geo_coordinates_altitude.py create mode 100644 msgraph/generated/models/geo_coordinates_latitude.py create mode 100644 msgraph/generated/models/geo_coordinates_longitude.py create mode 100644 msgraph/generated/models/identity_user_flow_user_flow_type_version.py create mode 100644 msgraph/generated/models/insight_value_double_value.py create mode 100644 msgraph/generated/models/meeting_time_suggestion_confidence.py create mode 100644 msgraph/generated/models/number_column_maximum.py create mode 100644 msgraph/generated/models/number_column_minimum.py create mode 100644 msgraph/generated/models/oma_setting_floating_point_value.py create mode 100644 msgraph/generated/models/outlook_geo_coordinates_accuracy.py create mode 100644 msgraph/generated/models/outlook_geo_coordinates_altitude.py create mode 100644 msgraph/generated/models/outlook_geo_coordinates_altitude_accuracy.py create mode 100644 msgraph/generated/models/outlook_geo_coordinates_latitude.py create mode 100644 msgraph/generated/models/outlook_geo_coordinates_longitude.py create mode 100644 msgraph/generated/models/payload_predicted_compromise_rate.py create mode 100644 msgraph/generated/models/photo_exposure_denominator.py create mode 100644 msgraph/generated/models/photo_exposure_numerator.py create mode 100644 msgraph/generated/models/photo_f_number.py create mode 100644 msgraph/generated/models/photo_focal_length.py create mode 100644 msgraph/generated/models/printer_location_latitude.py create mode 100644 msgraph/generated/models/printer_location_longitude.py create mode 100644 msgraph/generated/models/recommended_action_potential_score_impact.py create mode 100644 msgraph/generated/models/reference_numeric.py create mode 100644 msgraph/generated/models/relying_party_detailed_summary_sign_in_success_rate.py create mode 100644 msgraph/generated/models/rubric_quality_weight.py create mode 100644 msgraph/generated/models/scored_email_address_relevance_score.py create mode 100644 msgraph/generated/models/secure_score_control_profile_max_score.py create mode 100644 msgraph/generated/models/secure_score_current_score.py create mode 100644 msgraph/generated/models/secure_score_max_score.py create mode 100644 msgraph/generated/models/security/cvss_summary_score.py create mode 100644 msgraph/generated/models/security/geo_location_latitude.py create mode 100644 msgraph/generated/models/security/geo_location_longitude.py create mode 100644 msgraph/generated/models/simulation_events_content_compromised_rate.py create mode 100644 msgraph/generated/models/teleconference_device_media_quality_average_inbound_packet_loss_rate_in_percentage.py create mode 100644 msgraph/generated/models/teleconference_device_media_quality_average_outbound_packet_loss_rate_in_percentage.py create mode 100644 msgraph/generated/models/teleconference_device_media_quality_maximum_inbound_packet_loss_rate_in_percentage.py create mode 100644 msgraph/generated/models/teleconference_device_media_quality_maximum_outbound_packet_loss_rate_in_percentage.py create mode 100644 msgraph/generated/models/teleconference_device_video_quality_average_inbound_bit_rate.py create mode 100644 msgraph/generated/models/teleconference_device_video_quality_average_inbound_frame_rate.py create mode 100644 msgraph/generated/models/teleconference_device_video_quality_average_outbound_bit_rate.py create mode 100644 msgraph/generated/models/teleconference_device_video_quality_average_outbound_frame_rate.py create mode 100644 msgraph/generated/models/trending_weight.py create mode 100644 msgraph/generated/models/user_experience_analytics_app_health_application_performance_app_health_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_app_health_device_model_performance_model_app_health_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_app_health_device_performance_device_app_health_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_app_health_o_s_version_performance_os_version_app_health_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_device_performance_average_blue_screens.py create mode 100644 msgraph/generated/models/user_experience_analytics_device_performance_average_restarts.py create mode 100644 msgraph/generated/models/user_experience_analytics_device_performance_model_startup_performance_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_device_performance_startup_performance_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_device_scores_app_reliability_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_device_scores_battery_health_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_device_scores_endpoint_analytics_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_device_scores_startup_performance_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_device_scores_work_from_anywhere_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_metric_value.py create mode 100644 msgraph/generated/models/user_experience_analytics_model_scores_app_reliability_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_model_scores_battery_health_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_model_scores_endpoint_analytics_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_model_scores_startup_performance_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_model_scores_work_from_anywhere_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_cloud_identity_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_cloud_management_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_cloud_provisioning_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_windows_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_work_from_anywhere_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_os_check_failed_percentage.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor64_bit_check_failed_percentage.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_core_count_check_failed_percentage.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_family_check_failed_percentage.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_speed_check_failed_percentage.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_ram_check_failed_percentage.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_secure_boot_check_failed_percentage.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_storage_check_failed_percentage.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_tpm_check_failed_percentage.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_cloud_identity_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_cloud_management_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_cloud_provisioning_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_windows_score.py create mode 100644 msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_work_from_anywhere_score.py create mode 100644 msgraph/generated/models/user_training_content_event_info_potential_score_impact.py create mode 100644 msgraph/generated/models/video_frame_rate.py create mode 100644 msgraph/generated/models/web_part_position_column_id.py create mode 100644 msgraph/generated/models/web_part_position_horizontal_section_id.py create mode 100644 msgraph/generated/models/web_part_position_web_part_index.py create mode 100644 msgraph/generated/models/workbook_chart_font_size.py create mode 100644 msgraph/generated/models/workbook_chart_height.py create mode 100644 msgraph/generated/models/workbook_chart_left.py create mode 100644 msgraph/generated/models/workbook_chart_top.py create mode 100644 msgraph/generated/models/workbook_chart_width.py create mode 100644 msgraph/generated/models/workbook_range_font_size.py create mode 100644 msgraph/generated/models/workbook_range_format_column_width.py create mode 100644 msgraph/generated/models/workbook_range_format_row_height.py create mode 100644 msgraph/generated/users/item/find_meeting_times/find_meeting_times_post_request_body_minimum_attendee_percentage.py create mode 100644 msgraph/generated/users/item/managed_devices/item/device_category/ref/ref_request_builder.py diff --git a/msgraph/generated/chats/item/messages/delta/delta_request_builder.py b/msgraph/generated/chats/item/messages/delta/delta_request_builder.py index bbcec1ecd90..bb859a5cc85 100644 --- a/msgraph/generated/chats/item/messages/delta/delta_request_builder.py +++ b/msgraph/generated/chats/item/messages/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/chats/item/messages/item/replies/delta/delta_request_builder.py b/msgraph/generated/chats/item/messages/item/replies/delta/delta_request_builder.py index 3259f979a40..0d6b00c9e7a 100644 --- a/msgraph/generated/chats/item/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph/generated/chats/item/messages/item/replies/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/device_app_management_request_builder.py b/msgraph/generated/device_app_management/device_app_management_request_builder.py index 42b24262c75..5957e56f991 100644 --- a/msgraph/generated/device_app_management/device_app_management_request_builder.py +++ b/msgraph/generated/device_app_management/device_app_management_request_builder.py @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceAp Read properties and relationships of the deviceAppManagement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -71,7 +71,7 @@ async def patch(self,body: DeviceAppManagement, request_configuration: Optional[ param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py index afa08ef5bb0..a863171fbc5 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicy]: """ - Read properties and relationships of the managedAppConfiguration object. + Read properties and relationships of the managedAppPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppPolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedAppConfiguration object. + Read properties and relationships of the managedAppPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ManagedAppPolicyItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedAppConfiguration object. + Read properties and relationships of the managedAppPolicy object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py index 47461f9901b..bad290a8fcb 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py @@ -35,7 +35,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py index c77d148e957..cb73c13cea3 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py @@ -48,10 +48,10 @@ def by_managed_app_policy_id(self,managed_app_policy_id: str) -> ManagedAppPolic async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicyCollectionResponse]: """ - List properties and relationships of the managedAppPolicy objects. + List properties and relationships of the managedAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppPolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +92,7 @@ async def post(self,body: ManagedAppPolicy, request_configuration: Optional[Requ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedAppPolicy objects. + List properties and relationships of the managedAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagedAppPoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedAppPolicy objects. + List properties and relationships of the managedAppConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py index a5240ea67b1..7f5bdccf065 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py @@ -35,7 +35,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py index 8071a277c70..5325c767f13 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py @@ -35,7 +35,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py index be560ed4302..036fe0555a9 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py @@ -48,10 +48,10 @@ def by_managed_e_book_assignment_id(self,managed_e_book_assignment_id: str) -> M async def get(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookAssignmentCollectionResponse]: """ - List properties and relationships of the iosVppEBookAssignment objects. + List properties and relationships of the managedEBookAssignment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignmentCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: ManagedEBookAssignment, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the iosVppEBookAssignment objects. + List properties and relationships of the managedEBookAssignment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AssignmentsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the iosVppEBookAssignment objects. + List properties and relationships of the managedEBookAssignment objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py index 707d91eeefe..e3ca230a7ee 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBookAssignmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookAssignment]: """ - Read properties and relationships of the managedEBookAssignment object. + Read properties and relationships of the iosVppEBookAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignment] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ManagedE async def patch(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]: """ - Update the properties of a iosVppEBookAssignment object. + Update the properties of a managedEBookAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignment] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBookAssignmentItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedEBookAssignment object. + Read properties and relationships of the iosVppEBookAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a iosVppEBookAssignment object. + Update the properties of a managedEBookAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -150,7 +150,7 @@ class ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedEBookAssignment object. + Read properties and relationships of the iosVppEBookAssignment object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py b/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py index 253d74c6230..516265eec7c 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py @@ -48,10 +48,10 @@ def by_managed_device_mobile_app_configuration_id(self,managed_device_mobile_app async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedDeviceMobileAppConfigurationCollectionResponse]: """ - List properties and relationships of the managedDeviceMobileAppConfiguration objects. + List properties and relationships of the iosMobileAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedDeviceMobileAppConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: ManagedDeviceMobileAppConfiguration, request_configura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedDeviceMobileAppConfiguration objects. + List properties and relationships of the iosMobileAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MobileAppConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedDeviceMobileAppConfiguration objects. + List properties and relationships of the iosMobileAppConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py index b0cffd7a73a..565862a5522 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py @@ -50,10 +50,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a managedIOSStoreApp. + Deletes a iosLobApp. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-managediosstoreapp-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -69,10 +69,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileApp]: """ - Read properties and relationships of the iosLobApp object. + Read properties and relationships of the win32LobApp object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -90,11 +90,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MobileAp async def patch(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]: """ - Update the properties of a managedIOSStoreApp object. + Update the properties of a iosStoreApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-managediosstoreapp-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -114,7 +114,7 @@ async def patch(self,body: MobileApp, request_configuration: Optional[RequestCon def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a managedIOSStoreApp. + Deletes a iosLobApp. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosLobApp object. + Read properties and relationships of the win32LobApp object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -136,7 +136,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a managedIOSStoreApp object. + Update the properties of a iosStoreApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -340,7 +340,7 @@ class MobileAppItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class MobileAppItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosLobApp object. + Read properties and relationships of the win32LobApp object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py index b6cd49a1e3d..273d3829940 100644 --- a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py @@ -64,10 +64,10 @@ def by_mobile_app_id(self,mobile_app_id: str) -> MobileAppItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppCollectionResponse]: """ - List properties and relationships of the managedIOSLobApp objects. + List properties and relationships of the mobileLobApp objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-managedioslobapp-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-mobilelobapp-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -85,11 +85,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MobileAp async def post(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]: """ - Create a new windowsAppX object. + Create a new windowsMicrosoftEdgeApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsappx-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -109,7 +109,7 @@ async def post(self,body: MobileApp, request_configuration: Optional[RequestConf def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedIOSLobApp objects. + List properties and relationships of the mobileLobApp objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new windowsAppX object. + Create a new windowsMicrosoftEdgeApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -299,7 +299,7 @@ def graph_windows_web_app(self) -> GraphWindowsWebAppRequestBuilder: @dataclass class MobileAppsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedIOSLobApp objects. + List properties and relationships of the mobileLobApp objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py index e69f68e1175..854e120c78e 100644 --- a/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py @@ -48,10 +48,10 @@ def by_device_compliance_policy_id(self,device_compliance_policy_id: str) -> Dev async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicyCollectionResponse]: """ - List properties and relationships of the macOSCompliancePolicy objects. + List properties and relationships of the iosCompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Create a new windows10CompliancePolicy object. + Create a new macOSCompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -93,7 +93,7 @@ async def post(self,body: DeviceCompliancePolicy, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the macOSCompliancePolicy objects. + List properties and relationships of the iosCompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new windows10CompliancePolicy object. + Create a new macOSCompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceCompliancePoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the macOSCompliancePolicy objects. + List properties and relationships of the iosCompliancePolicy objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py index bbad8946eca..7ae80f01869 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py @@ -40,10 +40,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a androidWorkProfileCompliancePolicy. + Deletes a windows81CompliancePolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -59,10 +59,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Read properties and relationships of the deviceCompliancePolicy object. + Read properties and relationships of the windowsPhone81CompliancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicy-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -80,11 +80,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def patch(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Update the properties of a androidCompliancePolicy object. + Update the properties of a iosCompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -104,7 +104,7 @@ async def patch(self,body: DeviceCompliancePolicy, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a androidWorkProfileCompliancePolicy. + Deletes a windows81CompliancePolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the deviceCompliancePolicy object. + Read properties and relationships of the windowsPhone81CompliancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a androidCompliancePolicy object. + Update the properties of a iosCompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -240,7 +240,7 @@ class DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the deviceCompliancePolicy object. + Read properties and relationships of the windowsPhone81CompliancePolicy object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py index 0c12fcac414..311cf2d2ff5 100644 --- a/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py @@ -48,10 +48,10 @@ def by_device_configuration_id(self,device_configuration_id: str) -> DeviceConfi async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfigurationCollectionResponse]: """ - List properties and relationships of the editionUpgradeConfiguration objects. + List properties and relationships of the windows81GeneralConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Create a new windows10EndpointProtectionConfiguration object. + Create a new macOSDeviceFeaturesConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10endpointprotectionconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macosdevicefeaturesconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -93,7 +93,7 @@ async def post(self,body: DeviceConfiguration, request_configuration: Optional[R def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the editionUpgradeConfiguration objects. + List properties and relationships of the windows81GeneralConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new windows10EndpointProtectionConfiguration object. + Create a new macOSDeviceFeaturesConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the editionUpgradeConfiguration objects. + List properties and relationships of the windows81GeneralConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py index 94562c115ba..7bfec40426f 100644 --- a/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py @@ -39,10 +39,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a windows10SecureAssessmentConfiguration. + Deletes a editionUpgradeConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -58,10 +58,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Read properties and relationships of the windowsUpdateForBusinessConfiguration object. + Read properties and relationships of the windows10CustomConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10customconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,11 +91,11 @@ def get_oma_setting_plain_text_value_with_secret_reference_value_id(self,secret_ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Update the properties of a windows10GeneralConfiguration object. + Update the properties of a editionUpgradeConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[ def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a windows10SecureAssessmentConfiguration. + Deletes a editionUpgradeConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the windowsUpdateForBusinessConfiguration object. + Read properties and relationships of the windows10CustomConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a windows10GeneralConfiguration object. + Update the properties of a editionUpgradeConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -233,7 +233,7 @@ class DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration(RequestCon @dataclass class DeviceConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the windowsUpdateForBusinessConfiguration object. + Read properties and relationships of the windows10CustomConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py index be7b0dc97c6..67ea4605bc3 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEn async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Create a new deviceEnrollmentLimitConfiguration object. + Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new deviceEnrollmentLimitConfiguration object. + Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py index 0c38214f0d9..89764ffa54c 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py @@ -34,10 +34,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + Deletes a deviceEnrollmentLimitConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -53,10 +53,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Read properties and relationships of the deviceEnrollmentConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEn async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Update the properties of a deviceEnrollmentLimitConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -98,7 +98,7 @@ async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + Deletes a deviceEnrollmentLimitConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Read properties and relationships of the deviceEnrollmentConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Update the properties of a deviceEnrollmentLimitConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -180,7 +180,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration( @dataclass class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Read properties and relationships of the deviceEnrollmentConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_management_request_builder.py b/msgraph/generated/device_management/device_management_request_builder.py index 5135a93d3a7..85ef2262d64 100644 --- a/msgraph/generated/device_management/device_management_request_builder.py +++ b/msgraph/generated/device_management/device_management_request_builder.py @@ -95,7 +95,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceMa Read properties and relationships of the deviceManagement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-enrollment-devicemanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-gpanalyticsservice-devicemanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -129,7 +129,7 @@ async def patch(self,body: DeviceManagement, request_configuration: Optional[Req param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-androidforwork-devicemanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-enrollment-devicemanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_management/managed_devices/item/device_category/device_category_request_builder.py b/msgraph/generated/device_management/managed_devices/item/device_category/device_category_request_builder.py index 93451f21dac..33fdeaad658 100644 --- a/msgraph/generated/device_management/managed_devices/item/device_category/device_category_request_builder.py +++ b/msgraph/generated/device_management/managed_devices/item/device_category/device_category_request_builder.py @@ -15,6 +15,7 @@ if TYPE_CHECKING: from .....models.device_category import DeviceCategory from .....models.o_data_errors.o_data_error import ODataError + from .ref.ref_request_builder import RefRequestBuilder class DeviceCategoryRequestBuilder(BaseRequestBuilder): """ @@ -137,6 +138,15 @@ def with_url(self,raw_url: str) -> DeviceCategoryRequestBuilder: raise TypeError("raw_url cannot be null.") return DeviceCategoryRequestBuilder(self.request_adapter, raw_url) + @property + def ref(self) -> RefRequestBuilder: + """ + Provides operations to manage the collection of deviceManagement entities. + """ + from .ref.ref_request_builder import RefRequestBuilder + + return RefRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class DeviceCategoryRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py b/msgraph/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py new file mode 100644 index 00000000000..ed86fb5bbf3 --- /dev/null +++ b/msgraph/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py @@ -0,0 +1,157 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.reference_update import ReferenceUpdate + +class RefRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the collection of deviceManagement entities. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RefRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceCategory/$ref", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete ref of navigation property deviceCategory for deviceManagement + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[str]: + """ + Device category + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[str] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping) + + async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Update the ref of navigation property deviceCategory in deviceManagement + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_put_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete ref of navigation property deviceCategory for deviceManagement + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Device category + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_put_request_information(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the ref of navigation property deviceCategory in deviceManagement + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RefRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RefRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RefRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RefRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RefRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RefRequestBuilderPutRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py index 950a510fd31..3deed2fe187 100644 --- a/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +++ b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinition]: """ - Read properties and relationships of the roleDefinition object. + Read properties and relationships of the deviceAndAppManagementRoleDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinition] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the roleDefinition object. + Read properties and relationships of the deviceAndAppManagementRoleDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -160,7 +160,7 @@ class RoleDefinitionItemRequestBuilderDeleteRequestConfiguration(RequestConfigur @dataclass class RoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the roleDefinition object. + Read properties and relationships of the deviceAndAppManagementRoleDefinition object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py b/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py index b57ddc1b269..bd90afc89b1 100644 --- a/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +++ b/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py @@ -48,10 +48,10 @@ def by_role_definition_id(self,role_definition_id: str) -> RoleDefinitionItemReq async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinitionCollectionResponse]: """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinitionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: RoleDefinition, request_configuration: Optional[Reques def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleDefinitionsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/drives/item/items/item/preview/preview_post_request_body.py b/msgraph/generated/drives/item/items/item/preview/preview_post_request_body.py index 7460b4cafb5..d62674e8ef9 100644 --- a/msgraph/generated/drives/item/items/item/preview/preview_post_request_body.py +++ b/msgraph/generated/drives/item/items/item/preview/preview_post_request_body.py @@ -4,6 +4,9 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .preview_post_request_body_zoom import PreviewPostRequestBody_zoom + @dataclass class PreviewPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -14,7 +17,7 @@ class PreviewPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): # The page property page: Optional[str] = None # The zoom property - zoom: Optional[float] = None + zoom: Optional[PreviewPostRequestBody_zoom] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> PreviewPostRequestBody: @@ -32,9 +35,13 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .preview_post_request_body_zoom import PreviewPostRequestBody_zoom + + from .preview_post_request_body_zoom import PreviewPostRequestBody_zoom + fields: Dict[str, Callable[[Any], None]] = { "page": lambda n : setattr(self, 'page', n.get_str_value()), - "zoom": lambda n : setattr(self, 'zoom', n.get_float_value()), + "zoom": lambda n : setattr(self, 'zoom', n.get_object_value(PreviewPostRequestBody_zoom)), } return fields @@ -47,7 +54,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") writer.write_str_value("page", self.page) - writer.write_float_value("zoom", self.zoom) + writer.write_object_value("zoom", self.zoom) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/drives/item/items/item/preview/preview_post_request_body_zoom.py b/msgraph/generated/drives/item/items/item/preview/preview_post_request_body_zoom.py new file mode 100644 index 00000000000..0c9cf53d6bf --- /dev/null +++ b/msgraph/generated/drives/item/items/item/preview/preview_post_request_body_zoom.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.reference_numeric import ReferenceNumeric + +@dataclass +class PreviewPostRequestBody_zoom(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> PreviewPostRequestBody_zoom: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: PreviewPostRequestBody_zoom + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = PreviewPostRequestBody_zoom() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ......models.reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py b/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py index 2cb71d76f9d..0d937fbe288 100644 --- a/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +++ b/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Retentio async def patch(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ItemRetentionLabel]: """ - 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 body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemRetentionLabel] - Find more info here: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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 body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py index a31c07d3e33..fe2e0f79115 100644 --- a/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py @@ -125,10 +125,10 @@ def columns_before_with_count(self,count: int) -> ColumnsBeforeWithCountRequestB async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -224,7 +224,7 @@ def rows_below_with_count(self,count: int) -> RowsBelowWithCountRequestBuilder: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py index c5a93505f8d..1c9281fe3c9 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py @@ -125,10 +125,10 @@ def columns_before_with_count(self,count: int) -> ColumnsBeforeWithCountRequestB async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -224,7 +224,7 @@ def rows_below_with_count(self,count: int) -> RowsBelowWithCountRequestBuilder: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py b/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py index 5c2a2db235e..92f9711406b 100644 --- a/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +++ b/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External async def put(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExternalItem]: """ - Update the properties of an externalItem object. + Create a new externalItem object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalItem] - Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -119,7 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an externalItem object. + Create a new externalItem object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py index 66757ccee7b..c4719b1f2a3 100644 --- a/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +++ b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py @@ -35,7 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Delete conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Conversation]: """ - Retrieve the properties and relationships of conversation object. + The group's conversations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] - Find more info here: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -83,7 +83,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of conversation object. + The group's conversations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ class ConversationItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class ConversationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of conversation object. + The group's conversations. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py b/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py index 25fe6df87ad..6148017c413 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +++ b/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py @@ -31,11 +31,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - 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 body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +53,7 @@ async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[ def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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 body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/groups/item/team/channels/item/messages/delta/delta_request_builder.py b/msgraph/generated/groups/item/team/channels/item/messages/delta/delta_request_builder.py index b69f3125389..e6a3b1c58e7 100644 --- a/msgraph/generated/groups/item/team/channels/item/messages/delta/delta_request_builder.py +++ b/msgraph/generated/groups/item/team/channels/item/messages/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_request_builder.py b/msgraph/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_request_builder.py index 92ba2b5405c..c3e33e995b0 100644 --- a/msgraph/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/team/primary_channel/messages/delta/delta_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/messages/delta/delta_request_builder.py index c9e1e9d4f49..53abd652012 100644 --- a/msgraph/generated/groups/item/team/primary_channel/messages/delta/delta_request_builder.py +++ b/msgraph/generated/groups/item/team/primary_channel/messages/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_request_builder.py index b4a6225c2b6..2be7fdb3d06 100644 --- a/msgraph/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py b/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py index 08e79a6f1a2..a565873a676 100644 --- a/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py @@ -36,7 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Delete conversationThread. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration diff --git a/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py index ec2fa4e99a8..53417c96e57 100644 --- a/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py @@ -47,10 +47,10 @@ def by_post_id(self,post_id: str) -> PostItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> Optional[PostCollectionResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PostCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PostsReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +99,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PostsRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py b/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py index ccf1da815a3..ac79fe691e5 100644 --- a/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py @@ -31,11 +31,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - 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 body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +53,7 @@ async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[ def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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 body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index a226b5dfe04..19a64708d68 100644 --- a/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py @@ -31,10 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a countryNamedLocation object. + Delete an ipNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> Optional[NamedLocation]: """ - Retrieve the properties and relationships of an ipNamedLocation object. + Retrieve the properties and relationships of a countryNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] - Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -95,7 +95,7 @@ async def patch(self,body: NamedLocation, request_configuration: Optional[Reques def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a countryNamedLocation object. + Delete an ipNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an ipNamedLocation object. + Retrieve the properties and relationships of a countryNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ class NamedLocationItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class NamedLocationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an ipNamedLocation object. + Retrieve the properties and relationships of a countryNamedLocation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/kiota-dom-export.txt b/msgraph/generated/kiota-dom-export.txt index 0ac9dde626b..4ce0ebed9d8 100644 --- a/msgraph/generated/kiota-dom-export.txt +++ b/msgraph/generated/kiota-dom-export.txt @@ -16763,12 +16763,28 @@ msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCate msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|get(request_configuration?:RequestConfiguration[DeviceCategoryRequestBuilderGetQueryParameters]):DeviceCategory msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|patch(body:DeviceCategory; request_configuration?:RequestConfiguration[QueryParameters]):DeviceCategory msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|ref:RefRequestBuilder msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|request_adapter:RequestAdapter msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[DeviceCategoryRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|to_patch_request_information(body:DeviceCategory; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|url_template:str msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|with_url(raw_url:str):DeviceCategoryRequestBuilder +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder-->BaseRequestBuilder +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder.RefRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder.RefRequestBuilderPutRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|get(request_configuration?:RequestConfiguration[QueryParameters]):str +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|put(body:ReferenceUpdate; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|to_put_request_information(body:ReferenceUpdate; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|url_template:str +msgraph.generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|with_url(raw_url:str):RefRequestBuilder msgraph.generated.deviceManagement.managedDevices.item.deviceCompliancePolicyStates.count.CountRequestBuilder-->BaseRequestBuilder msgraph.generated.deviceManagement.managedDevices.item.deviceCompliancePolicyStates.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph.generated.deviceManagement.managedDevices.item.deviceCompliancePolicyStates.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -26707,9 +26723,21 @@ msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody::|public msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody::|public|page():str msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody::|public|page(value:str):None msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody::|public|serialize(writer:SerializationWriter):None -msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody::|public|zoom():float -msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody::|public|zoom(value:float):None +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody::|public|zoom():PreviewPostRequestBody_zoom +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody::|public|zoom(value:PreviewPostRequestBody_zoom):None msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):PreviewPostRequestBody +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody_zoom::|public|backing_store:BackingStore +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody_zoom::|public|constructor():None +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody_zoom::|public|double():float +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody_zoom::|public|double(value:float):None +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody_zoom::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody_zoom::|public|reference_numeric():ReferenceNumeric +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody_zoom::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody_zoom::|public|serialize(writer:SerializationWriter):None +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody_zoom::|public|string():str +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody_zoom::|public|string(value:str):None +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody_zoom::|static|public|create_from_discriminator_value(parse_node:ParseNode):PreviewPostRequestBody_zoom +msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody_zoom~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.drives.item.items.item.preview.PreviewPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.drives.item.items.item.preview.PreviewRequestBuilder-->BaseRequestBuilder msgraph.generated.drives.item.items.item.preview.PreviewRequestBuilder.PreviewRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] @@ -96362,8 +96390,8 @@ msgraph.generated.models.AvailabilityItem::|static|public|create_from_discrimina msgraph.generated.models.AvailabilityItem~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.AverageComparativeScore::|public|additional_data():Dict[str, Any] msgraph.generated.models.AverageComparativeScore::|public|additional_data(value:Dict[str, Any]):None -msgraph.generated.models.AverageComparativeScore::|public|average_score():float -msgraph.generated.models.AverageComparativeScore::|public|average_score(value:float):None +msgraph.generated.models.AverageComparativeScore::|public|average_score():AverageComparativeScore_averageScore +msgraph.generated.models.AverageComparativeScore::|public|average_score(value:AverageComparativeScore_averageScore):None msgraph.generated.models.AverageComparativeScore::|public|backing_store:BackingStore msgraph.generated.models.AverageComparativeScore::|public|basis():str msgraph.generated.models.AverageComparativeScore::|public|basis(value:str):None @@ -96373,6 +96401,18 @@ msgraph.generated.models.AverageComparativeScore::|public|odata_type():str msgraph.generated.models.AverageComparativeScore::|public|odata_type(value:str):None msgraph.generated.models.AverageComparativeScore::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.AverageComparativeScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):AverageComparativeScore +msgraph.generated.models.AverageComparativeScore_averageScore::|public|backing_store:BackingStore +msgraph.generated.models.AverageComparativeScore_averageScore::|public|constructor():None +msgraph.generated.models.AverageComparativeScore_averageScore::|public|double():float +msgraph.generated.models.AverageComparativeScore_averageScore::|public|double(value:float):None +msgraph.generated.models.AverageComparativeScore_averageScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.AverageComparativeScore_averageScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.AverageComparativeScore_averageScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.AverageComparativeScore_averageScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.AverageComparativeScore_averageScore::|public|string():str +msgraph.generated.models.AverageComparativeScore_averageScore::|public|string(value:str):None +msgraph.generated.models.AverageComparativeScore_averageScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):AverageComparativeScore_averageScore +msgraph.generated.models.AverageComparativeScore_averageScore~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.AverageComparativeScore~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.AzureActiveDirectoryTenant-->IdentitySource msgraph.generated.models.AzureActiveDirectoryTenant::|public|constructor():None @@ -96749,8 +96789,8 @@ msgraph.generated.models.BookingAppointment::|public|post_buffer():datetime.time msgraph.generated.models.BookingAppointment::|public|post_buffer(value:datetime.timedelta):None msgraph.generated.models.BookingAppointment::|public|pre_buffer():datetime.timedelta msgraph.generated.models.BookingAppointment::|public|pre_buffer(value:datetime.timedelta):None -msgraph.generated.models.BookingAppointment::|public|price():float -msgraph.generated.models.BookingAppointment::|public|price(value:float):None +msgraph.generated.models.BookingAppointment::|public|price():BookingAppointment_price +msgraph.generated.models.BookingAppointment::|public|price(value:BookingAppointment_price):None msgraph.generated.models.BookingAppointment::|public|price_type():BookingPriceType msgraph.generated.models.BookingAppointment::|public|price_type(value:BookingPriceType):None msgraph.generated.models.BookingAppointment::|public|reminders():List[BookingReminder] @@ -96780,6 +96820,18 @@ msgraph.generated.models.BookingAppointmentCollectionResponse::|public|serialize msgraph.generated.models.BookingAppointmentCollectionResponse::|public|value():List[BookingAppointment] msgraph.generated.models.BookingAppointmentCollectionResponse::|public|value(value:List[BookingAppointment]):None msgraph.generated.models.BookingAppointmentCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):BookingAppointmentCollectionResponse +msgraph.generated.models.BookingAppointment_price::|public|backing_store:BackingStore +msgraph.generated.models.BookingAppointment_price::|public|constructor():None +msgraph.generated.models.BookingAppointment_price::|public|double():float +msgraph.generated.models.BookingAppointment_price::|public|double(value:float):None +msgraph.generated.models.BookingAppointment_price::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.BookingAppointment_price::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.BookingAppointment_price::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.BookingAppointment_price::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.BookingAppointment_price::|public|string():str +msgraph.generated.models.BookingAppointment_price::|public|string(value:str):None +msgraph.generated.models.BookingAppointment_price::|static|public|create_from_discriminator_value(parse_node:ParseNode):BookingAppointment_price +msgraph.generated.models.BookingAppointment_price~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.BookingBusiness-->Entity msgraph.generated.models.BookingBusiness::|public|address():PhysicalAddress msgraph.generated.models.BookingBusiness::|public|address(value:PhysicalAddress):None @@ -97105,8 +97157,8 @@ msgraph.generated.models.BookingService::|public|default_duration():datetime.tim msgraph.generated.models.BookingService::|public|default_duration(value:datetime.timedelta):None msgraph.generated.models.BookingService::|public|default_location():Location msgraph.generated.models.BookingService::|public|default_location(value:Location):None -msgraph.generated.models.BookingService::|public|default_price():float -msgraph.generated.models.BookingService::|public|default_price(value:float):None +msgraph.generated.models.BookingService::|public|default_price():BookingService_defaultPrice +msgraph.generated.models.BookingService::|public|default_price(value:BookingService_defaultPrice):None msgraph.generated.models.BookingService::|public|default_price_type():BookingPriceType msgraph.generated.models.BookingService::|public|default_price_type(value:BookingPriceType):None msgraph.generated.models.BookingService::|public|default_reminders():List[BookingReminder] @@ -97154,6 +97206,18 @@ msgraph.generated.models.BookingServiceCollectionResponse::|public|serialize(wri msgraph.generated.models.BookingServiceCollectionResponse::|public|value():List[BookingService] msgraph.generated.models.BookingServiceCollectionResponse::|public|value(value:List[BookingService]):None msgraph.generated.models.BookingServiceCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):BookingServiceCollectionResponse +msgraph.generated.models.BookingService_defaultPrice::|public|backing_store:BackingStore +msgraph.generated.models.BookingService_defaultPrice::|public|constructor():None +msgraph.generated.models.BookingService_defaultPrice::|public|double():float +msgraph.generated.models.BookingService_defaultPrice::|public|double(value:float):None +msgraph.generated.models.BookingService_defaultPrice::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.BookingService_defaultPrice::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.BookingService_defaultPrice::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.BookingService_defaultPrice::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.BookingService_defaultPrice::|public|string():str +msgraph.generated.models.BookingService_defaultPrice::|public|string(value:str):None +msgraph.generated.models.BookingService_defaultPrice::|static|public|create_from_discriminator_value(parse_node:ParseNode):BookingService_defaultPrice +msgraph.generated.models.BookingService_defaultPrice~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.BookingsServiceAvailabilityType::0000-BookWhenStaffAreFree msgraph.generated.models.BookingsServiceAvailabilityType::0001-NotBookable msgraph.generated.models.BookingsServiceAvailabilityType::0002-CustomWeeklyHours @@ -97985,26 +98049,26 @@ msgraph.generated.models.callRecords.DeviceInfo::|public|capture_device_driver() msgraph.generated.models.callRecords.DeviceInfo::|public|capture_device_driver(value:str):None msgraph.generated.models.callRecords.DeviceInfo::|public|capture_device_name():str msgraph.generated.models.callRecords.DeviceInfo::|public|capture_device_name(value:str):None -msgraph.generated.models.callRecords.DeviceInfo::|public|capture_not_functioning_event_ratio():float -msgraph.generated.models.callRecords.DeviceInfo::|public|capture_not_functioning_event_ratio(value:float):None +msgraph.generated.models.callRecords.DeviceInfo::|public|capture_not_functioning_event_ratio():DeviceInfo_captureNotFunctioningEventRatio +msgraph.generated.models.callRecords.DeviceInfo::|public|capture_not_functioning_event_ratio(value:DeviceInfo_captureNotFunctioningEventRatio):None msgraph.generated.models.callRecords.DeviceInfo::|public|constructor():None -msgraph.generated.models.callRecords.DeviceInfo::|public|cpu_insufficent_event_ratio():float -msgraph.generated.models.callRecords.DeviceInfo::|public|cpu_insufficent_event_ratio(value:float):None -msgraph.generated.models.callRecords.DeviceInfo::|public|device_clipping_event_ratio():float -msgraph.generated.models.callRecords.DeviceInfo::|public|device_clipping_event_ratio(value:float):None -msgraph.generated.models.callRecords.DeviceInfo::|public|device_glitch_event_ratio():float -msgraph.generated.models.callRecords.DeviceInfo::|public|device_glitch_event_ratio(value:float):None +msgraph.generated.models.callRecords.DeviceInfo::|public|cpu_insufficent_event_ratio():DeviceInfo_cpuInsufficentEventRatio +msgraph.generated.models.callRecords.DeviceInfo::|public|cpu_insufficent_event_ratio(value:DeviceInfo_cpuInsufficentEventRatio):None +msgraph.generated.models.callRecords.DeviceInfo::|public|device_clipping_event_ratio():DeviceInfo_deviceClippingEventRatio +msgraph.generated.models.callRecords.DeviceInfo::|public|device_clipping_event_ratio(value:DeviceInfo_deviceClippingEventRatio):None +msgraph.generated.models.callRecords.DeviceInfo::|public|device_glitch_event_ratio():DeviceInfo_deviceGlitchEventRatio +msgraph.generated.models.callRecords.DeviceInfo::|public|device_glitch_event_ratio(value:DeviceInfo_deviceGlitchEventRatio):None msgraph.generated.models.callRecords.DeviceInfo::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.callRecords.DeviceInfo::|public|howling_event_count():int msgraph.generated.models.callRecords.DeviceInfo::|public|howling_event_count(value:int):None -msgraph.generated.models.callRecords.DeviceInfo::|public|initial_signal_level_root_mean_square():float -msgraph.generated.models.callRecords.DeviceInfo::|public|initial_signal_level_root_mean_square(value:float):None -msgraph.generated.models.callRecords.DeviceInfo::|public|low_speech_level_event_ratio():float -msgraph.generated.models.callRecords.DeviceInfo::|public|low_speech_level_event_ratio(value:float):None -msgraph.generated.models.callRecords.DeviceInfo::|public|low_speech_to_noise_event_ratio():float -msgraph.generated.models.callRecords.DeviceInfo::|public|low_speech_to_noise_event_ratio(value:float):None -msgraph.generated.models.callRecords.DeviceInfo::|public|mic_glitch_rate():float -msgraph.generated.models.callRecords.DeviceInfo::|public|mic_glitch_rate(value:float):None +msgraph.generated.models.callRecords.DeviceInfo::|public|initial_signal_level_root_mean_square():DeviceInfo_initialSignalLevelRootMeanSquare +msgraph.generated.models.callRecords.DeviceInfo::|public|initial_signal_level_root_mean_square(value:DeviceInfo_initialSignalLevelRootMeanSquare):None +msgraph.generated.models.callRecords.DeviceInfo::|public|low_speech_level_event_ratio():DeviceInfo_lowSpeechLevelEventRatio +msgraph.generated.models.callRecords.DeviceInfo::|public|low_speech_level_event_ratio(value:DeviceInfo_lowSpeechLevelEventRatio):None +msgraph.generated.models.callRecords.DeviceInfo::|public|low_speech_to_noise_event_ratio():DeviceInfo_lowSpeechToNoiseEventRatio +msgraph.generated.models.callRecords.DeviceInfo::|public|low_speech_to_noise_event_ratio(value:DeviceInfo_lowSpeechToNoiseEventRatio):None +msgraph.generated.models.callRecords.DeviceInfo::|public|mic_glitch_rate():DeviceInfo_micGlitchRate +msgraph.generated.models.callRecords.DeviceInfo::|public|mic_glitch_rate(value:DeviceInfo_micGlitchRate):None msgraph.generated.models.callRecords.DeviceInfo::|public|odata_type():str msgraph.generated.models.callRecords.DeviceInfo::|public|odata_type(value:str):None msgraph.generated.models.callRecords.DeviceInfo::|public|received_noise_level():int @@ -98015,20 +98079,164 @@ msgraph.generated.models.callRecords.DeviceInfo::|public|render_device_driver(): msgraph.generated.models.callRecords.DeviceInfo::|public|render_device_driver(value:str):None msgraph.generated.models.callRecords.DeviceInfo::|public|render_device_name():str msgraph.generated.models.callRecords.DeviceInfo::|public|render_device_name(value:str):None -msgraph.generated.models.callRecords.DeviceInfo::|public|render_mute_event_ratio():float -msgraph.generated.models.callRecords.DeviceInfo::|public|render_mute_event_ratio(value:float):None -msgraph.generated.models.callRecords.DeviceInfo::|public|render_not_functioning_event_ratio():float -msgraph.generated.models.callRecords.DeviceInfo::|public|render_not_functioning_event_ratio(value:float):None -msgraph.generated.models.callRecords.DeviceInfo::|public|render_zero_volume_event_ratio():float -msgraph.generated.models.callRecords.DeviceInfo::|public|render_zero_volume_event_ratio(value:float):None +msgraph.generated.models.callRecords.DeviceInfo::|public|render_mute_event_ratio():DeviceInfo_renderMuteEventRatio +msgraph.generated.models.callRecords.DeviceInfo::|public|render_mute_event_ratio(value:DeviceInfo_renderMuteEventRatio):None +msgraph.generated.models.callRecords.DeviceInfo::|public|render_not_functioning_event_ratio():DeviceInfo_renderNotFunctioningEventRatio +msgraph.generated.models.callRecords.DeviceInfo::|public|render_not_functioning_event_ratio(value:DeviceInfo_renderNotFunctioningEventRatio):None +msgraph.generated.models.callRecords.DeviceInfo::|public|render_zero_volume_event_ratio():DeviceInfo_renderZeroVolumeEventRatio +msgraph.generated.models.callRecords.DeviceInfo::|public|render_zero_volume_event_ratio(value:DeviceInfo_renderZeroVolumeEventRatio):None msgraph.generated.models.callRecords.DeviceInfo::|public|sent_noise_level():int msgraph.generated.models.callRecords.DeviceInfo::|public|sent_noise_level(value:int):None msgraph.generated.models.callRecords.DeviceInfo::|public|sent_signal_level():int msgraph.generated.models.callRecords.DeviceInfo::|public|sent_signal_level(value:int):None msgraph.generated.models.callRecords.DeviceInfo::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.callRecords.DeviceInfo::|public|speaker_glitch_rate():float -msgraph.generated.models.callRecords.DeviceInfo::|public|speaker_glitch_rate(value:float):None +msgraph.generated.models.callRecords.DeviceInfo::|public|speaker_glitch_rate():DeviceInfo_speakerGlitchRate +msgraph.generated.models.callRecords.DeviceInfo::|public|speaker_glitch_rate(value:DeviceInfo_speakerGlitchRate):None msgraph.generated.models.callRecords.DeviceInfo::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceInfo +msgraph.generated.models.callRecords.DeviceInfo_captureNotFunctioningEventRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.DeviceInfo_captureNotFunctioningEventRatio::|public|constructor():None +msgraph.generated.models.callRecords.DeviceInfo_captureNotFunctioningEventRatio::|public|float():float +msgraph.generated.models.callRecords.DeviceInfo_captureNotFunctioningEventRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.DeviceInfo_captureNotFunctioningEventRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.DeviceInfo_captureNotFunctioningEventRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.DeviceInfo_captureNotFunctioningEventRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.DeviceInfo_captureNotFunctioningEventRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.DeviceInfo_captureNotFunctioningEventRatio::|public|string():str +msgraph.generated.models.callRecords.DeviceInfo_captureNotFunctioningEventRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.DeviceInfo_captureNotFunctioningEventRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceInfo_captureNotFunctioningEventRatio +msgraph.generated.models.callRecords.DeviceInfo_captureNotFunctioningEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.DeviceInfo_cpuInsufficentEventRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.DeviceInfo_cpuInsufficentEventRatio::|public|constructor():None +msgraph.generated.models.callRecords.DeviceInfo_cpuInsufficentEventRatio::|public|float():float +msgraph.generated.models.callRecords.DeviceInfo_cpuInsufficentEventRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.DeviceInfo_cpuInsufficentEventRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.DeviceInfo_cpuInsufficentEventRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.DeviceInfo_cpuInsufficentEventRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.DeviceInfo_cpuInsufficentEventRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.DeviceInfo_cpuInsufficentEventRatio::|public|string():str +msgraph.generated.models.callRecords.DeviceInfo_cpuInsufficentEventRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.DeviceInfo_cpuInsufficentEventRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceInfo_cpuInsufficentEventRatio +msgraph.generated.models.callRecords.DeviceInfo_cpuInsufficentEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.DeviceInfo_deviceClippingEventRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.DeviceInfo_deviceClippingEventRatio::|public|constructor():None +msgraph.generated.models.callRecords.DeviceInfo_deviceClippingEventRatio::|public|float():float +msgraph.generated.models.callRecords.DeviceInfo_deviceClippingEventRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.DeviceInfo_deviceClippingEventRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.DeviceInfo_deviceClippingEventRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.DeviceInfo_deviceClippingEventRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.DeviceInfo_deviceClippingEventRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.DeviceInfo_deviceClippingEventRatio::|public|string():str +msgraph.generated.models.callRecords.DeviceInfo_deviceClippingEventRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.DeviceInfo_deviceClippingEventRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceInfo_deviceClippingEventRatio +msgraph.generated.models.callRecords.DeviceInfo_deviceClippingEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.DeviceInfo_deviceGlitchEventRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.DeviceInfo_deviceGlitchEventRatio::|public|constructor():None +msgraph.generated.models.callRecords.DeviceInfo_deviceGlitchEventRatio::|public|float():float +msgraph.generated.models.callRecords.DeviceInfo_deviceGlitchEventRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.DeviceInfo_deviceGlitchEventRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.DeviceInfo_deviceGlitchEventRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.DeviceInfo_deviceGlitchEventRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.DeviceInfo_deviceGlitchEventRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.DeviceInfo_deviceGlitchEventRatio::|public|string():str +msgraph.generated.models.callRecords.DeviceInfo_deviceGlitchEventRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.DeviceInfo_deviceGlitchEventRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceInfo_deviceGlitchEventRatio +msgraph.generated.models.callRecords.DeviceInfo_deviceGlitchEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.DeviceInfo_initialSignalLevelRootMeanSquare::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.DeviceInfo_initialSignalLevelRootMeanSquare::|public|constructor():None +msgraph.generated.models.callRecords.DeviceInfo_initialSignalLevelRootMeanSquare::|public|float():float +msgraph.generated.models.callRecords.DeviceInfo_initialSignalLevelRootMeanSquare::|public|float(value:float):None +msgraph.generated.models.callRecords.DeviceInfo_initialSignalLevelRootMeanSquare::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.DeviceInfo_initialSignalLevelRootMeanSquare::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.DeviceInfo_initialSignalLevelRootMeanSquare::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.DeviceInfo_initialSignalLevelRootMeanSquare::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.DeviceInfo_initialSignalLevelRootMeanSquare::|public|string():str +msgraph.generated.models.callRecords.DeviceInfo_initialSignalLevelRootMeanSquare::|public|string(value:str):None +msgraph.generated.models.callRecords.DeviceInfo_initialSignalLevelRootMeanSquare::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceInfo_initialSignalLevelRootMeanSquare +msgraph.generated.models.callRecords.DeviceInfo_initialSignalLevelRootMeanSquare~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechLevelEventRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechLevelEventRatio::|public|constructor():None +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechLevelEventRatio::|public|float():float +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechLevelEventRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechLevelEventRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechLevelEventRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechLevelEventRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechLevelEventRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechLevelEventRatio::|public|string():str +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechLevelEventRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechLevelEventRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceInfo_lowSpeechLevelEventRatio +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechLevelEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechToNoiseEventRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechToNoiseEventRatio::|public|constructor():None +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechToNoiseEventRatio::|public|float():float +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechToNoiseEventRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechToNoiseEventRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechToNoiseEventRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechToNoiseEventRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechToNoiseEventRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechToNoiseEventRatio::|public|string():str +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechToNoiseEventRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechToNoiseEventRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceInfo_lowSpeechToNoiseEventRatio +msgraph.generated.models.callRecords.DeviceInfo_lowSpeechToNoiseEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.DeviceInfo_micGlitchRate::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.DeviceInfo_micGlitchRate::|public|constructor():None +msgraph.generated.models.callRecords.DeviceInfo_micGlitchRate::|public|float():float +msgraph.generated.models.callRecords.DeviceInfo_micGlitchRate::|public|float(value:float):None +msgraph.generated.models.callRecords.DeviceInfo_micGlitchRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.DeviceInfo_micGlitchRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.DeviceInfo_micGlitchRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.DeviceInfo_micGlitchRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.DeviceInfo_micGlitchRate::|public|string():str +msgraph.generated.models.callRecords.DeviceInfo_micGlitchRate::|public|string(value:str):None +msgraph.generated.models.callRecords.DeviceInfo_micGlitchRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceInfo_micGlitchRate +msgraph.generated.models.callRecords.DeviceInfo_micGlitchRate~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.DeviceInfo_renderMuteEventRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.DeviceInfo_renderMuteEventRatio::|public|constructor():None +msgraph.generated.models.callRecords.DeviceInfo_renderMuteEventRatio::|public|float():float +msgraph.generated.models.callRecords.DeviceInfo_renderMuteEventRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.DeviceInfo_renderMuteEventRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.DeviceInfo_renderMuteEventRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.DeviceInfo_renderMuteEventRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.DeviceInfo_renderMuteEventRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.DeviceInfo_renderMuteEventRatio::|public|string():str +msgraph.generated.models.callRecords.DeviceInfo_renderMuteEventRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.DeviceInfo_renderMuteEventRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceInfo_renderMuteEventRatio +msgraph.generated.models.callRecords.DeviceInfo_renderMuteEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.DeviceInfo_renderNotFunctioningEventRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.DeviceInfo_renderNotFunctioningEventRatio::|public|constructor():None +msgraph.generated.models.callRecords.DeviceInfo_renderNotFunctioningEventRatio::|public|float():float +msgraph.generated.models.callRecords.DeviceInfo_renderNotFunctioningEventRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.DeviceInfo_renderNotFunctioningEventRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.DeviceInfo_renderNotFunctioningEventRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.DeviceInfo_renderNotFunctioningEventRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.DeviceInfo_renderNotFunctioningEventRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.DeviceInfo_renderNotFunctioningEventRatio::|public|string():str +msgraph.generated.models.callRecords.DeviceInfo_renderNotFunctioningEventRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.DeviceInfo_renderNotFunctioningEventRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceInfo_renderNotFunctioningEventRatio +msgraph.generated.models.callRecords.DeviceInfo_renderNotFunctioningEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.DeviceInfo_renderZeroVolumeEventRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.DeviceInfo_renderZeroVolumeEventRatio::|public|constructor():None +msgraph.generated.models.callRecords.DeviceInfo_renderZeroVolumeEventRatio::|public|float():float +msgraph.generated.models.callRecords.DeviceInfo_renderZeroVolumeEventRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.DeviceInfo_renderZeroVolumeEventRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.DeviceInfo_renderZeroVolumeEventRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.DeviceInfo_renderZeroVolumeEventRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.DeviceInfo_renderZeroVolumeEventRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.DeviceInfo_renderZeroVolumeEventRatio::|public|string():str +msgraph.generated.models.callRecords.DeviceInfo_renderZeroVolumeEventRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.DeviceInfo_renderZeroVolumeEventRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceInfo_renderZeroVolumeEventRatio +msgraph.generated.models.callRecords.DeviceInfo_renderZeroVolumeEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.DeviceInfo_speakerGlitchRate::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.DeviceInfo_speakerGlitchRate::|public|constructor():None +msgraph.generated.models.callRecords.DeviceInfo_speakerGlitchRate::|public|float():float +msgraph.generated.models.callRecords.DeviceInfo_speakerGlitchRate::|public|float(value:float):None +msgraph.generated.models.callRecords.DeviceInfo_speakerGlitchRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.DeviceInfo_speakerGlitchRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.DeviceInfo_speakerGlitchRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.DeviceInfo_speakerGlitchRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.DeviceInfo_speakerGlitchRate::|public|string():str +msgraph.generated.models.callRecords.DeviceInfo_speakerGlitchRate::|public|string(value:str):None +msgraph.generated.models.callRecords.DeviceInfo_speakerGlitchRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceInfo_speakerGlitchRate +msgraph.generated.models.callRecords.DeviceInfo_speakerGlitchRate~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.callRecords.DeviceInfo~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.callRecords.DirectRoutingLogRow::|public|additional_data():Dict[str, Any] msgraph.generated.models.callRecords.DirectRoutingLogRow::|public|additional_data(value:Dict[str, Any]):None @@ -98147,8 +98355,8 @@ msgraph.generated.models.callRecords.MediaStream::|public|additional_data():Dict msgraph.generated.models.callRecords.MediaStream::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.callRecords.MediaStream::|public|audio_codec():AudioCodec msgraph.generated.models.callRecords.MediaStream::|public|audio_codec(value:AudioCodec):None -msgraph.generated.models.callRecords.MediaStream::|public|average_audio_degradation():float -msgraph.generated.models.callRecords.MediaStream::|public|average_audio_degradation(value:float):None +msgraph.generated.models.callRecords.MediaStream::|public|average_audio_degradation():MediaStream_averageAudioDegradation +msgraph.generated.models.callRecords.MediaStream::|public|average_audio_degradation(value:MediaStream_averageAudioDegradation):None msgraph.generated.models.callRecords.MediaStream::|public|average_audio_network_jitter():datetime.timedelta msgraph.generated.models.callRecords.MediaStream::|public|average_audio_network_jitter(value:datetime.timedelta):None msgraph.generated.models.callRecords.MediaStream::|public|average_bandwidth_estimate():int @@ -98157,20 +98365,20 @@ msgraph.generated.models.callRecords.MediaStream::|public|average_freeze_duratio msgraph.generated.models.callRecords.MediaStream::|public|average_freeze_duration(value:datetime.timedelta):None msgraph.generated.models.callRecords.MediaStream::|public|average_jitter():datetime.timedelta msgraph.generated.models.callRecords.MediaStream::|public|average_jitter(value:datetime.timedelta):None -msgraph.generated.models.callRecords.MediaStream::|public|average_packet_loss_rate():float -msgraph.generated.models.callRecords.MediaStream::|public|average_packet_loss_rate(value:float):None -msgraph.generated.models.callRecords.MediaStream::|public|average_ratio_of_concealed_samples():float -msgraph.generated.models.callRecords.MediaStream::|public|average_ratio_of_concealed_samples(value:float):None -msgraph.generated.models.callRecords.MediaStream::|public|average_received_frame_rate():float -msgraph.generated.models.callRecords.MediaStream::|public|average_received_frame_rate(value:float):None +msgraph.generated.models.callRecords.MediaStream::|public|average_packet_loss_rate():MediaStream_averagePacketLossRate +msgraph.generated.models.callRecords.MediaStream::|public|average_packet_loss_rate(value:MediaStream_averagePacketLossRate):None +msgraph.generated.models.callRecords.MediaStream::|public|average_ratio_of_concealed_samples():MediaStream_averageRatioOfConcealedSamples +msgraph.generated.models.callRecords.MediaStream::|public|average_ratio_of_concealed_samples(value:MediaStream_averageRatioOfConcealedSamples):None +msgraph.generated.models.callRecords.MediaStream::|public|average_received_frame_rate():MediaStream_averageReceivedFrameRate +msgraph.generated.models.callRecords.MediaStream::|public|average_received_frame_rate(value:MediaStream_averageReceivedFrameRate):None msgraph.generated.models.callRecords.MediaStream::|public|average_round_trip_time():datetime.timedelta msgraph.generated.models.callRecords.MediaStream::|public|average_round_trip_time(value:datetime.timedelta):None -msgraph.generated.models.callRecords.MediaStream::|public|average_video_frame_loss_percentage():float -msgraph.generated.models.callRecords.MediaStream::|public|average_video_frame_loss_percentage(value:float):None -msgraph.generated.models.callRecords.MediaStream::|public|average_video_frame_rate():float -msgraph.generated.models.callRecords.MediaStream::|public|average_video_frame_rate(value:float):None -msgraph.generated.models.callRecords.MediaStream::|public|average_video_packet_loss_rate():float -msgraph.generated.models.callRecords.MediaStream::|public|average_video_packet_loss_rate(value:float):None +msgraph.generated.models.callRecords.MediaStream::|public|average_video_frame_loss_percentage():MediaStream_averageVideoFrameLossPercentage +msgraph.generated.models.callRecords.MediaStream::|public|average_video_frame_loss_percentage(value:MediaStream_averageVideoFrameLossPercentage):None +msgraph.generated.models.callRecords.MediaStream::|public|average_video_frame_rate():MediaStream_averageVideoFrameRate +msgraph.generated.models.callRecords.MediaStream::|public|average_video_frame_rate(value:MediaStream_averageVideoFrameRate):None +msgraph.generated.models.callRecords.MediaStream::|public|average_video_packet_loss_rate():MediaStream_averageVideoPacketLossRate +msgraph.generated.models.callRecords.MediaStream::|public|average_video_packet_loss_rate(value:MediaStream_averageVideoPacketLossRate):None msgraph.generated.models.callRecords.MediaStream::|public|backing_store:BackingStore msgraph.generated.models.callRecords.MediaStream::|public|constructor():None msgraph.generated.models.callRecords.MediaStream::|public|end_date_time():datetime.datetime @@ -98178,26 +98386,26 @@ msgraph.generated.models.callRecords.MediaStream::|public|end_date_time(value:da msgraph.generated.models.callRecords.MediaStream::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.callRecords.MediaStream::|public|is_audio_forward_error_correction_used():bool msgraph.generated.models.callRecords.MediaStream::|public|is_audio_forward_error_correction_used(value:bool):None -msgraph.generated.models.callRecords.MediaStream::|public|low_frame_rate_ratio():float -msgraph.generated.models.callRecords.MediaStream::|public|low_frame_rate_ratio(value:float):None -msgraph.generated.models.callRecords.MediaStream::|public|low_video_processing_capability_ratio():float -msgraph.generated.models.callRecords.MediaStream::|public|low_video_processing_capability_ratio(value:float):None +msgraph.generated.models.callRecords.MediaStream::|public|low_frame_rate_ratio():MediaStream_lowFrameRateRatio +msgraph.generated.models.callRecords.MediaStream::|public|low_frame_rate_ratio(value:MediaStream_lowFrameRateRatio):None +msgraph.generated.models.callRecords.MediaStream::|public|low_video_processing_capability_ratio():MediaStream_lowVideoProcessingCapabilityRatio +msgraph.generated.models.callRecords.MediaStream::|public|low_video_processing_capability_ratio(value:MediaStream_lowVideoProcessingCapabilityRatio):None msgraph.generated.models.callRecords.MediaStream::|public|max_audio_network_jitter():datetime.timedelta msgraph.generated.models.callRecords.MediaStream::|public|max_audio_network_jitter(value:datetime.timedelta):None msgraph.generated.models.callRecords.MediaStream::|public|max_jitter():datetime.timedelta msgraph.generated.models.callRecords.MediaStream::|public|max_jitter(value:datetime.timedelta):None -msgraph.generated.models.callRecords.MediaStream::|public|max_packet_loss_rate():float -msgraph.generated.models.callRecords.MediaStream::|public|max_packet_loss_rate(value:float):None -msgraph.generated.models.callRecords.MediaStream::|public|max_ratio_of_concealed_samples():float -msgraph.generated.models.callRecords.MediaStream::|public|max_ratio_of_concealed_samples(value:float):None +msgraph.generated.models.callRecords.MediaStream::|public|max_packet_loss_rate():MediaStream_maxPacketLossRate +msgraph.generated.models.callRecords.MediaStream::|public|max_packet_loss_rate(value:MediaStream_maxPacketLossRate):None +msgraph.generated.models.callRecords.MediaStream::|public|max_ratio_of_concealed_samples():MediaStream_maxRatioOfConcealedSamples +msgraph.generated.models.callRecords.MediaStream::|public|max_ratio_of_concealed_samples(value:MediaStream_maxRatioOfConcealedSamples):None msgraph.generated.models.callRecords.MediaStream::|public|max_round_trip_time():datetime.timedelta msgraph.generated.models.callRecords.MediaStream::|public|max_round_trip_time(value:datetime.timedelta):None msgraph.generated.models.callRecords.MediaStream::|public|odata_type():str msgraph.generated.models.callRecords.MediaStream::|public|odata_type(value:str):None msgraph.generated.models.callRecords.MediaStream::|public|packet_utilization():int msgraph.generated.models.callRecords.MediaStream::|public|packet_utilization(value:int):None -msgraph.generated.models.callRecords.MediaStream::|public|post_forward_error_correction_packet_loss_rate():float -msgraph.generated.models.callRecords.MediaStream::|public|post_forward_error_correction_packet_loss_rate(value:float):None +msgraph.generated.models.callRecords.MediaStream::|public|post_forward_error_correction_packet_loss_rate():MediaStream_postForwardErrorCorrectionPacketLossRate +msgraph.generated.models.callRecords.MediaStream::|public|post_forward_error_correction_packet_loss_rate(value:MediaStream_postForwardErrorCorrectionPacketLossRate):None msgraph.generated.models.callRecords.MediaStream::|public|rms_freeze_duration():datetime.timedelta msgraph.generated.models.callRecords.MediaStream::|public|rms_freeze_duration(value:datetime.timedelta):None msgraph.generated.models.callRecords.MediaStream::|public|serialize(writer:SerializationWriter):None @@ -98214,6 +98422,150 @@ msgraph.generated.models.callRecords.MediaStream::|public|was_media_bypassed(val msgraph.generated.models.callRecords.MediaStream::|static|public|create_from_discriminator_value(parse_node:ParseNode):MediaStream msgraph.generated.models.callRecords.MediaStreamDirection::0000-CallerToCallee msgraph.generated.models.callRecords.MediaStreamDirection::0001-CalleeToCaller +msgraph.generated.models.callRecords.MediaStream_averageAudioDegradation::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.MediaStream_averageAudioDegradation::|public|constructor():None +msgraph.generated.models.callRecords.MediaStream_averageAudioDegradation::|public|float():float +msgraph.generated.models.callRecords.MediaStream_averageAudioDegradation::|public|float(value:float):None +msgraph.generated.models.callRecords.MediaStream_averageAudioDegradation::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.MediaStream_averageAudioDegradation::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.MediaStream_averageAudioDegradation::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.MediaStream_averageAudioDegradation::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.MediaStream_averageAudioDegradation::|public|string():str +msgraph.generated.models.callRecords.MediaStream_averageAudioDegradation::|public|string(value:str):None +msgraph.generated.models.callRecords.MediaStream_averageAudioDegradation::|static|public|create_from_discriminator_value(parse_node:ParseNode):MediaStream_averageAudioDegradation +msgraph.generated.models.callRecords.MediaStream_averageAudioDegradation~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.MediaStream_averagePacketLossRate::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.MediaStream_averagePacketLossRate::|public|constructor():None +msgraph.generated.models.callRecords.MediaStream_averagePacketLossRate::|public|float():float +msgraph.generated.models.callRecords.MediaStream_averagePacketLossRate::|public|float(value:float):None +msgraph.generated.models.callRecords.MediaStream_averagePacketLossRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.MediaStream_averagePacketLossRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.MediaStream_averagePacketLossRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.MediaStream_averagePacketLossRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.MediaStream_averagePacketLossRate::|public|string():str +msgraph.generated.models.callRecords.MediaStream_averagePacketLossRate::|public|string(value:str):None +msgraph.generated.models.callRecords.MediaStream_averagePacketLossRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):MediaStream_averagePacketLossRate +msgraph.generated.models.callRecords.MediaStream_averagePacketLossRate~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.MediaStream_averageRatioOfConcealedSamples::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.MediaStream_averageRatioOfConcealedSamples::|public|constructor():None +msgraph.generated.models.callRecords.MediaStream_averageRatioOfConcealedSamples::|public|float():float +msgraph.generated.models.callRecords.MediaStream_averageRatioOfConcealedSamples::|public|float(value:float):None +msgraph.generated.models.callRecords.MediaStream_averageRatioOfConcealedSamples::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.MediaStream_averageRatioOfConcealedSamples::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.MediaStream_averageRatioOfConcealedSamples::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.MediaStream_averageRatioOfConcealedSamples::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.MediaStream_averageRatioOfConcealedSamples::|public|string():str +msgraph.generated.models.callRecords.MediaStream_averageRatioOfConcealedSamples::|public|string(value:str):None +msgraph.generated.models.callRecords.MediaStream_averageRatioOfConcealedSamples::|static|public|create_from_discriminator_value(parse_node:ParseNode):MediaStream_averageRatioOfConcealedSamples +msgraph.generated.models.callRecords.MediaStream_averageRatioOfConcealedSamples~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.MediaStream_averageReceivedFrameRate::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.MediaStream_averageReceivedFrameRate::|public|constructor():None +msgraph.generated.models.callRecords.MediaStream_averageReceivedFrameRate::|public|float():float +msgraph.generated.models.callRecords.MediaStream_averageReceivedFrameRate::|public|float(value:float):None +msgraph.generated.models.callRecords.MediaStream_averageReceivedFrameRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.MediaStream_averageReceivedFrameRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.MediaStream_averageReceivedFrameRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.MediaStream_averageReceivedFrameRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.MediaStream_averageReceivedFrameRate::|public|string():str +msgraph.generated.models.callRecords.MediaStream_averageReceivedFrameRate::|public|string(value:str):None +msgraph.generated.models.callRecords.MediaStream_averageReceivedFrameRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):MediaStream_averageReceivedFrameRate +msgraph.generated.models.callRecords.MediaStream_averageReceivedFrameRate~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameLossPercentage::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameLossPercentage::|public|constructor():None +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameLossPercentage::|public|float():float +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameLossPercentage::|public|float(value:float):None +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameLossPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameLossPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameLossPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameLossPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameLossPercentage::|public|string():str +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameLossPercentage::|public|string(value:str):None +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameLossPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):MediaStream_averageVideoFrameLossPercentage +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameLossPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameRate::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameRate::|public|constructor():None +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameRate::|public|float():float +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameRate::|public|float(value:float):None +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameRate::|public|string():str +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameRate::|public|string(value:str):None +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):MediaStream_averageVideoFrameRate +msgraph.generated.models.callRecords.MediaStream_averageVideoFrameRate~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.MediaStream_averageVideoPacketLossRate::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.MediaStream_averageVideoPacketLossRate::|public|constructor():None +msgraph.generated.models.callRecords.MediaStream_averageVideoPacketLossRate::|public|float():float +msgraph.generated.models.callRecords.MediaStream_averageVideoPacketLossRate::|public|float(value:float):None +msgraph.generated.models.callRecords.MediaStream_averageVideoPacketLossRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.MediaStream_averageVideoPacketLossRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.MediaStream_averageVideoPacketLossRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.MediaStream_averageVideoPacketLossRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.MediaStream_averageVideoPacketLossRate::|public|string():str +msgraph.generated.models.callRecords.MediaStream_averageVideoPacketLossRate::|public|string(value:str):None +msgraph.generated.models.callRecords.MediaStream_averageVideoPacketLossRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):MediaStream_averageVideoPacketLossRate +msgraph.generated.models.callRecords.MediaStream_averageVideoPacketLossRate~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.MediaStream_lowFrameRateRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.MediaStream_lowFrameRateRatio::|public|constructor():None +msgraph.generated.models.callRecords.MediaStream_lowFrameRateRatio::|public|float():float +msgraph.generated.models.callRecords.MediaStream_lowFrameRateRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.MediaStream_lowFrameRateRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.MediaStream_lowFrameRateRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.MediaStream_lowFrameRateRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.MediaStream_lowFrameRateRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.MediaStream_lowFrameRateRatio::|public|string():str +msgraph.generated.models.callRecords.MediaStream_lowFrameRateRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.MediaStream_lowFrameRateRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):MediaStream_lowFrameRateRatio +msgraph.generated.models.callRecords.MediaStream_lowFrameRateRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.MediaStream_lowVideoProcessingCapabilityRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.MediaStream_lowVideoProcessingCapabilityRatio::|public|constructor():None +msgraph.generated.models.callRecords.MediaStream_lowVideoProcessingCapabilityRatio::|public|float():float +msgraph.generated.models.callRecords.MediaStream_lowVideoProcessingCapabilityRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.MediaStream_lowVideoProcessingCapabilityRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.MediaStream_lowVideoProcessingCapabilityRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.MediaStream_lowVideoProcessingCapabilityRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.MediaStream_lowVideoProcessingCapabilityRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.MediaStream_lowVideoProcessingCapabilityRatio::|public|string():str +msgraph.generated.models.callRecords.MediaStream_lowVideoProcessingCapabilityRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.MediaStream_lowVideoProcessingCapabilityRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):MediaStream_lowVideoProcessingCapabilityRatio +msgraph.generated.models.callRecords.MediaStream_lowVideoProcessingCapabilityRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.MediaStream_maxPacketLossRate::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.MediaStream_maxPacketLossRate::|public|constructor():None +msgraph.generated.models.callRecords.MediaStream_maxPacketLossRate::|public|float():float +msgraph.generated.models.callRecords.MediaStream_maxPacketLossRate::|public|float(value:float):None +msgraph.generated.models.callRecords.MediaStream_maxPacketLossRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.MediaStream_maxPacketLossRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.MediaStream_maxPacketLossRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.MediaStream_maxPacketLossRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.MediaStream_maxPacketLossRate::|public|string():str +msgraph.generated.models.callRecords.MediaStream_maxPacketLossRate::|public|string(value:str):None +msgraph.generated.models.callRecords.MediaStream_maxPacketLossRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):MediaStream_maxPacketLossRate +msgraph.generated.models.callRecords.MediaStream_maxPacketLossRate~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.MediaStream_maxRatioOfConcealedSamples::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.MediaStream_maxRatioOfConcealedSamples::|public|constructor():None +msgraph.generated.models.callRecords.MediaStream_maxRatioOfConcealedSamples::|public|float():float +msgraph.generated.models.callRecords.MediaStream_maxRatioOfConcealedSamples::|public|float(value:float):None +msgraph.generated.models.callRecords.MediaStream_maxRatioOfConcealedSamples::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.MediaStream_maxRatioOfConcealedSamples::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.MediaStream_maxRatioOfConcealedSamples::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.MediaStream_maxRatioOfConcealedSamples::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.MediaStream_maxRatioOfConcealedSamples::|public|string():str +msgraph.generated.models.callRecords.MediaStream_maxRatioOfConcealedSamples::|public|string(value:str):None +msgraph.generated.models.callRecords.MediaStream_maxRatioOfConcealedSamples::|static|public|create_from_discriminator_value(parse_node:ParseNode):MediaStream_maxRatioOfConcealedSamples +msgraph.generated.models.callRecords.MediaStream_maxRatioOfConcealedSamples~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.MediaStream_postForwardErrorCorrectionPacketLossRate::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.MediaStream_postForwardErrorCorrectionPacketLossRate::|public|constructor():None +msgraph.generated.models.callRecords.MediaStream_postForwardErrorCorrectionPacketLossRate::|public|float():float +msgraph.generated.models.callRecords.MediaStream_postForwardErrorCorrectionPacketLossRate::|public|float(value:float):None +msgraph.generated.models.callRecords.MediaStream_postForwardErrorCorrectionPacketLossRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.MediaStream_postForwardErrorCorrectionPacketLossRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.MediaStream_postForwardErrorCorrectionPacketLossRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.MediaStream_postForwardErrorCorrectionPacketLossRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.MediaStream_postForwardErrorCorrectionPacketLossRate::|public|string():str +msgraph.generated.models.callRecords.MediaStream_postForwardErrorCorrectionPacketLossRate::|public|string(value:str):None +msgraph.generated.models.callRecords.MediaStream_postForwardErrorCorrectionPacketLossRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):MediaStream_postForwardErrorCorrectionPacketLossRate +msgraph.generated.models.callRecords.MediaStream_postForwardErrorCorrectionPacketLossRate~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.callRecords.MediaStream~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.callRecords.Media~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.callRecords.Modality::0000-Audio @@ -98231,15 +98583,15 @@ msgraph.generated.models.callRecords.NetworkConnectionType::0005-UnknownFutureVa msgraph.generated.models.callRecords.NetworkInfo::|public|additional_data():Dict[str, Any] msgraph.generated.models.callRecords.NetworkInfo::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.callRecords.NetworkInfo::|public|backing_store:BackingStore -msgraph.generated.models.callRecords.NetworkInfo::|public|bandwidth_low_event_ratio():float -msgraph.generated.models.callRecords.NetworkInfo::|public|bandwidth_low_event_ratio(value:float):None +msgraph.generated.models.callRecords.NetworkInfo::|public|bandwidth_low_event_ratio():NetworkInfo_bandwidthLowEventRatio +msgraph.generated.models.callRecords.NetworkInfo::|public|bandwidth_low_event_ratio(value:NetworkInfo_bandwidthLowEventRatio):None msgraph.generated.models.callRecords.NetworkInfo::|public|basic_service_set_identifier():str msgraph.generated.models.callRecords.NetworkInfo::|public|basic_service_set_identifier(value:str):None msgraph.generated.models.callRecords.NetworkInfo::|public|connection_type():NetworkConnectionType msgraph.generated.models.callRecords.NetworkInfo::|public|connection_type(value:NetworkConnectionType):None msgraph.generated.models.callRecords.NetworkInfo::|public|constructor():None -msgraph.generated.models.callRecords.NetworkInfo::|public|delay_event_ratio():float -msgraph.generated.models.callRecords.NetworkInfo::|public|delay_event_ratio(value:float):None +msgraph.generated.models.callRecords.NetworkInfo::|public|delay_event_ratio():NetworkInfo_delayEventRatio +msgraph.generated.models.callRecords.NetworkInfo::|public|delay_event_ratio(value:NetworkInfo_delayEventRatio):None msgraph.generated.models.callRecords.NetworkInfo::|public|dns_suffix():str msgraph.generated.models.callRecords.NetworkInfo::|public|dns_suffix(value:str):None msgraph.generated.models.callRecords.NetworkInfo::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -98255,16 +98607,16 @@ msgraph.generated.models.callRecords.NetworkInfo::|public|odata_type():str msgraph.generated.models.callRecords.NetworkInfo::|public|odata_type(value:str):None msgraph.generated.models.callRecords.NetworkInfo::|public|port():int msgraph.generated.models.callRecords.NetworkInfo::|public|port(value:int):None -msgraph.generated.models.callRecords.NetworkInfo::|public|received_quality_event_ratio():float -msgraph.generated.models.callRecords.NetworkInfo::|public|received_quality_event_ratio(value:float):None +msgraph.generated.models.callRecords.NetworkInfo::|public|received_quality_event_ratio():NetworkInfo_receivedQualityEventRatio +msgraph.generated.models.callRecords.NetworkInfo::|public|received_quality_event_ratio(value:NetworkInfo_receivedQualityEventRatio):None msgraph.generated.models.callRecords.NetworkInfo::|public|reflexive_i_p_address():str msgraph.generated.models.callRecords.NetworkInfo::|public|reflexive_i_p_address(value:str):None msgraph.generated.models.callRecords.NetworkInfo::|public|relay_i_p_address():str msgraph.generated.models.callRecords.NetworkInfo::|public|relay_i_p_address(value:str):None msgraph.generated.models.callRecords.NetworkInfo::|public|relay_port():int msgraph.generated.models.callRecords.NetworkInfo::|public|relay_port(value:int):None -msgraph.generated.models.callRecords.NetworkInfo::|public|sent_quality_event_ratio():float -msgraph.generated.models.callRecords.NetworkInfo::|public|sent_quality_event_ratio(value:float):None +msgraph.generated.models.callRecords.NetworkInfo::|public|sent_quality_event_ratio():NetworkInfo_sentQualityEventRatio +msgraph.generated.models.callRecords.NetworkInfo::|public|sent_quality_event_ratio(value:NetworkInfo_sentQualityEventRatio):None msgraph.generated.models.callRecords.NetworkInfo::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.callRecords.NetworkInfo::|public|subnet():str msgraph.generated.models.callRecords.NetworkInfo::|public|subnet(value:str):None @@ -98289,6 +98641,54 @@ msgraph.generated.models.callRecords.NetworkInfo::|public|wifi_vendor_driver(val msgraph.generated.models.callRecords.NetworkInfo::|public|wifi_vendor_driver_version():str msgraph.generated.models.callRecords.NetworkInfo::|public|wifi_vendor_driver_version(value:str):None msgraph.generated.models.callRecords.NetworkInfo::|static|public|create_from_discriminator_value(parse_node:ParseNode):NetworkInfo +msgraph.generated.models.callRecords.NetworkInfo_bandwidthLowEventRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.NetworkInfo_bandwidthLowEventRatio::|public|constructor():None +msgraph.generated.models.callRecords.NetworkInfo_bandwidthLowEventRatio::|public|float():float +msgraph.generated.models.callRecords.NetworkInfo_bandwidthLowEventRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.NetworkInfo_bandwidthLowEventRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.NetworkInfo_bandwidthLowEventRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.NetworkInfo_bandwidthLowEventRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.NetworkInfo_bandwidthLowEventRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.NetworkInfo_bandwidthLowEventRatio::|public|string():str +msgraph.generated.models.callRecords.NetworkInfo_bandwidthLowEventRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.NetworkInfo_bandwidthLowEventRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):NetworkInfo_bandwidthLowEventRatio +msgraph.generated.models.callRecords.NetworkInfo_bandwidthLowEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.NetworkInfo_delayEventRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.NetworkInfo_delayEventRatio::|public|constructor():None +msgraph.generated.models.callRecords.NetworkInfo_delayEventRatio::|public|float():float +msgraph.generated.models.callRecords.NetworkInfo_delayEventRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.NetworkInfo_delayEventRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.NetworkInfo_delayEventRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.NetworkInfo_delayEventRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.NetworkInfo_delayEventRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.NetworkInfo_delayEventRatio::|public|string():str +msgraph.generated.models.callRecords.NetworkInfo_delayEventRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.NetworkInfo_delayEventRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):NetworkInfo_delayEventRatio +msgraph.generated.models.callRecords.NetworkInfo_delayEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.NetworkInfo_receivedQualityEventRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.NetworkInfo_receivedQualityEventRatio::|public|constructor():None +msgraph.generated.models.callRecords.NetworkInfo_receivedQualityEventRatio::|public|float():float +msgraph.generated.models.callRecords.NetworkInfo_receivedQualityEventRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.NetworkInfo_receivedQualityEventRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.NetworkInfo_receivedQualityEventRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.NetworkInfo_receivedQualityEventRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.NetworkInfo_receivedQualityEventRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.NetworkInfo_receivedQualityEventRatio::|public|string():str +msgraph.generated.models.callRecords.NetworkInfo_receivedQualityEventRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.NetworkInfo_receivedQualityEventRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):NetworkInfo_receivedQualityEventRatio +msgraph.generated.models.callRecords.NetworkInfo_receivedQualityEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.callRecords.NetworkInfo_sentQualityEventRatio::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.NetworkInfo_sentQualityEventRatio::|public|constructor():None +msgraph.generated.models.callRecords.NetworkInfo_sentQualityEventRatio::|public|float():float +msgraph.generated.models.callRecords.NetworkInfo_sentQualityEventRatio::|public|float(value:float):None +msgraph.generated.models.callRecords.NetworkInfo_sentQualityEventRatio::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.NetworkInfo_sentQualityEventRatio::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.callRecords.NetworkInfo_sentQualityEventRatio::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.callRecords.NetworkInfo_sentQualityEventRatio::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.NetworkInfo_sentQualityEventRatio::|public|string():str +msgraph.generated.models.callRecords.NetworkInfo_sentQualityEventRatio::|public|string(value:str):None +msgraph.generated.models.callRecords.NetworkInfo_sentQualityEventRatio::|static|public|create_from_discriminator_value(parse_node:ParseNode):NetworkInfo_sentQualityEventRatio +msgraph.generated.models.callRecords.NetworkInfo_sentQualityEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.callRecords.NetworkInfo~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.callRecords.NetworkTransportProtocol::0000-Unknown msgraph.generated.models.callRecords.NetworkTransportProtocol::0001-Udp @@ -101247,10 +101647,22 @@ msgraph.generated.models.ControlScore::|public|description(value:str):None msgraph.generated.models.ControlScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.ControlScore::|public|odata_type():str msgraph.generated.models.ControlScore::|public|odata_type(value:str):None -msgraph.generated.models.ControlScore::|public|score():float -msgraph.generated.models.ControlScore::|public|score(value:float):None +msgraph.generated.models.ControlScore::|public|score():ControlScore_score +msgraph.generated.models.ControlScore::|public|score(value:ControlScore_score):None msgraph.generated.models.ControlScore::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.ControlScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):ControlScore +msgraph.generated.models.ControlScore_score::|public|backing_store:BackingStore +msgraph.generated.models.ControlScore_score::|public|constructor():None +msgraph.generated.models.ControlScore_score::|public|double():float +msgraph.generated.models.ControlScore_score::|public|double(value:float):None +msgraph.generated.models.ControlScore_score::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.ControlScore_score::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.ControlScore_score::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.ControlScore_score::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.ControlScore_score::|public|string():str +msgraph.generated.models.ControlScore_score::|public|string(value:str):None +msgraph.generated.models.ControlScore_score::|static|public|create_from_discriminator_value(parse_node:ParseNode):ControlScore_score +msgraph.generated.models.ControlScore_score~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.ControlScore~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.Conversation-->Entity msgraph.generated.models.Conversation::|public|constructor():None @@ -101844,8 +102256,8 @@ msgraph.generated.models.DataPolicyOperation::|public|completed_date_time(value: msgraph.generated.models.DataPolicyOperation::|public|constructor():None msgraph.generated.models.DataPolicyOperation::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.DataPolicyOperation::|public|odata_type:str -msgraph.generated.models.DataPolicyOperation::|public|progress():float -msgraph.generated.models.DataPolicyOperation::|public|progress(value:float):None +msgraph.generated.models.DataPolicyOperation::|public|progress():DataPolicyOperation_progress +msgraph.generated.models.DataPolicyOperation::|public|progress(value:DataPolicyOperation_progress):None msgraph.generated.models.DataPolicyOperation::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.DataPolicyOperation::|public|status():DataPolicyOperationStatus msgraph.generated.models.DataPolicyOperation::|public|status(value:DataPolicyOperationStatus):None @@ -101868,6 +102280,18 @@ msgraph.generated.models.DataPolicyOperationStatus::0001-Running msgraph.generated.models.DataPolicyOperationStatus::0002-Complete msgraph.generated.models.DataPolicyOperationStatus::0003-Failed msgraph.generated.models.DataPolicyOperationStatus::0004-UnknownFutureValue +msgraph.generated.models.DataPolicyOperation_progress::|public|backing_store:BackingStore +msgraph.generated.models.DataPolicyOperation_progress::|public|constructor():None +msgraph.generated.models.DataPolicyOperation_progress::|public|double():float +msgraph.generated.models.DataPolicyOperation_progress::|public|double(value:float):None +msgraph.generated.models.DataPolicyOperation_progress::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.DataPolicyOperation_progress::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.DataPolicyOperation_progress::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.DataPolicyOperation_progress::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.DataPolicyOperation_progress::|public|string():str +msgraph.generated.models.DataPolicyOperation_progress::|public|string(value:str):None +msgraph.generated.models.DataPolicyOperation_progress::|static|public|create_from_discriminator_value(parse_node:ParseNode):DataPolicyOperation_progress +msgraph.generated.models.DataPolicyOperation_progress~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.DataSubject::|public|additional_data():Dict[str, Any] msgraph.generated.models.DataSubject::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.DataSubject::|public|backing_store:BackingStore @@ -103346,29 +103770,113 @@ msgraph.generated.models.DeviceExchangeAccessStateSummary::|static|public|create msgraph.generated.models.DeviceExchangeAccessStateSummary~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.DeviceGeoLocation::|public|additional_data():Dict[str, Any] msgraph.generated.models.DeviceGeoLocation::|public|additional_data(value:Dict[str, Any]):None -msgraph.generated.models.DeviceGeoLocation::|public|altitude():float -msgraph.generated.models.DeviceGeoLocation::|public|altitude(value:float):None +msgraph.generated.models.DeviceGeoLocation::|public|altitude():DeviceGeoLocation_altitude +msgraph.generated.models.DeviceGeoLocation::|public|altitude(value:DeviceGeoLocation_altitude):None msgraph.generated.models.DeviceGeoLocation::|public|backing_store:BackingStore msgraph.generated.models.DeviceGeoLocation::|public|constructor():None msgraph.generated.models.DeviceGeoLocation::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph.generated.models.DeviceGeoLocation::|public|heading():float -msgraph.generated.models.DeviceGeoLocation::|public|heading(value:float):None -msgraph.generated.models.DeviceGeoLocation::|public|horizontal_accuracy():float -msgraph.generated.models.DeviceGeoLocation::|public|horizontal_accuracy(value:float):None +msgraph.generated.models.DeviceGeoLocation::|public|heading():DeviceGeoLocation_heading +msgraph.generated.models.DeviceGeoLocation::|public|heading(value:DeviceGeoLocation_heading):None +msgraph.generated.models.DeviceGeoLocation::|public|horizontal_accuracy():DeviceGeoLocation_horizontalAccuracy +msgraph.generated.models.DeviceGeoLocation::|public|horizontal_accuracy(value:DeviceGeoLocation_horizontalAccuracy):None msgraph.generated.models.DeviceGeoLocation::|public|last_collected_date_time():datetime.datetime msgraph.generated.models.DeviceGeoLocation::|public|last_collected_date_time(value:datetime.datetime):None -msgraph.generated.models.DeviceGeoLocation::|public|latitude():float -msgraph.generated.models.DeviceGeoLocation::|public|latitude(value:float):None -msgraph.generated.models.DeviceGeoLocation::|public|longitude():float -msgraph.generated.models.DeviceGeoLocation::|public|longitude(value:float):None +msgraph.generated.models.DeviceGeoLocation::|public|latitude():DeviceGeoLocation_latitude +msgraph.generated.models.DeviceGeoLocation::|public|latitude(value:DeviceGeoLocation_latitude):None +msgraph.generated.models.DeviceGeoLocation::|public|longitude():DeviceGeoLocation_longitude +msgraph.generated.models.DeviceGeoLocation::|public|longitude(value:DeviceGeoLocation_longitude):None msgraph.generated.models.DeviceGeoLocation::|public|odata_type():str msgraph.generated.models.DeviceGeoLocation::|public|odata_type(value:str):None msgraph.generated.models.DeviceGeoLocation::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.DeviceGeoLocation::|public|speed():float -msgraph.generated.models.DeviceGeoLocation::|public|speed(value:float):None -msgraph.generated.models.DeviceGeoLocation::|public|vertical_accuracy():float -msgraph.generated.models.DeviceGeoLocation::|public|vertical_accuracy(value:float):None +msgraph.generated.models.DeviceGeoLocation::|public|speed():DeviceGeoLocation_speed +msgraph.generated.models.DeviceGeoLocation::|public|speed(value:DeviceGeoLocation_speed):None +msgraph.generated.models.DeviceGeoLocation::|public|vertical_accuracy():DeviceGeoLocation_verticalAccuracy +msgraph.generated.models.DeviceGeoLocation::|public|vertical_accuracy(value:DeviceGeoLocation_verticalAccuracy):None msgraph.generated.models.DeviceGeoLocation::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceGeoLocation +msgraph.generated.models.DeviceGeoLocation_altitude::|public|backing_store:BackingStore +msgraph.generated.models.DeviceGeoLocation_altitude::|public|constructor():None +msgraph.generated.models.DeviceGeoLocation_altitude::|public|double():float +msgraph.generated.models.DeviceGeoLocation_altitude::|public|double(value:float):None +msgraph.generated.models.DeviceGeoLocation_altitude::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.DeviceGeoLocation_altitude::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.DeviceGeoLocation_altitude::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.DeviceGeoLocation_altitude::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.DeviceGeoLocation_altitude::|public|string():str +msgraph.generated.models.DeviceGeoLocation_altitude::|public|string(value:str):None +msgraph.generated.models.DeviceGeoLocation_altitude::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceGeoLocation_altitude +msgraph.generated.models.DeviceGeoLocation_altitude~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.DeviceGeoLocation_heading::|public|backing_store:BackingStore +msgraph.generated.models.DeviceGeoLocation_heading::|public|constructor():None +msgraph.generated.models.DeviceGeoLocation_heading::|public|double():float +msgraph.generated.models.DeviceGeoLocation_heading::|public|double(value:float):None +msgraph.generated.models.DeviceGeoLocation_heading::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.DeviceGeoLocation_heading::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.DeviceGeoLocation_heading::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.DeviceGeoLocation_heading::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.DeviceGeoLocation_heading::|public|string():str +msgraph.generated.models.DeviceGeoLocation_heading::|public|string(value:str):None +msgraph.generated.models.DeviceGeoLocation_heading::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceGeoLocation_heading +msgraph.generated.models.DeviceGeoLocation_heading~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.DeviceGeoLocation_horizontalAccuracy::|public|backing_store:BackingStore +msgraph.generated.models.DeviceGeoLocation_horizontalAccuracy::|public|constructor():None +msgraph.generated.models.DeviceGeoLocation_horizontalAccuracy::|public|double():float +msgraph.generated.models.DeviceGeoLocation_horizontalAccuracy::|public|double(value:float):None +msgraph.generated.models.DeviceGeoLocation_horizontalAccuracy::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.DeviceGeoLocation_horizontalAccuracy::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.DeviceGeoLocation_horizontalAccuracy::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.DeviceGeoLocation_horizontalAccuracy::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.DeviceGeoLocation_horizontalAccuracy::|public|string():str +msgraph.generated.models.DeviceGeoLocation_horizontalAccuracy::|public|string(value:str):None +msgraph.generated.models.DeviceGeoLocation_horizontalAccuracy::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceGeoLocation_horizontalAccuracy +msgraph.generated.models.DeviceGeoLocation_horizontalAccuracy~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.DeviceGeoLocation_latitude::|public|backing_store:BackingStore +msgraph.generated.models.DeviceGeoLocation_latitude::|public|constructor():None +msgraph.generated.models.DeviceGeoLocation_latitude::|public|double():float +msgraph.generated.models.DeviceGeoLocation_latitude::|public|double(value:float):None +msgraph.generated.models.DeviceGeoLocation_latitude::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.DeviceGeoLocation_latitude::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.DeviceGeoLocation_latitude::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.DeviceGeoLocation_latitude::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.DeviceGeoLocation_latitude::|public|string():str +msgraph.generated.models.DeviceGeoLocation_latitude::|public|string(value:str):None +msgraph.generated.models.DeviceGeoLocation_latitude::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceGeoLocation_latitude +msgraph.generated.models.DeviceGeoLocation_latitude~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.DeviceGeoLocation_longitude::|public|backing_store:BackingStore +msgraph.generated.models.DeviceGeoLocation_longitude::|public|constructor():None +msgraph.generated.models.DeviceGeoLocation_longitude::|public|double():float +msgraph.generated.models.DeviceGeoLocation_longitude::|public|double(value:float):None +msgraph.generated.models.DeviceGeoLocation_longitude::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.DeviceGeoLocation_longitude::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.DeviceGeoLocation_longitude::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.DeviceGeoLocation_longitude::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.DeviceGeoLocation_longitude::|public|string():str +msgraph.generated.models.DeviceGeoLocation_longitude::|public|string(value:str):None +msgraph.generated.models.DeviceGeoLocation_longitude::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceGeoLocation_longitude +msgraph.generated.models.DeviceGeoLocation_longitude~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.DeviceGeoLocation_speed::|public|backing_store:BackingStore +msgraph.generated.models.DeviceGeoLocation_speed::|public|constructor():None +msgraph.generated.models.DeviceGeoLocation_speed::|public|double():float +msgraph.generated.models.DeviceGeoLocation_speed::|public|double(value:float):None +msgraph.generated.models.DeviceGeoLocation_speed::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.DeviceGeoLocation_speed::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.DeviceGeoLocation_speed::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.DeviceGeoLocation_speed::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.DeviceGeoLocation_speed::|public|string():str +msgraph.generated.models.DeviceGeoLocation_speed::|public|string(value:str):None +msgraph.generated.models.DeviceGeoLocation_speed::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceGeoLocation_speed +msgraph.generated.models.DeviceGeoLocation_speed~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.DeviceGeoLocation_verticalAccuracy::|public|backing_store:BackingStore +msgraph.generated.models.DeviceGeoLocation_verticalAccuracy::|public|constructor():None +msgraph.generated.models.DeviceGeoLocation_verticalAccuracy::|public|double():float +msgraph.generated.models.DeviceGeoLocation_verticalAccuracy::|public|double(value:float):None +msgraph.generated.models.DeviceGeoLocation_verticalAccuracy::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.DeviceGeoLocation_verticalAccuracy::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.DeviceGeoLocation_verticalAccuracy::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.DeviceGeoLocation_verticalAccuracy::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.DeviceGeoLocation_verticalAccuracy::|public|string():str +msgraph.generated.models.DeviceGeoLocation_verticalAccuracy::|public|string(value:str):None +msgraph.generated.models.DeviceGeoLocation_verticalAccuracy::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceGeoLocation_verticalAccuracy +msgraph.generated.models.DeviceGeoLocation_verticalAccuracy~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.DeviceGeoLocation~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.DeviceHealthAttestationState::|public|additional_data():Dict[str, Any] msgraph.generated.models.DeviceHealthAttestationState::|public|additional_data(value:Dict[str, Any]):None @@ -103525,8 +104033,8 @@ msgraph.generated.models.DeviceLogCollectionResponse::|public|received_date_time msgraph.generated.models.DeviceLogCollectionResponse::|public|requested_date_time_u_t_c():datetime.datetime msgraph.generated.models.DeviceLogCollectionResponse::|public|requested_date_time_u_t_c(value:datetime.datetime):None msgraph.generated.models.DeviceLogCollectionResponse::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.DeviceLogCollectionResponse::|public|size_in_k_b():float -msgraph.generated.models.DeviceLogCollectionResponse::|public|size_in_k_b(value:float):None +msgraph.generated.models.DeviceLogCollectionResponse::|public|size_in_k_b():DeviceLogCollectionResponse_sizeInKB +msgraph.generated.models.DeviceLogCollectionResponse::|public|size_in_k_b(value:DeviceLogCollectionResponse_sizeInKB):None msgraph.generated.models.DeviceLogCollectionResponse::|public|status():AppLogUploadState msgraph.generated.models.DeviceLogCollectionResponse::|public|status(value:AppLogUploadState):None msgraph.generated.models.DeviceLogCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceLogCollectionResponse @@ -103537,6 +104045,18 @@ msgraph.generated.models.DeviceLogCollectionResponseCollectionResponse::|public| msgraph.generated.models.DeviceLogCollectionResponseCollectionResponse::|public|value():List[DeviceLogCollectionResponse] msgraph.generated.models.DeviceLogCollectionResponseCollectionResponse::|public|value(value:List[DeviceLogCollectionResponse]):None msgraph.generated.models.DeviceLogCollectionResponseCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceLogCollectionResponseCollectionResponse +msgraph.generated.models.DeviceLogCollectionResponse_sizeInKB::|public|backing_store:BackingStore +msgraph.generated.models.DeviceLogCollectionResponse_sizeInKB::|public|constructor():None +msgraph.generated.models.DeviceLogCollectionResponse_sizeInKB::|public|double():float +msgraph.generated.models.DeviceLogCollectionResponse_sizeInKB::|public|double(value:float):None +msgraph.generated.models.DeviceLogCollectionResponse_sizeInKB::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.DeviceLogCollectionResponse_sizeInKB::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.DeviceLogCollectionResponse_sizeInKB::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.DeviceLogCollectionResponse_sizeInKB::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.DeviceLogCollectionResponse_sizeInKB::|public|string():str +msgraph.generated.models.DeviceLogCollectionResponse_sizeInKB::|public|string(value:str):None +msgraph.generated.models.DeviceLogCollectionResponse_sizeInKB::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceLogCollectionResponse_sizeInKB +msgraph.generated.models.DeviceLogCollectionResponse_sizeInKB~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.DeviceManagement-->Entity msgraph.generated.models.DeviceManagement::|public|apple_push_notification_certificate():ApplePushNotificationCertificate msgraph.generated.models.DeviceManagement::|public|apple_push_notification_certificate(value:ApplePushNotificationCertificate):None @@ -104913,18 +105433,42 @@ msgraph.generated.models.EducationAssignmentPointsGrade-->EducationAssignmentGra msgraph.generated.models.EducationAssignmentPointsGrade::|public|constructor():None msgraph.generated.models.EducationAssignmentPointsGrade::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.EducationAssignmentPointsGrade::|public|odata_type:str -msgraph.generated.models.EducationAssignmentPointsGrade::|public|points():float -msgraph.generated.models.EducationAssignmentPointsGrade::|public|points(value:float):None +msgraph.generated.models.EducationAssignmentPointsGrade::|public|points():EducationAssignmentPointsGrade_points +msgraph.generated.models.EducationAssignmentPointsGrade::|public|points(value:EducationAssignmentPointsGrade_points):None msgraph.generated.models.EducationAssignmentPointsGrade::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.EducationAssignmentPointsGrade::|static|public|create_from_discriminator_value(parse_node:ParseNode):EducationAssignmentPointsGrade msgraph.generated.models.EducationAssignmentPointsGradeType-->EducationAssignmentGradeType msgraph.generated.models.EducationAssignmentPointsGradeType::|public|constructor():None msgraph.generated.models.EducationAssignmentPointsGradeType::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph.generated.models.EducationAssignmentPointsGradeType::|public|max_points():float -msgraph.generated.models.EducationAssignmentPointsGradeType::|public|max_points(value:float):None +msgraph.generated.models.EducationAssignmentPointsGradeType::|public|max_points():EducationAssignmentPointsGradeType_maxPoints +msgraph.generated.models.EducationAssignmentPointsGradeType::|public|max_points(value:EducationAssignmentPointsGradeType_maxPoints):None msgraph.generated.models.EducationAssignmentPointsGradeType::|public|odata_type:str msgraph.generated.models.EducationAssignmentPointsGradeType::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.EducationAssignmentPointsGradeType::|static|public|create_from_discriminator_value(parse_node:ParseNode):EducationAssignmentPointsGradeType +msgraph.generated.models.EducationAssignmentPointsGradeType_maxPoints::|public|backing_store:BackingStore +msgraph.generated.models.EducationAssignmentPointsGradeType_maxPoints::|public|constructor():None +msgraph.generated.models.EducationAssignmentPointsGradeType_maxPoints::|public|float():float +msgraph.generated.models.EducationAssignmentPointsGradeType_maxPoints::|public|float(value:float):None +msgraph.generated.models.EducationAssignmentPointsGradeType_maxPoints::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.EducationAssignmentPointsGradeType_maxPoints::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.EducationAssignmentPointsGradeType_maxPoints::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.EducationAssignmentPointsGradeType_maxPoints::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.EducationAssignmentPointsGradeType_maxPoints::|public|string():str +msgraph.generated.models.EducationAssignmentPointsGradeType_maxPoints::|public|string(value:str):None +msgraph.generated.models.EducationAssignmentPointsGradeType_maxPoints::|static|public|create_from_discriminator_value(parse_node:ParseNode):EducationAssignmentPointsGradeType_maxPoints +msgraph.generated.models.EducationAssignmentPointsGradeType_maxPoints~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.EducationAssignmentPointsGrade_points::|public|backing_store:BackingStore +msgraph.generated.models.EducationAssignmentPointsGrade_points::|public|constructor():None +msgraph.generated.models.EducationAssignmentPointsGrade_points::|public|float():float +msgraph.generated.models.EducationAssignmentPointsGrade_points::|public|float(value:float):None +msgraph.generated.models.EducationAssignmentPointsGrade_points::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.EducationAssignmentPointsGrade_points::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.EducationAssignmentPointsGrade_points::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.EducationAssignmentPointsGrade_points::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.EducationAssignmentPointsGrade_points::|public|string():str +msgraph.generated.models.EducationAssignmentPointsGrade_points::|public|string(value:str):None +msgraph.generated.models.EducationAssignmentPointsGrade_points::|static|public|create_from_discriminator_value(parse_node:ParseNode):EducationAssignmentPointsGrade_points +msgraph.generated.models.EducationAssignmentPointsGrade_points~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.EducationAssignmentRecipient::|public|additional_data():Dict[str, Any] msgraph.generated.models.EducationAssignmentRecipient::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.EducationAssignmentRecipient::|public|backing_store:BackingStore @@ -107385,19 +107929,55 @@ msgraph.generated.models.GenericError::|static|public|create_from_discriminator_ msgraph.generated.models.GenericError~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.GeoCoordinates::|public|additional_data():Dict[str, Any] msgraph.generated.models.GeoCoordinates::|public|additional_data(value:Dict[str, Any]):None -msgraph.generated.models.GeoCoordinates::|public|altitude():float -msgraph.generated.models.GeoCoordinates::|public|altitude(value:float):None +msgraph.generated.models.GeoCoordinates::|public|altitude():GeoCoordinates_altitude +msgraph.generated.models.GeoCoordinates::|public|altitude(value:GeoCoordinates_altitude):None msgraph.generated.models.GeoCoordinates::|public|backing_store:BackingStore msgraph.generated.models.GeoCoordinates::|public|constructor():None msgraph.generated.models.GeoCoordinates::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph.generated.models.GeoCoordinates::|public|latitude():float -msgraph.generated.models.GeoCoordinates::|public|latitude(value:float):None -msgraph.generated.models.GeoCoordinates::|public|longitude():float -msgraph.generated.models.GeoCoordinates::|public|longitude(value:float):None +msgraph.generated.models.GeoCoordinates::|public|latitude():GeoCoordinates_latitude +msgraph.generated.models.GeoCoordinates::|public|latitude(value:GeoCoordinates_latitude):None +msgraph.generated.models.GeoCoordinates::|public|longitude():GeoCoordinates_longitude +msgraph.generated.models.GeoCoordinates::|public|longitude(value:GeoCoordinates_longitude):None msgraph.generated.models.GeoCoordinates::|public|odata_type():str msgraph.generated.models.GeoCoordinates::|public|odata_type(value:str):None msgraph.generated.models.GeoCoordinates::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.GeoCoordinates::|static|public|create_from_discriminator_value(parse_node:ParseNode):GeoCoordinates +msgraph.generated.models.GeoCoordinates_altitude::|public|backing_store:BackingStore +msgraph.generated.models.GeoCoordinates_altitude::|public|constructor():None +msgraph.generated.models.GeoCoordinates_altitude::|public|double():float +msgraph.generated.models.GeoCoordinates_altitude::|public|double(value:float):None +msgraph.generated.models.GeoCoordinates_altitude::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.GeoCoordinates_altitude::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.GeoCoordinates_altitude::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.GeoCoordinates_altitude::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.GeoCoordinates_altitude::|public|string():str +msgraph.generated.models.GeoCoordinates_altitude::|public|string(value:str):None +msgraph.generated.models.GeoCoordinates_altitude::|static|public|create_from_discriminator_value(parse_node:ParseNode):GeoCoordinates_altitude +msgraph.generated.models.GeoCoordinates_altitude~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.GeoCoordinates_latitude::|public|backing_store:BackingStore +msgraph.generated.models.GeoCoordinates_latitude::|public|constructor():None +msgraph.generated.models.GeoCoordinates_latitude::|public|double():float +msgraph.generated.models.GeoCoordinates_latitude::|public|double(value:float):None +msgraph.generated.models.GeoCoordinates_latitude::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.GeoCoordinates_latitude::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.GeoCoordinates_latitude::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.GeoCoordinates_latitude::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.GeoCoordinates_latitude::|public|string():str +msgraph.generated.models.GeoCoordinates_latitude::|public|string(value:str):None +msgraph.generated.models.GeoCoordinates_latitude::|static|public|create_from_discriminator_value(parse_node:ParseNode):GeoCoordinates_latitude +msgraph.generated.models.GeoCoordinates_latitude~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.GeoCoordinates_longitude::|public|backing_store:BackingStore +msgraph.generated.models.GeoCoordinates_longitude::|public|constructor():None +msgraph.generated.models.GeoCoordinates_longitude::|public|double():float +msgraph.generated.models.GeoCoordinates_longitude::|public|double(value:float):None +msgraph.generated.models.GeoCoordinates_longitude::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.GeoCoordinates_longitude::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.GeoCoordinates_longitude::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.GeoCoordinates_longitude::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.GeoCoordinates_longitude::|public|string():str +msgraph.generated.models.GeoCoordinates_longitude::|public|string(value:str):None +msgraph.generated.models.GeoCoordinates_longitude::|static|public|create_from_discriminator_value(parse_node:ParseNode):GeoCoordinates_longitude +msgraph.generated.models.GeoCoordinates_longitude~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.GeoCoordinates~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.GeolocationColumn::|public|additional_data():Dict[str, Any] msgraph.generated.models.GeolocationColumn::|public|additional_data(value:Dict[str, Any]):None @@ -108692,8 +109272,8 @@ msgraph.generated.models.IdentityUserFlow::|public|odata_type:str msgraph.generated.models.IdentityUserFlow::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.IdentityUserFlow::|public|user_flow_type():UserFlowType msgraph.generated.models.IdentityUserFlow::|public|user_flow_type(value:UserFlowType):None -msgraph.generated.models.IdentityUserFlow::|public|user_flow_type_version():float -msgraph.generated.models.IdentityUserFlow::|public|user_flow_type_version(value:float):None +msgraph.generated.models.IdentityUserFlow::|public|user_flow_type_version():IdentityUserFlow_userFlowTypeVersion +msgraph.generated.models.IdentityUserFlow::|public|user_flow_type_version(value:IdentityUserFlow_userFlowTypeVersion):None msgraph.generated.models.IdentityUserFlow::|static|public|create_from_discriminator_value(parse_node:ParseNode):IdentityUserFlow msgraph.generated.models.IdentityUserFlowAttribute-->Entity msgraph.generated.models.IdentityUserFlowAttribute::|public|constructor():None @@ -108757,6 +109337,18 @@ msgraph.generated.models.IdentityUserFlowAttributeType::0000-BuiltIn msgraph.generated.models.IdentityUserFlowAttributeType::0001-Custom msgraph.generated.models.IdentityUserFlowAttributeType::0002-Required msgraph.generated.models.IdentityUserFlowAttributeType::0003-UnknownFutureValue +msgraph.generated.models.IdentityUserFlow_userFlowTypeVersion::|public|backing_store:BackingStore +msgraph.generated.models.IdentityUserFlow_userFlowTypeVersion::|public|constructor():None +msgraph.generated.models.IdentityUserFlow_userFlowTypeVersion::|public|float():float +msgraph.generated.models.IdentityUserFlow_userFlowTypeVersion::|public|float(value:float):None +msgraph.generated.models.IdentityUserFlow_userFlowTypeVersion::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.IdentityUserFlow_userFlowTypeVersion::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.IdentityUserFlow_userFlowTypeVersion::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.IdentityUserFlow_userFlowTypeVersion::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.IdentityUserFlow_userFlowTypeVersion::|public|string():str +msgraph.generated.models.IdentityUserFlow_userFlowTypeVersion::|public|string(value:str):None +msgraph.generated.models.IdentityUserFlow_userFlowTypeVersion::|static|public|create_from_discriminator_value(parse_node:ParseNode):IdentityUserFlow_userFlowTypeVersion +msgraph.generated.models.IdentityUserFlow_userFlowTypeVersion~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.Identity~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.IdleSessionSignOut::|public|additional_data():Dict[str, Any] msgraph.generated.models.IdleSessionSignOut::|public|additional_data(value:Dict[str, Any]):None @@ -109064,9 +109656,21 @@ msgraph.generated.models.InsightValueDouble::|public|constructor():None msgraph.generated.models.InsightValueDouble::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.InsightValueDouble::|public|odata_type:str msgraph.generated.models.InsightValueDouble::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.InsightValueDouble::|public|value():float -msgraph.generated.models.InsightValueDouble::|public|value(value:float):None +msgraph.generated.models.InsightValueDouble::|public|value():InsightValueDouble_value +msgraph.generated.models.InsightValueDouble::|public|value(value:InsightValueDouble_value):None msgraph.generated.models.InsightValueDouble::|static|public|create_from_discriminator_value(parse_node:ParseNode):InsightValueDouble +msgraph.generated.models.InsightValueDouble_value::|public|backing_store:BackingStore +msgraph.generated.models.InsightValueDouble_value::|public|constructor():None +msgraph.generated.models.InsightValueDouble_value::|public|double():float +msgraph.generated.models.InsightValueDouble_value::|public|double(value:float):None +msgraph.generated.models.InsightValueDouble_value::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.InsightValueDouble_value::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.InsightValueDouble_value::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.InsightValueDouble_value::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.InsightValueDouble_value::|public|string():str +msgraph.generated.models.InsightValueDouble_value::|public|string(value:str):None +msgraph.generated.models.InsightValueDouble_value::|static|public|create_from_discriminator_value(parse_node:ParseNode):InsightValueDouble_value +msgraph.generated.models.InsightValueDouble_value~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.InsightValueInt-->UserExperienceAnalyticsInsightValue msgraph.generated.models.InsightValueInt::|public|constructor():None msgraph.generated.models.InsightValueInt::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -112623,8 +113227,8 @@ msgraph.generated.models.MeetingTimeSuggestion::|public|additional_data(value:Di msgraph.generated.models.MeetingTimeSuggestion::|public|attendee_availability():List[AttendeeAvailability] msgraph.generated.models.MeetingTimeSuggestion::|public|attendee_availability(value:List[AttendeeAvailability]):None msgraph.generated.models.MeetingTimeSuggestion::|public|backing_store:BackingStore -msgraph.generated.models.MeetingTimeSuggestion::|public|confidence():float -msgraph.generated.models.MeetingTimeSuggestion::|public|confidence(value:float):None +msgraph.generated.models.MeetingTimeSuggestion::|public|confidence():MeetingTimeSuggestion_confidence +msgraph.generated.models.MeetingTimeSuggestion::|public|confidence(value:MeetingTimeSuggestion_confidence):None msgraph.generated.models.MeetingTimeSuggestion::|public|constructor():None msgraph.generated.models.MeetingTimeSuggestion::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.MeetingTimeSuggestion::|public|locations():List[Location] @@ -112655,6 +113259,18 @@ msgraph.generated.models.MeetingTimeSuggestionsResult::|public|odata_type(value: msgraph.generated.models.MeetingTimeSuggestionsResult::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.MeetingTimeSuggestionsResult::|static|public|create_from_discriminator_value(parse_node:ParseNode):MeetingTimeSuggestionsResult msgraph.generated.models.MeetingTimeSuggestionsResult~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.MeetingTimeSuggestion_confidence::|public|backing_store:BackingStore +msgraph.generated.models.MeetingTimeSuggestion_confidence::|public|constructor():None +msgraph.generated.models.MeetingTimeSuggestion_confidence::|public|double():float +msgraph.generated.models.MeetingTimeSuggestion_confidence::|public|double(value:float):None +msgraph.generated.models.MeetingTimeSuggestion_confidence::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.MeetingTimeSuggestion_confidence::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.MeetingTimeSuggestion_confidence::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.MeetingTimeSuggestion_confidence::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.MeetingTimeSuggestion_confidence::|public|string():str +msgraph.generated.models.MeetingTimeSuggestion_confidence::|public|string(value:str):None +msgraph.generated.models.MeetingTimeSuggestion_confidence::|static|public|create_from_discriminator_value(parse_node:ParseNode):MeetingTimeSuggestion_confidence +msgraph.generated.models.MeetingTimeSuggestion_confidence~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.MeetingTimeSuggestion~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.MembersAddedEventMessageDetail-->EventMessageDetail msgraph.generated.models.MembersAddedEventMessageDetail::|public|constructor():None @@ -113830,14 +114446,38 @@ msgraph.generated.models.NumberColumn::|public|decimal_places(value:str):None msgraph.generated.models.NumberColumn::|public|display_as():str msgraph.generated.models.NumberColumn::|public|display_as(value:str):None msgraph.generated.models.NumberColumn::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph.generated.models.NumberColumn::|public|maximum():float -msgraph.generated.models.NumberColumn::|public|maximum(value:float):None -msgraph.generated.models.NumberColumn::|public|minimum():float -msgraph.generated.models.NumberColumn::|public|minimum(value:float):None +msgraph.generated.models.NumberColumn::|public|maximum():NumberColumn_maximum +msgraph.generated.models.NumberColumn::|public|maximum(value:NumberColumn_maximum):None +msgraph.generated.models.NumberColumn::|public|minimum():NumberColumn_minimum +msgraph.generated.models.NumberColumn::|public|minimum(value:NumberColumn_minimum):None msgraph.generated.models.NumberColumn::|public|odata_type():str msgraph.generated.models.NumberColumn::|public|odata_type(value:str):None msgraph.generated.models.NumberColumn::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.NumberColumn::|static|public|create_from_discriminator_value(parse_node:ParseNode):NumberColumn +msgraph.generated.models.NumberColumn_maximum::|public|backing_store:BackingStore +msgraph.generated.models.NumberColumn_maximum::|public|constructor():None +msgraph.generated.models.NumberColumn_maximum::|public|double():float +msgraph.generated.models.NumberColumn_maximum::|public|double(value:float):None +msgraph.generated.models.NumberColumn_maximum::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.NumberColumn_maximum::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.NumberColumn_maximum::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.NumberColumn_maximum::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.NumberColumn_maximum::|public|string():str +msgraph.generated.models.NumberColumn_maximum::|public|string(value:str):None +msgraph.generated.models.NumberColumn_maximum::|static|public|create_from_discriminator_value(parse_node:ParseNode):NumberColumn_maximum +msgraph.generated.models.NumberColumn_maximum~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.NumberColumn_minimum::|public|backing_store:BackingStore +msgraph.generated.models.NumberColumn_minimum::|public|constructor():None +msgraph.generated.models.NumberColumn_minimum::|public|double():float +msgraph.generated.models.NumberColumn_minimum::|public|double(value:float):None +msgraph.generated.models.NumberColumn_minimum::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.NumberColumn_minimum::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.NumberColumn_minimum::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.NumberColumn_minimum::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.NumberColumn_minimum::|public|string():str +msgraph.generated.models.NumberColumn_minimum::|public|string(value:str):None +msgraph.generated.models.NumberColumn_minimum::|static|public|create_from_discriminator_value(parse_node:ParseNode):NumberColumn_minimum +msgraph.generated.models.NumberColumn_minimum~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.NumberColumn~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.OAuth2PermissionGrant-->Entity msgraph.generated.models.OAuth2PermissionGrant::|public|client_id():str @@ -114131,9 +114771,21 @@ msgraph.generated.models.OmaSettingFloatingPoint::|public|constructor():None msgraph.generated.models.OmaSettingFloatingPoint::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.OmaSettingFloatingPoint::|public|odata_type:str msgraph.generated.models.OmaSettingFloatingPoint::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.OmaSettingFloatingPoint::|public|value():float -msgraph.generated.models.OmaSettingFloatingPoint::|public|value(value:float):None +msgraph.generated.models.OmaSettingFloatingPoint::|public|value():OmaSettingFloatingPoint_value +msgraph.generated.models.OmaSettingFloatingPoint::|public|value(value:OmaSettingFloatingPoint_value):None msgraph.generated.models.OmaSettingFloatingPoint::|static|public|create_from_discriminator_value(parse_node:ParseNode):OmaSettingFloatingPoint +msgraph.generated.models.OmaSettingFloatingPoint_value::|public|backing_store:BackingStore +msgraph.generated.models.OmaSettingFloatingPoint_value::|public|constructor():None +msgraph.generated.models.OmaSettingFloatingPoint_value::|public|float():float +msgraph.generated.models.OmaSettingFloatingPoint_value::|public|float(value:float):None +msgraph.generated.models.OmaSettingFloatingPoint_value::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.OmaSettingFloatingPoint_value::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.OmaSettingFloatingPoint_value::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.OmaSettingFloatingPoint_value::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.OmaSettingFloatingPoint_value::|public|string():str +msgraph.generated.models.OmaSettingFloatingPoint_value::|public|string(value:str):None +msgraph.generated.models.OmaSettingFloatingPoint_value::|static|public|create_from_discriminator_value(parse_node:ParseNode):OmaSettingFloatingPoint_value +msgraph.generated.models.OmaSettingFloatingPoint_value~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.OmaSettingInteger-->OmaSetting msgraph.generated.models.OmaSettingInteger::|public|constructor():None msgraph.generated.models.OmaSettingInteger::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -115245,25 +115897,85 @@ msgraph.generated.models.OutlookCategoryCollectionResponse::|public|serialize(wr msgraph.generated.models.OutlookCategoryCollectionResponse::|public|value():List[OutlookCategory] msgraph.generated.models.OutlookCategoryCollectionResponse::|public|value(value:List[OutlookCategory]):None msgraph.generated.models.OutlookCategoryCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):OutlookCategoryCollectionResponse -msgraph.generated.models.OutlookGeoCoordinates::|public|accuracy():float -msgraph.generated.models.OutlookGeoCoordinates::|public|accuracy(value:float):None +msgraph.generated.models.OutlookGeoCoordinates::|public|accuracy():OutlookGeoCoordinates_accuracy +msgraph.generated.models.OutlookGeoCoordinates::|public|accuracy(value:OutlookGeoCoordinates_accuracy):None msgraph.generated.models.OutlookGeoCoordinates::|public|additional_data():Dict[str, Any] msgraph.generated.models.OutlookGeoCoordinates::|public|additional_data(value:Dict[str, Any]):None -msgraph.generated.models.OutlookGeoCoordinates::|public|altitude():float -msgraph.generated.models.OutlookGeoCoordinates::|public|altitude(value:float):None -msgraph.generated.models.OutlookGeoCoordinates::|public|altitude_accuracy():float -msgraph.generated.models.OutlookGeoCoordinates::|public|altitude_accuracy(value:float):None +msgraph.generated.models.OutlookGeoCoordinates::|public|altitude():OutlookGeoCoordinates_altitude +msgraph.generated.models.OutlookGeoCoordinates::|public|altitude(value:OutlookGeoCoordinates_altitude):None +msgraph.generated.models.OutlookGeoCoordinates::|public|altitude_accuracy():OutlookGeoCoordinates_altitudeAccuracy +msgraph.generated.models.OutlookGeoCoordinates::|public|altitude_accuracy(value:OutlookGeoCoordinates_altitudeAccuracy):None msgraph.generated.models.OutlookGeoCoordinates::|public|backing_store:BackingStore msgraph.generated.models.OutlookGeoCoordinates::|public|constructor():None msgraph.generated.models.OutlookGeoCoordinates::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph.generated.models.OutlookGeoCoordinates::|public|latitude():float -msgraph.generated.models.OutlookGeoCoordinates::|public|latitude(value:float):None -msgraph.generated.models.OutlookGeoCoordinates::|public|longitude():float -msgraph.generated.models.OutlookGeoCoordinates::|public|longitude(value:float):None +msgraph.generated.models.OutlookGeoCoordinates::|public|latitude():OutlookGeoCoordinates_latitude +msgraph.generated.models.OutlookGeoCoordinates::|public|latitude(value:OutlookGeoCoordinates_latitude):None +msgraph.generated.models.OutlookGeoCoordinates::|public|longitude():OutlookGeoCoordinates_longitude +msgraph.generated.models.OutlookGeoCoordinates::|public|longitude(value:OutlookGeoCoordinates_longitude):None msgraph.generated.models.OutlookGeoCoordinates::|public|odata_type():str msgraph.generated.models.OutlookGeoCoordinates::|public|odata_type(value:str):None msgraph.generated.models.OutlookGeoCoordinates::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.OutlookGeoCoordinates::|static|public|create_from_discriminator_value(parse_node:ParseNode):OutlookGeoCoordinates +msgraph.generated.models.OutlookGeoCoordinates_accuracy::|public|backing_store:BackingStore +msgraph.generated.models.OutlookGeoCoordinates_accuracy::|public|constructor():None +msgraph.generated.models.OutlookGeoCoordinates_accuracy::|public|double():float +msgraph.generated.models.OutlookGeoCoordinates_accuracy::|public|double(value:float):None +msgraph.generated.models.OutlookGeoCoordinates_accuracy::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.OutlookGeoCoordinates_accuracy::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.OutlookGeoCoordinates_accuracy::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.OutlookGeoCoordinates_accuracy::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.OutlookGeoCoordinates_accuracy::|public|string():str +msgraph.generated.models.OutlookGeoCoordinates_accuracy::|public|string(value:str):None +msgraph.generated.models.OutlookGeoCoordinates_accuracy::|static|public|create_from_discriminator_value(parse_node:ParseNode):OutlookGeoCoordinates_accuracy +msgraph.generated.models.OutlookGeoCoordinates_accuracy~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.OutlookGeoCoordinates_altitude::|public|backing_store:BackingStore +msgraph.generated.models.OutlookGeoCoordinates_altitude::|public|constructor():None +msgraph.generated.models.OutlookGeoCoordinates_altitude::|public|double():float +msgraph.generated.models.OutlookGeoCoordinates_altitude::|public|double(value:float):None +msgraph.generated.models.OutlookGeoCoordinates_altitude::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.OutlookGeoCoordinates_altitude::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.OutlookGeoCoordinates_altitude::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.OutlookGeoCoordinates_altitude::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.OutlookGeoCoordinates_altitude::|public|string():str +msgraph.generated.models.OutlookGeoCoordinates_altitude::|public|string(value:str):None +msgraph.generated.models.OutlookGeoCoordinates_altitude::|static|public|create_from_discriminator_value(parse_node:ParseNode):OutlookGeoCoordinates_altitude +msgraph.generated.models.OutlookGeoCoordinates_altitudeAccuracy::|public|backing_store:BackingStore +msgraph.generated.models.OutlookGeoCoordinates_altitudeAccuracy::|public|constructor():None +msgraph.generated.models.OutlookGeoCoordinates_altitudeAccuracy::|public|double():float +msgraph.generated.models.OutlookGeoCoordinates_altitudeAccuracy::|public|double(value:float):None +msgraph.generated.models.OutlookGeoCoordinates_altitudeAccuracy::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.OutlookGeoCoordinates_altitudeAccuracy::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.OutlookGeoCoordinates_altitudeAccuracy::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.OutlookGeoCoordinates_altitudeAccuracy::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.OutlookGeoCoordinates_altitudeAccuracy::|public|string():str +msgraph.generated.models.OutlookGeoCoordinates_altitudeAccuracy::|public|string(value:str):None +msgraph.generated.models.OutlookGeoCoordinates_altitudeAccuracy::|static|public|create_from_discriminator_value(parse_node:ParseNode):OutlookGeoCoordinates_altitudeAccuracy +msgraph.generated.models.OutlookGeoCoordinates_altitudeAccuracy~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.OutlookGeoCoordinates_altitude~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.OutlookGeoCoordinates_latitude::|public|backing_store:BackingStore +msgraph.generated.models.OutlookGeoCoordinates_latitude::|public|constructor():None +msgraph.generated.models.OutlookGeoCoordinates_latitude::|public|double():float +msgraph.generated.models.OutlookGeoCoordinates_latitude::|public|double(value:float):None +msgraph.generated.models.OutlookGeoCoordinates_latitude::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.OutlookGeoCoordinates_latitude::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.OutlookGeoCoordinates_latitude::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.OutlookGeoCoordinates_latitude::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.OutlookGeoCoordinates_latitude::|public|string():str +msgraph.generated.models.OutlookGeoCoordinates_latitude::|public|string(value:str):None +msgraph.generated.models.OutlookGeoCoordinates_latitude::|static|public|create_from_discriminator_value(parse_node:ParseNode):OutlookGeoCoordinates_latitude +msgraph.generated.models.OutlookGeoCoordinates_latitude~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.OutlookGeoCoordinates_longitude::|public|backing_store:BackingStore +msgraph.generated.models.OutlookGeoCoordinates_longitude::|public|constructor():None +msgraph.generated.models.OutlookGeoCoordinates_longitude::|public|double():float +msgraph.generated.models.OutlookGeoCoordinates_longitude::|public|double(value:float):None +msgraph.generated.models.OutlookGeoCoordinates_longitude::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.OutlookGeoCoordinates_longitude::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.OutlookGeoCoordinates_longitude::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.OutlookGeoCoordinates_longitude::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.OutlookGeoCoordinates_longitude::|public|string():str +msgraph.generated.models.OutlookGeoCoordinates_longitude::|public|string(value:str):None +msgraph.generated.models.OutlookGeoCoordinates_longitude::|static|public|create_from_discriminator_value(parse_node:ParseNode):OutlookGeoCoordinates_longitude +msgraph.generated.models.OutlookGeoCoordinates_longitude~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.OutlookGeoCoordinates~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.OutlookItem-->Entity msgraph.generated.models.OutlookItem::|public|categories():List[str] @@ -115742,8 +116454,8 @@ msgraph.generated.models.Payload::|public|payload_tags():List[str] msgraph.generated.models.Payload::|public|payload_tags(value:List[str]):None msgraph.generated.models.Payload::|public|platform():PayloadDeliveryPlatform msgraph.generated.models.Payload::|public|platform(value:PayloadDeliveryPlatform):None -msgraph.generated.models.Payload::|public|predicted_compromise_rate():float -msgraph.generated.models.Payload::|public|predicted_compromise_rate(value:float):None +msgraph.generated.models.Payload::|public|predicted_compromise_rate():Payload_predictedCompromiseRate +msgraph.generated.models.Payload::|public|predicted_compromise_rate(value:Payload_predictedCompromiseRate):None msgraph.generated.models.Payload::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.Payload::|public|simulation_attack_type():SimulationAttackType msgraph.generated.models.Payload::|public|simulation_attack_type(value:SimulationAttackType):None @@ -115886,6 +116598,18 @@ msgraph.generated.models.PayloadTheme::0028-Voicemail msgraph.generated.models.PayloadTheme::0029-Advertisement msgraph.generated.models.PayloadTheme::0030-EmployeeEngagement msgraph.generated.models.PayloadTheme::0031-UnknownFutureValue +msgraph.generated.models.Payload_predictedCompromiseRate::|public|backing_store:BackingStore +msgraph.generated.models.Payload_predictedCompromiseRate::|public|constructor():None +msgraph.generated.models.Payload_predictedCompromiseRate::|public|double():float +msgraph.generated.models.Payload_predictedCompromiseRate::|public|double(value:float):None +msgraph.generated.models.Payload_predictedCompromiseRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.Payload_predictedCompromiseRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.Payload_predictedCompromiseRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.Payload_predictedCompromiseRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.Payload_predictedCompromiseRate::|public|string():str +msgraph.generated.models.Payload_predictedCompromiseRate::|public|string(value:str):None +msgraph.generated.models.Payload_predictedCompromiseRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):Payload_predictedCompromiseRate +msgraph.generated.models.Payload_predictedCompromiseRate~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.PendingContentUpdate::|public|additional_data():Dict[str, Any] msgraph.generated.models.PendingContentUpdate::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.PendingContentUpdate::|public|backing_store:BackingStore @@ -116184,14 +116908,14 @@ msgraph.generated.models.Photo::|public|camera_make(value:str):None msgraph.generated.models.Photo::|public|camera_model():str msgraph.generated.models.Photo::|public|camera_model(value:str):None msgraph.generated.models.Photo::|public|constructor():None -msgraph.generated.models.Photo::|public|exposure_denominator():float -msgraph.generated.models.Photo::|public|exposure_denominator(value:float):None -msgraph.generated.models.Photo::|public|exposure_numerator():float -msgraph.generated.models.Photo::|public|exposure_numerator(value:float):None -msgraph.generated.models.Photo::|public|focal_length():float -msgraph.generated.models.Photo::|public|focal_length(value:float):None -msgraph.generated.models.Photo::|public|f_number():float -msgraph.generated.models.Photo::|public|f_number(value:float):None +msgraph.generated.models.Photo::|public|exposure_denominator():Photo_exposureDenominator +msgraph.generated.models.Photo::|public|exposure_denominator(value:Photo_exposureDenominator):None +msgraph.generated.models.Photo::|public|exposure_numerator():Photo_exposureNumerator +msgraph.generated.models.Photo::|public|exposure_numerator(value:Photo_exposureNumerator):None +msgraph.generated.models.Photo::|public|focal_length():Photo_focalLength +msgraph.generated.models.Photo::|public|focal_length(value:Photo_focalLength):None +msgraph.generated.models.Photo::|public|f_number():Photo_fNumber +msgraph.generated.models.Photo::|public|f_number(value:Photo_fNumber):None msgraph.generated.models.Photo::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.Photo::|public|iso():int msgraph.generated.models.Photo::|public|iso(value:int):None @@ -116203,6 +116927,54 @@ msgraph.generated.models.Photo::|public|serialize(writer:SerializationWriter):No msgraph.generated.models.Photo::|public|taken_date_time():datetime.datetime msgraph.generated.models.Photo::|public|taken_date_time(value:datetime.datetime):None msgraph.generated.models.Photo::|static|public|create_from_discriminator_value(parse_node:ParseNode):Photo +msgraph.generated.models.Photo_exposureDenominator::|public|backing_store:BackingStore +msgraph.generated.models.Photo_exposureDenominator::|public|constructor():None +msgraph.generated.models.Photo_exposureDenominator::|public|double():float +msgraph.generated.models.Photo_exposureDenominator::|public|double(value:float):None +msgraph.generated.models.Photo_exposureDenominator::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.Photo_exposureDenominator::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.Photo_exposureDenominator::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.Photo_exposureDenominator::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.Photo_exposureDenominator::|public|string():str +msgraph.generated.models.Photo_exposureDenominator::|public|string(value:str):None +msgraph.generated.models.Photo_exposureDenominator::|static|public|create_from_discriminator_value(parse_node:ParseNode):Photo_exposureDenominator +msgraph.generated.models.Photo_exposureDenominator~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.Photo_exposureNumerator::|public|backing_store:BackingStore +msgraph.generated.models.Photo_exposureNumerator::|public|constructor():None +msgraph.generated.models.Photo_exposureNumerator::|public|double():float +msgraph.generated.models.Photo_exposureNumerator::|public|double(value:float):None +msgraph.generated.models.Photo_exposureNumerator::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.Photo_exposureNumerator::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.Photo_exposureNumerator::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.Photo_exposureNumerator::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.Photo_exposureNumerator::|public|string():str +msgraph.generated.models.Photo_exposureNumerator::|public|string(value:str):None +msgraph.generated.models.Photo_exposureNumerator::|static|public|create_from_discriminator_value(parse_node:ParseNode):Photo_exposureNumerator +msgraph.generated.models.Photo_exposureNumerator~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.Photo_fNumber::|public|backing_store:BackingStore +msgraph.generated.models.Photo_fNumber::|public|constructor():None +msgraph.generated.models.Photo_fNumber::|public|double():float +msgraph.generated.models.Photo_fNumber::|public|double(value:float):None +msgraph.generated.models.Photo_fNumber::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.Photo_fNumber::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.Photo_fNumber::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.Photo_fNumber::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.Photo_fNumber::|public|string():str +msgraph.generated.models.Photo_fNumber::|public|string(value:str):None +msgraph.generated.models.Photo_fNumber::|static|public|create_from_discriminator_value(parse_node:ParseNode):Photo_fNumber +msgraph.generated.models.Photo_fNumber~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.Photo_focalLength::|public|backing_store:BackingStore +msgraph.generated.models.Photo_focalLength::|public|constructor():None +msgraph.generated.models.Photo_focalLength::|public|double():float +msgraph.generated.models.Photo_focalLength::|public|double(value:float):None +msgraph.generated.models.Photo_focalLength::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.Photo_focalLength::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.Photo_focalLength::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.Photo_focalLength::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.Photo_focalLength::|public|string():str +msgraph.generated.models.Photo_focalLength::|public|string(value:str):None +msgraph.generated.models.Photo_focalLength::|static|public|create_from_discriminator_value(parse_node:ParseNode):Photo_focalLength +msgraph.generated.models.Photo_focalLength~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.Photo~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.PhysicalAddress::|public|additional_data():Dict[str, Any] msgraph.generated.models.PhysicalAddress::|public|additional_data(value:Dict[str, Any]):None @@ -117125,10 +117897,10 @@ msgraph.generated.models.PrinterLocation::|public|floor(value:str):None msgraph.generated.models.PrinterLocation::|public|floor_description():str msgraph.generated.models.PrinterLocation::|public|floor_description(value:str):None msgraph.generated.models.PrinterLocation::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph.generated.models.PrinterLocation::|public|latitude():float -msgraph.generated.models.PrinterLocation::|public|latitude(value:float):None -msgraph.generated.models.PrinterLocation::|public|longitude():float -msgraph.generated.models.PrinterLocation::|public|longitude(value:float):None +msgraph.generated.models.PrinterLocation::|public|latitude():PrinterLocation_latitude +msgraph.generated.models.PrinterLocation::|public|latitude(value:PrinterLocation_latitude):None +msgraph.generated.models.PrinterLocation::|public|longitude():PrinterLocation_longitude +msgraph.generated.models.PrinterLocation::|public|longitude(value:PrinterLocation_longitude):None msgraph.generated.models.PrinterLocation::|public|odata_type():str msgraph.generated.models.PrinterLocation::|public|odata_type(value:str):None msgraph.generated.models.PrinterLocation::|public|organization():List[str] @@ -117151,6 +117923,30 @@ msgraph.generated.models.PrinterLocation::|public|subdivision(value:List[str]):N msgraph.generated.models.PrinterLocation::|public|subunit():List[str] msgraph.generated.models.PrinterLocation::|public|subunit(value:List[str]):None msgraph.generated.models.PrinterLocation::|static|public|create_from_discriminator_value(parse_node:ParseNode):PrinterLocation +msgraph.generated.models.PrinterLocation_latitude::|public|backing_store:BackingStore +msgraph.generated.models.PrinterLocation_latitude::|public|constructor():None +msgraph.generated.models.PrinterLocation_latitude::|public|double():float +msgraph.generated.models.PrinterLocation_latitude::|public|double(value:float):None +msgraph.generated.models.PrinterLocation_latitude::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.PrinterLocation_latitude::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.PrinterLocation_latitude::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.PrinterLocation_latitude::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.PrinterLocation_latitude::|public|string():str +msgraph.generated.models.PrinterLocation_latitude::|public|string(value:str):None +msgraph.generated.models.PrinterLocation_latitude::|static|public|create_from_discriminator_value(parse_node:ParseNode):PrinterLocation_latitude +msgraph.generated.models.PrinterLocation_latitude~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.PrinterLocation_longitude::|public|backing_store:BackingStore +msgraph.generated.models.PrinterLocation_longitude::|public|constructor():None +msgraph.generated.models.PrinterLocation_longitude::|public|double():float +msgraph.generated.models.PrinterLocation_longitude::|public|double(value:float):None +msgraph.generated.models.PrinterLocation_longitude::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.PrinterLocation_longitude::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.PrinterLocation_longitude::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.PrinterLocation_longitude::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.PrinterLocation_longitude::|public|string():str +msgraph.generated.models.PrinterLocation_longitude::|public|string(value:str):None +msgraph.generated.models.PrinterLocation_longitude::|static|public|create_from_discriminator_value(parse_node:ParseNode):PrinterLocation_longitude +msgraph.generated.models.PrinterLocation_longitude~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.PrinterLocation~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.PrinterProcessingState::0000-Unknown msgraph.generated.models.PrinterProcessingState::0001-Idle @@ -119479,12 +120275,24 @@ msgraph.generated.models.RecommendedAction::|public|constructor():None msgraph.generated.models.RecommendedAction::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.RecommendedAction::|public|odata_type():str msgraph.generated.models.RecommendedAction::|public|odata_type(value:str):None -msgraph.generated.models.RecommendedAction::|public|potential_score_impact():float -msgraph.generated.models.RecommendedAction::|public|potential_score_impact(value:float):None +msgraph.generated.models.RecommendedAction::|public|potential_score_impact():RecommendedAction_potentialScoreImpact +msgraph.generated.models.RecommendedAction::|public|potential_score_impact(value:RecommendedAction_potentialScoreImpact):None msgraph.generated.models.RecommendedAction::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.RecommendedAction::|public|title():str msgraph.generated.models.RecommendedAction::|public|title(value:str):None msgraph.generated.models.RecommendedAction::|static|public|create_from_discriminator_value(parse_node:ParseNode):RecommendedAction +msgraph.generated.models.RecommendedAction_potentialScoreImpact::|public|backing_store:BackingStore +msgraph.generated.models.RecommendedAction_potentialScoreImpact::|public|constructor():None +msgraph.generated.models.RecommendedAction_potentialScoreImpact::|public|double():float +msgraph.generated.models.RecommendedAction_potentialScoreImpact::|public|double(value:float):None +msgraph.generated.models.RecommendedAction_potentialScoreImpact::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.RecommendedAction_potentialScoreImpact::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.RecommendedAction_potentialScoreImpact::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.RecommendedAction_potentialScoreImpact::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.RecommendedAction_potentialScoreImpact::|public|string():str +msgraph.generated.models.RecommendedAction_potentialScoreImpact::|public|string(value:str):None +msgraph.generated.models.RecommendedAction_potentialScoreImpact::|static|public|create_from_discriminator_value(parse_node:ParseNode):RecommendedAction_potentialScoreImpact +msgraph.generated.models.RecommendedAction_potentialScoreImpact~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.RecommendedAction~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.RecordingInfo::|public|additional_data():Dict[str, Any] msgraph.generated.models.RecordingInfo::|public|additional_data(value:Dict[str, Any]):None @@ -119612,6 +120420,9 @@ msgraph.generated.models.ReferencedObject::|public|referenced_property(value:str msgraph.generated.models.ReferencedObject::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.ReferencedObject::|static|public|create_from_discriminator_value(parse_node:ParseNode):ReferencedObject msgraph.generated.models.ReferencedObject~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.ReferenceNumeric::0000-Minus_INF +msgraph.generated.models.ReferenceNumeric::0001-INF +msgraph.generated.models.ReferenceNumeric::0002-NaN msgraph.generated.models.ReferenceUpdate::|public|additional_data():Dict[str, Any] msgraph.generated.models.ReferenceUpdate::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.ReferenceUpdate::|public|backing_store:BackingStore @@ -119736,8 +120547,8 @@ msgraph.generated.models.RelyingPartyDetailedSummary::|public|reply_urls(value:L msgraph.generated.models.RelyingPartyDetailedSummary::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.RelyingPartyDetailedSummary::|public|service_id():str msgraph.generated.models.RelyingPartyDetailedSummary::|public|service_id(value:str):None -msgraph.generated.models.RelyingPartyDetailedSummary::|public|sign_in_success_rate():float -msgraph.generated.models.RelyingPartyDetailedSummary::|public|sign_in_success_rate(value:float):None +msgraph.generated.models.RelyingPartyDetailedSummary::|public|sign_in_success_rate():RelyingPartyDetailedSummary_signInSuccessRate +msgraph.generated.models.RelyingPartyDetailedSummary::|public|sign_in_success_rate(value:RelyingPartyDetailedSummary_signInSuccessRate):None msgraph.generated.models.RelyingPartyDetailedSummary::|public|successful_sign_in_count():int msgraph.generated.models.RelyingPartyDetailedSummary::|public|successful_sign_in_count(value:int):None msgraph.generated.models.RelyingPartyDetailedSummary::|public|total_sign_in_count():int @@ -119745,6 +120556,18 @@ msgraph.generated.models.RelyingPartyDetailedSummary::|public|total_sign_in_coun msgraph.generated.models.RelyingPartyDetailedSummary::|public|unique_user_count():int msgraph.generated.models.RelyingPartyDetailedSummary::|public|unique_user_count(value:int):None msgraph.generated.models.RelyingPartyDetailedSummary::|static|public|create_from_discriminator_value(parse_node:ParseNode):RelyingPartyDetailedSummary +msgraph.generated.models.RelyingPartyDetailedSummary_signInSuccessRate::|public|backing_store:BackingStore +msgraph.generated.models.RelyingPartyDetailedSummary_signInSuccessRate::|public|constructor():None +msgraph.generated.models.RelyingPartyDetailedSummary_signInSuccessRate::|public|double():float +msgraph.generated.models.RelyingPartyDetailedSummary_signInSuccessRate::|public|double(value:float):None +msgraph.generated.models.RelyingPartyDetailedSummary_signInSuccessRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.RelyingPartyDetailedSummary_signInSuccessRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.RelyingPartyDetailedSummary_signInSuccessRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.RelyingPartyDetailedSummary_signInSuccessRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.RelyingPartyDetailedSummary_signInSuccessRate::|public|string():str +msgraph.generated.models.RelyingPartyDetailedSummary_signInSuccessRate::|public|string(value:str):None +msgraph.generated.models.RelyingPartyDetailedSummary_signInSuccessRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):RelyingPartyDetailedSummary_signInSuccessRate +msgraph.generated.models.RelyingPartyDetailedSummary_signInSuccessRate~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.RemindBeforeTimeInMinutesType::0000-Mins15 msgraph.generated.models.RemindBeforeTimeInMinutesType::0001-UnknownFutureValue msgraph.generated.models.Reminder::|public|additional_data():Dict[str, Any] @@ -120807,8 +121630,8 @@ msgraph.generated.models.RubricQuality::|public|odata_type(value:str):None msgraph.generated.models.RubricQuality::|public|quality_id():str msgraph.generated.models.RubricQuality::|public|quality_id(value:str):None msgraph.generated.models.RubricQuality::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.RubricQuality::|public|weight():float -msgraph.generated.models.RubricQuality::|public|weight(value:float):None +msgraph.generated.models.RubricQuality::|public|weight():RubricQuality_weight +msgraph.generated.models.RubricQuality::|public|weight(value:RubricQuality_weight):None msgraph.generated.models.RubricQuality::|static|public|create_from_discriminator_value(parse_node:ParseNode):RubricQuality msgraph.generated.models.RubricQualityFeedbackModel::|public|additional_data():Dict[str, Any] msgraph.generated.models.RubricQualityFeedbackModel::|public|additional_data(value:Dict[str, Any]):None @@ -120838,6 +121661,18 @@ msgraph.generated.models.RubricQualitySelectedColumnModel::|public|quality_id(va msgraph.generated.models.RubricQualitySelectedColumnModel::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.RubricQualitySelectedColumnModel::|static|public|create_from_discriminator_value(parse_node:ParseNode):RubricQualitySelectedColumnModel msgraph.generated.models.RubricQualitySelectedColumnModel~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.RubricQuality_weight::|public|backing_store:BackingStore +msgraph.generated.models.RubricQuality_weight::|public|constructor():None +msgraph.generated.models.RubricQuality_weight::|public|float():float +msgraph.generated.models.RubricQuality_weight::|public|float(value:float):None +msgraph.generated.models.RubricQuality_weight::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.RubricQuality_weight::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.RubricQuality_weight::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.RubricQuality_weight::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.RubricQuality_weight::|public|string():str +msgraph.generated.models.RubricQuality_weight::|public|string(value:str):None +msgraph.generated.models.RubricQuality_weight::|static|public|create_from_discriminator_value(parse_node:ParseNode):RubricQuality_weight +msgraph.generated.models.RubricQuality_weight~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.RubricQuality~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.RunAsAccountType::0000-System msgraph.generated.models.RunAsAccountType::0001-User @@ -121112,12 +121947,24 @@ msgraph.generated.models.ScoredEmailAddress::|public|item_id():str msgraph.generated.models.ScoredEmailAddress::|public|item_id(value:str):None msgraph.generated.models.ScoredEmailAddress::|public|odata_type():str msgraph.generated.models.ScoredEmailAddress::|public|odata_type(value:str):None -msgraph.generated.models.ScoredEmailAddress::|public|relevance_score():float -msgraph.generated.models.ScoredEmailAddress::|public|relevance_score(value:float):None +msgraph.generated.models.ScoredEmailAddress::|public|relevance_score():ScoredEmailAddress_relevanceScore +msgraph.generated.models.ScoredEmailAddress::|public|relevance_score(value:ScoredEmailAddress_relevanceScore):None msgraph.generated.models.ScoredEmailAddress::|public|selection_likelihood():SelectionLikelihoodInfo msgraph.generated.models.ScoredEmailAddress::|public|selection_likelihood(value:SelectionLikelihoodInfo):None msgraph.generated.models.ScoredEmailAddress::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.ScoredEmailAddress::|static|public|create_from_discriminator_value(parse_node:ParseNode):ScoredEmailAddress +msgraph.generated.models.ScoredEmailAddress_relevanceScore::|public|backing_store:BackingStore +msgraph.generated.models.ScoredEmailAddress_relevanceScore::|public|constructor():None +msgraph.generated.models.ScoredEmailAddress_relevanceScore::|public|double():float +msgraph.generated.models.ScoredEmailAddress_relevanceScore::|public|double(value:float):None +msgraph.generated.models.ScoredEmailAddress_relevanceScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.ScoredEmailAddress_relevanceScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.ScoredEmailAddress_relevanceScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.ScoredEmailAddress_relevanceScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.ScoredEmailAddress_relevanceScore::|public|string():str +msgraph.generated.models.ScoredEmailAddress_relevanceScore::|public|string(value:str):None +msgraph.generated.models.ScoredEmailAddress_relevanceScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):ScoredEmailAddress_relevanceScore +msgraph.generated.models.ScoredEmailAddress_relevanceScore~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.ScoredEmailAddress~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.ScreenSharingRole::0000-Viewer msgraph.generated.models.ScreenSharingRole::0001-Sharer @@ -121550,15 +122397,15 @@ msgraph.generated.models.SecureScore::|public|control_scores():List[ControlScore msgraph.generated.models.SecureScore::|public|control_scores(value:List[ControlScore]):None msgraph.generated.models.SecureScore::|public|created_date_time():datetime.datetime msgraph.generated.models.SecureScore::|public|created_date_time(value:datetime.datetime):None -msgraph.generated.models.SecureScore::|public|current_score():float -msgraph.generated.models.SecureScore::|public|current_score(value:float):None +msgraph.generated.models.SecureScore::|public|current_score():SecureScore_currentScore +msgraph.generated.models.SecureScore::|public|current_score(value:SecureScore_currentScore):None msgraph.generated.models.SecureScore::|public|enabled_services():List[str] msgraph.generated.models.SecureScore::|public|enabled_services(value:List[str]):None msgraph.generated.models.SecureScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.SecureScore::|public|licensed_user_count():int msgraph.generated.models.SecureScore::|public|licensed_user_count(value:int):None -msgraph.generated.models.SecureScore::|public|max_score():float -msgraph.generated.models.SecureScore::|public|max_score(value:float):None +msgraph.generated.models.SecureScore::|public|max_score():SecureScore_maxScore +msgraph.generated.models.SecureScore::|public|max_score(value:SecureScore_maxScore):None msgraph.generated.models.SecureScore::|public|odata_type:str msgraph.generated.models.SecureScore::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.SecureScore::|public|vendor_information():SecurityVendorInformation @@ -121592,8 +122439,8 @@ msgraph.generated.models.SecureScoreControlProfile::|public|implementation_cost( msgraph.generated.models.SecureScoreControlProfile::|public|implementation_cost(value:str):None msgraph.generated.models.SecureScoreControlProfile::|public|last_modified_date_time():datetime.datetime msgraph.generated.models.SecureScoreControlProfile::|public|last_modified_date_time(value:datetime.datetime):None -msgraph.generated.models.SecureScoreControlProfile::|public|max_score():float -msgraph.generated.models.SecureScoreControlProfile::|public|max_score(value:float):None +msgraph.generated.models.SecureScoreControlProfile::|public|max_score():SecureScoreControlProfile_maxScore +msgraph.generated.models.SecureScoreControlProfile::|public|max_score(value:SecureScoreControlProfile_maxScore):None msgraph.generated.models.SecureScoreControlProfile::|public|odata_type:str msgraph.generated.models.SecureScoreControlProfile::|public|rank():int msgraph.generated.models.SecureScoreControlProfile::|public|rank(value:int):None @@ -121622,6 +122469,18 @@ msgraph.generated.models.SecureScoreControlProfileCollectionResponse::|public|se msgraph.generated.models.SecureScoreControlProfileCollectionResponse::|public|value():List[SecureScoreControlProfile] msgraph.generated.models.SecureScoreControlProfileCollectionResponse::|public|value(value:List[SecureScoreControlProfile]):None msgraph.generated.models.SecureScoreControlProfileCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):SecureScoreControlProfileCollectionResponse +msgraph.generated.models.SecureScoreControlProfile_maxScore::|public|backing_store:BackingStore +msgraph.generated.models.SecureScoreControlProfile_maxScore::|public|constructor():None +msgraph.generated.models.SecureScoreControlProfile_maxScore::|public|double():float +msgraph.generated.models.SecureScoreControlProfile_maxScore::|public|double(value:float):None +msgraph.generated.models.SecureScoreControlProfile_maxScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.SecureScoreControlProfile_maxScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.SecureScoreControlProfile_maxScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.SecureScoreControlProfile_maxScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.SecureScoreControlProfile_maxScore::|public|string():str +msgraph.generated.models.SecureScoreControlProfile_maxScore::|public|string(value:str):None +msgraph.generated.models.SecureScoreControlProfile_maxScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):SecureScoreControlProfile_maxScore +msgraph.generated.models.SecureScoreControlProfile_maxScore~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.SecureScoreControlStateUpdate::|public|additional_data():Dict[str, Any] msgraph.generated.models.SecureScoreControlStateUpdate::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.SecureScoreControlStateUpdate::|public|assigned_to():str @@ -121642,6 +122501,30 @@ msgraph.generated.models.SecureScoreControlStateUpdate::|public|updated_date_tim msgraph.generated.models.SecureScoreControlStateUpdate::|public|updated_date_time(value:datetime.datetime):None msgraph.generated.models.SecureScoreControlStateUpdate::|static|public|create_from_discriminator_value(parse_node:ParseNode):SecureScoreControlStateUpdate msgraph.generated.models.SecureScoreControlStateUpdate~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.SecureScore_currentScore::|public|backing_store:BackingStore +msgraph.generated.models.SecureScore_currentScore::|public|constructor():None +msgraph.generated.models.SecureScore_currentScore::|public|double():float +msgraph.generated.models.SecureScore_currentScore::|public|double(value:float):None +msgraph.generated.models.SecureScore_currentScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.SecureScore_currentScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.SecureScore_currentScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.SecureScore_currentScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.SecureScore_currentScore::|public|string():str +msgraph.generated.models.SecureScore_currentScore::|public|string(value:str):None +msgraph.generated.models.SecureScore_currentScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):SecureScore_currentScore +msgraph.generated.models.SecureScore_currentScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.SecureScore_maxScore::|public|backing_store:BackingStore +msgraph.generated.models.SecureScore_maxScore::|public|constructor():None +msgraph.generated.models.SecureScore_maxScore::|public|double():float +msgraph.generated.models.SecureScore_maxScore::|public|double(value:float):None +msgraph.generated.models.SecureScore_maxScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.SecureScore_maxScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.SecureScore_maxScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.SecureScore_maxScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.SecureScore_maxScore::|public|string():str +msgraph.generated.models.SecureScore_maxScore::|public|string(value:str):None +msgraph.generated.models.SecureScore_maxScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):SecureScore_maxScore +msgraph.generated.models.SecureScore_maxScore~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.security.ActionAfterRetentionPeriod::0000-None_ msgraph.generated.models.security.ActionAfterRetentionPeriod::0001-Delete msgraph.generated.models.security.ActionAfterRetentionPeriod::0002-StartDispositionReview @@ -122206,14 +123089,26 @@ msgraph.generated.models.security.CvssSummary::|public|constructor():None msgraph.generated.models.security.CvssSummary::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.security.CvssSummary::|public|odata_type():str msgraph.generated.models.security.CvssSummary::|public|odata_type(value:str):None -msgraph.generated.models.security.CvssSummary::|public|score():float -msgraph.generated.models.security.CvssSummary::|public|score(value:float):None +msgraph.generated.models.security.CvssSummary::|public|score():CvssSummary_score +msgraph.generated.models.security.CvssSummary::|public|score(value:CvssSummary_score):None msgraph.generated.models.security.CvssSummary::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.security.CvssSummary::|public|severity():VulnerabilitySeverity msgraph.generated.models.security.CvssSummary::|public|severity(value:VulnerabilitySeverity):None msgraph.generated.models.security.CvssSummary::|public|vector_string():str msgraph.generated.models.security.CvssSummary::|public|vector_string(value:str):None msgraph.generated.models.security.CvssSummary::|static|public|create_from_discriminator_value(parse_node:ParseNode):CvssSummary +msgraph.generated.models.security.CvssSummary_score::|public|backing_store:BackingStore +msgraph.generated.models.security.CvssSummary_score::|public|constructor():None +msgraph.generated.models.security.CvssSummary_score::|public|double():float +msgraph.generated.models.security.CvssSummary_score::|public|double(value:float):None +msgraph.generated.models.security.CvssSummary_score::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.security.CvssSummary_score::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.security.CvssSummary_score::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.security.CvssSummary_score::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.security.CvssSummary_score::|public|string():str +msgraph.generated.models.security.CvssSummary_score::|public|string(value:str):None +msgraph.generated.models.security.CvssSummary_score::|static|public|create_from_discriminator_value(parse_node:ParseNode):CvssSummary_score +msgraph.generated.models.security.CvssSummary_score~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.security.CvssSummary~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.security.DataSet-->Entity msgraph.generated.models.security.DataSet::|public|constructor():None @@ -123021,16 +123916,40 @@ msgraph.generated.models.security.GeoLocation::|public|constructor():None msgraph.generated.models.security.GeoLocation::|public|country_name():str msgraph.generated.models.security.GeoLocation::|public|country_name(value:str):None msgraph.generated.models.security.GeoLocation::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph.generated.models.security.GeoLocation::|public|latitude():float -msgraph.generated.models.security.GeoLocation::|public|latitude(value:float):None -msgraph.generated.models.security.GeoLocation::|public|longitude():float -msgraph.generated.models.security.GeoLocation::|public|longitude(value:float):None +msgraph.generated.models.security.GeoLocation::|public|latitude():GeoLocation_latitude +msgraph.generated.models.security.GeoLocation::|public|latitude(value:GeoLocation_latitude):None +msgraph.generated.models.security.GeoLocation::|public|longitude():GeoLocation_longitude +msgraph.generated.models.security.GeoLocation::|public|longitude(value:GeoLocation_longitude):None msgraph.generated.models.security.GeoLocation::|public|odata_type():str msgraph.generated.models.security.GeoLocation::|public|odata_type(value:str):None msgraph.generated.models.security.GeoLocation::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.security.GeoLocation::|public|state():str msgraph.generated.models.security.GeoLocation::|public|state(value:str):None msgraph.generated.models.security.GeoLocation::|static|public|create_from_discriminator_value(parse_node:ParseNode):GeoLocation +msgraph.generated.models.security.GeoLocation_latitude::|public|backing_store:BackingStore +msgraph.generated.models.security.GeoLocation_latitude::|public|constructor():None +msgraph.generated.models.security.GeoLocation_latitude::|public|double():float +msgraph.generated.models.security.GeoLocation_latitude::|public|double(value:float):None +msgraph.generated.models.security.GeoLocation_latitude::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.security.GeoLocation_latitude::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.security.GeoLocation_latitude::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.security.GeoLocation_latitude::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.security.GeoLocation_latitude::|public|string():str +msgraph.generated.models.security.GeoLocation_latitude::|public|string(value:str):None +msgraph.generated.models.security.GeoLocation_latitude::|static|public|create_from_discriminator_value(parse_node:ParseNode):GeoLocation_latitude +msgraph.generated.models.security.GeoLocation_latitude~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.security.GeoLocation_longitude::|public|backing_store:BackingStore +msgraph.generated.models.security.GeoLocation_longitude::|public|constructor():None +msgraph.generated.models.security.GeoLocation_longitude::|public|double():float +msgraph.generated.models.security.GeoLocation_longitude::|public|double(value:float):None +msgraph.generated.models.security.GeoLocation_longitude::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.security.GeoLocation_longitude::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.security.GeoLocation_longitude::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.security.GeoLocation_longitude::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.security.GeoLocation_longitude::|public|string():str +msgraph.generated.models.security.GeoLocation_longitude::|public|string(value:str):None +msgraph.generated.models.security.GeoLocation_longitude::|static|public|create_from_discriminator_value(parse_node:ParseNode):GeoLocation_longitude +msgraph.generated.models.security.GeoLocation_longitude~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.security.GeoLocation~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.security.GitHubOrganizationEvidence-->AlertEvidence msgraph.generated.models.security.GitHubOrganizationEvidence::|public|company():str @@ -126511,8 +127430,8 @@ msgraph.generated.models.SimulationEvent::|static|public|create_from_discriminat msgraph.generated.models.SimulationEventsContent::|public|additional_data():Dict[str, Any] msgraph.generated.models.SimulationEventsContent::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.SimulationEventsContent::|public|backing_store:BackingStore -msgraph.generated.models.SimulationEventsContent::|public|compromised_rate():float -msgraph.generated.models.SimulationEventsContent::|public|compromised_rate(value:float):None +msgraph.generated.models.SimulationEventsContent::|public|compromised_rate():SimulationEventsContent_compromisedRate +msgraph.generated.models.SimulationEventsContent::|public|compromised_rate(value:SimulationEventsContent_compromisedRate):None msgraph.generated.models.SimulationEventsContent::|public|constructor():None msgraph.generated.models.SimulationEventsContent::|public|events():List[SimulationEvent] msgraph.generated.models.SimulationEventsContent::|public|events(value:List[SimulationEvent]):None @@ -126521,6 +127440,18 @@ msgraph.generated.models.SimulationEventsContent::|public|odata_type():str msgraph.generated.models.SimulationEventsContent::|public|odata_type(value:str):None msgraph.generated.models.SimulationEventsContent::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.SimulationEventsContent::|static|public|create_from_discriminator_value(parse_node:ParseNode):SimulationEventsContent +msgraph.generated.models.SimulationEventsContent_compromisedRate::|public|backing_store:BackingStore +msgraph.generated.models.SimulationEventsContent_compromisedRate::|public|constructor():None +msgraph.generated.models.SimulationEventsContent_compromisedRate::|public|double():float +msgraph.generated.models.SimulationEventsContent_compromisedRate::|public|double(value:float):None +msgraph.generated.models.SimulationEventsContent_compromisedRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.SimulationEventsContent_compromisedRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.SimulationEventsContent_compromisedRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.SimulationEventsContent_compromisedRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.SimulationEventsContent_compromisedRate::|public|string():str +msgraph.generated.models.SimulationEventsContent_compromisedRate::|public|string(value:str):None +msgraph.generated.models.SimulationEventsContent_compromisedRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):SimulationEventsContent_compromisedRate +msgraph.generated.models.SimulationEventsContent_compromisedRate~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.SimulationEventsContent~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.SimulationEvent~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.SimulationNotification-->BaseEndUserNotification @@ -128766,14 +129697,14 @@ msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|additional_da msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_inbound_jitter():datetime.timedelta msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_inbound_jitter(value:datetime.timedelta):None -msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_inbound_packet_loss_rate_in_percentage():float -msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_inbound_packet_loss_rate_in_percentage(value:float):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_inbound_packet_loss_rate_in_percentage():TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage +msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_inbound_packet_loss_rate_in_percentage(value:TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage):None msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_inbound_round_trip_delay():datetime.timedelta msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_inbound_round_trip_delay(value:datetime.timedelta):None msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_outbound_jitter():datetime.timedelta msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_outbound_jitter(value:datetime.timedelta):None -msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_outbound_packet_loss_rate_in_percentage():float -msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_outbound_packet_loss_rate_in_percentage(value:float):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_outbound_packet_loss_rate_in_percentage():TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage +msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_outbound_packet_loss_rate_in_percentage(value:TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage):None msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_outbound_round_trip_delay():datetime.timedelta msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|average_outbound_round_trip_delay(value:datetime.timedelta):None msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|backing_store:BackingStore @@ -128789,14 +129720,14 @@ msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|local_port(): msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|local_port(value:int):None msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_inbound_jitter():datetime.timedelta msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_inbound_jitter(value:datetime.timedelta):None -msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_inbound_packet_loss_rate_in_percentage():float -msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_inbound_packet_loss_rate_in_percentage(value:float):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_inbound_packet_loss_rate_in_percentage():TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage +msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_inbound_packet_loss_rate_in_percentage(value:TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage):None msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_inbound_round_trip_delay():datetime.timedelta msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_inbound_round_trip_delay(value:datetime.timedelta):None msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_outbound_jitter():datetime.timedelta msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_outbound_jitter(value:datetime.timedelta):None -msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_outbound_packet_loss_rate_in_percentage():float -msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_outbound_packet_loss_rate_in_percentage(value:float):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_outbound_packet_loss_rate_in_percentage():TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage +msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_outbound_packet_loss_rate_in_percentage(value:TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage):None msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_outbound_round_trip_delay():datetime.timedelta msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|maximum_outbound_round_trip_delay(value:datetime.timedelta):None msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|media_duration():datetime.timedelta @@ -128813,6 +129744,54 @@ msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|remote_port() msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|remote_port(value:int):None msgraph.generated.models.TeleconferenceDeviceMediaQuality::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.TeleconferenceDeviceMediaQuality::|static|public|create_from_discriminator_value(parse_node:ParseNode):TeleconferenceDeviceMediaQuality +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|backing_store:BackingStore +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|constructor():None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|double():float +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|double(value:float):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|string():str +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|string(value:str):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|backing_store:BackingStore +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|constructor():None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|double():float +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|double(value:float):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|string():str +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|string(value:str):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage +msgraph.generated.models.TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|backing_store:BackingStore +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|constructor():None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|double():float +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|double(value:float):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|string():str +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|string(value:str):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|backing_store:BackingStore +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|constructor():None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|double():float +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|double(value:float):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|string():str +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|string(value:str):None +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage +msgraph.generated.models.TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.TeleconferenceDeviceMediaQuality~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.TeleconferenceDeviceQuality::|public|additional_data():Dict[str, Any] msgraph.generated.models.TeleconferenceDeviceQuality::|public|additional_data(value:Dict[str, Any]):None @@ -128851,19 +129830,67 @@ msgraph.generated.models.TeleconferenceDeviceScreenSharingQuality::|public|odata msgraph.generated.models.TeleconferenceDeviceScreenSharingQuality::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.TeleconferenceDeviceScreenSharingQuality::|static|public|create_from_discriminator_value(parse_node:ParseNode):TeleconferenceDeviceScreenSharingQuality msgraph.generated.models.TeleconferenceDeviceVideoQuality-->TeleconferenceDeviceMediaQuality -msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_inbound_bit_rate():float -msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_inbound_bit_rate(value:float):None -msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_inbound_frame_rate():float -msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_inbound_frame_rate(value:float):None -msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_outbound_bit_rate():float -msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_outbound_bit_rate(value:float):None -msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_outbound_frame_rate():float -msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_outbound_frame_rate(value:float):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_inbound_bit_rate():TeleconferenceDeviceVideoQuality_averageInboundBitRate +msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_inbound_bit_rate(value:TeleconferenceDeviceVideoQuality_averageInboundBitRate):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_inbound_frame_rate():TeleconferenceDeviceVideoQuality_averageInboundFrameRate +msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_inbound_frame_rate(value:TeleconferenceDeviceVideoQuality_averageInboundFrameRate):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_outbound_bit_rate():TeleconferenceDeviceVideoQuality_averageOutboundBitRate +msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_outbound_bit_rate(value:TeleconferenceDeviceVideoQuality_averageOutboundBitRate):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_outbound_frame_rate():TeleconferenceDeviceVideoQuality_averageOutboundFrameRate +msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|average_outbound_frame_rate(value:TeleconferenceDeviceVideoQuality_averageOutboundFrameRate):None msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|constructor():None msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|odata_type:str msgraph.generated.models.TeleconferenceDeviceVideoQuality::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.TeleconferenceDeviceVideoQuality::|static|public|create_from_discriminator_value(parse_node:ParseNode):TeleconferenceDeviceVideoQuality +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundBitRate::|public|backing_store:BackingStore +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundBitRate::|public|constructor():None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundBitRate::|public|double():float +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundBitRate::|public|double(value:float):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundBitRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundBitRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundBitRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundBitRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundBitRate::|public|string():str +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundBitRate::|public|string(value:str):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundBitRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):TeleconferenceDeviceVideoQuality_averageInboundBitRate +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundBitRate~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|backing_store:BackingStore +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|constructor():None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|double():float +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|double(value:float):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|string():str +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|string(value:str):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundFrameRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):TeleconferenceDeviceVideoQuality_averageInboundFrameRate +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageInboundFrameRate~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|backing_store:BackingStore +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|constructor():None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|double():float +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|double(value:float):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|string():str +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|string(value:str):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundBitRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):TeleconferenceDeviceVideoQuality_averageOutboundBitRate +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundBitRate~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|backing_store:BackingStore +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|constructor():None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|double():float +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|double(value:float):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|string():str +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|string(value:str):None +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundFrameRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):TeleconferenceDeviceVideoQuality_averageOutboundFrameRate +msgraph.generated.models.TeleconferenceDeviceVideoQuality_averageOutboundFrameRate~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.TemplateApplicationLevel::0000-None_ msgraph.generated.models.TemplateApplicationLevel::0001-NewPartners msgraph.generated.models.TemplateApplicationLevel::0002-ExistingPartners @@ -129939,8 +130966,8 @@ msgraph.generated.models.Trending::|public|resource_reference(value:ResourceRefe msgraph.generated.models.Trending::|public|resource_visualization():ResourceVisualization msgraph.generated.models.Trending::|public|resource_visualization(value:ResourceVisualization):None msgraph.generated.models.Trending::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.Trending::|public|weight():float -msgraph.generated.models.Trending::|public|weight(value:float):None +msgraph.generated.models.Trending::|public|weight():Trending_weight +msgraph.generated.models.Trending::|public|weight(value:Trending_weight):None msgraph.generated.models.Trending::|static|public|create_from_discriminator_value(parse_node:ParseNode):Trending msgraph.generated.models.TrendingCollectionResponse-->BaseCollectionPaginationCountResponse msgraph.generated.models.TrendingCollectionResponse::|public|constructor():None @@ -129949,6 +130976,18 @@ msgraph.generated.models.TrendingCollectionResponse::|public|serialize(writer:Se msgraph.generated.models.TrendingCollectionResponse::|public|value():List[Trending] msgraph.generated.models.TrendingCollectionResponse::|public|value(value:List[Trending]):None msgraph.generated.models.TrendingCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):TrendingCollectionResponse +msgraph.generated.models.Trending_weight::|public|backing_store:BackingStore +msgraph.generated.models.Trending_weight::|public|constructor():None +msgraph.generated.models.Trending_weight::|public|double():float +msgraph.generated.models.Trending_weight::|public|double(value:float):None +msgraph.generated.models.Trending_weight::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.Trending_weight::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.Trending_weight::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.Trending_weight::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.Trending_weight::|public|string():str +msgraph.generated.models.Trending_weight::|public|string(value:str):None +msgraph.generated.models.Trending_weight::|static|public|create_from_discriminator_value(parse_node:ParseNode):Trending_weight +msgraph.generated.models.Trending_weight~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.UnifiedApprovalStage::|public|additional_data():Dict[str, Any] msgraph.generated.models.UnifiedApprovalStage::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.UnifiedApprovalStage::|public|approval_stage_time_out_in_days():int @@ -131009,8 +132048,8 @@ msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance: msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance::|public|app_display_name(value:str):None msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance::|public|app_hang_count():int msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance::|public|app_hang_count(value:int):None -msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance::|public|app_health_score():float -msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance::|public|app_health_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance::|public|app_health_score():UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance::|public|app_health_score(value:UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore):None msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance::|public|app_name():str msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance::|public|app_name(value:str):None msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance::|public|app_publisher():str @@ -131031,6 +132070,18 @@ msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformanceC msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse::|public|value():List[UserExperienceAnalyticsAppHealthApplicationPerformance] msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse::|public|value(value:List[UserExperienceAnalyticsAppHealthApplicationPerformance]):None msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore +msgraph.generated.models.UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails-->Entity msgraph.generated.models.UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails::|public|app_crash_count():int msgraph.generated.models.UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails::|public|app_crash_count(value:int):None @@ -131133,8 +132184,8 @@ msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance: msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance::|public|health_status(value:UserExperienceAnalyticsHealthState):None msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance::|public|mean_time_to_failure_in_minutes():int msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance::|public|mean_time_to_failure_in_minutes(value:int):None -msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance::|public|model_app_health_score():float -msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance::|public|model_app_health_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance::|public|model_app_health_score():UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance::|public|model_app_health_score(value:UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore):None msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance::|public|odata_type:str msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsAppHealthDeviceModelPerformance @@ -131145,6 +132196,18 @@ msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformanceC msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionResponse::|public|value():List[UserExperienceAnalyticsAppHealthDeviceModelPerformance] msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionResponse::|public|value(value:List[UserExperienceAnalyticsAppHealthDeviceModelPerformance]):None msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionResponse +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore +msgraph.generated.models.UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance-->Entity msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance::|public|app_crash_count():int msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance::|public|app_crash_count(value:int):None @@ -131153,8 +132216,8 @@ msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance::|pub msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance::|public|constructor():None msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance::|public|crashed_app_count():int msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance::|public|crashed_app_count(value:int):None -msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance::|public|device_app_health_score():float -msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance::|public|device_app_health_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance::|public|device_app_health_score():UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance::|public|device_app_health_score(value:UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore):None msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance::|public|device_display_name():str msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance::|public|device_display_name(value:str):None msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance::|public|device_id():str @@ -131207,6 +132270,18 @@ msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformanceDetail msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformanceDetailsCollectionResponse::|public|value():List[UserExperienceAnalyticsAppHealthDevicePerformanceDetails] msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformanceDetailsCollectionResponse::|public|value(value:List[UserExperienceAnalyticsAppHealthDevicePerformanceDetails]):None msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformanceDetailsCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsAppHealthDevicePerformanceDetailsCollectionResponse +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore +msgraph.generated.models.UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance-->Entity msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance::|public|active_device_count():int msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance::|public|active_device_count(value:int):None @@ -131219,8 +132294,8 @@ msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance::| msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance::|public|os_build_number(value:str):None msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance::|public|os_version():str msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance::|public|os_version(value:str):None -msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance::|public|os_version_app_health_score():float -msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance::|public|os_version_app_health_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance::|public|os_version_app_health_score():UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance::|public|os_version_app_health_score(value:UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore):None msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsAppHealthOSVersionPerformance msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformanceCollectionResponse-->BaseCollectionPaginationCountResponse @@ -131230,6 +132305,18 @@ msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformanceCol msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformanceCollectionResponse::|public|value():List[UserExperienceAnalyticsAppHealthOSVersionPerformance] msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformanceCollectionResponse::|public|value(value:List[UserExperienceAnalyticsAppHealthOSVersionPerformance]):None msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformanceCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsAppHealthOSVersionPerformanceCollectionResponse +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore +msgraph.generated.models.UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.UserExperienceAnalyticsAutopilotDevicesSummary::|public|additional_data():Dict[str, Any] msgraph.generated.models.UserExperienceAnalyticsAutopilotDevicesSummary::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.UserExperienceAnalyticsAutopilotDevicesSummary::|public|backing_store:BackingStore @@ -131325,10 +132412,10 @@ msgraph.generated.models.UserExperienceAnalyticsCloudManagementDevicesSummary::| msgraph.generated.models.UserExperienceAnalyticsCloudManagementDevicesSummary::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsCloudManagementDevicesSummary msgraph.generated.models.UserExperienceAnalyticsCloudManagementDevicesSummary~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.UserExperienceAnalyticsDevicePerformance-->Entity -msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|average_blue_screens():float -msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|average_blue_screens(value:float):None -msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|average_restarts():float -msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|average_restarts(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|average_blue_screens():UserExperienceAnalyticsDevicePerformance_averageBlueScreens +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|average_blue_screens(value:UserExperienceAnalyticsDevicePerformance_averageBlueScreens):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|average_restarts():UserExperienceAnalyticsDevicePerformance_averageRestarts +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|average_restarts(value:UserExperienceAnalyticsDevicePerformance_averageRestarts):None msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|blue_screen_count():int msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|blue_screen_count(value:int):None msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|boot_score():int @@ -131357,8 +132444,8 @@ msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|manuf msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|manufacturer(value:str):None msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|model():str msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|model(value:str):None -msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|model_startup_performance_score():float -msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|model_startup_performance_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|model_startup_performance_score():UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|model_startup_performance_score(value:UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore):None msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|odata_type:str msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|operating_system_version():str msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|operating_system_version(value:str):None @@ -131367,8 +132454,8 @@ msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|respo msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|restart_count():int msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|restart_count(value:int):None msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|startup_performance_score():float -msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|startup_performance_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|startup_performance_score():UserExperienceAnalyticsDevicePerformance_startupPerformanceScore +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|public|startup_performance_score(value:UserExperienceAnalyticsDevicePerformance_startupPerformanceScore):None msgraph.generated.models.UserExperienceAnalyticsDevicePerformance::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsDevicePerformance msgraph.generated.models.UserExperienceAnalyticsDevicePerformanceCollectionResponse-->BaseCollectionPaginationCountResponse msgraph.generated.models.UserExperienceAnalyticsDevicePerformanceCollectionResponse::|public|constructor():None @@ -131377,16 +132464,64 @@ msgraph.generated.models.UserExperienceAnalyticsDevicePerformanceCollectionRespo msgraph.generated.models.UserExperienceAnalyticsDevicePerformanceCollectionResponse::|public|value():List[UserExperienceAnalyticsDevicePerformance] msgraph.generated.models.UserExperienceAnalyticsDevicePerformanceCollectionResponse::|public|value(value:List[UserExperienceAnalyticsDevicePerformance]):None msgraph.generated.models.UserExperienceAnalyticsDevicePerformanceCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsDevicePerformanceCollectionResponse +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageBlueScreens::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsDevicePerformance_averageBlueScreens +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageBlueScreens~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageRestarts::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageRestarts::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageRestarts::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageRestarts::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageRestarts::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageRestarts::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageRestarts::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageRestarts::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageRestarts::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageRestarts::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageRestarts::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsDevicePerformance_averageRestarts +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_averageRestarts~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_startupPerformanceScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsDevicePerformance_startupPerformanceScore +msgraph.generated.models.UserExperienceAnalyticsDevicePerformance_startupPerformanceScore~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.UserExperienceAnalyticsDeviceScores-->Entity -msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|app_reliability_score():float -msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|app_reliability_score(value:float):None -msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|battery_health_score():float -msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|battery_health_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|app_reliability_score():UserExperienceAnalyticsDeviceScores_appReliabilityScore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|app_reliability_score(value:UserExperienceAnalyticsDeviceScores_appReliabilityScore):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|battery_health_score():UserExperienceAnalyticsDeviceScores_batteryHealthScore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|battery_health_score(value:UserExperienceAnalyticsDeviceScores_batteryHealthScore):None msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|constructor():None msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|device_name():str msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|device_name(value:str):None -msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|endpoint_analytics_score():float -msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|endpoint_analytics_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|endpoint_analytics_score():UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|endpoint_analytics_score(value:UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore):None msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|health_status():UserExperienceAnalyticsHealthState msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|health_status(value:UserExperienceAnalyticsHealthState):None @@ -131396,10 +132531,10 @@ msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|model():st msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|model(value:str):None msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|odata_type:str msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|startup_performance_score():float -msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|startup_performance_score(value:float):None -msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|work_from_anywhere_score():float -msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|work_from_anywhere_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|startup_performance_score():UserExperienceAnalyticsDeviceScores_startupPerformanceScore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|startup_performance_score(value:UserExperienceAnalyticsDeviceScores_startupPerformanceScore):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|work_from_anywhere_score():UserExperienceAnalyticsDeviceScores_workFromAnywhereScore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|public|work_from_anywhere_score(value:UserExperienceAnalyticsDeviceScores_workFromAnywhereScore):None msgraph.generated.models.UserExperienceAnalyticsDeviceScores::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsDeviceScores msgraph.generated.models.UserExperienceAnalyticsDeviceScoresCollectionResponse-->BaseCollectionPaginationCountResponse msgraph.generated.models.UserExperienceAnalyticsDeviceScoresCollectionResponse::|public|constructor():None @@ -131408,6 +132543,66 @@ msgraph.generated.models.UserExperienceAnalyticsDeviceScoresCollectionResponse:: msgraph.generated.models.UserExperienceAnalyticsDeviceScoresCollectionResponse::|public|value():List[UserExperienceAnalyticsDeviceScores] msgraph.generated.models.UserExperienceAnalyticsDeviceScoresCollectionResponse::|public|value(value:List[UserExperienceAnalyticsDeviceScores]):None msgraph.generated.models.UserExperienceAnalyticsDeviceScoresCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsDeviceScoresCollectionResponse +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_appReliabilityScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_appReliabilityScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_appReliabilityScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_appReliabilityScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_appReliabilityScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_appReliabilityScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_appReliabilityScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_appReliabilityScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_appReliabilityScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_appReliabilityScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_appReliabilityScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsDeviceScores_appReliabilityScore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_appReliabilityScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_batteryHealthScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_batteryHealthScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_batteryHealthScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_batteryHealthScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_batteryHealthScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_batteryHealthScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_batteryHealthScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_batteryHealthScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_batteryHealthScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_batteryHealthScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_batteryHealthScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsDeviceScores_batteryHealthScore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_batteryHealthScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_startupPerformanceScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsDeviceScores_startupPerformanceScore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_startupPerformanceScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_workFromAnywhereScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsDeviceScores_workFromAnywhereScore +msgraph.generated.models.UserExperienceAnalyticsDeviceScores_workFromAnywhereScore~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.UserExperienceAnalyticsDeviceStartupHistory-->Entity msgraph.generated.models.UserExperienceAnalyticsDeviceStartupHistory::|public|constructor():None msgraph.generated.models.UserExperienceAnalyticsDeviceStartupHistory::|public|core_boot_time_in_ms():int @@ -131546,8 +132741,8 @@ msgraph.generated.models.UserExperienceAnalyticsMetric::|public|odata_type:str msgraph.generated.models.UserExperienceAnalyticsMetric::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.UserExperienceAnalyticsMetric::|public|unit():str msgraph.generated.models.UserExperienceAnalyticsMetric::|public|unit(value:str):None -msgraph.generated.models.UserExperienceAnalyticsMetric::|public|value():float -msgraph.generated.models.UserExperienceAnalyticsMetric::|public|value(value:float):None +msgraph.generated.models.UserExperienceAnalyticsMetric::|public|value():UserExperienceAnalyticsMetric_value +msgraph.generated.models.UserExperienceAnalyticsMetric::|public|value(value:UserExperienceAnalyticsMetric_value):None msgraph.generated.models.UserExperienceAnalyticsMetric::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsMetric msgraph.generated.models.UserExperienceAnalyticsMetricCollectionResponse-->BaseCollectionPaginationCountResponse msgraph.generated.models.UserExperienceAnalyticsMetricCollectionResponse::|public|constructor():None @@ -131575,14 +132770,26 @@ msgraph.generated.models.UserExperienceAnalyticsMetricHistoryCollectionResponse: msgraph.generated.models.UserExperienceAnalyticsMetricHistoryCollectionResponse::|public|value():List[UserExperienceAnalyticsMetricHistory] msgraph.generated.models.UserExperienceAnalyticsMetricHistoryCollectionResponse::|public|value(value:List[UserExperienceAnalyticsMetricHistory]):None msgraph.generated.models.UserExperienceAnalyticsMetricHistoryCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsMetricHistoryCollectionResponse +msgraph.generated.models.UserExperienceAnalyticsMetric_value::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsMetric_value::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsMetric_value::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsMetric_value::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsMetric_value::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsMetric_value::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsMetric_value::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsMetric_value::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsMetric_value::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsMetric_value::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsMetric_value::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsMetric_value +msgraph.generated.models.UserExperienceAnalyticsMetric_value~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.UserExperienceAnalyticsModelScores-->Entity -msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|app_reliability_score():float -msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|app_reliability_score(value:float):None -msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|battery_health_score():float -msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|battery_health_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|app_reliability_score():UserExperienceAnalyticsModelScores_appReliabilityScore +msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|app_reliability_score(value:UserExperienceAnalyticsModelScores_appReliabilityScore):None +msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|battery_health_score():UserExperienceAnalyticsModelScores_batteryHealthScore +msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|battery_health_score(value:UserExperienceAnalyticsModelScores_batteryHealthScore):None msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|constructor():None -msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|endpoint_analytics_score():float -msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|endpoint_analytics_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|endpoint_analytics_score():UserExperienceAnalyticsModelScores_endpointAnalyticsScore +msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|endpoint_analytics_score(value:UserExperienceAnalyticsModelScores_endpointAnalyticsScore):None msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|health_status():UserExperienceAnalyticsHealthState msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|health_status(value:UserExperienceAnalyticsHealthState):None @@ -131594,10 +132801,10 @@ msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|model_devic msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|model_device_count(value:int):None msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|odata_type:str msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|startup_performance_score():float -msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|startup_performance_score(value:float):None -msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|work_from_anywhere_score():float -msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|work_from_anywhere_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|startup_performance_score():UserExperienceAnalyticsModelScores_startupPerformanceScore +msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|startup_performance_score(value:UserExperienceAnalyticsModelScores_startupPerformanceScore):None +msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|work_from_anywhere_score():UserExperienceAnalyticsModelScores_workFromAnywhereScore +msgraph.generated.models.UserExperienceAnalyticsModelScores::|public|work_from_anywhere_score(value:UserExperienceAnalyticsModelScores_workFromAnywhereScore):None msgraph.generated.models.UserExperienceAnalyticsModelScores::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsModelScores msgraph.generated.models.UserExperienceAnalyticsModelScoresCollectionResponse-->BaseCollectionPaginationCountResponse msgraph.generated.models.UserExperienceAnalyticsModelScoresCollectionResponse::|public|constructor():None @@ -131606,6 +132813,66 @@ msgraph.generated.models.UserExperienceAnalyticsModelScoresCollectionResponse::| msgraph.generated.models.UserExperienceAnalyticsModelScoresCollectionResponse::|public|value():List[UserExperienceAnalyticsModelScores] msgraph.generated.models.UserExperienceAnalyticsModelScoresCollectionResponse::|public|value(value:List[UserExperienceAnalyticsModelScores]):None msgraph.generated.models.UserExperienceAnalyticsModelScoresCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsModelScoresCollectionResponse +msgraph.generated.models.UserExperienceAnalyticsModelScores_appReliabilityScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsModelScores_appReliabilityScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsModelScores_appReliabilityScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsModelScores_appReliabilityScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_appReliabilityScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsModelScores_appReliabilityScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsModelScores_appReliabilityScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_appReliabilityScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_appReliabilityScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsModelScores_appReliabilityScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_appReliabilityScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsModelScores_appReliabilityScore +msgraph.generated.models.UserExperienceAnalyticsModelScores_appReliabilityScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsModelScores_batteryHealthScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsModelScores_batteryHealthScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsModelScores_batteryHealthScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsModelScores_batteryHealthScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_batteryHealthScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsModelScores_batteryHealthScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsModelScores_batteryHealthScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_batteryHealthScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_batteryHealthScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsModelScores_batteryHealthScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_batteryHealthScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsModelScores_batteryHealthScore +msgraph.generated.models.UserExperienceAnalyticsModelScores_batteryHealthScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_endpointAnalyticsScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsModelScores_endpointAnalyticsScore +msgraph.generated.models.UserExperienceAnalyticsModelScores_endpointAnalyticsScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsModelScores_startupPerformanceScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsModelScores_startupPerformanceScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsModelScores_startupPerformanceScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsModelScores_startupPerformanceScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_startupPerformanceScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsModelScores_startupPerformanceScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsModelScores_startupPerformanceScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_startupPerformanceScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_startupPerformanceScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsModelScores_startupPerformanceScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_startupPerformanceScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsModelScores_startupPerformanceScore +msgraph.generated.models.UserExperienceAnalyticsModelScores_startupPerformanceScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsModelScores_workFromAnywhereScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsModelScores_workFromAnywhereScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsModelScores_workFromAnywhereScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsModelScores_workFromAnywhereScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_workFromAnywhereScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsModelScores_workFromAnywhereScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsModelScores_workFromAnywhereScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_workFromAnywhereScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_workFromAnywhereScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsModelScores_workFromAnywhereScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsModelScores_workFromAnywhereScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsModelScores_workFromAnywhereScore +msgraph.generated.models.UserExperienceAnalyticsModelScores_workFromAnywhereScore~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.UserExperienceAnalyticsOperatingSystemRestartCategory::0000-Unknown msgraph.generated.models.UserExperienceAnalyticsOperatingSystemRestartCategory::0001-RestartWithUpdate msgraph.generated.models.UserExperienceAnalyticsOperatingSystemRestartCategory::0002-RestartWithoutUpdate @@ -131674,12 +132941,12 @@ msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public| msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|azure_ad_join_type(value:str):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|azure_ad_registered():bool msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|azure_ad_registered(value:bool):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|cloud_identity_score():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|cloud_identity_score(value:float):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|cloud_management_score():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|cloud_management_score(value:float):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|cloud_provisioning_score():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|cloud_provisioning_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|cloud_identity_score():UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|cloud_identity_score(value:UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|cloud_management_score():UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|cloud_management_score(value:UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|cloud_provisioning_score():UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|cloud_provisioning_score(value:UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|compliance_policy_set_to_intune():bool msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|compliance_policy_set_to_intune(value:bool):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|constructor():None @@ -131732,10 +132999,10 @@ msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public| msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|tpm_check_failed(value:bool):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|upgrade_eligibility():OperatingSystemUpgradeEligibility msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|upgrade_eligibility(value:OperatingSystemUpgradeEligibility):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|windows_score():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|windows_score(value:float):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|work_from_anywhere_score():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|work_from_anywhere_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|windows_score():UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|windows_score(value:UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|work_from_anywhere_score():UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|public|work_from_anywhere_score(value:UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevice msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDeviceCollectionResponse-->BaseCollectionPaginationCountResponse msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDeviceCollectionResponse::|public|constructor():None @@ -131782,34 +133049,202 @@ msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevicesSummary:: msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevicesSummary::|public|windows10_devices_without_tenant_attach(value:int):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevicesSummary::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevicesSummary msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevicesSummary~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric-->Entity msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|constructor():None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|odata_type:str -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|os_check_failed_percentage():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|os_check_failed_percentage(value:float):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor64_bit_check_failed_percentage():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor64_bit_check_failed_percentage(value:float):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor_core_count_check_failed_percentage():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor_core_count_check_failed_percentage(value:float):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor_family_check_failed_percentage():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor_family_check_failed_percentage(value:float):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor_speed_check_failed_percentage():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor_speed_check_failed_percentage(value:float):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|ram_check_failed_percentage():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|ram_check_failed_percentage(value:float):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|secure_boot_check_failed_percentage():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|secure_boot_check_failed_percentage(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|os_check_failed_percentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|os_check_failed_percentage(value:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor64_bit_check_failed_percentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor64_bit_check_failed_percentage(value:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor_core_count_check_failed_percentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor_core_count_check_failed_percentage(value:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor_family_check_failed_percentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor_family_check_failed_percentage(value:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor_speed_check_failed_percentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|processor_speed_check_failed_percentage(value:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|ram_check_failed_percentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|ram_check_failed_percentage(value:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|secure_boot_check_failed_percentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|secure_boot_check_failed_percentage(value:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|storage_check_failed_percentage():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|storage_check_failed_percentage(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|storage_check_failed_percentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|storage_check_failed_percentage(value:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|total_device_count():int msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|total_device_count(value:int):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|tpm_check_failed_percentage():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|tpm_check_failed_percentage(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|tpm_check_failed_percentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|tpm_check_failed_percentage(value:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|upgrade_eligible_device_count():int msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|upgrade_eligible_device_count(value:int):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereMetric-->Entity msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereMetric::|public|constructor():None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereMetric::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -131826,12 +133261,12 @@ msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereMetricCollection msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereMetricCollectionResponse::|public|value(value:List[UserExperienceAnalyticsWorkFromAnywhereMetric]):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereMetricCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereMetricCollectionResponse msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance-->Entity -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|cloud_identity_score():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|cloud_identity_score(value:float):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|cloud_management_score():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|cloud_management_score(value:float):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|cloud_provisioning_score():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|cloud_provisioning_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|cloud_identity_score():UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|cloud_identity_score(value:UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|cloud_management_score():UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|cloud_management_score(value:UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|cloud_provisioning_score():UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|cloud_provisioning_score(value:UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|constructor():None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|health_status():UserExperienceAnalyticsHealthState @@ -131844,10 +133279,10 @@ msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|model_device_count(value:int):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|odata_type:str msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|windows_score():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|windows_score(value:float):None -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|work_from_anywhere_score():float -msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|work_from_anywhere_score(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|windows_score():UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|windows_score(value:UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|work_from_anywhere_score():UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|work_from_anywhere_score(value:UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformance msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse-->BaseCollectionPaginationCountResponse msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse::|public|constructor():None @@ -131856,6 +133291,66 @@ msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse::|public|value():List[UserExperienceAnalyticsWorkFromAnywhereModelPerformance] msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse::|public|value(value:List[UserExperienceAnalyticsWorkFromAnywhereModelPerformance]):None msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|backing_store:BackingStore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|constructor():None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|double():float +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|double(value:float):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|string():str +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|string(value:str):None +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore +msgraph.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.UserFlowApiConnectorConfiguration::|public|additional_data():Dict[str, Any] msgraph.generated.models.UserFlowApiConnectorConfiguration::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.UserFlowApiConnectorConfiguration::|public|backing_store:BackingStore @@ -132265,10 +133760,22 @@ msgraph.generated.models.UserTrainingContentEventInfo::|public|odata_type():str msgraph.generated.models.UserTrainingContentEventInfo::|public|odata_type(value:str):None msgraph.generated.models.UserTrainingContentEventInfo::|public|os_platform_device_details():str msgraph.generated.models.UserTrainingContentEventInfo::|public|os_platform_device_details(value:str):None -msgraph.generated.models.UserTrainingContentEventInfo::|public|potential_score_impact():float -msgraph.generated.models.UserTrainingContentEventInfo::|public|potential_score_impact(value:float):None +msgraph.generated.models.UserTrainingContentEventInfo::|public|potential_score_impact():UserTrainingContentEventInfo_potentialScoreImpact +msgraph.generated.models.UserTrainingContentEventInfo::|public|potential_score_impact(value:UserTrainingContentEventInfo_potentialScoreImpact):None msgraph.generated.models.UserTrainingContentEventInfo::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.UserTrainingContentEventInfo::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserTrainingContentEventInfo +msgraph.generated.models.UserTrainingContentEventInfo_potentialScoreImpact::|public|backing_store:BackingStore +msgraph.generated.models.UserTrainingContentEventInfo_potentialScoreImpact::|public|constructor():None +msgraph.generated.models.UserTrainingContentEventInfo_potentialScoreImpact::|public|double():float +msgraph.generated.models.UserTrainingContentEventInfo_potentialScoreImpact::|public|double(value:float):None +msgraph.generated.models.UserTrainingContentEventInfo_potentialScoreImpact::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.UserTrainingContentEventInfo_potentialScoreImpact::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.UserTrainingContentEventInfo_potentialScoreImpact::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.UserTrainingContentEventInfo_potentialScoreImpact::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.UserTrainingContentEventInfo_potentialScoreImpact::|public|string():str +msgraph.generated.models.UserTrainingContentEventInfo_potentialScoreImpact::|public|string(value:str):None +msgraph.generated.models.UserTrainingContentEventInfo_potentialScoreImpact::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserTrainingContentEventInfo_potentialScoreImpact +msgraph.generated.models.UserTrainingContentEventInfo_potentialScoreImpact~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.UserTrainingContentEventInfo~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.UserTrainingEventInfo::|public|additional_data():Dict[str, Any] msgraph.generated.models.UserTrainingEventInfo::|public|additional_data(value:Dict[str, Any]):None @@ -132375,8 +133882,8 @@ msgraph.generated.models.Video::|public|duration():int msgraph.generated.models.Video::|public|duration(value:int):None msgraph.generated.models.Video::|public|four_c_c():str msgraph.generated.models.Video::|public|four_c_c(value:str):None -msgraph.generated.models.Video::|public|frame_rate():float -msgraph.generated.models.Video::|public|frame_rate(value:float):None +msgraph.generated.models.Video::|public|frame_rate():Video_frameRate +msgraph.generated.models.Video::|public|frame_rate(value:Video_frameRate):None msgraph.generated.models.Video::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.Video::|public|height():int msgraph.generated.models.Video::|public|height(value:int):None @@ -132386,6 +133893,18 @@ msgraph.generated.models.Video::|public|serialize(writer:SerializationWriter):No msgraph.generated.models.Video::|public|width():int msgraph.generated.models.Video::|public|width(value:int):None msgraph.generated.models.Video::|static|public|create_from_discriminator_value(parse_node:ParseNode):Video +msgraph.generated.models.Video_frameRate::|public|backing_store:BackingStore +msgraph.generated.models.Video_frameRate::|public|constructor():None +msgraph.generated.models.Video_frameRate::|public|double():float +msgraph.generated.models.Video_frameRate::|public|double(value:float):None +msgraph.generated.models.Video_frameRate::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.Video_frameRate::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.Video_frameRate::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.Video_frameRate::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.Video_frameRate::|public|string():str +msgraph.generated.models.Video_frameRate::|public|string(value:str):None +msgraph.generated.models.Video_frameRate::|static|public|create_from_discriminator_value(parse_node:ParseNode):Video_frameRate +msgraph.generated.models.Video_frameRate~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.Video~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.VirtualAppointmentMessageType::0000-Confirmation msgraph.generated.models.VirtualAppointmentMessageType::0001-Reschedule @@ -132909,20 +134428,56 @@ msgraph.generated.models.WebPartData~~>AdditionalDataHolder; BackedModel; Parsab msgraph.generated.models.WebPartPosition::|public|additional_data():Dict[str, Any] msgraph.generated.models.WebPartPosition::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.WebPartPosition::|public|backing_store:BackingStore -msgraph.generated.models.WebPartPosition::|public|column_id():float -msgraph.generated.models.WebPartPosition::|public|column_id(value:float):None +msgraph.generated.models.WebPartPosition::|public|column_id():WebPartPosition_columnId +msgraph.generated.models.WebPartPosition::|public|column_id(value:WebPartPosition_columnId):None msgraph.generated.models.WebPartPosition::|public|constructor():None msgraph.generated.models.WebPartPosition::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph.generated.models.WebPartPosition::|public|horizontal_section_id():float -msgraph.generated.models.WebPartPosition::|public|horizontal_section_id(value:float):None +msgraph.generated.models.WebPartPosition::|public|horizontal_section_id():WebPartPosition_horizontalSectionId +msgraph.generated.models.WebPartPosition::|public|horizontal_section_id(value:WebPartPosition_horizontalSectionId):None msgraph.generated.models.WebPartPosition::|public|is_in_vertical_section():bool msgraph.generated.models.WebPartPosition::|public|is_in_vertical_section(value:bool):None msgraph.generated.models.WebPartPosition::|public|odata_type():str msgraph.generated.models.WebPartPosition::|public|odata_type(value:str):None msgraph.generated.models.WebPartPosition::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.WebPartPosition::|public|web_part_index():float -msgraph.generated.models.WebPartPosition::|public|web_part_index(value:float):None +msgraph.generated.models.WebPartPosition::|public|web_part_index():WebPartPosition_webPartIndex +msgraph.generated.models.WebPartPosition::|public|web_part_index(value:WebPartPosition_webPartIndex):None msgraph.generated.models.WebPartPosition::|static|public|create_from_discriminator_value(parse_node:ParseNode):WebPartPosition +msgraph.generated.models.WebPartPosition_columnId::|public|backing_store:BackingStore +msgraph.generated.models.WebPartPosition_columnId::|public|constructor():None +msgraph.generated.models.WebPartPosition_columnId::|public|double():float +msgraph.generated.models.WebPartPosition_columnId::|public|double(value:float):None +msgraph.generated.models.WebPartPosition_columnId::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.WebPartPosition_columnId::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.WebPartPosition_columnId::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.WebPartPosition_columnId::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.WebPartPosition_columnId::|public|string():str +msgraph.generated.models.WebPartPosition_columnId::|public|string(value:str):None +msgraph.generated.models.WebPartPosition_columnId::|static|public|create_from_discriminator_value(parse_node:ParseNode):WebPartPosition_columnId +msgraph.generated.models.WebPartPosition_columnId~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.WebPartPosition_horizontalSectionId::|public|backing_store:BackingStore +msgraph.generated.models.WebPartPosition_horizontalSectionId::|public|constructor():None +msgraph.generated.models.WebPartPosition_horizontalSectionId::|public|double():float +msgraph.generated.models.WebPartPosition_horizontalSectionId::|public|double(value:float):None +msgraph.generated.models.WebPartPosition_horizontalSectionId::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.WebPartPosition_horizontalSectionId::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.WebPartPosition_horizontalSectionId::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.WebPartPosition_horizontalSectionId::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.WebPartPosition_horizontalSectionId::|public|string():str +msgraph.generated.models.WebPartPosition_horizontalSectionId::|public|string(value:str):None +msgraph.generated.models.WebPartPosition_horizontalSectionId::|static|public|create_from_discriminator_value(parse_node:ParseNode):WebPartPosition_horizontalSectionId +msgraph.generated.models.WebPartPosition_horizontalSectionId~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.WebPartPosition_webPartIndex::|public|backing_store:BackingStore +msgraph.generated.models.WebPartPosition_webPartIndex::|public|constructor():None +msgraph.generated.models.WebPartPosition_webPartIndex::|public|double():float +msgraph.generated.models.WebPartPosition_webPartIndex::|public|double(value:float):None +msgraph.generated.models.WebPartPosition_webPartIndex::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.WebPartPosition_webPartIndex::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.WebPartPosition_webPartIndex::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.WebPartPosition_webPartIndex::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.WebPartPosition_webPartIndex::|public|string():str +msgraph.generated.models.WebPartPosition_webPartIndex::|public|string(value:str):None +msgraph.generated.models.WebPartPosition_webPartIndex::|static|public|create_from_discriminator_value(parse_node:ParseNode):WebPartPosition_webPartIndex +msgraph.generated.models.WebPartPosition_webPartIndex~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.WebPartPosition~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.Website::|public|additional_data():Dict[str, Any] msgraph.generated.models.Website::|public|additional_data(value:Dict[str, Any]):None @@ -135276,10 +136831,10 @@ msgraph.generated.models.WorkbookChart::|public|data_labels(value:WorkbookChartD msgraph.generated.models.WorkbookChart::|public|format():WorkbookChartAreaFormat msgraph.generated.models.WorkbookChart::|public|format(value:WorkbookChartAreaFormat):None msgraph.generated.models.WorkbookChart::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph.generated.models.WorkbookChart::|public|height():float -msgraph.generated.models.WorkbookChart::|public|height(value:float):None -msgraph.generated.models.WorkbookChart::|public|left():float -msgraph.generated.models.WorkbookChart::|public|left(value:float):None +msgraph.generated.models.WorkbookChart::|public|height():WorkbookChart_height +msgraph.generated.models.WorkbookChart::|public|height(value:WorkbookChart_height):None +msgraph.generated.models.WorkbookChart::|public|left():WorkbookChart_left +msgraph.generated.models.WorkbookChart::|public|left(value:WorkbookChart_left):None msgraph.generated.models.WorkbookChart::|public|legend():WorkbookChartLegend msgraph.generated.models.WorkbookChart::|public|legend(value:WorkbookChartLegend):None msgraph.generated.models.WorkbookChart::|public|name():str @@ -135290,10 +136845,10 @@ msgraph.generated.models.WorkbookChart::|public|series():List[WorkbookChartSerie msgraph.generated.models.WorkbookChart::|public|series(value:List[WorkbookChartSeries]):None msgraph.generated.models.WorkbookChart::|public|title():WorkbookChartTitle msgraph.generated.models.WorkbookChart::|public|title(value:WorkbookChartTitle):None -msgraph.generated.models.WorkbookChart::|public|top():float -msgraph.generated.models.WorkbookChart::|public|top(value:float):None -msgraph.generated.models.WorkbookChart::|public|width():float -msgraph.generated.models.WorkbookChart::|public|width(value:float):None +msgraph.generated.models.WorkbookChart::|public|top():WorkbookChart_top +msgraph.generated.models.WorkbookChart::|public|top(value:WorkbookChart_top):None +msgraph.generated.models.WorkbookChart::|public|width():WorkbookChart_width +msgraph.generated.models.WorkbookChart::|public|width(value:WorkbookChart_width):None msgraph.generated.models.WorkbookChart::|public|worksheet():WorkbookWorksheet msgraph.generated.models.WorkbookChart::|public|worksheet(value:WorkbookWorksheet):None msgraph.generated.models.WorkbookChart::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkbookChart @@ -135423,11 +136978,23 @@ msgraph.generated.models.WorkbookChartFont::|public|name():str msgraph.generated.models.WorkbookChartFont::|public|name(value:str):None msgraph.generated.models.WorkbookChartFont::|public|odata_type:str msgraph.generated.models.WorkbookChartFont::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.WorkbookChartFont::|public|size():float -msgraph.generated.models.WorkbookChartFont::|public|size(value:float):None +msgraph.generated.models.WorkbookChartFont::|public|size():WorkbookChartFont_size +msgraph.generated.models.WorkbookChartFont::|public|size(value:WorkbookChartFont_size):None msgraph.generated.models.WorkbookChartFont::|public|underline():str msgraph.generated.models.WorkbookChartFont::|public|underline(value:str):None msgraph.generated.models.WorkbookChartFont::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkbookChartFont +msgraph.generated.models.WorkbookChartFont_size::|public|backing_store:BackingStore +msgraph.generated.models.WorkbookChartFont_size::|public|constructor():None +msgraph.generated.models.WorkbookChartFont_size::|public|double():float +msgraph.generated.models.WorkbookChartFont_size::|public|double(value:float):None +msgraph.generated.models.WorkbookChartFont_size::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.WorkbookChartFont_size::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.WorkbookChartFont_size::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.WorkbookChartFont_size::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.WorkbookChartFont_size::|public|string():str +msgraph.generated.models.WorkbookChartFont_size::|public|string(value:str):None +msgraph.generated.models.WorkbookChartFont_size::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkbookChartFont_size +msgraph.generated.models.WorkbookChartFont_size~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.WorkbookChartGridlines-->Entity msgraph.generated.models.WorkbookChartGridlines::|public|constructor():None msgraph.generated.models.WorkbookChartGridlines::|public|format():WorkbookChartGridlinesFormat @@ -135554,6 +137121,54 @@ msgraph.generated.models.WorkbookChartTitleFormat::|public|get_field_deserialize msgraph.generated.models.WorkbookChartTitleFormat::|public|odata_type:str msgraph.generated.models.WorkbookChartTitleFormat::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.WorkbookChartTitleFormat::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkbookChartTitleFormat +msgraph.generated.models.WorkbookChart_height::|public|backing_store:BackingStore +msgraph.generated.models.WorkbookChart_height::|public|constructor():None +msgraph.generated.models.WorkbookChart_height::|public|double():float +msgraph.generated.models.WorkbookChart_height::|public|double(value:float):None +msgraph.generated.models.WorkbookChart_height::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.WorkbookChart_height::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.WorkbookChart_height::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.WorkbookChart_height::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.WorkbookChart_height::|public|string():str +msgraph.generated.models.WorkbookChart_height::|public|string(value:str):None +msgraph.generated.models.WorkbookChart_height::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkbookChart_height +msgraph.generated.models.WorkbookChart_height~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.WorkbookChart_left::|public|backing_store:BackingStore +msgraph.generated.models.WorkbookChart_left::|public|constructor():None +msgraph.generated.models.WorkbookChart_left::|public|double():float +msgraph.generated.models.WorkbookChart_left::|public|double(value:float):None +msgraph.generated.models.WorkbookChart_left::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.WorkbookChart_left::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.WorkbookChart_left::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.WorkbookChart_left::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.WorkbookChart_left::|public|string():str +msgraph.generated.models.WorkbookChart_left::|public|string(value:str):None +msgraph.generated.models.WorkbookChart_left::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkbookChart_left +msgraph.generated.models.WorkbookChart_left~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.WorkbookChart_top::|public|backing_store:BackingStore +msgraph.generated.models.WorkbookChart_top::|public|constructor():None +msgraph.generated.models.WorkbookChart_top::|public|double():float +msgraph.generated.models.WorkbookChart_top::|public|double(value:float):None +msgraph.generated.models.WorkbookChart_top::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.WorkbookChart_top::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.WorkbookChart_top::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.WorkbookChart_top::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.WorkbookChart_top::|public|string():str +msgraph.generated.models.WorkbookChart_top::|public|string(value:str):None +msgraph.generated.models.WorkbookChart_top::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkbookChart_top +msgraph.generated.models.WorkbookChart_top~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.WorkbookChart_width::|public|backing_store:BackingStore +msgraph.generated.models.WorkbookChart_width::|public|constructor():None +msgraph.generated.models.WorkbookChart_width::|public|double():float +msgraph.generated.models.WorkbookChart_width::|public|double(value:float):None +msgraph.generated.models.WorkbookChart_width::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.WorkbookChart_width::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.WorkbookChart_width::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.WorkbookChart_width::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.WorkbookChart_width::|public|string():str +msgraph.generated.models.WorkbookChart_width::|public|string(value:str):None +msgraph.generated.models.WorkbookChart_width::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkbookChart_width +msgraph.generated.models.WorkbookChart_width~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.WorkbookComment-->Entity msgraph.generated.models.WorkbookComment::|public|constructor():None msgraph.generated.models.WorkbookComment::|public|content():str @@ -135808,16 +137423,28 @@ msgraph.generated.models.WorkbookRangeFont::|public|name():str msgraph.generated.models.WorkbookRangeFont::|public|name(value:str):None msgraph.generated.models.WorkbookRangeFont::|public|odata_type:str msgraph.generated.models.WorkbookRangeFont::|public|serialize(writer:SerializationWriter):None -msgraph.generated.models.WorkbookRangeFont::|public|size():float -msgraph.generated.models.WorkbookRangeFont::|public|size(value:float):None +msgraph.generated.models.WorkbookRangeFont::|public|size():WorkbookRangeFont_size +msgraph.generated.models.WorkbookRangeFont::|public|size(value:WorkbookRangeFont_size):None msgraph.generated.models.WorkbookRangeFont::|public|underline():str msgraph.generated.models.WorkbookRangeFont::|public|underline(value:str):None msgraph.generated.models.WorkbookRangeFont::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkbookRangeFont +msgraph.generated.models.WorkbookRangeFont_size::|public|backing_store:BackingStore +msgraph.generated.models.WorkbookRangeFont_size::|public|constructor():None +msgraph.generated.models.WorkbookRangeFont_size::|public|double():float +msgraph.generated.models.WorkbookRangeFont_size::|public|double(value:float):None +msgraph.generated.models.WorkbookRangeFont_size::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.WorkbookRangeFont_size::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.WorkbookRangeFont_size::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.WorkbookRangeFont_size::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.WorkbookRangeFont_size::|public|string():str +msgraph.generated.models.WorkbookRangeFont_size::|public|string(value:str):None +msgraph.generated.models.WorkbookRangeFont_size::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkbookRangeFont_size +msgraph.generated.models.WorkbookRangeFont_size~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.WorkbookRangeFormat-->Entity msgraph.generated.models.WorkbookRangeFormat::|public|borders():List[WorkbookRangeBorder] msgraph.generated.models.WorkbookRangeFormat::|public|borders(value:List[WorkbookRangeBorder]):None -msgraph.generated.models.WorkbookRangeFormat::|public|column_width():float -msgraph.generated.models.WorkbookRangeFormat::|public|column_width(value:float):None +msgraph.generated.models.WorkbookRangeFormat::|public|column_width():WorkbookRangeFormat_columnWidth +msgraph.generated.models.WorkbookRangeFormat::|public|column_width(value:WorkbookRangeFormat_columnWidth):None msgraph.generated.models.WorkbookRangeFormat::|public|constructor():None msgraph.generated.models.WorkbookRangeFormat::|public|fill():WorkbookRangeFill msgraph.generated.models.WorkbookRangeFormat::|public|fill(value:WorkbookRangeFill):None @@ -135829,14 +137456,38 @@ msgraph.generated.models.WorkbookRangeFormat::|public|horizontal_alignment(value msgraph.generated.models.WorkbookRangeFormat::|public|odata_type:str msgraph.generated.models.WorkbookRangeFormat::|public|protection():WorkbookFormatProtection msgraph.generated.models.WorkbookRangeFormat::|public|protection(value:WorkbookFormatProtection):None -msgraph.generated.models.WorkbookRangeFormat::|public|row_height():float -msgraph.generated.models.WorkbookRangeFormat::|public|row_height(value:float):None +msgraph.generated.models.WorkbookRangeFormat::|public|row_height():WorkbookRangeFormat_rowHeight +msgraph.generated.models.WorkbookRangeFormat::|public|row_height(value:WorkbookRangeFormat_rowHeight):None msgraph.generated.models.WorkbookRangeFormat::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.WorkbookRangeFormat::|public|vertical_alignment():str msgraph.generated.models.WorkbookRangeFormat::|public|vertical_alignment(value:str):None msgraph.generated.models.WorkbookRangeFormat::|public|wrap_text():bool msgraph.generated.models.WorkbookRangeFormat::|public|wrap_text(value:bool):None msgraph.generated.models.WorkbookRangeFormat::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkbookRangeFormat +msgraph.generated.models.WorkbookRangeFormat_columnWidth::|public|backing_store:BackingStore +msgraph.generated.models.WorkbookRangeFormat_columnWidth::|public|constructor():None +msgraph.generated.models.WorkbookRangeFormat_columnWidth::|public|double():float +msgraph.generated.models.WorkbookRangeFormat_columnWidth::|public|double(value:float):None +msgraph.generated.models.WorkbookRangeFormat_columnWidth::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.WorkbookRangeFormat_columnWidth::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.WorkbookRangeFormat_columnWidth::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.WorkbookRangeFormat_columnWidth::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.WorkbookRangeFormat_columnWidth::|public|string():str +msgraph.generated.models.WorkbookRangeFormat_columnWidth::|public|string(value:str):None +msgraph.generated.models.WorkbookRangeFormat_columnWidth::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkbookRangeFormat_columnWidth +msgraph.generated.models.WorkbookRangeFormat_columnWidth~~>BackedModel; ComposedTypeWrapper; Parsable +msgraph.generated.models.WorkbookRangeFormat_rowHeight::|public|backing_store:BackingStore +msgraph.generated.models.WorkbookRangeFormat_rowHeight::|public|constructor():None +msgraph.generated.models.WorkbookRangeFormat_rowHeight::|public|double():float +msgraph.generated.models.WorkbookRangeFormat_rowHeight::|public|double(value:float):None +msgraph.generated.models.WorkbookRangeFormat_rowHeight::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.WorkbookRangeFormat_rowHeight::|public|reference_numeric():ReferenceNumeric +msgraph.generated.models.WorkbookRangeFormat_rowHeight::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.models.WorkbookRangeFormat_rowHeight::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.WorkbookRangeFormat_rowHeight::|public|string():str +msgraph.generated.models.WorkbookRangeFormat_rowHeight::|public|string(value:str):None +msgraph.generated.models.WorkbookRangeFormat_rowHeight::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkbookRangeFormat_rowHeight +msgraph.generated.models.WorkbookRangeFormat_rowHeight~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.models.WorkbookRangeSort-->Entity msgraph.generated.models.WorkbookRangeSort::|public|constructor():None msgraph.generated.models.WorkbookRangeSort::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -184583,14 +186234,26 @@ msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::| msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::|public|max_candidates(value:int):None msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::|public|meeting_duration():datetime.timedelta msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::|public|meeting_duration(value:datetime.timedelta):None -msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::|public|minimum_attendee_percentage():float -msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::|public|minimum_attendee_percentage(value:float):None +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::|public|minimum_attendee_percentage():FindMeetingTimesPostRequestBody_minimumAttendeePercentage +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::|public|minimum_attendee_percentage(value:FindMeetingTimesPostRequestBody_minimumAttendeePercentage):None msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::|public|return_suggestion_reasons():bool msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::|public|return_suggestion_reasons(value:bool):None msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::|public|serialize(writer:SerializationWriter):None msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::|public|time_constraint():TimeConstraint msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::|public|time_constraint(value:TimeConstraint):None msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):FindMeetingTimesPostRequestBody +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|backing_store:BackingStore +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|constructor():None +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|double():float +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|double(value:float):None +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|reference_numeric():ReferenceNumeric +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|reference_numeric(value:ReferenceNumeric):None +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|string():str +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|string(value:str):None +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody_minimumAttendeePercentage::|static|public|create_from_discriminator_value(parse_node:ParseNode):FindMeetingTimesPostRequestBody_minimumAttendeePercentage +msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody_minimumAttendeePercentage~~>BackedModel; ComposedTypeWrapper; Parsable msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesRequestBuilder-->BaseRequestBuilder msgraph.generated.users.item.findMeetingTimes.FindMeetingTimesRequestBuilder.FindMeetingTimesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] @@ -189513,12 +191176,28 @@ msgraph.generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRe msgraph.generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|get(request_configuration?:RequestConfiguration[DeviceCategoryRequestBuilderGetQueryParameters]):DeviceCategory msgraph.generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|patch(body:DeviceCategory; request_configuration?:RequestConfiguration[QueryParameters]):DeviceCategory msgraph.generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|ref:RefRequestBuilder msgraph.generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|request_adapter:RequestAdapter msgraph.generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[DeviceCategoryRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|to_patch_request_information(body:DeviceCategory; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|url_template:str msgraph.generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|with_url(raw_url:str):DeviceCategoryRequestBuilder +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder-->BaseRequestBuilder +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder.RefRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder.RefRequestBuilderPutRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|get(request_configuration?:RequestConfiguration[QueryParameters]):str +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|put(body:ReferenceUpdate; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|to_put_request_information(body:ReferenceUpdate; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|url_template:str +msgraph.generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|with_url(raw_url:str):RefRequestBuilder msgraph.generated.users.item.managedDevices.item.deviceCompliancePolicyStates.count.CountRequestBuilder-->BaseRequestBuilder msgraph.generated.users.item.managedDevices.item.deviceCompliancePolicyStates.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph.generated.users.item.managedDevices.item.deviceCompliancePolicyStates.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str diff --git a/msgraph/generated/kiota-lock.json b/msgraph/generated/kiota-lock.json index ea9cfc53fc4..f59a756e20b 100644 --- a/msgraph/generated/kiota-lock.json +++ b/msgraph/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": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "msgraph.generated", diff --git a/msgraph/generated/models/average_comparative_score.py b/msgraph/generated/models/average_comparative_score.py index b5f357d099e..74247a5c57a 100644 --- a/msgraph/generated/models/average_comparative_score.py +++ b/msgraph/generated/models/average_comparative_score.py @@ -4,6 +4,9 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .average_comparative_score_average_score import AverageComparativeScore_averageScore + @dataclass class AverageComparativeScore(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -12,7 +15,7 @@ class AverageComparativeScore(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) # Average score within specified basis. - average_score: Optional[float] = None + average_score: Optional[AverageComparativeScore_averageScore] = None # Scope type. The possible values are: AllTenants, TotalSeats, IndustryTypes. basis: Optional[str] = None # The OdataType property @@ -34,8 +37,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .average_comparative_score_average_score import AverageComparativeScore_averageScore + + from .average_comparative_score_average_score import AverageComparativeScore_averageScore + fields: Dict[str, Callable[[Any], None]] = { - "averageScore": lambda n : setattr(self, 'average_score', n.get_float_value()), + "averageScore": lambda n : setattr(self, 'average_score', n.get_object_value(AverageComparativeScore_averageScore)), "basis": lambda n : setattr(self, 'basis', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } @@ -49,7 +56,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_float_value("averageScore", self.average_score) + writer.write_object_value("averageScore", self.average_score) writer.write_str_value("basis", self.basis) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/average_comparative_score_average_score.py b/msgraph/generated/models/average_comparative_score_average_score.py new file mode 100644 index 00000000000..5cb3131595a --- /dev/null +++ b/msgraph/generated/models/average_comparative_score_average_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class AverageComparativeScore_averageScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AverageComparativeScore_averageScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AverageComparativeScore_averageScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = AverageComparativeScore_averageScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/booking_appointment.py b/msgraph/generated/models/booking_appointment.py index 95f1538238e..8090cee24a8 100644 --- a/msgraph/generated/models/booking_appointment.py +++ b/msgraph/generated/models/booking_appointment.py @@ -5,6 +5,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .booking_appointment_price import BookingAppointment_price from .booking_customer_information_base import BookingCustomerInformationBase from .booking_price_type import BookingPriceType from .booking_reminder import BookingReminder @@ -64,7 +65,7 @@ class BookingAppointment(Entity): # The amount of time to reserve before the appointment begins, for preparation, as an example. The value is expressed in ISO8601 format. pre_buffer: Optional[datetime.timedelta] = None # The regular price for an appointment for the specified bookingService. - price: Optional[float] = None + price: Optional[BookingAppointment_price] = None # Represents the type of pricing of a booking service. price_type: Optional[BookingPriceType] = None # The collection of customer reminders sent for this appointment. The value of this property is available only when reading this bookingAppointment by its ID. @@ -102,6 +103,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .booking_appointment_price import BookingAppointment_price from .booking_customer_information_base import BookingCustomerInformationBase from .booking_price_type import BookingPriceType from .booking_reminder import BookingReminder @@ -109,6 +111,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .entity import Entity from .location import Location + from .booking_appointment_price import BookingAppointment_price from .booking_customer_information_base import BookingCustomerInformationBase from .booking_price_type import BookingPriceType from .booking_reminder import BookingReminder @@ -138,7 +141,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "optOutOfCustomerEmail": lambda n : setattr(self, 'opt_out_of_customer_email', n.get_bool_value()), "postBuffer": lambda n : setattr(self, 'post_buffer', n.get_timedelta_value()), "preBuffer": lambda n : setattr(self, 'pre_buffer', n.get_timedelta_value()), - "price": lambda n : setattr(self, 'price', n.get_float_value()), + "price": lambda n : setattr(self, 'price', n.get_object_value(BookingAppointment_price)), "priceType": lambda n : setattr(self, 'price_type', n.get_enum_value(BookingPriceType)), "reminders": lambda n : setattr(self, 'reminders', n.get_collection_of_object_values(BookingReminder)), "selfServiceAppointmentId": lambda n : setattr(self, 'self_service_appointment_id', n.get_str_value()), @@ -182,7 +185,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("optOutOfCustomerEmail", self.opt_out_of_customer_email) writer.write_timedelta_value("postBuffer", self.post_buffer) writer.write_timedelta_value("preBuffer", self.pre_buffer) - writer.write_float_value("price", self.price) + writer.write_object_value("price", self.price) writer.write_enum_value("priceType", self.price_type) writer.write_collection_of_object_values("reminders", self.reminders) writer.write_str_value("selfServiceAppointmentId", self.self_service_appointment_id) diff --git a/msgraph/generated/models/booking_appointment_price.py b/msgraph/generated/models/booking_appointment_price.py new file mode 100644 index 00000000000..699fdb640fb --- /dev/null +++ b/msgraph/generated/models/booking_appointment_price.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class BookingAppointment_price(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> BookingAppointment_price: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: BookingAppointment_price + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = BookingAppointment_price() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/booking_service.py b/msgraph/generated/models/booking_service.py index e16d89079a4..a138afcb455 100644 --- a/msgraph/generated/models/booking_service.py +++ b/msgraph/generated/models/booking_service.py @@ -9,6 +9,7 @@ from .booking_question_assignment import BookingQuestionAssignment from .booking_reminder import BookingReminder from .booking_scheduling_policy import BookingSchedulingPolicy + from .booking_service_default_price import BookingService_defaultPrice from .entity import Entity from .location import Location @@ -30,7 +31,7 @@ class BookingService(Entity): # The default physical location for the service. default_location: Optional[Location] = None # The default monetary price for the service. - default_price: Optional[float] = None + default_price: Optional[BookingService_defaultPrice] = None # Represents the type of pricing of a booking service. default_price_type: Optional[BookingPriceType] = None # The default set of reminders for an appointment of this service. The value of this property is available only when reading this bookingService by its ID. @@ -90,6 +91,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .booking_question_assignment import BookingQuestionAssignment from .booking_reminder import BookingReminder from .booking_scheduling_policy import BookingSchedulingPolicy + from .booking_service_default_price import BookingService_defaultPrice from .entity import Entity from .location import Location @@ -97,6 +99,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .booking_question_assignment import BookingQuestionAssignment from .booking_reminder import BookingReminder from .booking_scheduling_policy import BookingSchedulingPolicy + from .booking_service_default_price import BookingService_defaultPrice from .entity import Entity from .location import Location @@ -106,7 +109,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "customQuestions": lambda n : setattr(self, 'custom_questions', n.get_collection_of_object_values(BookingQuestionAssignment)), "defaultDuration": lambda n : setattr(self, 'default_duration', n.get_timedelta_value()), "defaultLocation": lambda n : setattr(self, 'default_location', n.get_object_value(Location)), - "defaultPrice": lambda n : setattr(self, 'default_price', n.get_float_value()), + "defaultPrice": lambda n : setattr(self, 'default_price', n.get_object_value(BookingService_defaultPrice)), "defaultPriceType": lambda n : setattr(self, 'default_price_type', n.get_enum_value(BookingPriceType)), "defaultReminders": lambda n : setattr(self, 'default_reminders', n.get_collection_of_object_values(BookingReminder)), "description": lambda n : setattr(self, 'description', n.get_str_value()), @@ -144,7 +147,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("customQuestions", self.custom_questions) writer.write_timedelta_value("defaultDuration", self.default_duration) writer.write_object_value("defaultLocation", self.default_location) - writer.write_float_value("defaultPrice", self.default_price) + writer.write_object_value("defaultPrice", self.default_price) writer.write_enum_value("defaultPriceType", self.default_price_type) writer.write_collection_of_object_values("defaultReminders", self.default_reminders) writer.write_str_value("description", self.description) diff --git a/msgraph/generated/models/booking_service_default_price.py b/msgraph/generated/models/booking_service_default_price.py new file mode 100644 index 00000000000..08c89dbab0a --- /dev/null +++ b/msgraph/generated/models/booking_service_default_price.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class BookingService_defaultPrice(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> BookingService_defaultPrice: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: BookingService_defaultPrice + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = BookingService_defaultPrice() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/device_info.py b/msgraph/generated/models/call_records/device_info.py index 77eb832e80d..a636d681a64 100644 --- a/msgraph/generated/models/call_records/device_info.py +++ b/msgraph/generated/models/call_records/device_info.py @@ -4,6 +4,20 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .device_info_capture_not_functioning_event_ratio import DeviceInfo_captureNotFunctioningEventRatio + from .device_info_cpu_insufficent_event_ratio import DeviceInfo_cpuInsufficentEventRatio + from .device_info_device_clipping_event_ratio import DeviceInfo_deviceClippingEventRatio + from .device_info_device_glitch_event_ratio import DeviceInfo_deviceGlitchEventRatio + from .device_info_initial_signal_level_root_mean_square import DeviceInfo_initialSignalLevelRootMeanSquare + from .device_info_low_speech_level_event_ratio import DeviceInfo_lowSpeechLevelEventRatio + from .device_info_low_speech_to_noise_event_ratio import DeviceInfo_lowSpeechToNoiseEventRatio + from .device_info_mic_glitch_rate import DeviceInfo_micGlitchRate + from .device_info_render_mute_event_ratio import DeviceInfo_renderMuteEventRatio + from .device_info_render_not_functioning_event_ratio import DeviceInfo_renderNotFunctioningEventRatio + from .device_info_render_zero_volume_event_ratio import DeviceInfo_renderZeroVolumeEventRatio + from .device_info_speaker_glitch_rate import DeviceInfo_speakerGlitchRate + @dataclass class DeviceInfo(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -16,23 +30,23 @@ class DeviceInfo(AdditionalDataHolder, BackedModel, Parsable): # Name of the capture device used by the media endpoint. capture_device_name: Optional[str] = None # Fraction of the call that the media endpoint detected the capture device was not working properly. - capture_not_functioning_event_ratio: Optional[float] = None + capture_not_functioning_event_ratio: Optional[DeviceInfo_captureNotFunctioningEventRatio] = None # 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. - cpu_insufficent_event_ratio: Optional[float] = None + cpu_insufficent_event_ratio: Optional[DeviceInfo_cpuInsufficentEventRatio] = None # Fraction of the call that the media endpoint detected clipping in the captured audio that caused poor quality of the audio being sent. - device_clipping_event_ratio: Optional[float] = None + device_clipping_event_ratio: Optional[DeviceInfo_deviceClippingEventRatio] = None # 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. - device_glitch_event_ratio: Optional[float] = None + device_glitch_event_ratio: Optional[DeviceInfo_deviceGlitchEventRatio] = None # Number of times during the call that the media endpoint detected howling or screeching audio. howling_event_count: Optional[int] = None # The root mean square (RMS) of the incoming signal of up to the first 30 seconds of the call. - initial_signal_level_root_mean_square: Optional[float] = None + initial_signal_level_root_mean_square: Optional[DeviceInfo_initialSignalLevelRootMeanSquare] = None # Fraction of the call that the media endpoint detected low speech level that caused poor quality of the audio being sent. - low_speech_level_event_ratio: Optional[float] = None + low_speech_level_event_ratio: Optional[DeviceInfo_lowSpeechLevelEventRatio] = None # Fraction of the call that the media endpoint detected low speech to noise level that caused poor quality of the audio being sent. - low_speech_to_noise_event_ratio: Optional[float] = None + low_speech_to_noise_event_ratio: Optional[DeviceInfo_lowSpeechToNoiseEventRatio] = None # Glitches per 5 minute interval for the media endpoint's microphone. - mic_glitch_rate: Optional[float] = None + mic_glitch_rate: Optional[DeviceInfo_micGlitchRate] = None # The OdataType property odata_type: Optional[str] = None # Average energy level of received audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. @@ -44,17 +58,17 @@ class DeviceInfo(AdditionalDataHolder, BackedModel, Parsable): # Name of the render device used by the media endpoint. render_device_name: Optional[str] = None # Fraction of the call that media endpoint detected device render is muted. - render_mute_event_ratio: Optional[float] = None + render_mute_event_ratio: Optional[DeviceInfo_renderMuteEventRatio] = None # Fraction of the call that the media endpoint detected the render device was not working properly. - render_not_functioning_event_ratio: Optional[float] = None + render_not_functioning_event_ratio: Optional[DeviceInfo_renderNotFunctioningEventRatio] = None # Fraction of the call that media endpoint detected device render volume is set to 0. - render_zero_volume_event_ratio: Optional[float] = None + render_zero_volume_event_ratio: Optional[DeviceInfo_renderZeroVolumeEventRatio] = None # Average energy level of sent audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. sent_noise_level: Optional[int] = None # Average energy level of sent audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint. sent_signal_level: Optional[int] = None # Glitches per 5 minute internal for the media endpoint's loudspeaker. - speaker_glitch_rate: Optional[float] = None + speaker_glitch_rate: Optional[DeviceInfo_speakerGlitchRate] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> DeviceInfo: @@ -72,29 +86,55 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .device_info_capture_not_functioning_event_ratio import DeviceInfo_captureNotFunctioningEventRatio + from .device_info_cpu_insufficent_event_ratio import DeviceInfo_cpuInsufficentEventRatio + from .device_info_device_clipping_event_ratio import DeviceInfo_deviceClippingEventRatio + from .device_info_device_glitch_event_ratio import DeviceInfo_deviceGlitchEventRatio + from .device_info_initial_signal_level_root_mean_square import DeviceInfo_initialSignalLevelRootMeanSquare + from .device_info_low_speech_level_event_ratio import DeviceInfo_lowSpeechLevelEventRatio + from .device_info_low_speech_to_noise_event_ratio import DeviceInfo_lowSpeechToNoiseEventRatio + from .device_info_mic_glitch_rate import DeviceInfo_micGlitchRate + from .device_info_render_mute_event_ratio import DeviceInfo_renderMuteEventRatio + from .device_info_render_not_functioning_event_ratio import DeviceInfo_renderNotFunctioningEventRatio + from .device_info_render_zero_volume_event_ratio import DeviceInfo_renderZeroVolumeEventRatio + from .device_info_speaker_glitch_rate import DeviceInfo_speakerGlitchRate + + from .device_info_capture_not_functioning_event_ratio import DeviceInfo_captureNotFunctioningEventRatio + from .device_info_cpu_insufficent_event_ratio import DeviceInfo_cpuInsufficentEventRatio + from .device_info_device_clipping_event_ratio import DeviceInfo_deviceClippingEventRatio + from .device_info_device_glitch_event_ratio import DeviceInfo_deviceGlitchEventRatio + from .device_info_initial_signal_level_root_mean_square import DeviceInfo_initialSignalLevelRootMeanSquare + from .device_info_low_speech_level_event_ratio import DeviceInfo_lowSpeechLevelEventRatio + from .device_info_low_speech_to_noise_event_ratio import DeviceInfo_lowSpeechToNoiseEventRatio + from .device_info_mic_glitch_rate import DeviceInfo_micGlitchRate + from .device_info_render_mute_event_ratio import DeviceInfo_renderMuteEventRatio + from .device_info_render_not_functioning_event_ratio import DeviceInfo_renderNotFunctioningEventRatio + from .device_info_render_zero_volume_event_ratio import DeviceInfo_renderZeroVolumeEventRatio + from .device_info_speaker_glitch_rate import DeviceInfo_speakerGlitchRate + fields: Dict[str, Callable[[Any], None]] = { "captureDeviceDriver": lambda n : setattr(self, 'capture_device_driver', n.get_str_value()), "captureDeviceName": lambda n : setattr(self, 'capture_device_name', n.get_str_value()), - "captureNotFunctioningEventRatio": lambda n : setattr(self, 'capture_not_functioning_event_ratio', n.get_float_value()), - "cpuInsufficentEventRatio": lambda n : setattr(self, 'cpu_insufficent_event_ratio', n.get_float_value()), - "deviceClippingEventRatio": lambda n : setattr(self, 'device_clipping_event_ratio', n.get_float_value()), - "deviceGlitchEventRatio": lambda n : setattr(self, 'device_glitch_event_ratio', n.get_float_value()), + "captureNotFunctioningEventRatio": lambda n : setattr(self, 'capture_not_functioning_event_ratio', n.get_object_value(DeviceInfo_captureNotFunctioningEventRatio)), + "cpuInsufficentEventRatio": lambda n : setattr(self, 'cpu_insufficent_event_ratio', n.get_object_value(DeviceInfo_cpuInsufficentEventRatio)), + "deviceClippingEventRatio": lambda n : setattr(self, 'device_clipping_event_ratio', n.get_object_value(DeviceInfo_deviceClippingEventRatio)), + "deviceGlitchEventRatio": lambda n : setattr(self, 'device_glitch_event_ratio', n.get_object_value(DeviceInfo_deviceGlitchEventRatio)), "howlingEventCount": lambda n : setattr(self, 'howling_event_count', n.get_int_value()), - "initialSignalLevelRootMeanSquare": lambda n : setattr(self, 'initial_signal_level_root_mean_square', n.get_float_value()), - "lowSpeechLevelEventRatio": lambda n : setattr(self, 'low_speech_level_event_ratio', n.get_float_value()), - "lowSpeechToNoiseEventRatio": lambda n : setattr(self, 'low_speech_to_noise_event_ratio', n.get_float_value()), - "micGlitchRate": lambda n : setattr(self, 'mic_glitch_rate', n.get_float_value()), + "initialSignalLevelRootMeanSquare": lambda n : setattr(self, 'initial_signal_level_root_mean_square', n.get_object_value(DeviceInfo_initialSignalLevelRootMeanSquare)), + "lowSpeechLevelEventRatio": lambda n : setattr(self, 'low_speech_level_event_ratio', n.get_object_value(DeviceInfo_lowSpeechLevelEventRatio)), + "lowSpeechToNoiseEventRatio": lambda n : setattr(self, 'low_speech_to_noise_event_ratio', n.get_object_value(DeviceInfo_lowSpeechToNoiseEventRatio)), + "micGlitchRate": lambda n : setattr(self, 'mic_glitch_rate', n.get_object_value(DeviceInfo_micGlitchRate)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "receivedNoiseLevel": lambda n : setattr(self, 'received_noise_level', n.get_int_value()), "receivedSignalLevel": lambda n : setattr(self, 'received_signal_level', n.get_int_value()), "renderDeviceDriver": lambda n : setattr(self, 'render_device_driver', n.get_str_value()), "renderDeviceName": lambda n : setattr(self, 'render_device_name', n.get_str_value()), - "renderMuteEventRatio": lambda n : setattr(self, 'render_mute_event_ratio', n.get_float_value()), - "renderNotFunctioningEventRatio": lambda n : setattr(self, 'render_not_functioning_event_ratio', n.get_float_value()), - "renderZeroVolumeEventRatio": lambda n : setattr(self, 'render_zero_volume_event_ratio', n.get_float_value()), + "renderMuteEventRatio": lambda n : setattr(self, 'render_mute_event_ratio', n.get_object_value(DeviceInfo_renderMuteEventRatio)), + "renderNotFunctioningEventRatio": lambda n : setattr(self, 'render_not_functioning_event_ratio', n.get_object_value(DeviceInfo_renderNotFunctioningEventRatio)), + "renderZeroVolumeEventRatio": lambda n : setattr(self, 'render_zero_volume_event_ratio', n.get_object_value(DeviceInfo_renderZeroVolumeEventRatio)), "sentNoiseLevel": lambda n : setattr(self, 'sent_noise_level', n.get_int_value()), "sentSignalLevel": lambda n : setattr(self, 'sent_signal_level', n.get_int_value()), - "speakerGlitchRate": lambda n : setattr(self, 'speaker_glitch_rate', n.get_float_value()), + "speakerGlitchRate": lambda n : setattr(self, 'speaker_glitch_rate', n.get_object_value(DeviceInfo_speakerGlitchRate)), } return fields @@ -108,26 +148,26 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") writer.write_str_value("captureDeviceDriver", self.capture_device_driver) writer.write_str_value("captureDeviceName", self.capture_device_name) - writer.write_float_value("captureNotFunctioningEventRatio", self.capture_not_functioning_event_ratio) - writer.write_float_value("cpuInsufficentEventRatio", self.cpu_insufficent_event_ratio) - writer.write_float_value("deviceClippingEventRatio", self.device_clipping_event_ratio) - writer.write_float_value("deviceGlitchEventRatio", self.device_glitch_event_ratio) + writer.write_object_value("captureNotFunctioningEventRatio", self.capture_not_functioning_event_ratio) + writer.write_object_value("cpuInsufficentEventRatio", self.cpu_insufficent_event_ratio) + writer.write_object_value("deviceClippingEventRatio", self.device_clipping_event_ratio) + writer.write_object_value("deviceGlitchEventRatio", self.device_glitch_event_ratio) writer.write_int_value("howlingEventCount", self.howling_event_count) - writer.write_float_value("initialSignalLevelRootMeanSquare", self.initial_signal_level_root_mean_square) - writer.write_float_value("lowSpeechLevelEventRatio", self.low_speech_level_event_ratio) - writer.write_float_value("lowSpeechToNoiseEventRatio", self.low_speech_to_noise_event_ratio) - writer.write_float_value("micGlitchRate", self.mic_glitch_rate) + writer.write_object_value("initialSignalLevelRootMeanSquare", self.initial_signal_level_root_mean_square) + writer.write_object_value("lowSpeechLevelEventRatio", self.low_speech_level_event_ratio) + writer.write_object_value("lowSpeechToNoiseEventRatio", self.low_speech_to_noise_event_ratio) + writer.write_object_value("micGlitchRate", self.mic_glitch_rate) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("receivedNoiseLevel", self.received_noise_level) writer.write_int_value("receivedSignalLevel", self.received_signal_level) writer.write_str_value("renderDeviceDriver", self.render_device_driver) writer.write_str_value("renderDeviceName", self.render_device_name) - writer.write_float_value("renderMuteEventRatio", self.render_mute_event_ratio) - writer.write_float_value("renderNotFunctioningEventRatio", self.render_not_functioning_event_ratio) - writer.write_float_value("renderZeroVolumeEventRatio", self.render_zero_volume_event_ratio) + writer.write_object_value("renderMuteEventRatio", self.render_mute_event_ratio) + writer.write_object_value("renderNotFunctioningEventRatio", self.render_not_functioning_event_ratio) + writer.write_object_value("renderZeroVolumeEventRatio", self.render_zero_volume_event_ratio) writer.write_int_value("sentNoiseLevel", self.sent_noise_level) writer.write_int_value("sentSignalLevel", self.sent_signal_level) - writer.write_float_value("speakerGlitchRate", self.speaker_glitch_rate) + writer.write_object_value("speakerGlitchRate", self.speaker_glitch_rate) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/call_records/device_info_capture_not_functioning_event_ratio.py b/msgraph/generated/models/call_records/device_info_capture_not_functioning_event_ratio.py new file mode 100644 index 00000000000..8f543a98813 --- /dev/null +++ b/msgraph/generated/models/call_records/device_info_capture_not_functioning_event_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class DeviceInfo_captureNotFunctioningEventRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceInfo_captureNotFunctioningEventRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceInfo_captureNotFunctioningEventRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceInfo_captureNotFunctioningEventRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/device_info_cpu_insufficent_event_ratio.py b/msgraph/generated/models/call_records/device_info_cpu_insufficent_event_ratio.py new file mode 100644 index 00000000000..275b1ff0286 --- /dev/null +++ b/msgraph/generated/models/call_records/device_info_cpu_insufficent_event_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class DeviceInfo_cpuInsufficentEventRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceInfo_cpuInsufficentEventRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceInfo_cpuInsufficentEventRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceInfo_cpuInsufficentEventRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/device_info_device_clipping_event_ratio.py b/msgraph/generated/models/call_records/device_info_device_clipping_event_ratio.py new file mode 100644 index 00000000000..8374a6929e8 --- /dev/null +++ b/msgraph/generated/models/call_records/device_info_device_clipping_event_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class DeviceInfo_deviceClippingEventRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceInfo_deviceClippingEventRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceInfo_deviceClippingEventRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceInfo_deviceClippingEventRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/device_info_device_glitch_event_ratio.py b/msgraph/generated/models/call_records/device_info_device_glitch_event_ratio.py new file mode 100644 index 00000000000..d7644892980 --- /dev/null +++ b/msgraph/generated/models/call_records/device_info_device_glitch_event_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class DeviceInfo_deviceGlitchEventRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceInfo_deviceGlitchEventRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceInfo_deviceGlitchEventRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceInfo_deviceGlitchEventRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/device_info_initial_signal_level_root_mean_square.py b/msgraph/generated/models/call_records/device_info_initial_signal_level_root_mean_square.py new file mode 100644 index 00000000000..6bc6175abed --- /dev/null +++ b/msgraph/generated/models/call_records/device_info_initial_signal_level_root_mean_square.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class DeviceInfo_initialSignalLevelRootMeanSquare(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceInfo_initialSignalLevelRootMeanSquare: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceInfo_initialSignalLevelRootMeanSquare + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceInfo_initialSignalLevelRootMeanSquare() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/device_info_low_speech_level_event_ratio.py b/msgraph/generated/models/call_records/device_info_low_speech_level_event_ratio.py new file mode 100644 index 00000000000..823d4be9157 --- /dev/null +++ b/msgraph/generated/models/call_records/device_info_low_speech_level_event_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class DeviceInfo_lowSpeechLevelEventRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceInfo_lowSpeechLevelEventRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceInfo_lowSpeechLevelEventRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceInfo_lowSpeechLevelEventRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/device_info_low_speech_to_noise_event_ratio.py b/msgraph/generated/models/call_records/device_info_low_speech_to_noise_event_ratio.py new file mode 100644 index 00000000000..27baf51b557 --- /dev/null +++ b/msgraph/generated/models/call_records/device_info_low_speech_to_noise_event_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class DeviceInfo_lowSpeechToNoiseEventRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceInfo_lowSpeechToNoiseEventRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceInfo_lowSpeechToNoiseEventRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceInfo_lowSpeechToNoiseEventRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/device_info_mic_glitch_rate.py b/msgraph/generated/models/call_records/device_info_mic_glitch_rate.py new file mode 100644 index 00000000000..c5187c49d49 --- /dev/null +++ b/msgraph/generated/models/call_records/device_info_mic_glitch_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class DeviceInfo_micGlitchRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceInfo_micGlitchRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceInfo_micGlitchRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceInfo_micGlitchRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/device_info_render_mute_event_ratio.py b/msgraph/generated/models/call_records/device_info_render_mute_event_ratio.py new file mode 100644 index 00000000000..dfd0af2df5c --- /dev/null +++ b/msgraph/generated/models/call_records/device_info_render_mute_event_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class DeviceInfo_renderMuteEventRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceInfo_renderMuteEventRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceInfo_renderMuteEventRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceInfo_renderMuteEventRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/device_info_render_not_functioning_event_ratio.py b/msgraph/generated/models/call_records/device_info_render_not_functioning_event_ratio.py new file mode 100644 index 00000000000..d49e7bd8085 --- /dev/null +++ b/msgraph/generated/models/call_records/device_info_render_not_functioning_event_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class DeviceInfo_renderNotFunctioningEventRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceInfo_renderNotFunctioningEventRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceInfo_renderNotFunctioningEventRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceInfo_renderNotFunctioningEventRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/device_info_render_zero_volume_event_ratio.py b/msgraph/generated/models/call_records/device_info_render_zero_volume_event_ratio.py new file mode 100644 index 00000000000..ecfe73318b1 --- /dev/null +++ b/msgraph/generated/models/call_records/device_info_render_zero_volume_event_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class DeviceInfo_renderZeroVolumeEventRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceInfo_renderZeroVolumeEventRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceInfo_renderZeroVolumeEventRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceInfo_renderZeroVolumeEventRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/device_info_speaker_glitch_rate.py b/msgraph/generated/models/call_records/device_info_speaker_glitch_rate.py new file mode 100644 index 00000000000..404b1d257fc --- /dev/null +++ b/msgraph/generated/models/call_records/device_info_speaker_glitch_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class DeviceInfo_speakerGlitchRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceInfo_speakerGlitchRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceInfo_speakerGlitchRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceInfo_speakerGlitchRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/media_stream.py b/msgraph/generated/models/call_records/media_stream.py index fe860b7be77..70edbc3e3c9 100644 --- a/msgraph/generated/models/call_records/media_stream.py +++ b/msgraph/generated/models/call_records/media_stream.py @@ -7,7 +7,19 @@ if TYPE_CHECKING: from .audio_codec import AudioCodec + from .media_stream_average_audio_degradation import MediaStream_averageAudioDegradation + from .media_stream_average_packet_loss_rate import MediaStream_averagePacketLossRate + from .media_stream_average_ratio_of_concealed_samples import MediaStream_averageRatioOfConcealedSamples + from .media_stream_average_received_frame_rate import MediaStream_averageReceivedFrameRate + from .media_stream_average_video_frame_loss_percentage import MediaStream_averageVideoFrameLossPercentage + from .media_stream_average_video_frame_rate import MediaStream_averageVideoFrameRate + from .media_stream_average_video_packet_loss_rate import MediaStream_averageVideoPacketLossRate from .media_stream_direction import MediaStreamDirection + from .media_stream_low_frame_rate_ratio import MediaStream_lowFrameRateRatio + from .media_stream_low_video_processing_capability_ratio import MediaStream_lowVideoProcessingCapabilityRatio + from .media_stream_max_packet_loss_rate import MediaStream_maxPacketLossRate + from .media_stream_max_ratio_of_concealed_samples import MediaStream_maxRatioOfConcealedSamples + from .media_stream_post_forward_error_correction_packet_loss_rate import MediaStream_postForwardErrorCorrectionPacketLossRate from .video_codec import VideoCodec @dataclass @@ -20,7 +32,7 @@ class MediaStream(AdditionalDataHolder, BackedModel, Parsable): # Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue. audio_codec: Optional[AudioCodec] = None # Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio. - average_audio_degradation: Optional[float] = None + average_audio_degradation: Optional[MediaStream_averageAudioDegradation] = None # Average jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. average_audio_network_jitter: Optional[datetime.timedelta] = None # Average estimated bandwidth available between two endpoints in bits per second. @@ -30,35 +42,35 @@ class MediaStream(AdditionalDataHolder, BackedModel, Parsable): # Average jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. average_jitter: Optional[datetime.timedelta] = None # Average packet loss rate for stream. - average_packet_loss_rate: Optional[float] = None + average_packet_loss_rate: Optional[MediaStream_averagePacketLossRate] = None # Ratio of the number of audio frames with samples generated by packet loss concealment to the total number of audio frames. - average_ratio_of_concealed_samples: Optional[float] = None + average_ratio_of_concealed_samples: Optional[MediaStream_averageRatioOfConcealedSamples] = None # Average frames per second received for all video streams computed over the duration of the session. - average_received_frame_rate: Optional[float] = None + average_received_frame_rate: Optional[MediaStream_averageReceivedFrameRate] = None # Average network propagation round-trip time computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. average_round_trip_time: Optional[datetime.timedelta] = None # Average percentage of video frames lost as displayed to the user. - average_video_frame_loss_percentage: Optional[float] = None + average_video_frame_loss_percentage: Optional[MediaStream_averageVideoFrameLossPercentage] = None # Average frames per second received for a video stream, computed over the duration of the session. - average_video_frame_rate: Optional[float] = None + average_video_frame_rate: Optional[MediaStream_averageVideoFrameRate] = None # Average fraction of packets lost, as specified in RFC 3550, computed over the duration of the session. - average_video_packet_loss_rate: Optional[float] = None + average_video_packet_loss_rate: Optional[MediaStream_averageVideoPacketLossRate] = None # UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol. end_date_time: Optional[datetime.datetime] = None # Indicates whether the forward error correction (FEC) was used at some point during the session. The default value is null. is_audio_forward_error_correction_used: Optional[bool] = None # Fraction of the call where frame rate is less than 7.5 frames per second. - low_frame_rate_ratio: Optional[float] = None + low_frame_rate_ratio: Optional[MediaStream_lowFrameRateRatio] = None # Fraction of the call that the client is running less than 70% expected video processing capability. - low_video_processing_capability_ratio: Optional[float] = None + low_video_processing_capability_ratio: Optional[MediaStream_lowVideoProcessingCapabilityRatio] = None # Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. max_audio_network_jitter: Optional[datetime.timedelta] = None # Maximum jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. max_jitter: Optional[datetime.timedelta] = None # Maximum packet loss rate for the stream. - max_packet_loss_rate: Optional[float] = None + max_packet_loss_rate: Optional[MediaStream_maxPacketLossRate] = None # Maximum ratio of packets concealed by the healer. - max_ratio_of_concealed_samples: Optional[float] = None + max_ratio_of_concealed_samples: Optional[MediaStream_maxRatioOfConcealedSamples] = None # Maximum network propagation round-trip time computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. max_round_trip_time: Optional[datetime.timedelta] = None # The OdataType property @@ -66,7 +78,7 @@ class MediaStream(AdditionalDataHolder, BackedModel, Parsable): # Packet count for the stream. packet_utilization: Optional[int] = None # Packet loss rate after FEC has been applied aggregated across all video streams and codecs. - post_forward_error_correction_packet_loss_rate: Optional[float] = None + post_forward_error_correction_packet_loss_rate: Optional[MediaStream_postForwardErrorCorrectionPacketLossRate] = None # Average duration of the received freezing time in the video stream represented in root mean square. rms_freeze_duration: Optional[datetime.timedelta] = None # UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol. @@ -97,39 +109,63 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .audio_codec import AudioCodec + from .media_stream_average_audio_degradation import MediaStream_averageAudioDegradation + from .media_stream_average_packet_loss_rate import MediaStream_averagePacketLossRate + from .media_stream_average_ratio_of_concealed_samples import MediaStream_averageRatioOfConcealedSamples + from .media_stream_average_received_frame_rate import MediaStream_averageReceivedFrameRate + from .media_stream_average_video_frame_loss_percentage import MediaStream_averageVideoFrameLossPercentage + from .media_stream_average_video_frame_rate import MediaStream_averageVideoFrameRate + from .media_stream_average_video_packet_loss_rate import MediaStream_averageVideoPacketLossRate from .media_stream_direction import MediaStreamDirection + from .media_stream_low_frame_rate_ratio import MediaStream_lowFrameRateRatio + from .media_stream_low_video_processing_capability_ratio import MediaStream_lowVideoProcessingCapabilityRatio + from .media_stream_max_packet_loss_rate import MediaStream_maxPacketLossRate + from .media_stream_max_ratio_of_concealed_samples import MediaStream_maxRatioOfConcealedSamples + from .media_stream_post_forward_error_correction_packet_loss_rate import MediaStream_postForwardErrorCorrectionPacketLossRate from .video_codec import VideoCodec from .audio_codec import AudioCodec + from .media_stream_average_audio_degradation import MediaStream_averageAudioDegradation + from .media_stream_average_packet_loss_rate import MediaStream_averagePacketLossRate + from .media_stream_average_ratio_of_concealed_samples import MediaStream_averageRatioOfConcealedSamples + from .media_stream_average_received_frame_rate import MediaStream_averageReceivedFrameRate + from .media_stream_average_video_frame_loss_percentage import MediaStream_averageVideoFrameLossPercentage + from .media_stream_average_video_frame_rate import MediaStream_averageVideoFrameRate + from .media_stream_average_video_packet_loss_rate import MediaStream_averageVideoPacketLossRate from .media_stream_direction import MediaStreamDirection + from .media_stream_low_frame_rate_ratio import MediaStream_lowFrameRateRatio + from .media_stream_low_video_processing_capability_ratio import MediaStream_lowVideoProcessingCapabilityRatio + from .media_stream_max_packet_loss_rate import MediaStream_maxPacketLossRate + from .media_stream_max_ratio_of_concealed_samples import MediaStream_maxRatioOfConcealedSamples + from .media_stream_post_forward_error_correction_packet_loss_rate import MediaStream_postForwardErrorCorrectionPacketLossRate from .video_codec import VideoCodec fields: Dict[str, Callable[[Any], None]] = { "audioCodec": lambda n : setattr(self, 'audio_codec', n.get_enum_value(AudioCodec)), - "averageAudioDegradation": lambda n : setattr(self, 'average_audio_degradation', n.get_float_value()), + "averageAudioDegradation": lambda n : setattr(self, 'average_audio_degradation', n.get_object_value(MediaStream_averageAudioDegradation)), "averageAudioNetworkJitter": lambda n : setattr(self, 'average_audio_network_jitter', n.get_timedelta_value()), "averageBandwidthEstimate": lambda n : setattr(self, 'average_bandwidth_estimate', n.get_int_value()), "averageFreezeDuration": lambda n : setattr(self, 'average_freeze_duration', n.get_timedelta_value()), "averageJitter": lambda n : setattr(self, 'average_jitter', n.get_timedelta_value()), - "averagePacketLossRate": lambda n : setattr(self, 'average_packet_loss_rate', n.get_float_value()), - "averageRatioOfConcealedSamples": lambda n : setattr(self, 'average_ratio_of_concealed_samples', n.get_float_value()), - "averageReceivedFrameRate": lambda n : setattr(self, 'average_received_frame_rate', n.get_float_value()), + "averagePacketLossRate": lambda n : setattr(self, 'average_packet_loss_rate', n.get_object_value(MediaStream_averagePacketLossRate)), + "averageRatioOfConcealedSamples": lambda n : setattr(self, 'average_ratio_of_concealed_samples', n.get_object_value(MediaStream_averageRatioOfConcealedSamples)), + "averageReceivedFrameRate": lambda n : setattr(self, 'average_received_frame_rate', n.get_object_value(MediaStream_averageReceivedFrameRate)), "averageRoundTripTime": lambda n : setattr(self, 'average_round_trip_time', n.get_timedelta_value()), - "averageVideoFrameLossPercentage": lambda n : setattr(self, 'average_video_frame_loss_percentage', n.get_float_value()), - "averageVideoFrameRate": lambda n : setattr(self, 'average_video_frame_rate', n.get_float_value()), - "averageVideoPacketLossRate": lambda n : setattr(self, 'average_video_packet_loss_rate', n.get_float_value()), + "averageVideoFrameLossPercentage": lambda n : setattr(self, 'average_video_frame_loss_percentage', n.get_object_value(MediaStream_averageVideoFrameLossPercentage)), + "averageVideoFrameRate": lambda n : setattr(self, 'average_video_frame_rate', n.get_object_value(MediaStream_averageVideoFrameRate)), + "averageVideoPacketLossRate": lambda n : setattr(self, 'average_video_packet_loss_rate', n.get_object_value(MediaStream_averageVideoPacketLossRate)), "endDateTime": lambda n : setattr(self, 'end_date_time', n.get_datetime_value()), "isAudioForwardErrorCorrectionUsed": lambda n : setattr(self, 'is_audio_forward_error_correction_used', n.get_bool_value()), - "lowFrameRateRatio": lambda n : setattr(self, 'low_frame_rate_ratio', n.get_float_value()), - "lowVideoProcessingCapabilityRatio": lambda n : setattr(self, 'low_video_processing_capability_ratio', n.get_float_value()), + "lowFrameRateRatio": lambda n : setattr(self, 'low_frame_rate_ratio', n.get_object_value(MediaStream_lowFrameRateRatio)), + "lowVideoProcessingCapabilityRatio": lambda n : setattr(self, 'low_video_processing_capability_ratio', n.get_object_value(MediaStream_lowVideoProcessingCapabilityRatio)), "maxAudioNetworkJitter": lambda n : setattr(self, 'max_audio_network_jitter', n.get_timedelta_value()), "maxJitter": lambda n : setattr(self, 'max_jitter', n.get_timedelta_value()), - "maxPacketLossRate": lambda n : setattr(self, 'max_packet_loss_rate', n.get_float_value()), - "maxRatioOfConcealedSamples": lambda n : setattr(self, 'max_ratio_of_concealed_samples', n.get_float_value()), + "maxPacketLossRate": lambda n : setattr(self, 'max_packet_loss_rate', n.get_object_value(MediaStream_maxPacketLossRate)), + "maxRatioOfConcealedSamples": lambda n : setattr(self, 'max_ratio_of_concealed_samples', n.get_object_value(MediaStream_maxRatioOfConcealedSamples)), "maxRoundTripTime": lambda n : setattr(self, 'max_round_trip_time', n.get_timedelta_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "packetUtilization": lambda n : setattr(self, 'packet_utilization', n.get_int_value()), - "postForwardErrorCorrectionPacketLossRate": lambda n : setattr(self, 'post_forward_error_correction_packet_loss_rate', n.get_float_value()), + "postForwardErrorCorrectionPacketLossRate": lambda n : setattr(self, 'post_forward_error_correction_packet_loss_rate', n.get_object_value(MediaStream_postForwardErrorCorrectionPacketLossRate)), "rmsFreezeDuration": lambda n : setattr(self, 'rms_freeze_duration', n.get_timedelta_value()), "startDateTime": lambda n : setattr(self, 'start_date_time', n.get_datetime_value()), "streamDirection": lambda n : setattr(self, 'stream_direction', n.get_enum_value(MediaStreamDirection)), @@ -148,30 +184,30 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") writer.write_enum_value("audioCodec", self.audio_codec) - writer.write_float_value("averageAudioDegradation", self.average_audio_degradation) + writer.write_object_value("averageAudioDegradation", self.average_audio_degradation) writer.write_timedelta_value("averageAudioNetworkJitter", self.average_audio_network_jitter) writer.write_int_value("averageBandwidthEstimate", self.average_bandwidth_estimate) writer.write_timedelta_value("averageFreezeDuration", self.average_freeze_duration) writer.write_timedelta_value("averageJitter", self.average_jitter) - writer.write_float_value("averagePacketLossRate", self.average_packet_loss_rate) - writer.write_float_value("averageRatioOfConcealedSamples", self.average_ratio_of_concealed_samples) - writer.write_float_value("averageReceivedFrameRate", self.average_received_frame_rate) + writer.write_object_value("averagePacketLossRate", self.average_packet_loss_rate) + writer.write_object_value("averageRatioOfConcealedSamples", self.average_ratio_of_concealed_samples) + writer.write_object_value("averageReceivedFrameRate", self.average_received_frame_rate) writer.write_timedelta_value("averageRoundTripTime", self.average_round_trip_time) - writer.write_float_value("averageVideoFrameLossPercentage", self.average_video_frame_loss_percentage) - writer.write_float_value("averageVideoFrameRate", self.average_video_frame_rate) - writer.write_float_value("averageVideoPacketLossRate", self.average_video_packet_loss_rate) + writer.write_object_value("averageVideoFrameLossPercentage", self.average_video_frame_loss_percentage) + writer.write_object_value("averageVideoFrameRate", self.average_video_frame_rate) + writer.write_object_value("averageVideoPacketLossRate", self.average_video_packet_loss_rate) writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_bool_value("isAudioForwardErrorCorrectionUsed", self.is_audio_forward_error_correction_used) - writer.write_float_value("lowFrameRateRatio", self.low_frame_rate_ratio) - writer.write_float_value("lowVideoProcessingCapabilityRatio", self.low_video_processing_capability_ratio) + writer.write_object_value("lowFrameRateRatio", self.low_frame_rate_ratio) + writer.write_object_value("lowVideoProcessingCapabilityRatio", self.low_video_processing_capability_ratio) writer.write_timedelta_value("maxAudioNetworkJitter", self.max_audio_network_jitter) writer.write_timedelta_value("maxJitter", self.max_jitter) - writer.write_float_value("maxPacketLossRate", self.max_packet_loss_rate) - writer.write_float_value("maxRatioOfConcealedSamples", self.max_ratio_of_concealed_samples) + writer.write_object_value("maxPacketLossRate", self.max_packet_loss_rate) + writer.write_object_value("maxRatioOfConcealedSamples", self.max_ratio_of_concealed_samples) writer.write_timedelta_value("maxRoundTripTime", self.max_round_trip_time) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("packetUtilization", self.packet_utilization) - writer.write_float_value("postForwardErrorCorrectionPacketLossRate", self.post_forward_error_correction_packet_loss_rate) + writer.write_object_value("postForwardErrorCorrectionPacketLossRate", self.post_forward_error_correction_packet_loss_rate) writer.write_timedelta_value("rmsFreezeDuration", self.rms_freeze_duration) writer.write_datetime_value("startDateTime", self.start_date_time) writer.write_enum_value("streamDirection", self.stream_direction) diff --git a/msgraph/generated/models/call_records/media_stream_average_audio_degradation.py b/msgraph/generated/models/call_records/media_stream_average_audio_degradation.py new file mode 100644 index 00000000000..53e996993c2 --- /dev/null +++ b/msgraph/generated/models/call_records/media_stream_average_audio_degradation.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class MediaStream_averageAudioDegradation(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MediaStream_averageAudioDegradation: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: MediaStream_averageAudioDegradation + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = MediaStream_averageAudioDegradation() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/media_stream_average_packet_loss_rate.py b/msgraph/generated/models/call_records/media_stream_average_packet_loss_rate.py new file mode 100644 index 00000000000..9e1aef98544 --- /dev/null +++ b/msgraph/generated/models/call_records/media_stream_average_packet_loss_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class MediaStream_averagePacketLossRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MediaStream_averagePacketLossRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: MediaStream_averagePacketLossRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = MediaStream_averagePacketLossRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/media_stream_average_ratio_of_concealed_samples.py b/msgraph/generated/models/call_records/media_stream_average_ratio_of_concealed_samples.py new file mode 100644 index 00000000000..32f0f66cec0 --- /dev/null +++ b/msgraph/generated/models/call_records/media_stream_average_ratio_of_concealed_samples.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class MediaStream_averageRatioOfConcealedSamples(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MediaStream_averageRatioOfConcealedSamples: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: MediaStream_averageRatioOfConcealedSamples + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = MediaStream_averageRatioOfConcealedSamples() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/media_stream_average_received_frame_rate.py b/msgraph/generated/models/call_records/media_stream_average_received_frame_rate.py new file mode 100644 index 00000000000..8d94165e4ef --- /dev/null +++ b/msgraph/generated/models/call_records/media_stream_average_received_frame_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class MediaStream_averageReceivedFrameRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MediaStream_averageReceivedFrameRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: MediaStream_averageReceivedFrameRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = MediaStream_averageReceivedFrameRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/media_stream_average_video_frame_loss_percentage.py b/msgraph/generated/models/call_records/media_stream_average_video_frame_loss_percentage.py new file mode 100644 index 00000000000..f18178fc99f --- /dev/null +++ b/msgraph/generated/models/call_records/media_stream_average_video_frame_loss_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class MediaStream_averageVideoFrameLossPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MediaStream_averageVideoFrameLossPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: MediaStream_averageVideoFrameLossPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = MediaStream_averageVideoFrameLossPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/media_stream_average_video_frame_rate.py b/msgraph/generated/models/call_records/media_stream_average_video_frame_rate.py new file mode 100644 index 00000000000..0ce595dce12 --- /dev/null +++ b/msgraph/generated/models/call_records/media_stream_average_video_frame_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class MediaStream_averageVideoFrameRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MediaStream_averageVideoFrameRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: MediaStream_averageVideoFrameRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = MediaStream_averageVideoFrameRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/media_stream_average_video_packet_loss_rate.py b/msgraph/generated/models/call_records/media_stream_average_video_packet_loss_rate.py new file mode 100644 index 00000000000..a8aab06699f --- /dev/null +++ b/msgraph/generated/models/call_records/media_stream_average_video_packet_loss_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class MediaStream_averageVideoPacketLossRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MediaStream_averageVideoPacketLossRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: MediaStream_averageVideoPacketLossRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = MediaStream_averageVideoPacketLossRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/media_stream_low_frame_rate_ratio.py b/msgraph/generated/models/call_records/media_stream_low_frame_rate_ratio.py new file mode 100644 index 00000000000..71e81d29c5c --- /dev/null +++ b/msgraph/generated/models/call_records/media_stream_low_frame_rate_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class MediaStream_lowFrameRateRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MediaStream_lowFrameRateRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: MediaStream_lowFrameRateRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = MediaStream_lowFrameRateRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/media_stream_low_video_processing_capability_ratio.py b/msgraph/generated/models/call_records/media_stream_low_video_processing_capability_ratio.py new file mode 100644 index 00000000000..081ade0187f --- /dev/null +++ b/msgraph/generated/models/call_records/media_stream_low_video_processing_capability_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class MediaStream_lowVideoProcessingCapabilityRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MediaStream_lowVideoProcessingCapabilityRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: MediaStream_lowVideoProcessingCapabilityRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = MediaStream_lowVideoProcessingCapabilityRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/media_stream_max_packet_loss_rate.py b/msgraph/generated/models/call_records/media_stream_max_packet_loss_rate.py new file mode 100644 index 00000000000..7b5e333af7a --- /dev/null +++ b/msgraph/generated/models/call_records/media_stream_max_packet_loss_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class MediaStream_maxPacketLossRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MediaStream_maxPacketLossRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: MediaStream_maxPacketLossRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = MediaStream_maxPacketLossRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/media_stream_max_ratio_of_concealed_samples.py b/msgraph/generated/models/call_records/media_stream_max_ratio_of_concealed_samples.py new file mode 100644 index 00000000000..ce1d4cbbb71 --- /dev/null +++ b/msgraph/generated/models/call_records/media_stream_max_ratio_of_concealed_samples.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class MediaStream_maxRatioOfConcealedSamples(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MediaStream_maxRatioOfConcealedSamples: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: MediaStream_maxRatioOfConcealedSamples + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = MediaStream_maxRatioOfConcealedSamples() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/media_stream_post_forward_error_correction_packet_loss_rate.py b/msgraph/generated/models/call_records/media_stream_post_forward_error_correction_packet_loss_rate.py new file mode 100644 index 00000000000..befd516e8fd --- /dev/null +++ b/msgraph/generated/models/call_records/media_stream_post_forward_error_correction_packet_loss_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class MediaStream_postForwardErrorCorrectionPacketLossRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MediaStream_postForwardErrorCorrectionPacketLossRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: MediaStream_postForwardErrorCorrectionPacketLossRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = MediaStream_postForwardErrorCorrectionPacketLossRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/network_info.py b/msgraph/generated/models/call_records/network_info.py index ffcae7cb3e9..18d8e95cea8 100644 --- a/msgraph/generated/models/call_records/network_info.py +++ b/msgraph/generated/models/call_records/network_info.py @@ -6,6 +6,10 @@ if TYPE_CHECKING: from .network_connection_type import NetworkConnectionType + from .network_info_bandwidth_low_event_ratio import NetworkInfo_bandwidthLowEventRatio + from .network_info_delay_event_ratio import NetworkInfo_delayEventRatio + from .network_info_received_quality_event_ratio import NetworkInfo_receivedQualityEventRatio + from .network_info_sent_quality_event_ratio import NetworkInfo_sentQualityEventRatio from .network_transport_protocol import NetworkTransportProtocol from .trace_route_hop import TraceRouteHop from .wifi_band import WifiBand @@ -19,13 +23,13 @@ class NetworkInfo(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) # 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. - bandwidth_low_event_ratio: Optional[float] = None + bandwidth_low_event_ratio: Optional[NetworkInfo_bandwidthLowEventRatio] = None # The wireless LAN basic service set identifier of the media endpoint used to connect to the network. basic_service_set_identifier: Optional[str] = None # The connectionType property connection_type: Optional[NetworkConnectionType] = None # 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. - delay_event_ratio: Optional[float] = None + delay_event_ratio: Optional[NetworkInfo_delayEventRatio] = None # DNS suffix associated with the network adapter of the media endpoint. dns_suffix: Optional[str] = None # IP address of the media endpoint. @@ -41,7 +45,7 @@ class NetworkInfo(AdditionalDataHolder, BackedModel, Parsable): # Network port number used by media endpoint. port: Optional[int] = None # Fraction of the call that the media endpoint detected the network was causing poor quality of the audio received. - received_quality_event_ratio: Optional[float] = None + received_quality_event_ratio: Optional[NetworkInfo_receivedQualityEventRatio] = None # IP address of the media endpoint as seen by the media relay server. This is typically the public internet IP address associated to the endpoint. reflexive_i_p_address: Optional[str] = None # IP address of the media relay server allocated by the media endpoint. @@ -49,7 +53,7 @@ class NetworkInfo(AdditionalDataHolder, BackedModel, Parsable): # Network port number allocated on the media relay server by the media endpoint. relay_port: Optional[int] = None # Fraction of the call that the media endpoint detected the network was causing poor quality of the audio sent. - sent_quality_event_ratio: Optional[float] = None + sent_quality_event_ratio: Optional[NetworkInfo_sentQualityEventRatio] = None # Subnet used for media stream by the media endpoint. subnet: Optional[str] = None # List of network trace route hops collected for this media stream.* @@ -90,22 +94,30 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .network_connection_type import NetworkConnectionType + from .network_info_bandwidth_low_event_ratio import NetworkInfo_bandwidthLowEventRatio + from .network_info_delay_event_ratio import NetworkInfo_delayEventRatio + from .network_info_received_quality_event_ratio import NetworkInfo_receivedQualityEventRatio + from .network_info_sent_quality_event_ratio import NetworkInfo_sentQualityEventRatio from .network_transport_protocol import NetworkTransportProtocol from .trace_route_hop import TraceRouteHop from .wifi_band import WifiBand from .wifi_radio_type import WifiRadioType from .network_connection_type import NetworkConnectionType + from .network_info_bandwidth_low_event_ratio import NetworkInfo_bandwidthLowEventRatio + from .network_info_delay_event_ratio import NetworkInfo_delayEventRatio + from .network_info_received_quality_event_ratio import NetworkInfo_receivedQualityEventRatio + from .network_info_sent_quality_event_ratio import NetworkInfo_sentQualityEventRatio from .network_transport_protocol import NetworkTransportProtocol from .trace_route_hop import TraceRouteHop from .wifi_band import WifiBand from .wifi_radio_type import WifiRadioType fields: Dict[str, Callable[[Any], None]] = { - "bandwidthLowEventRatio": lambda n : setattr(self, 'bandwidth_low_event_ratio', n.get_float_value()), + "bandwidthLowEventRatio": lambda n : setattr(self, 'bandwidth_low_event_ratio', n.get_object_value(NetworkInfo_bandwidthLowEventRatio)), "basicServiceSetIdentifier": lambda n : setattr(self, 'basic_service_set_identifier', n.get_str_value()), "connectionType": lambda n : setattr(self, 'connection_type', n.get_enum_value(NetworkConnectionType)), - "delayEventRatio": lambda n : setattr(self, 'delay_event_ratio', n.get_float_value()), + "delayEventRatio": lambda n : setattr(self, 'delay_event_ratio', n.get_object_value(NetworkInfo_delayEventRatio)), "dnsSuffix": lambda n : setattr(self, 'dns_suffix', n.get_str_value()), "ipAddress": lambda n : setattr(self, 'ip_address', n.get_str_value()), "linkSpeed": lambda n : setattr(self, 'link_speed', n.get_int_value()), @@ -113,11 +125,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "networkTransportProtocol": lambda n : setattr(self, 'network_transport_protocol', n.get_enum_value(NetworkTransportProtocol)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "port": lambda n : setattr(self, 'port', n.get_int_value()), - "receivedQualityEventRatio": lambda n : setattr(self, 'received_quality_event_ratio', n.get_float_value()), + "receivedQualityEventRatio": lambda n : setattr(self, 'received_quality_event_ratio', n.get_object_value(NetworkInfo_receivedQualityEventRatio)), "reflexiveIPAddress": lambda n : setattr(self, 'reflexive_i_p_address', n.get_str_value()), "relayIPAddress": lambda n : setattr(self, 'relay_i_p_address', n.get_str_value()), "relayPort": lambda n : setattr(self, 'relay_port', n.get_int_value()), - "sentQualityEventRatio": lambda n : setattr(self, 'sent_quality_event_ratio', n.get_float_value()), + "sentQualityEventRatio": lambda n : setattr(self, 'sent_quality_event_ratio', n.get_object_value(NetworkInfo_sentQualityEventRatio)), "subnet": lambda n : setattr(self, 'subnet', n.get_str_value()), "traceRouteHops": lambda n : setattr(self, 'trace_route_hops', n.get_collection_of_object_values(TraceRouteHop)), "wifiBand": lambda n : setattr(self, 'wifi_band', n.get_enum_value(WifiBand)), @@ -140,10 +152,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_float_value("bandwidthLowEventRatio", self.bandwidth_low_event_ratio) + writer.write_object_value("bandwidthLowEventRatio", self.bandwidth_low_event_ratio) writer.write_str_value("basicServiceSetIdentifier", self.basic_service_set_identifier) writer.write_enum_value("connectionType", self.connection_type) - writer.write_float_value("delayEventRatio", self.delay_event_ratio) + writer.write_object_value("delayEventRatio", self.delay_event_ratio) writer.write_str_value("dnsSuffix", self.dns_suffix) writer.write_str_value("ipAddress", self.ip_address) writer.write_int_value("linkSpeed", self.link_speed) @@ -151,11 +163,11 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_enum_value("networkTransportProtocol", self.network_transport_protocol) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("port", self.port) - writer.write_float_value("receivedQualityEventRatio", self.received_quality_event_ratio) + writer.write_object_value("receivedQualityEventRatio", self.received_quality_event_ratio) writer.write_str_value("reflexiveIPAddress", self.reflexive_i_p_address) writer.write_str_value("relayIPAddress", self.relay_i_p_address) writer.write_int_value("relayPort", self.relay_port) - writer.write_float_value("sentQualityEventRatio", self.sent_quality_event_ratio) + writer.write_object_value("sentQualityEventRatio", self.sent_quality_event_ratio) writer.write_str_value("subnet", self.subnet) writer.write_collection_of_object_values("traceRouteHops", self.trace_route_hops) writer.write_enum_value("wifiBand", self.wifi_band) diff --git a/msgraph/generated/models/call_records/network_info_bandwidth_low_event_ratio.py b/msgraph/generated/models/call_records/network_info_bandwidth_low_event_ratio.py new file mode 100644 index 00000000000..f95b88bc1ff --- /dev/null +++ b/msgraph/generated/models/call_records/network_info_bandwidth_low_event_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class NetworkInfo_bandwidthLowEventRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> NetworkInfo_bandwidthLowEventRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: NetworkInfo_bandwidthLowEventRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = NetworkInfo_bandwidthLowEventRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/network_info_delay_event_ratio.py b/msgraph/generated/models/call_records/network_info_delay_event_ratio.py new file mode 100644 index 00000000000..f2232393eac --- /dev/null +++ b/msgraph/generated/models/call_records/network_info_delay_event_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class NetworkInfo_delayEventRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> NetworkInfo_delayEventRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: NetworkInfo_delayEventRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = NetworkInfo_delayEventRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/network_info_received_quality_event_ratio.py b/msgraph/generated/models/call_records/network_info_received_quality_event_ratio.py new file mode 100644 index 00000000000..385131568a0 --- /dev/null +++ b/msgraph/generated/models/call_records/network_info_received_quality_event_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class NetworkInfo_receivedQualityEventRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> NetworkInfo_receivedQualityEventRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: NetworkInfo_receivedQualityEventRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = NetworkInfo_receivedQualityEventRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/call_records/network_info_sent_quality_event_ratio.py b/msgraph/generated/models/call_records/network_info_sent_quality_event_ratio.py new file mode 100644 index 00000000000..7148ac0cba0 --- /dev/null +++ b/msgraph/generated/models/call_records/network_info_sent_quality_event_ratio.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class NetworkInfo_sentQualityEventRatio(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> NetworkInfo_sentQualityEventRatio: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: NetworkInfo_sentQualityEventRatio + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = NetworkInfo_sentQualityEventRatio() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/control_score.py b/msgraph/generated/models/control_score.py index da70edf6479..a86b0c904cd 100644 --- a/msgraph/generated/models/control_score.py +++ b/msgraph/generated/models/control_score.py @@ -4,6 +4,9 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .control_score_score import ControlScore_score + @dataclass class ControlScore(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -20,7 +23,7 @@ class ControlScore(AdditionalDataHolder, BackedModel, Parsable): # The OdataType property odata_type: Optional[str] = None # Tenant achieved score for the control (it varies day by day depending on tenant operations on the control). - score: Optional[float] = None + score: Optional[ControlScore_score] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> ControlScore: @@ -38,12 +41,16 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .control_score_score import ControlScore_score + + from .control_score_score import ControlScore_score + fields: Dict[str, Callable[[Any], None]] = { "controlCategory": lambda n : setattr(self, 'control_category', n.get_str_value()), "controlName": lambda n : setattr(self, 'control_name', n.get_str_value()), "description": lambda n : setattr(self, 'description', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), - "score": lambda n : setattr(self, 'score', n.get_float_value()), + "score": lambda n : setattr(self, 'score', n.get_object_value(ControlScore_score)), } return fields @@ -59,7 +66,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("controlName", self.control_name) writer.write_str_value("description", self.description) writer.write_str_value("@odata.type", self.odata_type) - writer.write_float_value("score", self.score) + writer.write_object_value("score", self.score) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/control_score_score.py b/msgraph/generated/models/control_score_score.py new file mode 100644 index 00000000000..19d55a8a39c --- /dev/null +++ b/msgraph/generated/models/control_score_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class ControlScore_score(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ControlScore_score: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ControlScore_score + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = ControlScore_score() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/data_policy_operation.py b/msgraph/generated/models/data_policy_operation.py index 27128e9a7af..db4aef5e832 100644 --- a/msgraph/generated/models/data_policy_operation.py +++ b/msgraph/generated/models/data_policy_operation.py @@ -5,6 +5,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .data_policy_operation_progress import DataPolicyOperation_progress from .data_policy_operation_status import DataPolicyOperationStatus from .entity import Entity @@ -17,7 +18,7 @@ class DataPolicyOperation(Entity): # The OdataType property odata_type: Optional[str] = None # Specifies the progress of an operation. - progress: Optional[float] = None + progress: Optional[DataPolicyOperation_progress] = None # Possible values are: notStarted, running, complete, failed, unknownFutureValue. status: Optional[DataPolicyOperationStatus] = None # The URL location to where data is being exported for export requests. @@ -43,15 +44,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .data_policy_operation_progress import DataPolicyOperation_progress from .data_policy_operation_status import DataPolicyOperationStatus from .entity import Entity + from .data_policy_operation_progress import DataPolicyOperation_progress from .data_policy_operation_status import DataPolicyOperationStatus from .entity import Entity fields: Dict[str, Callable[[Any], None]] = { "completedDateTime": lambda n : setattr(self, 'completed_date_time', n.get_datetime_value()), - "progress": lambda n : setattr(self, 'progress', n.get_float_value()), + "progress": lambda n : setattr(self, 'progress', n.get_object_value(DataPolicyOperation_progress)), "status": lambda n : setattr(self, 'status', n.get_enum_value(DataPolicyOperationStatus)), "storageLocation": lambda n : setattr(self, 'storage_location', n.get_str_value()), "submittedDateTime": lambda n : setattr(self, 'submitted_date_time', n.get_datetime_value()), @@ -71,7 +74,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_datetime_value("completedDateTime", self.completed_date_time) - writer.write_float_value("progress", self.progress) + writer.write_object_value("progress", self.progress) writer.write_enum_value("status", self.status) writer.write_str_value("storageLocation", self.storage_location) writer.write_datetime_value("submittedDateTime", self.submitted_date_time) diff --git a/msgraph/generated/models/data_policy_operation_progress.py b/msgraph/generated/models/data_policy_operation_progress.py new file mode 100644 index 00000000000..85e72fa4a8d --- /dev/null +++ b/msgraph/generated/models/data_policy_operation_progress.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class DataPolicyOperation_progress(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DataPolicyOperation_progress: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DataPolicyOperation_progress + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DataPolicyOperation_progress() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/device_geo_location.py b/msgraph/generated/models/device_geo_location.py index 12ddc41d2f5..67e1df9417e 100644 --- a/msgraph/generated/models/device_geo_location.py +++ b/msgraph/generated/models/device_geo_location.py @@ -5,6 +5,15 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .device_geo_location_altitude import DeviceGeoLocation_altitude + from .device_geo_location_heading import DeviceGeoLocation_heading + from .device_geo_location_horizontal_accuracy import DeviceGeoLocation_horizontalAccuracy + from .device_geo_location_latitude import DeviceGeoLocation_latitude + from .device_geo_location_longitude import DeviceGeoLocation_longitude + from .device_geo_location_speed import DeviceGeoLocation_speed + from .device_geo_location_vertical_accuracy import DeviceGeoLocation_verticalAccuracy + @dataclass class DeviceGeoLocation(AdditionalDataHolder, BackedModel, Parsable): """ @@ -16,23 +25,23 @@ class DeviceGeoLocation(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) # Altitude, given in meters above sea level - altitude: Optional[float] = None + altitude: Optional[DeviceGeoLocation_altitude] = None # Heading in degrees from true north - heading: Optional[float] = None + heading: Optional[DeviceGeoLocation_heading] = None # Accuracy of longitude and latitude in meters - horizontal_accuracy: Optional[float] = None + horizontal_accuracy: Optional[DeviceGeoLocation_horizontalAccuracy] = None # Time at which location was recorded, relative to UTC last_collected_date_time: Optional[datetime.datetime] = None # Latitude coordinate of the device's location - latitude: Optional[float] = None + latitude: Optional[DeviceGeoLocation_latitude] = None # Longitude coordinate of the device's location - longitude: Optional[float] = None + longitude: Optional[DeviceGeoLocation_longitude] = None # The OdataType property odata_type: Optional[str] = None # Speed the device is traveling in meters per second - speed: Optional[float] = None + speed: Optional[DeviceGeoLocation_speed] = None # Accuracy of altitude in meters - vertical_accuracy: Optional[float] = None + vertical_accuracy: Optional[DeviceGeoLocation_verticalAccuracy] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> DeviceGeoLocation: @@ -50,16 +59,32 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .device_geo_location_altitude import DeviceGeoLocation_altitude + from .device_geo_location_heading import DeviceGeoLocation_heading + from .device_geo_location_horizontal_accuracy import DeviceGeoLocation_horizontalAccuracy + from .device_geo_location_latitude import DeviceGeoLocation_latitude + from .device_geo_location_longitude import DeviceGeoLocation_longitude + from .device_geo_location_speed import DeviceGeoLocation_speed + from .device_geo_location_vertical_accuracy import DeviceGeoLocation_verticalAccuracy + + from .device_geo_location_altitude import DeviceGeoLocation_altitude + from .device_geo_location_heading import DeviceGeoLocation_heading + from .device_geo_location_horizontal_accuracy import DeviceGeoLocation_horizontalAccuracy + from .device_geo_location_latitude import DeviceGeoLocation_latitude + from .device_geo_location_longitude import DeviceGeoLocation_longitude + from .device_geo_location_speed import DeviceGeoLocation_speed + from .device_geo_location_vertical_accuracy import DeviceGeoLocation_verticalAccuracy + fields: Dict[str, Callable[[Any], None]] = { - "altitude": lambda n : setattr(self, 'altitude', n.get_float_value()), - "heading": lambda n : setattr(self, 'heading', n.get_float_value()), - "horizontalAccuracy": lambda n : setattr(self, 'horizontal_accuracy', n.get_float_value()), + "altitude": lambda n : setattr(self, 'altitude', n.get_object_value(DeviceGeoLocation_altitude)), + "heading": lambda n : setattr(self, 'heading', n.get_object_value(DeviceGeoLocation_heading)), + "horizontalAccuracy": lambda n : setattr(self, 'horizontal_accuracy', n.get_object_value(DeviceGeoLocation_horizontalAccuracy)), "lastCollectedDateTime": lambda n : setattr(self, 'last_collected_date_time', n.get_datetime_value()), - "latitude": lambda n : setattr(self, 'latitude', n.get_float_value()), - "longitude": lambda n : setattr(self, 'longitude', n.get_float_value()), + "latitude": lambda n : setattr(self, 'latitude', n.get_object_value(DeviceGeoLocation_latitude)), + "longitude": lambda n : setattr(self, 'longitude', n.get_object_value(DeviceGeoLocation_longitude)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), - "speed": lambda n : setattr(self, 'speed', n.get_float_value()), - "verticalAccuracy": lambda n : setattr(self, 'vertical_accuracy', n.get_float_value()), + "speed": lambda n : setattr(self, 'speed', n.get_object_value(DeviceGeoLocation_speed)), + "verticalAccuracy": lambda n : setattr(self, 'vertical_accuracy', n.get_object_value(DeviceGeoLocation_verticalAccuracy)), } return fields @@ -71,15 +96,15 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_float_value("altitude", self.altitude) - writer.write_float_value("heading", self.heading) - writer.write_float_value("horizontalAccuracy", self.horizontal_accuracy) + writer.write_object_value("altitude", self.altitude) + writer.write_object_value("heading", self.heading) + writer.write_object_value("horizontalAccuracy", self.horizontal_accuracy) writer.write_datetime_value("lastCollectedDateTime", self.last_collected_date_time) - writer.write_float_value("latitude", self.latitude) - writer.write_float_value("longitude", self.longitude) + writer.write_object_value("latitude", self.latitude) + writer.write_object_value("longitude", self.longitude) writer.write_str_value("@odata.type", self.odata_type) - writer.write_float_value("speed", self.speed) - writer.write_float_value("verticalAccuracy", self.vertical_accuracy) + writer.write_object_value("speed", self.speed) + writer.write_object_value("verticalAccuracy", self.vertical_accuracy) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/device_geo_location_altitude.py b/msgraph/generated/models/device_geo_location_altitude.py new file mode 100644 index 00000000000..587de8edaf9 --- /dev/null +++ b/msgraph/generated/models/device_geo_location_altitude.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class DeviceGeoLocation_altitude(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceGeoLocation_altitude: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceGeoLocation_altitude + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceGeoLocation_altitude() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/device_geo_location_heading.py b/msgraph/generated/models/device_geo_location_heading.py new file mode 100644 index 00000000000..e4dbc8c9c84 --- /dev/null +++ b/msgraph/generated/models/device_geo_location_heading.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class DeviceGeoLocation_heading(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceGeoLocation_heading: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceGeoLocation_heading + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceGeoLocation_heading() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/device_geo_location_horizontal_accuracy.py b/msgraph/generated/models/device_geo_location_horizontal_accuracy.py new file mode 100644 index 00000000000..772c8ec14cb --- /dev/null +++ b/msgraph/generated/models/device_geo_location_horizontal_accuracy.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class DeviceGeoLocation_horizontalAccuracy(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceGeoLocation_horizontalAccuracy: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceGeoLocation_horizontalAccuracy + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceGeoLocation_horizontalAccuracy() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/device_geo_location_latitude.py b/msgraph/generated/models/device_geo_location_latitude.py new file mode 100644 index 00000000000..5e242c4bce8 --- /dev/null +++ b/msgraph/generated/models/device_geo_location_latitude.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class DeviceGeoLocation_latitude(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceGeoLocation_latitude: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceGeoLocation_latitude + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceGeoLocation_latitude() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/device_geo_location_longitude.py b/msgraph/generated/models/device_geo_location_longitude.py new file mode 100644 index 00000000000..b4a36926bf6 --- /dev/null +++ b/msgraph/generated/models/device_geo_location_longitude.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class DeviceGeoLocation_longitude(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceGeoLocation_longitude: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceGeoLocation_longitude + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceGeoLocation_longitude() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/device_geo_location_speed.py b/msgraph/generated/models/device_geo_location_speed.py new file mode 100644 index 00000000000..67916e0ef9c --- /dev/null +++ b/msgraph/generated/models/device_geo_location_speed.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class DeviceGeoLocation_speed(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceGeoLocation_speed: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceGeoLocation_speed + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceGeoLocation_speed() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/device_geo_location_vertical_accuracy.py b/msgraph/generated/models/device_geo_location_vertical_accuracy.py new file mode 100644 index 00000000000..63ea64866b0 --- /dev/null +++ b/msgraph/generated/models/device_geo_location_vertical_accuracy.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class DeviceGeoLocation_verticalAccuracy(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceGeoLocation_verticalAccuracy: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceGeoLocation_verticalAccuracy + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceGeoLocation_verticalAccuracy() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/device_log_collection_response.py b/msgraph/generated/models/device_log_collection_response.py index e8bb413c71e..98fbc315557 100644 --- a/msgraph/generated/models/device_log_collection_response.py +++ b/msgraph/generated/models/device_log_collection_response.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from .app_log_upload_state import AppLogUploadState + from .device_log_collection_response_size_in_k_b import DeviceLogCollectionResponse_sizeInKB from .entity import Entity from .entity import Entity @@ -31,7 +32,7 @@ class DeviceLogCollectionResponse(Entity): # The DateTime of the request. requested_date_time_u_t_c: Optional[datetime.datetime] = None # The size of the logs in KB. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - size_in_k_b: Optional[float] = None + size_in_k_b: Optional[DeviceLogCollectionResponse_sizeInKB] = None # AppLogUploadStatus status: Optional[AppLogUploadState] = None @@ -52,9 +53,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .app_log_upload_state import AppLogUploadState + from .device_log_collection_response_size_in_k_b import DeviceLogCollectionResponse_sizeInKB from .entity import Entity from .app_log_upload_state import AppLogUploadState + from .device_log_collection_response_size_in_k_b import DeviceLogCollectionResponse_sizeInKB from .entity import Entity fields: Dict[str, Callable[[Any], None]] = { @@ -64,7 +67,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "managedDeviceId": lambda n : setattr(self, 'managed_device_id', n.get_uuid_value()), "receivedDateTimeUTC": lambda n : setattr(self, 'received_date_time_u_t_c', n.get_datetime_value()), "requestedDateTimeUTC": lambda n : setattr(self, 'requested_date_time_u_t_c', n.get_datetime_value()), - "sizeInKB": lambda n : setattr(self, 'size_in_k_b', n.get_float_value()), + "sizeInKB": lambda n : setattr(self, 'size_in_k_b', n.get_object_value(DeviceLogCollectionResponse_sizeInKB)), "status": lambda n : setattr(self, 'status', n.get_enum_value(AppLogUploadState)), } super_fields = super().get_field_deserializers() @@ -86,7 +89,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_uuid_value("managedDeviceId", self.managed_device_id) writer.write_datetime_value("receivedDateTimeUTC", self.received_date_time_u_t_c) writer.write_datetime_value("requestedDateTimeUTC", self.requested_date_time_u_t_c) - writer.write_float_value("sizeInKB", self.size_in_k_b) + writer.write_object_value("sizeInKB", self.size_in_k_b) writer.write_enum_value("status", self.status) diff --git a/msgraph/generated/models/device_log_collection_response_size_in_k_b.py b/msgraph/generated/models/device_log_collection_response_size_in_k_b.py new file mode 100644 index 00000000000..eee3e0e2670 --- /dev/null +++ b/msgraph/generated/models/device_log_collection_response_size_in_k_b.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class DeviceLogCollectionResponse_sizeInKB(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceLogCollectionResponse_sizeInKB: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeviceLogCollectionResponse_sizeInKB + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = DeviceLogCollectionResponse_sizeInKB() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/education_assignment_points_grade.py b/msgraph/generated/models/education_assignment_points_grade.py index 3bd3b40bf32..28cf41bfd36 100644 --- a/msgraph/generated/models/education_assignment_points_grade.py +++ b/msgraph/generated/models/education_assignment_points_grade.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .education_assignment_grade import EducationAssignmentGrade + from .education_assignment_points_grade_points import EducationAssignmentPointsGrade_points from .education_assignment_grade import EducationAssignmentGrade @@ -13,7 +14,7 @@ class EducationAssignmentPointsGrade(EducationAssignmentGrade): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.educationAssignmentPointsGrade" # Number of points a teacher is giving this submission object. - points: Optional[float] = None + points: Optional[EducationAssignmentPointsGrade_points] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> EducationAssignmentPointsGrade: @@ -32,11 +33,13 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .education_assignment_grade import EducationAssignmentGrade + from .education_assignment_points_grade_points import EducationAssignmentPointsGrade_points from .education_assignment_grade import EducationAssignmentGrade + from .education_assignment_points_grade_points import EducationAssignmentPointsGrade_points fields: Dict[str, Callable[[Any], None]] = { - "points": lambda n : setattr(self, 'points', n.get_float_value()), + "points": lambda n : setattr(self, 'points', n.get_object_value(EducationAssignmentPointsGrade_points)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -51,6 +54,6 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_float_value("points", self.points) + writer.write_object_value("points", self.points) diff --git a/msgraph/generated/models/education_assignment_points_grade_points.py b/msgraph/generated/models/education_assignment_points_grade_points.py new file mode 100644 index 00000000000..c4b5ce4edd3 --- /dev/null +++ b/msgraph/generated/models/education_assignment_points_grade_points.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class EducationAssignmentPointsGrade_points(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> EducationAssignmentPointsGrade_points: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: EducationAssignmentPointsGrade_points + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = EducationAssignmentPointsGrade_points() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/education_assignment_points_grade_type.py b/msgraph/generated/models/education_assignment_points_grade_type.py index 80fea55d90f..4e85b65768b 100644 --- a/msgraph/generated/models/education_assignment_points_grade_type.py +++ b/msgraph/generated/models/education_assignment_points_grade_type.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .education_assignment_grade_type import EducationAssignmentGradeType + from .education_assignment_points_grade_type_max_points import EducationAssignmentPointsGradeType_maxPoints from .education_assignment_grade_type import EducationAssignmentGradeType @@ -13,7 +14,7 @@ class EducationAssignmentPointsGradeType(EducationAssignmentGradeType): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.educationAssignmentPointsGradeType" # Max points possible for this assignment. - max_points: Optional[float] = None + max_points: Optional[EducationAssignmentPointsGradeType_maxPoints] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> EducationAssignmentPointsGradeType: @@ -32,11 +33,13 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .education_assignment_grade_type import EducationAssignmentGradeType + from .education_assignment_points_grade_type_max_points import EducationAssignmentPointsGradeType_maxPoints from .education_assignment_grade_type import EducationAssignmentGradeType + from .education_assignment_points_grade_type_max_points import EducationAssignmentPointsGradeType_maxPoints fields: Dict[str, Callable[[Any], None]] = { - "maxPoints": lambda n : setattr(self, 'max_points', n.get_float_value()), + "maxPoints": lambda n : setattr(self, 'max_points', n.get_object_value(EducationAssignmentPointsGradeType_maxPoints)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -51,6 +54,6 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_float_value("maxPoints", self.max_points) + writer.write_object_value("maxPoints", self.max_points) diff --git a/msgraph/generated/models/education_assignment_points_grade_type_max_points.py b/msgraph/generated/models/education_assignment_points_grade_type_max_points.py new file mode 100644 index 00000000000..68c48f9c826 --- /dev/null +++ b/msgraph/generated/models/education_assignment_points_grade_type_max_points.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class EducationAssignmentPointsGradeType_maxPoints(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> EducationAssignmentPointsGradeType_maxPoints: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: EducationAssignmentPointsGradeType_maxPoints + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = EducationAssignmentPointsGradeType_maxPoints() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/entitlement_management_schedule.py b/msgraph/generated/models/entitlement_management_schedule.py index 5534f92b137..0ac9dc69e75 100644 --- a/msgraph/generated/models/entitlement_management_schedule.py +++ b/msgraph/generated/models/entitlement_management_schedule.py @@ -20,7 +20,7 @@ class EntitlementManagementSchedule(AdditionalDataHolder, BackedModel, Parsable) expiration: Optional[ExpirationPattern] = None # The OdataType property odata_type: Optional[str] = None - # For recurring access reviews. Not used in access requests. + # The recurring access review pattern. Not used in access requests. recurrence: Optional[PatternedRecurrence] = None # The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. start_date_time: Optional[datetime.datetime] = None diff --git a/msgraph/generated/models/geo_coordinates.py b/msgraph/generated/models/geo_coordinates.py index db9b734a363..bc277f472bb 100644 --- a/msgraph/generated/models/geo_coordinates.py +++ b/msgraph/generated/models/geo_coordinates.py @@ -4,6 +4,11 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .geo_coordinates_altitude import GeoCoordinates_altitude + from .geo_coordinates_latitude import GeoCoordinates_latitude + from .geo_coordinates_longitude import GeoCoordinates_longitude + @dataclass class GeoCoordinates(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -12,11 +17,11 @@ class GeoCoordinates(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) # Optional. The altitude (height), in feet, above sea level for the item. Read-only. - altitude: Optional[float] = None + altitude: Optional[GeoCoordinates_altitude] = None # Optional. The latitude, in decimal, for the item. Read-only. - latitude: Optional[float] = None + latitude: Optional[GeoCoordinates_latitude] = None # Optional. The longitude, in decimal, for the item. Read-only. - longitude: Optional[float] = None + longitude: Optional[GeoCoordinates_longitude] = None # The OdataType property odata_type: Optional[str] = None @@ -36,10 +41,18 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .geo_coordinates_altitude import GeoCoordinates_altitude + from .geo_coordinates_latitude import GeoCoordinates_latitude + from .geo_coordinates_longitude import GeoCoordinates_longitude + + from .geo_coordinates_altitude import GeoCoordinates_altitude + from .geo_coordinates_latitude import GeoCoordinates_latitude + from .geo_coordinates_longitude import GeoCoordinates_longitude + fields: Dict[str, Callable[[Any], None]] = { - "altitude": lambda n : setattr(self, 'altitude', n.get_float_value()), - "latitude": lambda n : setattr(self, 'latitude', n.get_float_value()), - "longitude": lambda n : setattr(self, 'longitude', n.get_float_value()), + "altitude": lambda n : setattr(self, 'altitude', n.get_object_value(GeoCoordinates_altitude)), + "latitude": lambda n : setattr(self, 'latitude', n.get_object_value(GeoCoordinates_latitude)), + "longitude": lambda n : setattr(self, 'longitude', n.get_object_value(GeoCoordinates_longitude)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } return fields @@ -52,9 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_float_value("altitude", self.altitude) - writer.write_float_value("latitude", self.latitude) - writer.write_float_value("longitude", self.longitude) + writer.write_object_value("altitude", self.altitude) + writer.write_object_value("latitude", self.latitude) + writer.write_object_value("longitude", self.longitude) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/geo_coordinates_altitude.py b/msgraph/generated/models/geo_coordinates_altitude.py new file mode 100644 index 00000000000..4364649c161 --- /dev/null +++ b/msgraph/generated/models/geo_coordinates_altitude.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class GeoCoordinates_altitude(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GeoCoordinates_altitude: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: GeoCoordinates_altitude + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = GeoCoordinates_altitude() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/geo_coordinates_latitude.py b/msgraph/generated/models/geo_coordinates_latitude.py new file mode 100644 index 00000000000..7e37c022ccc --- /dev/null +++ b/msgraph/generated/models/geo_coordinates_latitude.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class GeoCoordinates_latitude(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GeoCoordinates_latitude: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: GeoCoordinates_latitude + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = GeoCoordinates_latitude() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/geo_coordinates_longitude.py b/msgraph/generated/models/geo_coordinates_longitude.py new file mode 100644 index 00000000000..d0a104f8564 --- /dev/null +++ b/msgraph/generated/models/geo_coordinates_longitude.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class GeoCoordinates_longitude(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GeoCoordinates_longitude: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: GeoCoordinates_longitude + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = GeoCoordinates_longitude() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/identity_user_flow.py b/msgraph/generated/models/identity_user_flow.py index c0d28847965..376b00aabc5 100644 --- a/msgraph/generated/models/identity_user_flow.py +++ b/msgraph/generated/models/identity_user_flow.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .b2x_identity_user_flow import B2xIdentityUserFlow from .entity import Entity + from .identity_user_flow_user_flow_type_version import IdentityUserFlow_userFlowTypeVersion from .user_flow_type import UserFlowType from .entity import Entity @@ -17,7 +18,7 @@ class IdentityUserFlow(Entity): # The userFlowType property user_flow_type: Optional[UserFlowType] = None # The userFlowTypeVersion property - user_flow_type_version: Optional[float] = None + user_flow_type_version: Optional[IdentityUserFlow_userFlowTypeVersion] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> IdentityUserFlow: @@ -45,15 +46,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .b2x_identity_user_flow import B2xIdentityUserFlow from .entity import Entity + from .identity_user_flow_user_flow_type_version import IdentityUserFlow_userFlowTypeVersion from .user_flow_type import UserFlowType from .b2x_identity_user_flow import B2xIdentityUserFlow from .entity import Entity + from .identity_user_flow_user_flow_type_version import IdentityUserFlow_userFlowTypeVersion from .user_flow_type import UserFlowType fields: Dict[str, Callable[[Any], None]] = { "userFlowType": lambda n : setattr(self, 'user_flow_type', n.get_enum_value(UserFlowType)), - "userFlowTypeVersion": lambda n : setattr(self, 'user_flow_type_version', n.get_float_value()), + "userFlowTypeVersion": lambda n : setattr(self, 'user_flow_type_version', n.get_object_value(IdentityUserFlow_userFlowTypeVersion)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -69,6 +72,6 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_enum_value("userFlowType", self.user_flow_type) - writer.write_float_value("userFlowTypeVersion", self.user_flow_type_version) + writer.write_object_value("userFlowTypeVersion", self.user_flow_type_version) diff --git a/msgraph/generated/models/identity_user_flow_user_flow_type_version.py b/msgraph/generated/models/identity_user_flow_user_flow_type_version.py new file mode 100644 index 00000000000..296cecca925 --- /dev/null +++ b/msgraph/generated/models/identity_user_flow_user_flow_type_version.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class IdentityUserFlow_userFlowTypeVersion(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> IdentityUserFlow_userFlowTypeVersion: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: IdentityUserFlow_userFlowTypeVersion + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = IdentityUserFlow_userFlowTypeVersion() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/insight_value_double.py b/msgraph/generated/models/insight_value_double.py index fcf2d573bf4..6177f5c8546 100644 --- a/msgraph/generated/models/insight_value_double.py +++ b/msgraph/generated/models/insight_value_double.py @@ -4,6 +4,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .insight_value_double_value import InsightValueDouble_value from .user_experience_analytics_insight_value import UserExperienceAnalyticsInsightValue from .user_experience_analytics_insight_value import UserExperienceAnalyticsInsightValue @@ -16,7 +17,7 @@ class InsightValueDouble(UserExperienceAnalyticsInsightValue): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.insightValueDouble" # The double value of the user experience analytics insight. - value: Optional[float] = None + value: Optional[InsightValueDouble_value] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> InsightValueDouble: @@ -34,12 +35,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .insight_value_double_value import InsightValueDouble_value from .user_experience_analytics_insight_value import UserExperienceAnalyticsInsightValue + from .insight_value_double_value import InsightValueDouble_value from .user_experience_analytics_insight_value import UserExperienceAnalyticsInsightValue fields: Dict[str, Callable[[Any], None]] = { - "value": lambda n : setattr(self, 'value', n.get_float_value()), + "value": lambda n : setattr(self, 'value', n.get_object_value(InsightValueDouble_value)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -54,6 +57,6 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_float_value("value", self.value) + writer.write_object_value("value", self.value) diff --git a/msgraph/generated/models/insight_value_double_value.py b/msgraph/generated/models/insight_value_double_value.py new file mode 100644 index 00000000000..da7ffb4fe67 --- /dev/null +++ b/msgraph/generated/models/insight_value_double_value.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class InsightValueDouble_value(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> InsightValueDouble_value: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: InsightValueDouble_value + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = InsightValueDouble_value() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/meeting_time_suggestion.py b/msgraph/generated/models/meeting_time_suggestion.py index 30ab60e2b48..6c61e5f687d 100644 --- a/msgraph/generated/models/meeting_time_suggestion.py +++ b/msgraph/generated/models/meeting_time_suggestion.py @@ -8,6 +8,7 @@ from .attendee_availability import AttendeeAvailability from .free_busy_status import FreeBusyStatus from .location import Location + from .meeting_time_suggestion_confidence import MeetingTimeSuggestion_confidence from .time_slot import TimeSlot @dataclass @@ -20,7 +21,7 @@ class MeetingTimeSuggestion(AdditionalDataHolder, BackedModel, Parsable): # An array that shows the availability status of each attendee for this meeting suggestion. attendee_availability: Optional[List[AttendeeAvailability]] = None # A percentage that represents the likelhood of all the attendees attending. - confidence: Optional[float] = None + confidence: Optional[MeetingTimeSuggestion_confidence] = None # An array that specifies the name and geographic location of each meeting location for this meeting suggestion. locations: Optional[List[Location]] = None # A time period suggested for the meeting. @@ -53,16 +54,18 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .attendee_availability import AttendeeAvailability from .free_busy_status import FreeBusyStatus from .location import Location + from .meeting_time_suggestion_confidence import MeetingTimeSuggestion_confidence from .time_slot import TimeSlot from .attendee_availability import AttendeeAvailability from .free_busy_status import FreeBusyStatus from .location import Location + from .meeting_time_suggestion_confidence import MeetingTimeSuggestion_confidence from .time_slot import TimeSlot fields: Dict[str, Callable[[Any], None]] = { "attendeeAvailability": lambda n : setattr(self, 'attendee_availability', n.get_collection_of_object_values(AttendeeAvailability)), - "confidence": lambda n : setattr(self, 'confidence', n.get_float_value()), + "confidence": lambda n : setattr(self, 'confidence', n.get_object_value(MeetingTimeSuggestion_confidence)), "locations": lambda n : setattr(self, 'locations', n.get_collection_of_object_values(Location)), "meetingTimeSlot": lambda n : setattr(self, 'meeting_time_slot', n.get_object_value(TimeSlot)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), @@ -81,7 +84,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") writer.write_collection_of_object_values("attendeeAvailability", self.attendee_availability) - writer.write_float_value("confidence", self.confidence) + writer.write_object_value("confidence", self.confidence) writer.write_collection_of_object_values("locations", self.locations) writer.write_object_value("meetingTimeSlot", self.meeting_time_slot) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph/generated/models/meeting_time_suggestion_confidence.py b/msgraph/generated/models/meeting_time_suggestion_confidence.py new file mode 100644 index 00000000000..24a9b5eadea --- /dev/null +++ b/msgraph/generated/models/meeting_time_suggestion_confidence.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class MeetingTimeSuggestion_confidence(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MeetingTimeSuggestion_confidence: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: MeetingTimeSuggestion_confidence + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = MeetingTimeSuggestion_confidence() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/number_column.py b/msgraph/generated/models/number_column.py index 180d52771b1..7043b614a07 100644 --- a/msgraph/generated/models/number_column.py +++ b/msgraph/generated/models/number_column.py @@ -4,6 +4,10 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .number_column_maximum import NumberColumn_maximum + from .number_column_minimum import NumberColumn_minimum + @dataclass class NumberColumn(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -16,9 +20,9 @@ class NumberColumn(AdditionalDataHolder, BackedModel, Parsable): # How the value should be presented in the UX. Must be one of number or percentage. If unspecified, treated as number. display_as: Optional[str] = None # The maximum permitted value. - maximum: Optional[float] = None + maximum: Optional[NumberColumn_maximum] = None # The minimum permitted value. - minimum: Optional[float] = None + minimum: Optional[NumberColumn_minimum] = None # The OdataType property odata_type: Optional[str] = None @@ -38,11 +42,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .number_column_maximum import NumberColumn_maximum + from .number_column_minimum import NumberColumn_minimum + + from .number_column_maximum import NumberColumn_maximum + from .number_column_minimum import NumberColumn_minimum + fields: Dict[str, Callable[[Any], None]] = { "decimalPlaces": lambda n : setattr(self, 'decimal_places', n.get_str_value()), "displayAs": lambda n : setattr(self, 'display_as', n.get_str_value()), - "maximum": lambda n : setattr(self, 'maximum', n.get_float_value()), - "minimum": lambda n : setattr(self, 'minimum', n.get_float_value()), + "maximum": lambda n : setattr(self, 'maximum', n.get_object_value(NumberColumn_maximum)), + "minimum": lambda n : setattr(self, 'minimum', n.get_object_value(NumberColumn_minimum)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } return fields @@ -57,8 +67,8 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") writer.write_str_value("decimalPlaces", self.decimal_places) writer.write_str_value("displayAs", self.display_as) - writer.write_float_value("maximum", self.maximum) - writer.write_float_value("minimum", self.minimum) + writer.write_object_value("maximum", self.maximum) + writer.write_object_value("minimum", self.minimum) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/number_column_maximum.py b/msgraph/generated/models/number_column_maximum.py new file mode 100644 index 00000000000..3a33796afa8 --- /dev/null +++ b/msgraph/generated/models/number_column_maximum.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class NumberColumn_maximum(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> NumberColumn_maximum: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: NumberColumn_maximum + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = NumberColumn_maximum() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/number_column_minimum.py b/msgraph/generated/models/number_column_minimum.py new file mode 100644 index 00000000000..7ffd5592907 --- /dev/null +++ b/msgraph/generated/models/number_column_minimum.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class NumberColumn_minimum(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> NumberColumn_minimum: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: NumberColumn_minimum + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = NumberColumn_minimum() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/oma_setting_floating_point.py b/msgraph/generated/models/oma_setting_floating_point.py index 9909da6a169..6442a111e6c 100644 --- a/msgraph/generated/models/oma_setting_floating_point.py +++ b/msgraph/generated/models/oma_setting_floating_point.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .oma_setting import OmaSetting + from .oma_setting_floating_point_value import OmaSettingFloatingPoint_value from .oma_setting import OmaSetting @@ -16,7 +17,7 @@ class OmaSettingFloatingPoint(OmaSetting): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.omaSettingFloatingPoint" # Value. - value: Optional[float] = None + value: Optional[OmaSettingFloatingPoint_value] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> OmaSettingFloatingPoint: @@ -35,11 +36,13 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .oma_setting import OmaSetting + from .oma_setting_floating_point_value import OmaSettingFloatingPoint_value from .oma_setting import OmaSetting + from .oma_setting_floating_point_value import OmaSettingFloatingPoint_value fields: Dict[str, Callable[[Any], None]] = { - "value": lambda n : setattr(self, 'value', n.get_float_value()), + "value": lambda n : setattr(self, 'value', n.get_object_value(OmaSettingFloatingPoint_value)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -54,6 +57,6 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_float_value("value", self.value) + writer.write_object_value("value", self.value) diff --git a/msgraph/generated/models/oma_setting_floating_point_value.py b/msgraph/generated/models/oma_setting_floating_point_value.py new file mode 100644 index 00000000000..769faac3b43 --- /dev/null +++ b/msgraph/generated/models/oma_setting_floating_point_value.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class OmaSettingFloatingPoint_value(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> OmaSettingFloatingPoint_value: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: OmaSettingFloatingPoint_value + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = OmaSettingFloatingPoint_value() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/on_premises_directory_synchronization_feature.py b/msgraph/generated/models/on_premises_directory_synchronization_feature.py index 8500c0b7369..ffa6869d5f4 100644 --- a/msgraph/generated/models/on_premises_directory_synchronization_feature.py +++ b/msgraph/generated/models/on_premises_directory_synchronization_feature.py @@ -35,7 +35,7 @@ class OnPremisesDirectorySynchronizationFeature(AdditionalDataHolder, BackedMode odata_type: Optional[str] = None # Used to indicate on-premise password synchronization is enabled. password_sync_enabled: Optional[bool] = None - # Used to indicate that writeback of password resets from Microsoft Entra ID to on-premises AD is enabled. + # 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. password_writeback_enabled: Optional[bool] = None # Used to indicate that we should quarantine objects with conflicting proxy address. quarantine_upon_proxy_addresses_conflict_enabled: Optional[bool] = None diff --git a/msgraph/generated/models/outlook_geo_coordinates.py b/msgraph/generated/models/outlook_geo_coordinates.py index 8ee562218be..ce13da95019 100644 --- a/msgraph/generated/models/outlook_geo_coordinates.py +++ b/msgraph/generated/models/outlook_geo_coordinates.py @@ -4,6 +4,13 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .outlook_geo_coordinates_accuracy import OutlookGeoCoordinates_accuracy + from .outlook_geo_coordinates_altitude import OutlookGeoCoordinates_altitude + from .outlook_geo_coordinates_altitude_accuracy import OutlookGeoCoordinates_altitudeAccuracy + from .outlook_geo_coordinates_latitude import OutlookGeoCoordinates_latitude + from .outlook_geo_coordinates_longitude import OutlookGeoCoordinates_longitude + @dataclass class OutlookGeoCoordinates(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -12,15 +19,15 @@ class OutlookGeoCoordinates(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) # 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. - accuracy: Optional[float] = None + accuracy: Optional[OutlookGeoCoordinates_accuracy] = None # The altitude of the location. - altitude: Optional[float] = None + altitude: Optional[OutlookGeoCoordinates_altitude] = None # The accuracy of the altitude. - altitude_accuracy: Optional[float] = None + altitude_accuracy: Optional[OutlookGeoCoordinates_altitudeAccuracy] = None # The latitude of the location. - latitude: Optional[float] = None + latitude: Optional[OutlookGeoCoordinates_latitude] = None # The longitude of the location. - longitude: Optional[float] = None + longitude: Optional[OutlookGeoCoordinates_longitude] = None # The OdataType property odata_type: Optional[str] = None @@ -40,12 +47,24 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .outlook_geo_coordinates_accuracy import OutlookGeoCoordinates_accuracy + from .outlook_geo_coordinates_altitude import OutlookGeoCoordinates_altitude + from .outlook_geo_coordinates_altitude_accuracy import OutlookGeoCoordinates_altitudeAccuracy + from .outlook_geo_coordinates_latitude import OutlookGeoCoordinates_latitude + from .outlook_geo_coordinates_longitude import OutlookGeoCoordinates_longitude + + from .outlook_geo_coordinates_accuracy import OutlookGeoCoordinates_accuracy + from .outlook_geo_coordinates_altitude import OutlookGeoCoordinates_altitude + from .outlook_geo_coordinates_altitude_accuracy import OutlookGeoCoordinates_altitudeAccuracy + from .outlook_geo_coordinates_latitude import OutlookGeoCoordinates_latitude + from .outlook_geo_coordinates_longitude import OutlookGeoCoordinates_longitude + fields: Dict[str, Callable[[Any], None]] = { - "accuracy": lambda n : setattr(self, 'accuracy', n.get_float_value()), - "altitude": lambda n : setattr(self, 'altitude', n.get_float_value()), - "altitudeAccuracy": lambda n : setattr(self, 'altitude_accuracy', n.get_float_value()), - "latitude": lambda n : setattr(self, 'latitude', n.get_float_value()), - "longitude": lambda n : setattr(self, 'longitude', n.get_float_value()), + "accuracy": lambda n : setattr(self, 'accuracy', n.get_object_value(OutlookGeoCoordinates_accuracy)), + "altitude": lambda n : setattr(self, 'altitude', n.get_object_value(OutlookGeoCoordinates_altitude)), + "altitudeAccuracy": lambda n : setattr(self, 'altitude_accuracy', n.get_object_value(OutlookGeoCoordinates_altitudeAccuracy)), + "latitude": lambda n : setattr(self, 'latitude', n.get_object_value(OutlookGeoCoordinates_latitude)), + "longitude": lambda n : setattr(self, 'longitude', n.get_object_value(OutlookGeoCoordinates_longitude)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } return fields @@ -58,11 +77,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_float_value("accuracy", self.accuracy) - writer.write_float_value("altitude", self.altitude) - writer.write_float_value("altitudeAccuracy", self.altitude_accuracy) - writer.write_float_value("latitude", self.latitude) - writer.write_float_value("longitude", self.longitude) + writer.write_object_value("accuracy", self.accuracy) + writer.write_object_value("altitude", self.altitude) + writer.write_object_value("altitudeAccuracy", self.altitude_accuracy) + writer.write_object_value("latitude", self.latitude) + writer.write_object_value("longitude", self.longitude) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/outlook_geo_coordinates_accuracy.py b/msgraph/generated/models/outlook_geo_coordinates_accuracy.py new file mode 100644 index 00000000000..ce1070c1da0 --- /dev/null +++ b/msgraph/generated/models/outlook_geo_coordinates_accuracy.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class OutlookGeoCoordinates_accuracy(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> OutlookGeoCoordinates_accuracy: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: OutlookGeoCoordinates_accuracy + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = OutlookGeoCoordinates_accuracy() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/outlook_geo_coordinates_altitude.py b/msgraph/generated/models/outlook_geo_coordinates_altitude.py new file mode 100644 index 00000000000..346ce3b0ea6 --- /dev/null +++ b/msgraph/generated/models/outlook_geo_coordinates_altitude.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class OutlookGeoCoordinates_altitude(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> OutlookGeoCoordinates_altitude: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: OutlookGeoCoordinates_altitude + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = OutlookGeoCoordinates_altitude() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/outlook_geo_coordinates_altitude_accuracy.py b/msgraph/generated/models/outlook_geo_coordinates_altitude_accuracy.py new file mode 100644 index 00000000000..a1eed8ecb1d --- /dev/null +++ b/msgraph/generated/models/outlook_geo_coordinates_altitude_accuracy.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class OutlookGeoCoordinates_altitudeAccuracy(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> OutlookGeoCoordinates_altitudeAccuracy: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: OutlookGeoCoordinates_altitudeAccuracy + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = OutlookGeoCoordinates_altitudeAccuracy() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/outlook_geo_coordinates_latitude.py b/msgraph/generated/models/outlook_geo_coordinates_latitude.py new file mode 100644 index 00000000000..8c08014ef5b --- /dev/null +++ b/msgraph/generated/models/outlook_geo_coordinates_latitude.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class OutlookGeoCoordinates_latitude(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> OutlookGeoCoordinates_latitude: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: OutlookGeoCoordinates_latitude + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = OutlookGeoCoordinates_latitude() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/outlook_geo_coordinates_longitude.py b/msgraph/generated/models/outlook_geo_coordinates_longitude.py new file mode 100644 index 00000000000..e11ef49f988 --- /dev/null +++ b/msgraph/generated/models/outlook_geo_coordinates_longitude.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class OutlookGeoCoordinates_longitude(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> OutlookGeoCoordinates_longitude: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: OutlookGeoCoordinates_longitude + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = OutlookGeoCoordinates_longitude() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/payload.py b/msgraph/generated/models/payload.py index 63225e5e422..5b902c65d98 100644 --- a/msgraph/generated/models/payload.py +++ b/msgraph/generated/models/payload.py @@ -12,6 +12,7 @@ from .payload_delivery_platform import PayloadDeliveryPlatform from .payload_detail import PayloadDetail from .payload_industry import PayloadIndustry + from .payload_predicted_compromise_rate import Payload_predictedCompromiseRate from .payload_theme import PayloadTheme from .simulation_attack_technique import SimulationAttackTechnique from .simulation_attack_type import SimulationAttackType @@ -57,7 +58,7 @@ class Payload(Entity): # The payload delivery platform for a simulation. Possible values are: unknown, sms, email, teams, unknownFutureValue. platform: Optional[PayloadDeliveryPlatform] = None # Predicted probability for a payload to phish a targeted user. - predicted_compromise_rate: Optional[float] = None + predicted_compromise_rate: Optional[Payload_predictedCompromiseRate] = None # Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue. simulation_attack_type: Optional[SimulationAttackType] = None # The source property @@ -92,6 +93,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .payload_delivery_platform import PayloadDeliveryPlatform from .payload_detail import PayloadDetail from .payload_industry import PayloadIndustry + from .payload_predicted_compromise_rate import Payload_predictedCompromiseRate from .payload_theme import PayloadTheme from .simulation_attack_technique import SimulationAttackTechnique from .simulation_attack_type import SimulationAttackType @@ -105,6 +107,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .payload_delivery_platform import PayloadDeliveryPlatform from .payload_detail import PayloadDetail from .payload_industry import PayloadIndustry + from .payload_predicted_compromise_rate import Payload_predictedCompromiseRate from .payload_theme import PayloadTheme from .simulation_attack_technique import SimulationAttackTechnique from .simulation_attack_type import SimulationAttackType @@ -128,7 +131,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), "payloadTags": lambda n : setattr(self, 'payload_tags', n.get_collection_of_primitive_values(str)), "platform": lambda n : setattr(self, 'platform', n.get_enum_value(PayloadDeliveryPlatform)), - "predictedCompromiseRate": lambda n : setattr(self, 'predicted_compromise_rate', n.get_float_value()), + "predictedCompromiseRate": lambda n : setattr(self, 'predicted_compromise_rate', n.get_object_value(Payload_predictedCompromiseRate)), "simulationAttackType": lambda n : setattr(self, 'simulation_attack_type', n.get_enum_value(SimulationAttackType)), "source": lambda n : setattr(self, 'source', n.get_enum_value(SimulationContentSource)), "status": lambda n : setattr(self, 'status', n.get_enum_value(SimulationContentStatus)), @@ -164,7 +167,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_collection_of_primitive_values("payloadTags", self.payload_tags) writer.write_enum_value("platform", self.platform) - writer.write_float_value("predictedCompromiseRate", self.predicted_compromise_rate) + writer.write_object_value("predictedCompromiseRate", self.predicted_compromise_rate) writer.write_enum_value("simulationAttackType", self.simulation_attack_type) writer.write_enum_value("source", self.source) writer.write_enum_value("status", self.status) diff --git a/msgraph/generated/models/payload_predicted_compromise_rate.py b/msgraph/generated/models/payload_predicted_compromise_rate.py new file mode 100644 index 00000000000..40384067aaa --- /dev/null +++ b/msgraph/generated/models/payload_predicted_compromise_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class Payload_predictedCompromiseRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> Payload_predictedCompromiseRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: Payload_predictedCompromiseRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = Payload_predictedCompromiseRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/photo.py b/msgraph/generated/models/photo.py index 03ba05ecc6a..efe139f52bb 100644 --- a/msgraph/generated/models/photo.py +++ b/msgraph/generated/models/photo.py @@ -5,6 +5,12 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .photo_exposure_denominator import Photo_exposureDenominator + from .photo_exposure_numerator import Photo_exposureNumerator + from .photo_focal_length import Photo_focalLength + from .photo_f_number import Photo_fNumber + @dataclass class Photo(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -17,13 +23,13 @@ class Photo(AdditionalDataHolder, BackedModel, Parsable): # Camera model. Read-only. camera_model: Optional[str] = None # The denominator for the exposure time fraction from the camera. Read-only. - exposure_denominator: Optional[float] = None + exposure_denominator: Optional[Photo_exposureDenominator] = None # The numerator for the exposure time fraction from the camera. Read-only. - exposure_numerator: Optional[float] = None + exposure_numerator: Optional[Photo_exposureNumerator] = None # The F-stop value from the camera. Read-only. - f_number: Optional[float] = None + f_number: Optional[Photo_fNumber] = None # The focal length from the camera. Read-only. - focal_length: Optional[float] = None + focal_length: Optional[Photo_focalLength] = None # The ISO value from the camera. Read-only. iso: Optional[int] = None # The OdataType property @@ -49,13 +55,23 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .photo_exposure_denominator import Photo_exposureDenominator + from .photo_exposure_numerator import Photo_exposureNumerator + from .photo_focal_length import Photo_focalLength + from .photo_f_number import Photo_fNumber + + from .photo_exposure_denominator import Photo_exposureDenominator + from .photo_exposure_numerator import Photo_exposureNumerator + from .photo_focal_length import Photo_focalLength + from .photo_f_number import Photo_fNumber + fields: Dict[str, Callable[[Any], None]] = { "cameraMake": lambda n : setattr(self, 'camera_make', n.get_str_value()), "cameraModel": lambda n : setattr(self, 'camera_model', n.get_str_value()), - "exposureDenominator": lambda n : setattr(self, 'exposure_denominator', n.get_float_value()), - "exposureNumerator": lambda n : setattr(self, 'exposure_numerator', n.get_float_value()), - "fNumber": lambda n : setattr(self, 'f_number', n.get_float_value()), - "focalLength": lambda n : setattr(self, 'focal_length', n.get_float_value()), + "exposureDenominator": lambda n : setattr(self, 'exposure_denominator', n.get_object_value(Photo_exposureDenominator)), + "exposureNumerator": lambda n : setattr(self, 'exposure_numerator', n.get_object_value(Photo_exposureNumerator)), + "fNumber": lambda n : setattr(self, 'f_number', n.get_object_value(Photo_fNumber)), + "focalLength": lambda n : setattr(self, 'focal_length', n.get_object_value(Photo_focalLength)), "iso": lambda n : setattr(self, 'iso', n.get_int_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "orientation": lambda n : setattr(self, 'orientation', n.get_int_value()), @@ -73,10 +89,10 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") writer.write_str_value("cameraMake", self.camera_make) writer.write_str_value("cameraModel", self.camera_model) - writer.write_float_value("exposureDenominator", self.exposure_denominator) - writer.write_float_value("exposureNumerator", self.exposure_numerator) - writer.write_float_value("fNumber", self.f_number) - writer.write_float_value("focalLength", self.focal_length) + writer.write_object_value("exposureDenominator", self.exposure_denominator) + writer.write_object_value("exposureNumerator", self.exposure_numerator) + writer.write_object_value("fNumber", self.f_number) + writer.write_object_value("focalLength", self.focal_length) writer.write_int_value("iso", self.iso) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("orientation", self.orientation) diff --git a/msgraph/generated/models/photo_exposure_denominator.py b/msgraph/generated/models/photo_exposure_denominator.py new file mode 100644 index 00000000000..2bc2cab59a8 --- /dev/null +++ b/msgraph/generated/models/photo_exposure_denominator.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class Photo_exposureDenominator(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> Photo_exposureDenominator: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: Photo_exposureDenominator + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = Photo_exposureDenominator() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/photo_exposure_numerator.py b/msgraph/generated/models/photo_exposure_numerator.py new file mode 100644 index 00000000000..14c7057f249 --- /dev/null +++ b/msgraph/generated/models/photo_exposure_numerator.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class Photo_exposureNumerator(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> Photo_exposureNumerator: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: Photo_exposureNumerator + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = Photo_exposureNumerator() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/photo_f_number.py b/msgraph/generated/models/photo_f_number.py new file mode 100644 index 00000000000..98f41eb0a8d --- /dev/null +++ b/msgraph/generated/models/photo_f_number.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class Photo_fNumber(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> Photo_fNumber: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: Photo_fNumber + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = Photo_fNumber() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/photo_focal_length.py b/msgraph/generated/models/photo_focal_length.py new file mode 100644 index 00000000000..11c7e14bcd5 --- /dev/null +++ b/msgraph/generated/models/photo_focal_length.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class Photo_focalLength(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> Photo_focalLength: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: Photo_focalLength + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = Photo_focalLength() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/printer_location.py b/msgraph/generated/models/printer_location.py index a522b5f623e..90a56eccc60 100644 --- a/msgraph/generated/models/printer_location.py +++ b/msgraph/generated/models/printer_location.py @@ -4,6 +4,10 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .printer_location_latitude import PrinterLocation_latitude + from .printer_location_longitude import PrinterLocation_longitude + @dataclass class PrinterLocation(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -24,9 +28,9 @@ class PrinterLocation(AdditionalDataHolder, BackedModel, Parsable): # The description of the floor that the printer is located on. floor_description: Optional[str] = None # The latitude that the printer is located at. - latitude: Optional[float] = None + latitude: Optional[PrinterLocation_latitude] = None # The longitude that the printer is located at. - longitude: Optional[float] = None + longitude: Optional[PrinterLocation_longitude] = None # The OdataType property odata_type: Optional[str] = None # The organizational hierarchy that the printer belongs to. The elements should be in hierarchical order. @@ -64,6 +68,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .printer_location_latitude import PrinterLocation_latitude + from .printer_location_longitude import PrinterLocation_longitude + + from .printer_location_latitude import PrinterLocation_latitude + from .printer_location_longitude import PrinterLocation_longitude + fields: Dict[str, Callable[[Any], None]] = { "altitudeInMeters": lambda n : setattr(self, 'altitude_in_meters', n.get_int_value()), "building": lambda n : setattr(self, 'building', n.get_str_value()), @@ -71,8 +81,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "countryOrRegion": lambda n : setattr(self, 'country_or_region', n.get_str_value()), "floor": lambda n : setattr(self, 'floor', n.get_str_value()), "floorDescription": lambda n : setattr(self, 'floor_description', n.get_str_value()), - "latitude": lambda n : setattr(self, 'latitude', n.get_float_value()), - "longitude": lambda n : setattr(self, 'longitude', n.get_float_value()), + "latitude": lambda n : setattr(self, 'latitude', n.get_object_value(PrinterLocation_latitude)), + "longitude": lambda n : setattr(self, 'longitude', n.get_object_value(PrinterLocation_longitude)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "organization": lambda n : setattr(self, 'organization', n.get_collection_of_primitive_values(str)), "postalCode": lambda n : setattr(self, 'postal_code', n.get_str_value()), @@ -100,8 +110,8 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("countryOrRegion", self.country_or_region) writer.write_str_value("floor", self.floor) writer.write_str_value("floorDescription", self.floor_description) - writer.write_float_value("latitude", self.latitude) - writer.write_float_value("longitude", self.longitude) + writer.write_object_value("latitude", self.latitude) + writer.write_object_value("longitude", self.longitude) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_primitive_values("organization", self.organization) writer.write_str_value("postalCode", self.postal_code) diff --git a/msgraph/generated/models/printer_location_latitude.py b/msgraph/generated/models/printer_location_latitude.py new file mode 100644 index 00000000000..a4b4a3ced91 --- /dev/null +++ b/msgraph/generated/models/printer_location_latitude.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class PrinterLocation_latitude(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> PrinterLocation_latitude: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: PrinterLocation_latitude + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = PrinterLocation_latitude() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/printer_location_longitude.py b/msgraph/generated/models/printer_location_longitude.py new file mode 100644 index 00000000000..f97f4f66fb3 --- /dev/null +++ b/msgraph/generated/models/printer_location_longitude.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class PrinterLocation_longitude(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> PrinterLocation_longitude: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: PrinterLocation_longitude + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = PrinterLocation_longitude() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/recommended_action.py b/msgraph/generated/models/recommended_action.py index 72ea1ae941a..e7f97b39650 100644 --- a/msgraph/generated/models/recommended_action.py +++ b/msgraph/generated/models/recommended_action.py @@ -4,6 +4,9 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .recommended_action_potential_score_impact import RecommendedAction_potentialScoreImpact + @dataclass class RecommendedAction(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -16,7 +19,7 @@ class RecommendedAction(AdditionalDataHolder, BackedModel, Parsable): # The OdataType property odata_type: Optional[str] = None # Potential improvement in the tenant security score from the recommended action. - potential_score_impact: Optional[float] = None + potential_score_impact: Optional[RecommendedAction_potentialScoreImpact] = None # Title of the recommended action. title: Optional[str] = None @@ -36,10 +39,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .recommended_action_potential_score_impact import RecommendedAction_potentialScoreImpact + + from .recommended_action_potential_score_impact import RecommendedAction_potentialScoreImpact + fields: Dict[str, Callable[[Any], None]] = { "actionWebUrl": lambda n : setattr(self, 'action_web_url', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), - "potentialScoreImpact": lambda n : setattr(self, 'potential_score_impact', n.get_float_value()), + "potentialScoreImpact": lambda n : setattr(self, 'potential_score_impact', n.get_object_value(RecommendedAction_potentialScoreImpact)), "title": lambda n : setattr(self, 'title', n.get_str_value()), } return fields @@ -54,7 +61,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") writer.write_str_value("actionWebUrl", self.action_web_url) writer.write_str_value("@odata.type", self.odata_type) - writer.write_float_value("potentialScoreImpact", self.potential_score_impact) + writer.write_object_value("potentialScoreImpact", self.potential_score_impact) writer.write_str_value("title", self.title) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/recommended_action_potential_score_impact.py b/msgraph/generated/models/recommended_action_potential_score_impact.py new file mode 100644 index 00000000000..dc626376197 --- /dev/null +++ b/msgraph/generated/models/recommended_action_potential_score_impact.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class RecommendedAction_potentialScoreImpact(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RecommendedAction_potentialScoreImpact: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RecommendedAction_potentialScoreImpact + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = RecommendedAction_potentialScoreImpact() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/reference_numeric.py b/msgraph/generated/models/reference_numeric.py new file mode 100644 index 00000000000..f53e57ff2a5 --- /dev/null +++ b/msgraph/generated/models/reference_numeric.py @@ -0,0 +1,7 @@ +from enum import Enum + +class ReferenceNumeric(str, Enum): + Minus_INF = "-INF", + INF = "INF", + NaN = "NaN", + diff --git a/msgraph/generated/models/relying_party_detailed_summary.py b/msgraph/generated/models/relying_party_detailed_summary.py index d0af3f23bae..fa73150690b 100644 --- a/msgraph/generated/models/relying_party_detailed_summary.py +++ b/msgraph/generated/models/relying_party_detailed_summary.py @@ -7,6 +7,7 @@ from .entity import Entity from .key_value_pair import KeyValuePair from .migration_status import MigrationStatus + from .relying_party_detailed_summary_sign_in_success_rate import RelyingPartyDetailedSummary_signInSuccessRate from .entity import Entity @@ -29,7 +30,7 @@ class RelyingPartyDetailedSummary(Entity): # Uniquely identifies the Active Directory forest. Supports $orderby, $filter (eq). service_id: Optional[str] = None # 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). - sign_in_success_rate: Optional[float] = None + sign_in_success_rate: Optional[RelyingPartyDetailedSummary_signInSuccessRate] = None # Number of successful sign ins on AD FS. Supports $orderby, $filter (eq). successful_sign_in_count: Optional[int] = None # Number of successful + failed sign ins on AD FS in the period specified. Supports $orderby, $filter (eq). @@ -56,10 +57,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .entity import Entity from .key_value_pair import KeyValuePair from .migration_status import MigrationStatus + from .relying_party_detailed_summary_sign_in_success_rate import RelyingPartyDetailedSummary_signInSuccessRate from .entity import Entity from .key_value_pair import KeyValuePair from .migration_status import MigrationStatus + from .relying_party_detailed_summary_sign_in_success_rate import RelyingPartyDetailedSummary_signInSuccessRate fields: Dict[str, Callable[[Any], None]] = { "failedSignInCount": lambda n : setattr(self, 'failed_sign_in_count', n.get_int_value()), @@ -69,7 +72,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "relyingPartyName": lambda n : setattr(self, 'relying_party_name', n.get_str_value()), "replyUrls": lambda n : setattr(self, 'reply_urls', n.get_collection_of_primitive_values(str)), "serviceId": lambda n : setattr(self, 'service_id', n.get_str_value()), - "signInSuccessRate": lambda n : setattr(self, 'sign_in_success_rate', n.get_float_value()), + "signInSuccessRate": lambda n : setattr(self, 'sign_in_success_rate', n.get_object_value(RelyingPartyDetailedSummary_signInSuccessRate)), "successfulSignInCount": lambda n : setattr(self, 'successful_sign_in_count', n.get_int_value()), "totalSignInCount": lambda n : setattr(self, 'total_sign_in_count', n.get_int_value()), "uniqueUserCount": lambda n : setattr(self, 'unique_user_count', n.get_int_value()), @@ -94,7 +97,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("relyingPartyName", self.relying_party_name) writer.write_collection_of_primitive_values("replyUrls", self.reply_urls) writer.write_str_value("serviceId", self.service_id) - writer.write_float_value("signInSuccessRate", self.sign_in_success_rate) + writer.write_object_value("signInSuccessRate", self.sign_in_success_rate) writer.write_int_value("successfulSignInCount", self.successful_sign_in_count) writer.write_int_value("totalSignInCount", self.total_sign_in_count) writer.write_int_value("uniqueUserCount", self.unique_user_count) diff --git a/msgraph/generated/models/relying_party_detailed_summary_sign_in_success_rate.py b/msgraph/generated/models/relying_party_detailed_summary_sign_in_success_rate.py new file mode 100644 index 00000000000..eaa2ae6082b --- /dev/null +++ b/msgraph/generated/models/relying_party_detailed_summary_sign_in_success_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class RelyingPartyDetailedSummary_signInSuccessRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RelyingPartyDetailedSummary_signInSuccessRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RelyingPartyDetailedSummary_signInSuccessRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = RelyingPartyDetailedSummary_signInSuccessRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/rubric_quality.py b/msgraph/generated/models/rubric_quality.py index d73b50f54be..b6ef635408b 100644 --- a/msgraph/generated/models/rubric_quality.py +++ b/msgraph/generated/models/rubric_quality.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from .education_item_body import EducationItemBody from .rubric_criterion import RubricCriterion + from .rubric_quality_weight import RubricQuality_weight @dataclass class RubricQuality(AdditionalDataHolder, BackedModel, Parsable): @@ -26,7 +27,7 @@ class RubricQuality(AdditionalDataHolder, BackedModel, Parsable): # The ID of this resource. quality_id: Optional[str] = None # If present, a numerical weight for this quality. Weights must add up to 100. - weight: Optional[float] = None + weight: Optional[RubricQuality_weight] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> RubricQuality: @@ -46,9 +47,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .education_item_body import EducationItemBody from .rubric_criterion import RubricCriterion + from .rubric_quality_weight import RubricQuality_weight from .education_item_body import EducationItemBody from .rubric_criterion import RubricCriterion + from .rubric_quality_weight import RubricQuality_weight fields: Dict[str, Callable[[Any], None]] = { "criteria": lambda n : setattr(self, 'criteria', n.get_collection_of_object_values(RubricCriterion)), @@ -56,7 +59,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "qualityId": lambda n : setattr(self, 'quality_id', n.get_str_value()), - "weight": lambda n : setattr(self, 'weight', n.get_float_value()), + "weight": lambda n : setattr(self, 'weight', n.get_object_value(RubricQuality_weight)), } return fields @@ -73,7 +76,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("qualityId", self.quality_id) - writer.write_float_value("weight", self.weight) + writer.write_object_value("weight", self.weight) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/rubric_quality_weight.py b/msgraph/generated/models/rubric_quality_weight.py new file mode 100644 index 00000000000..cc4946a703e --- /dev/null +++ b/msgraph/generated/models/rubric_quality_weight.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class RubricQuality_weight(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + float: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RubricQuality_weight: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RubricQuality_weight + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = RubricQuality_weight() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif float_value := parse_node.get_float_value(): + result.float = float_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.float: + writer.write_float_value(None, self.float) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/scored_email_address.py b/msgraph/generated/models/scored_email_address.py index 3722f04c78f..f2e9e68d25f 100644 --- a/msgraph/generated/models/scored_email_address.py +++ b/msgraph/generated/models/scored_email_address.py @@ -5,6 +5,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .scored_email_address_relevance_score import ScoredEmailAddress_relevanceScore from .selection_likelihood_info import SelectionLikelihoodInfo @dataclass @@ -21,7 +22,7 @@ class ScoredEmailAddress(AdditionalDataHolder, BackedModel, Parsable): # The OdataType property odata_type: Optional[str] = None # 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. - relevance_score: Optional[float] = None + relevance_score: Optional[ScoredEmailAddress_relevanceScore] = None # The selectionLikelihood property selection_likelihood: Optional[SelectionLikelihoodInfo] = None @@ -41,15 +42,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .scored_email_address_relevance_score import ScoredEmailAddress_relevanceScore from .selection_likelihood_info import SelectionLikelihoodInfo + from .scored_email_address_relevance_score import ScoredEmailAddress_relevanceScore from .selection_likelihood_info import SelectionLikelihoodInfo fields: Dict[str, Callable[[Any], None]] = { "address": lambda n : setattr(self, 'address', n.get_str_value()), "itemId": lambda n : setattr(self, 'item_id', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), - "relevanceScore": lambda n : setattr(self, 'relevance_score', n.get_float_value()), + "relevanceScore": lambda n : setattr(self, 'relevance_score', n.get_object_value(ScoredEmailAddress_relevanceScore)), "selectionLikelihood": lambda n : setattr(self, 'selection_likelihood', n.get_enum_value(SelectionLikelihoodInfo)), } return fields @@ -65,7 +68,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("address", self.address) writer.write_str_value("itemId", self.item_id) writer.write_str_value("@odata.type", self.odata_type) - writer.write_float_value("relevanceScore", self.relevance_score) + writer.write_object_value("relevanceScore", self.relevance_score) writer.write_enum_value("selectionLikelihood", self.selection_likelihood) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/scored_email_address_relevance_score.py b/msgraph/generated/models/scored_email_address_relevance_score.py new file mode 100644 index 00000000000..54d4048957b --- /dev/null +++ b/msgraph/generated/models/scored_email_address_relevance_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class ScoredEmailAddress_relevanceScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ScoredEmailAddress_relevanceScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ScoredEmailAddress_relevanceScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = ScoredEmailAddress_relevanceScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/secure_score.py b/msgraph/generated/models/secure_score.py index aaf08496e3c..eb10d10886a 100644 --- a/msgraph/generated/models/secure_score.py +++ b/msgraph/generated/models/secure_score.py @@ -8,6 +8,8 @@ from .average_comparative_score import AverageComparativeScore from .control_score import ControlScore from .entity import Entity + from .secure_score_current_score import SecureScore_currentScore + from .secure_score_max_score import SecureScore_maxScore from .security_vendor_information import SecurityVendorInformation from .entity import Entity @@ -25,13 +27,13 @@ class SecureScore(Entity): # When the report was created. created_date_time: Optional[datetime.datetime] = None # Tenant current attained score on specified date. - current_score: Optional[float] = None + current_score: Optional[SecureScore_currentScore] = None # Microsoft-provided services for the tenant (for example, Exchange online, Skype, Sharepoint). enabled_services: Optional[List[str]] = None # Licensed user count of the given tenant. licensed_user_count: Optional[int] = None # Tenant maximum possible score on specified date. - max_score: Optional[float] = None + max_score: Optional[SecureScore_maxScore] = None # The OdataType property odata_type: Optional[str] = None # Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=SecureScore). Required. @@ -56,11 +58,15 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .average_comparative_score import AverageComparativeScore from .control_score import ControlScore from .entity import Entity + from .secure_score_current_score import SecureScore_currentScore + from .secure_score_max_score import SecureScore_maxScore from .security_vendor_information import SecurityVendorInformation from .average_comparative_score import AverageComparativeScore from .control_score import ControlScore from .entity import Entity + from .secure_score_current_score import SecureScore_currentScore + from .secure_score_max_score import SecureScore_maxScore from .security_vendor_information import SecurityVendorInformation fields: Dict[str, Callable[[Any], None]] = { @@ -69,10 +75,10 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "azureTenantId": lambda n : setattr(self, 'azure_tenant_id', n.get_str_value()), "controlScores": lambda n : setattr(self, 'control_scores', n.get_collection_of_object_values(ControlScore)), "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), - "currentScore": lambda n : setattr(self, 'current_score', n.get_float_value()), + "currentScore": lambda n : setattr(self, 'current_score', n.get_object_value(SecureScore_currentScore)), "enabledServices": lambda n : setattr(self, 'enabled_services', n.get_collection_of_primitive_values(str)), "licensedUserCount": lambda n : setattr(self, 'licensed_user_count', n.get_int_value()), - "maxScore": lambda n : setattr(self, 'max_score', n.get_float_value()), + "maxScore": lambda n : setattr(self, 'max_score', n.get_object_value(SecureScore_maxScore)), "vendorInformation": lambda n : setattr(self, 'vendor_information', n.get_object_value(SecurityVendorInformation)), } super_fields = super().get_field_deserializers() @@ -93,10 +99,10 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("azureTenantId", self.azure_tenant_id) writer.write_collection_of_object_values("controlScores", self.control_scores) writer.write_datetime_value("createdDateTime", self.created_date_time) - writer.write_float_value("currentScore", self.current_score) + writer.write_object_value("currentScore", self.current_score) writer.write_collection_of_primitive_values("enabledServices", self.enabled_services) writer.write_int_value("licensedUserCount", self.licensed_user_count) - writer.write_float_value("maxScore", self.max_score) + writer.write_object_value("maxScore", self.max_score) writer.write_object_value("vendorInformation", self.vendor_information) diff --git a/msgraph/generated/models/secure_score_control_profile.py b/msgraph/generated/models/secure_score_control_profile.py index 61a6a965c99..d3a4fe0d4fe 100644 --- a/msgraph/generated/models/secure_score_control_profile.py +++ b/msgraph/generated/models/secure_score_control_profile.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from .compliance_information import ComplianceInformation from .entity import Entity + from .secure_score_control_profile_max_score import SecureScoreControlProfile_maxScore from .secure_score_control_state_update import SecureScoreControlStateUpdate from .security_vendor_information import SecurityVendorInformation @@ -33,7 +34,7 @@ class SecureScoreControlProfile(Entity): # Time at which the control profile entity was last modified. The Timestamp type represents date and time last_modified_date_time: Optional[datetime.datetime] = None # max attainable score for the control. - max_score: Optional[float] = None + max_score: Optional[SecureScoreControlProfile_maxScore] = None # The OdataType property odata_type: Optional[str] = None # Microsoft's stack ranking of control. @@ -73,11 +74,13 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .compliance_information import ComplianceInformation from .entity import Entity + from .secure_score_control_profile_max_score import SecureScoreControlProfile_maxScore from .secure_score_control_state_update import SecureScoreControlStateUpdate from .security_vendor_information import SecurityVendorInformation from .compliance_information import ComplianceInformation from .entity import Entity + from .secure_score_control_profile_max_score import SecureScoreControlProfile_maxScore from .secure_score_control_state_update import SecureScoreControlStateUpdate from .security_vendor_information import SecurityVendorInformation @@ -91,7 +94,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "deprecated": lambda n : setattr(self, 'deprecated', n.get_bool_value()), "implementationCost": lambda n : setattr(self, 'implementation_cost', n.get_str_value()), "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), - "maxScore": lambda n : setattr(self, 'max_score', n.get_float_value()), + "maxScore": lambda n : setattr(self, 'max_score', n.get_object_value(SecureScoreControlProfile_maxScore)), "rank": lambda n : setattr(self, 'rank', n.get_int_value()), "remediation": lambda n : setattr(self, 'remediation', n.get_str_value()), "remediationImpact": lambda n : setattr(self, 'remediation_impact', n.get_str_value()), @@ -124,7 +127,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("deprecated", self.deprecated) writer.write_str_value("implementationCost", self.implementation_cost) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) - writer.write_float_value("maxScore", self.max_score) + writer.write_object_value("maxScore", self.max_score) writer.write_int_value("rank", self.rank) writer.write_str_value("remediation", self.remediation) writer.write_str_value("remediationImpact", self.remediation_impact) diff --git a/msgraph/generated/models/secure_score_control_profile_max_score.py b/msgraph/generated/models/secure_score_control_profile_max_score.py new file mode 100644 index 00000000000..785b12900c4 --- /dev/null +++ b/msgraph/generated/models/secure_score_control_profile_max_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class SecureScoreControlProfile_maxScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SecureScoreControlProfile_maxScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: SecureScoreControlProfile_maxScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = SecureScoreControlProfile_maxScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/secure_score_current_score.py b/msgraph/generated/models/secure_score_current_score.py new file mode 100644 index 00000000000..07760effccf --- /dev/null +++ b/msgraph/generated/models/secure_score_current_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class SecureScore_currentScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SecureScore_currentScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: SecureScore_currentScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = SecureScore_currentScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/secure_score_max_score.py b/msgraph/generated/models/secure_score_max_score.py new file mode 100644 index 00000000000..0f204cfdf43 --- /dev/null +++ b/msgraph/generated/models/secure_score_max_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class SecureScore_maxScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SecureScore_maxScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: SecureScore_maxScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = SecureScore_maxScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/security/cvss_summary.py b/msgraph/generated/models/security/cvss_summary.py index 94b87a15729..f116fab3c82 100644 --- a/msgraph/generated/models/security/cvss_summary.py +++ b/msgraph/generated/models/security/cvss_summary.py @@ -5,6 +5,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .cvss_summary_score import CvssSummary_score from .vulnerability_severity import VulnerabilitySeverity @dataclass @@ -17,7 +18,7 @@ class CvssSummary(AdditionalDataHolder, BackedModel, Parsable): # The OdataType property odata_type: Optional[str] = None # The CVSS score about this vulnerability. - score: Optional[float] = None + score: Optional[CvssSummary_score] = None # The CVSS severity rating for this vulnerability. The possible values are: none, low, medium, high, critical, unknownFutureValue. severity: Optional[VulnerabilitySeverity] = None # The CVSS vector string for this vulnerability. @@ -39,13 +40,15 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .cvss_summary_score import CvssSummary_score from .vulnerability_severity import VulnerabilitySeverity + from .cvss_summary_score import CvssSummary_score from .vulnerability_severity import VulnerabilitySeverity fields: Dict[str, Callable[[Any], None]] = { "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), - "score": lambda n : setattr(self, 'score', n.get_float_value()), + "score": lambda n : setattr(self, 'score', n.get_object_value(CvssSummary_score)), "severity": lambda n : setattr(self, 'severity', n.get_enum_value(VulnerabilitySeverity)), "vectorString": lambda n : setattr(self, 'vector_string', n.get_str_value()), } @@ -60,7 +63,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") writer.write_str_value("@odata.type", self.odata_type) - writer.write_float_value("score", self.score) + writer.write_object_value("score", self.score) writer.write_enum_value("severity", self.severity) writer.write_str_value("vectorString", self.vector_string) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/security/cvss_summary_score.py b/msgraph/generated/models/security/cvss_summary_score.py new file mode 100644 index 00000000000..9c886bcd66b --- /dev/null +++ b/msgraph/generated/models/security/cvss_summary_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class CvssSummary_score(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CvssSummary_score: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: CvssSummary_score + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = CvssSummary_score() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/security/geo_location.py b/msgraph/generated/models/security/geo_location.py index d486a72c33b..9cf052663e0 100644 --- a/msgraph/generated/models/security/geo_location.py +++ b/msgraph/generated/models/security/geo_location.py @@ -4,6 +4,10 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .geo_location_latitude import GeoLocation_latitude + from .geo_location_longitude import GeoLocation_longitude + @dataclass class GeoLocation(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -16,9 +20,9 @@ class GeoLocation(AdditionalDataHolder, BackedModel, Parsable): # The countryName property country_name: Optional[str] = None # The latitude property - latitude: Optional[float] = None + latitude: Optional[GeoLocation_latitude] = None # The longitude property - longitude: Optional[float] = None + longitude: Optional[GeoLocation_longitude] = None # The OdataType property odata_type: Optional[str] = None # The state property @@ -40,11 +44,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .geo_location_latitude import GeoLocation_latitude + from .geo_location_longitude import GeoLocation_longitude + + from .geo_location_latitude import GeoLocation_latitude + from .geo_location_longitude import GeoLocation_longitude + fields: Dict[str, Callable[[Any], None]] = { "city": lambda n : setattr(self, 'city', n.get_str_value()), "countryName": lambda n : setattr(self, 'country_name', n.get_str_value()), - "latitude": lambda n : setattr(self, 'latitude', n.get_float_value()), - "longitude": lambda n : setattr(self, 'longitude', n.get_float_value()), + "latitude": lambda n : setattr(self, 'latitude', n.get_object_value(GeoLocation_latitude)), + "longitude": lambda n : setattr(self, 'longitude', n.get_object_value(GeoLocation_longitude)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "state": lambda n : setattr(self, 'state', n.get_str_value()), } @@ -60,8 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") writer.write_str_value("city", self.city) writer.write_str_value("countryName", self.country_name) - writer.write_float_value("latitude", self.latitude) - writer.write_float_value("longitude", self.longitude) + writer.write_object_value("latitude", self.latitude) + writer.write_object_value("longitude", self.longitude) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("state", self.state) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/security/geo_location_latitude.py b/msgraph/generated/models/security/geo_location_latitude.py new file mode 100644 index 00000000000..3aefce00ba1 --- /dev/null +++ b/msgraph/generated/models/security/geo_location_latitude.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class GeoLocation_latitude(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GeoLocation_latitude: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: GeoLocation_latitude + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = GeoLocation_latitude() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/security/geo_location_longitude.py b/msgraph/generated/models/security/geo_location_longitude.py new file mode 100644 index 00000000000..9a43629d760 --- /dev/null +++ b/msgraph/generated/models/security/geo_location_longitude.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..reference_numeric import ReferenceNumeric + +@dataclass +class GeoLocation_longitude(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GeoLocation_longitude: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: GeoLocation_longitude + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = GeoLocation_longitude() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/service_principal.py b/msgraph/generated/models/service_principal.py index c5cb8ad23ca..5fa9d90ce0b 100644 --- a/msgraph/generated/models/service_principal.py +++ b/msgraph/generated/models/service_principal.py @@ -65,7 +65,7 @@ class ServicePrincipal(DirectoryObject): claims_mapping_policies: Optional[List[ClaimsMappingPolicy]] = None # Directory objects created by this service principal. Read-only. Nullable. created_objects: Optional[List[DirectoryObject]] = None - # 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. + # 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. custom_security_attributes: Optional[CustomSecurityAttributeValue] = None # The delegatedPermissionClassifications property delegated_permission_classifications: Optional[List[DelegatedPermissionClassification]] = None diff --git a/msgraph/generated/models/simulation_events_content.py b/msgraph/generated/models/simulation_events_content.py index 2b8cf1fb856..cdcdf254fec 100644 --- a/msgraph/generated/models/simulation_events_content.py +++ b/msgraph/generated/models/simulation_events_content.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .simulation_event import SimulationEvent + from .simulation_events_content_compromised_rate import SimulationEventsContent_compromisedRate @dataclass class SimulationEventsContent(AdditionalDataHolder, BackedModel, Parsable): @@ -15,7 +16,7 @@ class SimulationEventsContent(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) # Actual percentage of users who fell for the simulated attack in an attack simulation and training campaign. - compromised_rate: Optional[float] = None + compromised_rate: Optional[SimulationEventsContent_compromisedRate] = None # List of simulation events in an attack simulation and training campaign. events: Optional[List[SimulationEvent]] = None # The OdataType property @@ -38,11 +39,13 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .simulation_event import SimulationEvent + from .simulation_events_content_compromised_rate import SimulationEventsContent_compromisedRate from .simulation_event import SimulationEvent + from .simulation_events_content_compromised_rate import SimulationEventsContent_compromisedRate fields: Dict[str, Callable[[Any], None]] = { - "compromisedRate": lambda n : setattr(self, 'compromised_rate', n.get_float_value()), + "compromisedRate": lambda n : setattr(self, 'compromised_rate', n.get_object_value(SimulationEventsContent_compromisedRate)), "events": lambda n : setattr(self, 'events', n.get_collection_of_object_values(SimulationEvent)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } @@ -56,7 +59,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_float_value("compromisedRate", self.compromised_rate) + writer.write_object_value("compromisedRate", self.compromised_rate) writer.write_collection_of_object_values("events", self.events) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/simulation_events_content_compromised_rate.py b/msgraph/generated/models/simulation_events_content_compromised_rate.py new file mode 100644 index 00000000000..d3d200ad886 --- /dev/null +++ b/msgraph/generated/models/simulation_events_content_compromised_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class SimulationEventsContent_compromisedRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SimulationEventsContent_compromisedRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: SimulationEventsContent_compromisedRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = SimulationEventsContent_compromisedRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/teleconference_device_media_quality.py b/msgraph/generated/models/teleconference_device_media_quality.py index dee134e030d..21f7c8329ce 100644 --- a/msgraph/generated/models/teleconference_device_media_quality.py +++ b/msgraph/generated/models/teleconference_device_media_quality.py @@ -7,6 +7,10 @@ if TYPE_CHECKING: from .teleconference_device_audio_quality import TeleconferenceDeviceAudioQuality + from .teleconference_device_media_quality_average_inbound_packet_loss_rate_in_percentage import TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage + from .teleconference_device_media_quality_average_outbound_packet_loss_rate_in_percentage import TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage + from .teleconference_device_media_quality_maximum_inbound_packet_loss_rate_in_percentage import TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage + from .teleconference_device_media_quality_maximum_outbound_packet_loss_rate_in_percentage import TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage from .teleconference_device_screen_sharing_quality import TeleconferenceDeviceScreenSharingQuality from .teleconference_device_video_quality import TeleconferenceDeviceVideoQuality @@ -20,13 +24,13 @@ class TeleconferenceDeviceMediaQuality(AdditionalDataHolder, BackedModel, Parsab # The average inbound stream network jitter. average_inbound_jitter: Optional[datetime.timedelta] = None # The average inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. - average_inbound_packet_loss_rate_in_percentage: Optional[float] = None + average_inbound_packet_loss_rate_in_percentage: Optional[TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage] = None # The average inbound stream network round trip delay. average_inbound_round_trip_delay: Optional[datetime.timedelta] = None # The average outbound stream network jitter. average_outbound_jitter: Optional[datetime.timedelta] = None # The average outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. - average_outbound_packet_loss_rate_in_percentage: Optional[float] = None + average_outbound_packet_loss_rate_in_percentage: Optional[TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage] = None # The average outbound stream network round trip delay. average_outbound_round_trip_delay: Optional[datetime.timedelta] = None # The channel index of media. Indexing begins with 1. If a media session contains 3 video modalities, channel indexes will be 1, 2, and 3. @@ -40,13 +44,13 @@ class TeleconferenceDeviceMediaQuality(AdditionalDataHolder, BackedModel, Parsab # The maximum inbound stream network jitter. maximum_inbound_jitter: Optional[datetime.timedelta] = None # The maximum inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. - maximum_inbound_packet_loss_rate_in_percentage: Optional[float] = None + maximum_inbound_packet_loss_rate_in_percentage: Optional[TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage] = None # The maximum inbound stream network round trip delay. maximum_inbound_round_trip_delay: Optional[datetime.timedelta] = None # The maximum outbound stream network jitter. maximum_outbound_jitter: Optional[datetime.timedelta] = None # The maximum outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. - maximum_outbound_packet_loss_rate_in_percentage: Optional[float] = None + maximum_outbound_packet_loss_rate_in_percentage: Optional[TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage] = None # The maximum outbound stream network round trip delay. maximum_outbound_round_trip_delay: Optional[datetime.timedelta] = None # The total modality duration. If the media enabled and disabled multiple times, MediaDuration will the summation of all of the durations. @@ -95,29 +99,37 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .teleconference_device_audio_quality import TeleconferenceDeviceAudioQuality + from .teleconference_device_media_quality_average_inbound_packet_loss_rate_in_percentage import TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage + from .teleconference_device_media_quality_average_outbound_packet_loss_rate_in_percentage import TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage + from .teleconference_device_media_quality_maximum_inbound_packet_loss_rate_in_percentage import TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage + from .teleconference_device_media_quality_maximum_outbound_packet_loss_rate_in_percentage import TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage from .teleconference_device_screen_sharing_quality import TeleconferenceDeviceScreenSharingQuality from .teleconference_device_video_quality import TeleconferenceDeviceVideoQuality from .teleconference_device_audio_quality import TeleconferenceDeviceAudioQuality + from .teleconference_device_media_quality_average_inbound_packet_loss_rate_in_percentage import TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage + from .teleconference_device_media_quality_average_outbound_packet_loss_rate_in_percentage import TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage + from .teleconference_device_media_quality_maximum_inbound_packet_loss_rate_in_percentage import TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage + from .teleconference_device_media_quality_maximum_outbound_packet_loss_rate_in_percentage import TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage from .teleconference_device_screen_sharing_quality import TeleconferenceDeviceScreenSharingQuality from .teleconference_device_video_quality import TeleconferenceDeviceVideoQuality fields: Dict[str, Callable[[Any], None]] = { "averageInboundJitter": lambda n : setattr(self, 'average_inbound_jitter', n.get_timedelta_value()), - "averageInboundPacketLossRateInPercentage": lambda n : setattr(self, 'average_inbound_packet_loss_rate_in_percentage', n.get_float_value()), + "averageInboundPacketLossRateInPercentage": lambda n : setattr(self, 'average_inbound_packet_loss_rate_in_percentage', n.get_object_value(TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage)), "averageInboundRoundTripDelay": lambda n : setattr(self, 'average_inbound_round_trip_delay', n.get_timedelta_value()), "averageOutboundJitter": lambda n : setattr(self, 'average_outbound_jitter', n.get_timedelta_value()), - "averageOutboundPacketLossRateInPercentage": lambda n : setattr(self, 'average_outbound_packet_loss_rate_in_percentage', n.get_float_value()), + "averageOutboundPacketLossRateInPercentage": lambda n : setattr(self, 'average_outbound_packet_loss_rate_in_percentage', n.get_object_value(TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage)), "averageOutboundRoundTripDelay": lambda n : setattr(self, 'average_outbound_round_trip_delay', n.get_timedelta_value()), "channelIndex": lambda n : setattr(self, 'channel_index', n.get_int_value()), "inboundPackets": lambda n : setattr(self, 'inbound_packets', n.get_int_value()), "localIPAddress": lambda n : setattr(self, 'local_i_p_address', n.get_str_value()), "localPort": lambda n : setattr(self, 'local_port', n.get_int_value()), "maximumInboundJitter": lambda n : setattr(self, 'maximum_inbound_jitter', n.get_timedelta_value()), - "maximumInboundPacketLossRateInPercentage": lambda n : setattr(self, 'maximum_inbound_packet_loss_rate_in_percentage', n.get_float_value()), + "maximumInboundPacketLossRateInPercentage": lambda n : setattr(self, 'maximum_inbound_packet_loss_rate_in_percentage', n.get_object_value(TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage)), "maximumInboundRoundTripDelay": lambda n : setattr(self, 'maximum_inbound_round_trip_delay', n.get_timedelta_value()), "maximumOutboundJitter": lambda n : setattr(self, 'maximum_outbound_jitter', n.get_timedelta_value()), - "maximumOutboundPacketLossRateInPercentage": lambda n : setattr(self, 'maximum_outbound_packet_loss_rate_in_percentage', n.get_float_value()), + "maximumOutboundPacketLossRateInPercentage": lambda n : setattr(self, 'maximum_outbound_packet_loss_rate_in_percentage', n.get_object_value(TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage)), "maximumOutboundRoundTripDelay": lambda n : setattr(self, 'maximum_outbound_round_trip_delay', n.get_timedelta_value()), "mediaDuration": lambda n : setattr(self, 'media_duration', n.get_timedelta_value()), "networkLinkSpeedInBytes": lambda n : setattr(self, 'network_link_speed_in_bytes', n.get_int_value()), @@ -137,20 +149,20 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") writer.write_timedelta_value("averageInboundJitter", self.average_inbound_jitter) - writer.write_float_value("averageInboundPacketLossRateInPercentage", self.average_inbound_packet_loss_rate_in_percentage) + writer.write_object_value("averageInboundPacketLossRateInPercentage", self.average_inbound_packet_loss_rate_in_percentage) writer.write_timedelta_value("averageInboundRoundTripDelay", self.average_inbound_round_trip_delay) writer.write_timedelta_value("averageOutboundJitter", self.average_outbound_jitter) - writer.write_float_value("averageOutboundPacketLossRateInPercentage", self.average_outbound_packet_loss_rate_in_percentage) + writer.write_object_value("averageOutboundPacketLossRateInPercentage", self.average_outbound_packet_loss_rate_in_percentage) writer.write_timedelta_value("averageOutboundRoundTripDelay", self.average_outbound_round_trip_delay) writer.write_int_value("channelIndex", self.channel_index) writer.write_int_value("inboundPackets", self.inbound_packets) writer.write_str_value("localIPAddress", self.local_i_p_address) writer.write_int_value("localPort", self.local_port) writer.write_timedelta_value("maximumInboundJitter", self.maximum_inbound_jitter) - writer.write_float_value("maximumInboundPacketLossRateInPercentage", self.maximum_inbound_packet_loss_rate_in_percentage) + writer.write_object_value("maximumInboundPacketLossRateInPercentage", self.maximum_inbound_packet_loss_rate_in_percentage) writer.write_timedelta_value("maximumInboundRoundTripDelay", self.maximum_inbound_round_trip_delay) writer.write_timedelta_value("maximumOutboundJitter", self.maximum_outbound_jitter) - writer.write_float_value("maximumOutboundPacketLossRateInPercentage", self.maximum_outbound_packet_loss_rate_in_percentage) + writer.write_object_value("maximumOutboundPacketLossRateInPercentage", self.maximum_outbound_packet_loss_rate_in_percentage) writer.write_timedelta_value("maximumOutboundRoundTripDelay", self.maximum_outbound_round_trip_delay) writer.write_timedelta_value("mediaDuration", self.media_duration) writer.write_int_value("networkLinkSpeedInBytes", self.network_link_speed_in_bytes) diff --git a/msgraph/generated/models/teleconference_device_media_quality_average_inbound_packet_loss_rate_in_percentage.py b/msgraph/generated/models/teleconference_device_media_quality_average_inbound_packet_loss_rate_in_percentage.py new file mode 100644 index 00000000000..258b02248ca --- /dev/null +++ b/msgraph/generated/models/teleconference_device_media_quality_average_inbound_packet_loss_rate_in_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/teleconference_device_media_quality_average_outbound_packet_loss_rate_in_percentage.py b/msgraph/generated/models/teleconference_device_media_quality_average_outbound_packet_loss_rate_in_percentage.py new file mode 100644 index 00000000000..00c0071ffd7 --- /dev/null +++ b/msgraph/generated/models/teleconference_device_media_quality_average_outbound_packet_loss_rate_in_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/teleconference_device_media_quality_maximum_inbound_packet_loss_rate_in_percentage.py b/msgraph/generated/models/teleconference_device_media_quality_maximum_inbound_packet_loss_rate_in_percentage.py new file mode 100644 index 00000000000..4df290abace --- /dev/null +++ b/msgraph/generated/models/teleconference_device_media_quality_maximum_inbound_packet_loss_rate_in_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/teleconference_device_media_quality_maximum_outbound_packet_loss_rate_in_percentage.py b/msgraph/generated/models/teleconference_device_media_quality_maximum_outbound_packet_loss_rate_in_percentage.py new file mode 100644 index 00000000000..05499c786a1 --- /dev/null +++ b/msgraph/generated/models/teleconference_device_media_quality_maximum_outbound_packet_loss_rate_in_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/teleconference_device_video_quality.py b/msgraph/generated/models/teleconference_device_video_quality.py index 8924c5f2b9a..3e01b45d1ae 100644 --- a/msgraph/generated/models/teleconference_device_video_quality.py +++ b/msgraph/generated/models/teleconference_device_video_quality.py @@ -6,6 +6,10 @@ if TYPE_CHECKING: from .teleconference_device_media_quality import TeleconferenceDeviceMediaQuality from .teleconference_device_screen_sharing_quality import TeleconferenceDeviceScreenSharingQuality + from .teleconference_device_video_quality_average_inbound_bit_rate import TeleconferenceDeviceVideoQuality_averageInboundBitRate + from .teleconference_device_video_quality_average_inbound_frame_rate import TeleconferenceDeviceVideoQuality_averageInboundFrameRate + from .teleconference_device_video_quality_average_outbound_bit_rate import TeleconferenceDeviceVideoQuality_averageOutboundBitRate + from .teleconference_device_video_quality_average_outbound_frame_rate import TeleconferenceDeviceVideoQuality_averageOutboundFrameRate from .teleconference_device_media_quality import TeleconferenceDeviceMediaQuality @@ -14,13 +18,13 @@ class TeleconferenceDeviceVideoQuality(TeleconferenceDeviceMediaQuality): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.teleconferenceDeviceVideoQuality" # The average inbound stream video bit rate per second. - average_inbound_bit_rate: Optional[float] = None + average_inbound_bit_rate: Optional[TeleconferenceDeviceVideoQuality_averageInboundBitRate] = None # The average inbound stream video frame rate per second. - average_inbound_frame_rate: Optional[float] = None + average_inbound_frame_rate: Optional[TeleconferenceDeviceVideoQuality_averageInboundFrameRate] = None # The average outbound stream video bit rate per second. - average_outbound_bit_rate: Optional[float] = None + average_outbound_bit_rate: Optional[TeleconferenceDeviceVideoQuality_averageOutboundBitRate] = None # The average outbound stream video frame rate per second. - average_outbound_frame_rate: Optional[float] = None + average_outbound_frame_rate: Optional[TeleconferenceDeviceVideoQuality_averageOutboundFrameRate] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> TeleconferenceDeviceVideoQuality: @@ -48,15 +52,23 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .teleconference_device_media_quality import TeleconferenceDeviceMediaQuality from .teleconference_device_screen_sharing_quality import TeleconferenceDeviceScreenSharingQuality + from .teleconference_device_video_quality_average_inbound_bit_rate import TeleconferenceDeviceVideoQuality_averageInboundBitRate + from .teleconference_device_video_quality_average_inbound_frame_rate import TeleconferenceDeviceVideoQuality_averageInboundFrameRate + from .teleconference_device_video_quality_average_outbound_bit_rate import TeleconferenceDeviceVideoQuality_averageOutboundBitRate + from .teleconference_device_video_quality_average_outbound_frame_rate import TeleconferenceDeviceVideoQuality_averageOutboundFrameRate from .teleconference_device_media_quality import TeleconferenceDeviceMediaQuality from .teleconference_device_screen_sharing_quality import TeleconferenceDeviceScreenSharingQuality + from .teleconference_device_video_quality_average_inbound_bit_rate import TeleconferenceDeviceVideoQuality_averageInboundBitRate + from .teleconference_device_video_quality_average_inbound_frame_rate import TeleconferenceDeviceVideoQuality_averageInboundFrameRate + from .teleconference_device_video_quality_average_outbound_bit_rate import TeleconferenceDeviceVideoQuality_averageOutboundBitRate + from .teleconference_device_video_quality_average_outbound_frame_rate import TeleconferenceDeviceVideoQuality_averageOutboundFrameRate fields: Dict[str, Callable[[Any], None]] = { - "averageInboundBitRate": lambda n : setattr(self, 'average_inbound_bit_rate', n.get_float_value()), - "averageInboundFrameRate": lambda n : setattr(self, 'average_inbound_frame_rate', n.get_float_value()), - "averageOutboundBitRate": lambda n : setattr(self, 'average_outbound_bit_rate', n.get_float_value()), - "averageOutboundFrameRate": lambda n : setattr(self, 'average_outbound_frame_rate', n.get_float_value()), + "averageInboundBitRate": lambda n : setattr(self, 'average_inbound_bit_rate', n.get_object_value(TeleconferenceDeviceVideoQuality_averageInboundBitRate)), + "averageInboundFrameRate": lambda n : setattr(self, 'average_inbound_frame_rate', n.get_object_value(TeleconferenceDeviceVideoQuality_averageInboundFrameRate)), + "averageOutboundBitRate": lambda n : setattr(self, 'average_outbound_bit_rate', n.get_object_value(TeleconferenceDeviceVideoQuality_averageOutboundBitRate)), + "averageOutboundFrameRate": lambda n : setattr(self, 'average_outbound_frame_rate', n.get_object_value(TeleconferenceDeviceVideoQuality_averageOutboundFrameRate)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -71,9 +83,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_float_value("averageInboundBitRate", self.average_inbound_bit_rate) - writer.write_float_value("averageInboundFrameRate", self.average_inbound_frame_rate) - writer.write_float_value("averageOutboundBitRate", self.average_outbound_bit_rate) - writer.write_float_value("averageOutboundFrameRate", self.average_outbound_frame_rate) + writer.write_object_value("averageInboundBitRate", self.average_inbound_bit_rate) + writer.write_object_value("averageInboundFrameRate", self.average_inbound_frame_rate) + writer.write_object_value("averageOutboundBitRate", self.average_outbound_bit_rate) + writer.write_object_value("averageOutboundFrameRate", self.average_outbound_frame_rate) diff --git a/msgraph/generated/models/teleconference_device_video_quality_average_inbound_bit_rate.py b/msgraph/generated/models/teleconference_device_video_quality_average_inbound_bit_rate.py new file mode 100644 index 00000000000..02a1e324fe6 --- /dev/null +++ b/msgraph/generated/models/teleconference_device_video_quality_average_inbound_bit_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class TeleconferenceDeviceVideoQuality_averageInboundBitRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> TeleconferenceDeviceVideoQuality_averageInboundBitRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: TeleconferenceDeviceVideoQuality_averageInboundBitRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = TeleconferenceDeviceVideoQuality_averageInboundBitRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/teleconference_device_video_quality_average_inbound_frame_rate.py b/msgraph/generated/models/teleconference_device_video_quality_average_inbound_frame_rate.py new file mode 100644 index 00000000000..9f6ef9a682a --- /dev/null +++ b/msgraph/generated/models/teleconference_device_video_quality_average_inbound_frame_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class TeleconferenceDeviceVideoQuality_averageInboundFrameRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> TeleconferenceDeviceVideoQuality_averageInboundFrameRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: TeleconferenceDeviceVideoQuality_averageInboundFrameRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = TeleconferenceDeviceVideoQuality_averageInboundFrameRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/teleconference_device_video_quality_average_outbound_bit_rate.py b/msgraph/generated/models/teleconference_device_video_quality_average_outbound_bit_rate.py new file mode 100644 index 00000000000..02d449e2aec --- /dev/null +++ b/msgraph/generated/models/teleconference_device_video_quality_average_outbound_bit_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class TeleconferenceDeviceVideoQuality_averageOutboundBitRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> TeleconferenceDeviceVideoQuality_averageOutboundBitRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: TeleconferenceDeviceVideoQuality_averageOutboundBitRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = TeleconferenceDeviceVideoQuality_averageOutboundBitRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/teleconference_device_video_quality_average_outbound_frame_rate.py b/msgraph/generated/models/teleconference_device_video_quality_average_outbound_frame_rate.py new file mode 100644 index 00000000000..fa423c06b3a --- /dev/null +++ b/msgraph/generated/models/teleconference_device_video_quality_average_outbound_frame_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class TeleconferenceDeviceVideoQuality_averageOutboundFrameRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> TeleconferenceDeviceVideoQuality_averageOutboundFrameRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: TeleconferenceDeviceVideoQuality_averageOutboundFrameRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = TeleconferenceDeviceVideoQuality_averageOutboundFrameRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/trending.py b/msgraph/generated/models/trending.py index d083e8907b2..b339f749c2a 100644 --- a/msgraph/generated/models/trending.py +++ b/msgraph/generated/models/trending.py @@ -8,6 +8,7 @@ from .entity import Entity from .resource_reference import ResourceReference from .resource_visualization import ResourceVisualization + from .trending_weight import Trending_weight from .entity import Entity @@ -24,7 +25,7 @@ class Trending(Entity): # Properties that you can use to visualize the document in your experience. resource_visualization: Optional[ResourceVisualization] = None # 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. - weight: Optional[float] = None + weight: Optional[Trending_weight] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> Trending: @@ -45,17 +46,19 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .entity import Entity from .resource_reference import ResourceReference from .resource_visualization import ResourceVisualization + from .trending_weight import Trending_weight from .entity import Entity from .resource_reference import ResourceReference from .resource_visualization import ResourceVisualization + from .trending_weight import Trending_weight fields: Dict[str, Callable[[Any], None]] = { "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), "resource": lambda n : setattr(self, 'resource', n.get_object_value(Entity)), "resourceReference": lambda n : setattr(self, 'resource_reference', n.get_object_value(ResourceReference)), "resourceVisualization": lambda n : setattr(self, 'resource_visualization', n.get_object_value(ResourceVisualization)), - "weight": lambda n : setattr(self, 'weight', n.get_float_value()), + "weight": lambda n : setattr(self, 'weight', n.get_object_value(Trending_weight)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -72,6 +75,6 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_object_value("resource", self.resource) - writer.write_float_value("weight", self.weight) + writer.write_object_value("weight", self.weight) diff --git a/msgraph/generated/models/trending_weight.py b/msgraph/generated/models/trending_weight.py new file mode 100644 index 00000000000..3d6ac320d84 --- /dev/null +++ b/msgraph/generated/models/trending_weight.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class Trending_weight(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> Trending_weight: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: Trending_weight + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = Trending_weight() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user.py b/msgraph/generated/models/user.py index ac3b2977c8e..0792d294adf 100644 --- a/msgraph/generated/models/user.py +++ b/msgraph/generated/models/user.py @@ -123,7 +123,7 @@ class User(DirectoryObject): created_objects: Optional[List[DirectoryObject]] = None # Indicates whether the user account was created through one of the following methods: As a regular school or work account (null). As an external account (Invitation). As a local account for an Azure Active Directory B2C tenant (LocalAccount). Through self-service sign-up by an internal user using email verification (EmailVerified). Through self-service sign-up by a guest signing up through a link that is part of a user flow (SelfServiceSignUp). Read-only.Returned only on $select. Supports $filter (eq, ne, not, in). creation_type: Optional[str] = None - # 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. + # 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. custom_security_attributes: Optional[CustomSecurityAttributeValue] = None # The name of the department in which the user works. Maximum length is 64 characters. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in, and eq on null values). department: Optional[str] = None @@ -145,7 +145,7 @@ class User(DirectoryObject): employee_hire_date: Optional[datetime.datetime] = None # The employee identifier assigned to the user by the organization. The maximum length is 16 characters. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). employee_id: Optional[str] = None - # 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. + # 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. employee_leave_date_time: Optional[datetime.datetime] = None # Represents organization data (for example, division and costCenter) associated with a user. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in). employee_org_data: Optional[EmployeeOrgData] = None @@ -223,7 +223,7 @@ class User(DirectoryObject): on_premises_distinguished_name: Optional[str] = None # Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect. Read-only. Returned only on $select. on_premises_domain_name: Optional[str] = None - # 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). + # 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). on_premises_extension_attributes: Optional[OnPremisesExtensionAttributes] = None # This property is used to associate an on-premises Active Directory user account to their Microsoft Entra user object. This property must be specified when creating a new user account in the Graph if you're using a federated domain for the user's userPrincipalName (UPN) property. NOTE: The $ and _ characters can't be used when specifying this property. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in). on_premises_immutable_id: Optional[str] = None diff --git a/msgraph/generated/models/user_experience_analytics_app_health_application_performance.py b/msgraph/generated/models/user_experience_analytics_app_health_application_performance.py index 65eb1f08278..84545616f14 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_application_performance.py +++ b/msgraph/generated/models/user_experience_analytics_app_health_application_performance.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .entity import Entity + from .user_experience_analytics_app_health_application_performance_app_health_score import UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore from .entity import Entity @@ -22,7 +23,7 @@ class UserExperienceAnalyticsAppHealthApplicationPerformance(Entity): # The number of hangs for the application. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647 app_hang_count: Optional[int] = None # 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 - app_health_score: Optional[float] = None + app_health_score: Optional[UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore] = None # The name of the application. Possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only. app_name: Optional[str] = None # The publisher of the application. Supports: $select, $OrderBy. Read-only. @@ -51,15 +52,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .entity import Entity + from .user_experience_analytics_app_health_application_performance_app_health_score import UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore from .entity import Entity + from .user_experience_analytics_app_health_application_performance_app_health_score import UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore fields: Dict[str, Callable[[Any], None]] = { "activeDeviceCount": lambda n : setattr(self, 'active_device_count', n.get_int_value()), "appCrashCount": lambda n : setattr(self, 'app_crash_count', n.get_int_value()), "appDisplayName": lambda n : setattr(self, 'app_display_name', n.get_str_value()), "appHangCount": lambda n : setattr(self, 'app_hang_count', n.get_int_value()), - "appHealthScore": lambda n : setattr(self, 'app_health_score', n.get_float_value()), + "appHealthScore": lambda n : setattr(self, 'app_health_score', n.get_object_value(UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore)), "appName": lambda n : setattr(self, 'app_name', n.get_str_value()), "appPublisher": lambda n : setattr(self, 'app_publisher', n.get_str_value()), "appUsageDuration": lambda n : setattr(self, 'app_usage_duration', n.get_int_value()), @@ -82,7 +85,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_int_value("appCrashCount", self.app_crash_count) writer.write_str_value("appDisplayName", self.app_display_name) writer.write_int_value("appHangCount", self.app_hang_count) - writer.write_float_value("appHealthScore", self.app_health_score) + writer.write_object_value("appHealthScore", self.app_health_score) writer.write_str_value("appName", self.app_name) writer.write_str_value("appPublisher", self.app_publisher) writer.write_int_value("appUsageDuration", self.app_usage_duration) diff --git a/msgraph/generated/models/user_experience_analytics_app_health_application_performance_app_health_score.py b/msgraph/generated/models/user_experience_analytics_app_health_application_performance_app_health_score.py new file mode 100644 index 00000000000..22f9b16a193 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_app_health_application_performance_app_health_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_app_health_device_model_performance.py b/msgraph/generated/models/user_experience_analytics_app_health_device_model_performance.py index 95d1edb1fc1..3e38bd72269 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_device_model_performance.py +++ b/msgraph/generated/models/user_experience_analytics_app_health_device_model_performance.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .entity import Entity + from .user_experience_analytics_app_health_device_model_performance_model_app_health_score import UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState from .entity import Entity @@ -25,7 +26,7 @@ class UserExperienceAnalyticsAppHealthDeviceModelPerformance(Entity): # The mean time to failure for the application in minutes. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647 mean_time_to_failure_in_minutes: Optional[int] = None # 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 - model_app_health_score: Optional[float] = None + model_app_health_score: Optional[UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore] = None # The OdataType property odata_type: Optional[str] = None @@ -46,9 +47,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .entity import Entity + from .user_experience_analytics_app_health_device_model_performance_model_app_health_score import UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState from .entity import Entity + from .user_experience_analytics_app_health_device_model_performance_model_app_health_score import UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState fields: Dict[str, Callable[[Any], None]] = { @@ -57,7 +60,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "deviceModel": lambda n : setattr(self, 'device_model', n.get_str_value()), "healthStatus": lambda n : setattr(self, 'health_status', n.get_enum_value(UserExperienceAnalyticsHealthState)), "meanTimeToFailureInMinutes": lambda n : setattr(self, 'mean_time_to_failure_in_minutes', n.get_int_value()), - "modelAppHealthScore": lambda n : setattr(self, 'model_app_health_score', n.get_float_value()), + "modelAppHealthScore": lambda n : setattr(self, 'model_app_health_score', n.get_object_value(UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -77,6 +80,6 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("deviceModel", self.device_model) writer.write_enum_value("healthStatus", self.health_status) writer.write_int_value("meanTimeToFailureInMinutes", self.mean_time_to_failure_in_minutes) - writer.write_float_value("modelAppHealthScore", self.model_app_health_score) + writer.write_object_value("modelAppHealthScore", self.model_app_health_score) diff --git a/msgraph/generated/models/user_experience_analytics_app_health_device_model_performance_model_app_health_score.py b/msgraph/generated/models/user_experience_analytics_app_health_device_model_performance_model_app_health_score.py new file mode 100644 index 00000000000..07e221063bb --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_app_health_device_model_performance_model_app_health_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_app_health_device_performance.py b/msgraph/generated/models/user_experience_analytics_app_health_device_performance.py index 4342a88597d..e4e4c413d2f 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_device_performance.py +++ b/msgraph/generated/models/user_experience_analytics_app_health_device_performance.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .entity import Entity + from .user_experience_analytics_app_health_device_performance_device_app_health_score import UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState from .entity import Entity @@ -22,7 +23,7 @@ class UserExperienceAnalyticsAppHealthDevicePerformance(Entity): # The number of distinct application crashes for the device. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647 crashed_app_count: Optional[int] = None # 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 - device_app_health_score: Optional[float] = None + device_app_health_score: Optional[UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore] = None # The name of the device. Supports: $select, $OrderBy. Read-only. device_display_name: Optional[str] = None # The Intune device id of the device. Supports: $select, $OrderBy. Read-only. @@ -57,16 +58,18 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .entity import Entity + from .user_experience_analytics_app_health_device_performance_device_app_health_score import UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState from .entity import Entity + from .user_experience_analytics_app_health_device_performance_device_app_health_score import UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState fields: Dict[str, Callable[[Any], None]] = { "appCrashCount": lambda n : setattr(self, 'app_crash_count', n.get_int_value()), "appHangCount": lambda n : setattr(self, 'app_hang_count', n.get_int_value()), "crashedAppCount": lambda n : setattr(self, 'crashed_app_count', n.get_int_value()), - "deviceAppHealthScore": lambda n : setattr(self, 'device_app_health_score', n.get_float_value()), + "deviceAppHealthScore": lambda n : setattr(self, 'device_app_health_score', n.get_object_value(UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore)), "deviceDisplayName": lambda n : setattr(self, 'device_display_name', n.get_str_value()), "deviceId": lambda n : setattr(self, 'device_id', n.get_str_value()), "deviceManufacturer": lambda n : setattr(self, 'device_manufacturer', n.get_str_value()), @@ -91,7 +94,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_int_value("appCrashCount", self.app_crash_count) writer.write_int_value("appHangCount", self.app_hang_count) writer.write_int_value("crashedAppCount", self.crashed_app_count) - writer.write_float_value("deviceAppHealthScore", self.device_app_health_score) + writer.write_object_value("deviceAppHealthScore", self.device_app_health_score) writer.write_str_value("deviceDisplayName", self.device_display_name) writer.write_str_value("deviceId", self.device_id) writer.write_str_value("deviceManufacturer", self.device_manufacturer) diff --git a/msgraph/generated/models/user_experience_analytics_app_health_device_performance_device_app_health_score.py b/msgraph/generated/models/user_experience_analytics_app_health_device_performance_device_app_health_score.py new file mode 100644 index 00000000000..74964c91c39 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_app_health_device_performance_device_app_health_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_app_health_o_s_version_performance.py b/msgraph/generated/models/user_experience_analytics_app_health_o_s_version_performance.py index 3f159c3e08a..d59fb88cfbb 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_o_s_version_performance.py +++ b/msgraph/generated/models/user_experience_analytics_app_health_o_s_version_performance.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .entity import Entity + from .user_experience_analytics_app_health_o_s_version_performance_os_version_app_health_score import UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore from .entity import Entity @@ -24,7 +25,7 @@ class UserExperienceAnalyticsAppHealthOSVersionPerformance(Entity): # The OS version installed on the device. Supports: $select, $OrderBy. Read-only. os_version: Optional[str] = None # 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 - os_version_app_health_score: Optional[float] = None + os_version_app_health_score: Optional[UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsAppHealthOSVersionPerformance: @@ -43,15 +44,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .entity import Entity + from .user_experience_analytics_app_health_o_s_version_performance_os_version_app_health_score import UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore from .entity import Entity + from .user_experience_analytics_app_health_o_s_version_performance_os_version_app_health_score import UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore fields: Dict[str, Callable[[Any], None]] = { "activeDeviceCount": lambda n : setattr(self, 'active_device_count', n.get_int_value()), "meanTimeToFailureInMinutes": lambda n : setattr(self, 'mean_time_to_failure_in_minutes', n.get_int_value()), "osBuildNumber": lambda n : setattr(self, 'os_build_number', n.get_str_value()), "osVersion": lambda n : setattr(self, 'os_version', n.get_str_value()), - "osVersionAppHealthScore": lambda n : setattr(self, 'os_version_app_health_score', n.get_float_value()), + "osVersionAppHealthScore": lambda n : setattr(self, 'os_version_app_health_score', n.get_object_value(UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -70,6 +73,6 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_int_value("meanTimeToFailureInMinutes", self.mean_time_to_failure_in_minutes) writer.write_str_value("osBuildNumber", self.os_build_number) writer.write_str_value("osVersion", self.os_version) - writer.write_float_value("osVersionAppHealthScore", self.os_version_app_health_score) + writer.write_object_value("osVersionAppHealthScore", self.os_version_app_health_score) diff --git a/msgraph/generated/models/user_experience_analytics_app_health_o_s_version_performance_os_version_app_health_score.py b/msgraph/generated/models/user_experience_analytics_app_health_o_s_version_performance_os_version_app_health_score.py new file mode 100644 index 00000000000..cddfab167bf --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_app_health_o_s_version_performance_os_version_app_health_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_device_performance.py b/msgraph/generated/models/user_experience_analytics_device_performance.py index 86dd2c979fd..cb284f4e7e0 100644 --- a/msgraph/generated/models/user_experience_analytics_device_performance.py +++ b/msgraph/generated/models/user_experience_analytics_device_performance.py @@ -6,6 +6,10 @@ if TYPE_CHECKING: from .disk_type import DiskType from .entity import Entity + from .user_experience_analytics_device_performance_average_blue_screens import UserExperienceAnalyticsDevicePerformance_averageBlueScreens + from .user_experience_analytics_device_performance_average_restarts import UserExperienceAnalyticsDevicePerformance_averageRestarts + from .user_experience_analytics_device_performance_model_startup_performance_score import UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore + from .user_experience_analytics_device_performance_startup_performance_score import UserExperienceAnalyticsDevicePerformance_startupPerformanceScore from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState from .entity import Entity @@ -16,9 +20,9 @@ class UserExperienceAnalyticsDevicePerformance(Entity): The user experience analytics device performance entity contains device boot performance details. """ # Average (mean) number of Blue Screens per device in the last 30 days. Valid values 0 to 9999999 - average_blue_screens: Optional[float] = None + average_blue_screens: Optional[UserExperienceAnalyticsDevicePerformance_averageBlueScreens] = None # Average (mean) number of Restarts per device in the last 30 days. Valid values 0 to 9999999 - average_restarts: Optional[float] = None + average_restarts: Optional[UserExperienceAnalyticsDevicePerformance_averageRestarts] = None # Number of Blue Screens in the last 30 days. Valid values 0 to 9999999 blue_screen_count: Optional[int] = None # The user experience analytics device boot score. @@ -46,7 +50,7 @@ class UserExperienceAnalyticsDevicePerformance(Entity): # The user experience analytics device model. model: Optional[str] = None # The user experience analytics model level startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - model_startup_performance_score: Optional[float] = None + model_startup_performance_score: Optional[UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore] = None # The OdataType property odata_type: Optional[str] = None # The user experience analytics device Operating System version. @@ -56,7 +60,7 @@ class UserExperienceAnalyticsDevicePerformance(Entity): # Number of Restarts in the last 30 days. Valid values 0 to 9999999 restart_count: Optional[int] = None # The user experience analytics device startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - startup_performance_score: Optional[float] = None + startup_performance_score: Optional[UserExperienceAnalyticsDevicePerformance_startupPerformanceScore] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsDevicePerformance: @@ -76,15 +80,23 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .disk_type import DiskType from .entity import Entity + from .user_experience_analytics_device_performance_average_blue_screens import UserExperienceAnalyticsDevicePerformance_averageBlueScreens + from .user_experience_analytics_device_performance_average_restarts import UserExperienceAnalyticsDevicePerformance_averageRestarts + from .user_experience_analytics_device_performance_model_startup_performance_score import UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore + from .user_experience_analytics_device_performance_startup_performance_score import UserExperienceAnalyticsDevicePerformance_startupPerformanceScore from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState from .disk_type import DiskType from .entity import Entity + from .user_experience_analytics_device_performance_average_blue_screens import UserExperienceAnalyticsDevicePerformance_averageBlueScreens + from .user_experience_analytics_device_performance_average_restarts import UserExperienceAnalyticsDevicePerformance_averageRestarts + from .user_experience_analytics_device_performance_model_startup_performance_score import UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore + from .user_experience_analytics_device_performance_startup_performance_score import UserExperienceAnalyticsDevicePerformance_startupPerformanceScore from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState fields: Dict[str, Callable[[Any], None]] = { - "averageBlueScreens": lambda n : setattr(self, 'average_blue_screens', n.get_float_value()), - "averageRestarts": lambda n : setattr(self, 'average_restarts', n.get_float_value()), + "averageBlueScreens": lambda n : setattr(self, 'average_blue_screens', n.get_object_value(UserExperienceAnalyticsDevicePerformance_averageBlueScreens)), + "averageRestarts": lambda n : setattr(self, 'average_restarts', n.get_object_value(UserExperienceAnalyticsDevicePerformance_averageRestarts)), "blueScreenCount": lambda n : setattr(self, 'blue_screen_count', n.get_int_value()), "bootScore": lambda n : setattr(self, 'boot_score', n.get_int_value()), "coreBootTimeInMs": lambda n : setattr(self, 'core_boot_time_in_ms', n.get_int_value()), @@ -98,11 +110,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "loginScore": lambda n : setattr(self, 'login_score', n.get_int_value()), "manufacturer": lambda n : setattr(self, 'manufacturer', n.get_str_value()), "model": lambda n : setattr(self, 'model', n.get_str_value()), - "modelStartupPerformanceScore": lambda n : setattr(self, 'model_startup_performance_score', n.get_float_value()), + "modelStartupPerformanceScore": lambda n : setattr(self, 'model_startup_performance_score', n.get_object_value(UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore)), "operatingSystemVersion": lambda n : setattr(self, 'operating_system_version', n.get_str_value()), "responsiveDesktopTimeInMs": lambda n : setattr(self, 'responsive_desktop_time_in_ms', n.get_int_value()), "restartCount": lambda n : setattr(self, 'restart_count', n.get_int_value()), - "startupPerformanceScore": lambda n : setattr(self, 'startup_performance_score', n.get_float_value()), + "startupPerformanceScore": lambda n : setattr(self, 'startup_performance_score', n.get_object_value(UserExperienceAnalyticsDevicePerformance_startupPerformanceScore)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -117,8 +129,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_float_value("averageBlueScreens", self.average_blue_screens) - writer.write_float_value("averageRestarts", self.average_restarts) + writer.write_object_value("averageBlueScreens", self.average_blue_screens) + writer.write_object_value("averageRestarts", self.average_restarts) writer.write_int_value("blueScreenCount", self.blue_screen_count) writer.write_int_value("bootScore", self.boot_score) writer.write_int_value("coreBootTimeInMs", self.core_boot_time_in_ms) @@ -132,10 +144,10 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_int_value("loginScore", self.login_score) writer.write_str_value("manufacturer", self.manufacturer) writer.write_str_value("model", self.model) - writer.write_float_value("modelStartupPerformanceScore", self.model_startup_performance_score) + writer.write_object_value("modelStartupPerformanceScore", self.model_startup_performance_score) writer.write_str_value("operatingSystemVersion", self.operating_system_version) writer.write_int_value("responsiveDesktopTimeInMs", self.responsive_desktop_time_in_ms) writer.write_int_value("restartCount", self.restart_count) - writer.write_float_value("startupPerformanceScore", self.startup_performance_score) + writer.write_object_value("startupPerformanceScore", self.startup_performance_score) diff --git a/msgraph/generated/models/user_experience_analytics_device_performance_average_blue_screens.py b/msgraph/generated/models/user_experience_analytics_device_performance_average_blue_screens.py new file mode 100644 index 00000000000..b341d1064c5 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_device_performance_average_blue_screens.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsDevicePerformance_averageBlueScreens(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsDevicePerformance_averageBlueScreens: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsDevicePerformance_averageBlueScreens + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsDevicePerformance_averageBlueScreens() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_device_performance_average_restarts.py b/msgraph/generated/models/user_experience_analytics_device_performance_average_restarts.py new file mode 100644 index 00000000000..696f1df3ea7 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_device_performance_average_restarts.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsDevicePerformance_averageRestarts(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsDevicePerformance_averageRestarts: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsDevicePerformance_averageRestarts + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsDevicePerformance_averageRestarts() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_device_performance_model_startup_performance_score.py b/msgraph/generated/models/user_experience_analytics_device_performance_model_startup_performance_score.py new file mode 100644 index 00000000000..9fa3ab31e4c --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_device_performance_model_startup_performance_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_device_performance_startup_performance_score.py b/msgraph/generated/models/user_experience_analytics_device_performance_startup_performance_score.py new file mode 100644 index 00000000000..d421b51f7e9 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_device_performance_startup_performance_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsDevicePerformance_startupPerformanceScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsDevicePerformance_startupPerformanceScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsDevicePerformance_startupPerformanceScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsDevicePerformance_startupPerformanceScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_device_scores.py b/msgraph/generated/models/user_experience_analytics_device_scores.py index 9984a716711..aa11e6eff1c 100644 --- a/msgraph/generated/models/user_experience_analytics_device_scores.py +++ b/msgraph/generated/models/user_experience_analytics_device_scores.py @@ -5,6 +5,11 @@ if TYPE_CHECKING: from .entity import Entity + from .user_experience_analytics_device_scores_app_reliability_score import UserExperienceAnalyticsDeviceScores_appReliabilityScore + from .user_experience_analytics_device_scores_battery_health_score import UserExperienceAnalyticsDeviceScores_batteryHealthScore + from .user_experience_analytics_device_scores_endpoint_analytics_score import UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore + from .user_experience_analytics_device_scores_startup_performance_score import UserExperienceAnalyticsDeviceScores_startupPerformanceScore + from .user_experience_analytics_device_scores_work_from_anywhere_score import UserExperienceAnalyticsDeviceScores_workFromAnywhereScore from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState from .entity import Entity @@ -15,13 +20,13 @@ class UserExperienceAnalyticsDeviceScores(Entity): The user experience analytics device scores entity consolidates the various Endpoint Analytics scores. """ # 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 - app_reliability_score: Optional[float] = None + app_reliability_score: Optional[UserExperienceAnalyticsDeviceScores_appReliabilityScore] = None # 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 - battery_health_score: Optional[float] = None + battery_health_score: Optional[UserExperienceAnalyticsDeviceScores_batteryHealthScore] = None # The name of the device. Supports: $select, $OrderBy. Read-only. device_name: Optional[str] = None # 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 - endpoint_analytics_score: Optional[float] = None + endpoint_analytics_score: Optional[UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore] = None # The healthStatus property health_status: Optional[UserExperienceAnalyticsHealthState] = None # The manufacturer name of the device. Examples: Microsoft Corporation, HP, Lenovo. Supports: $select, $OrderBy. Read-only. @@ -31,9 +36,9 @@ class UserExperienceAnalyticsDeviceScores(Entity): # The OdataType property odata_type: Optional[str] = None # 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 - startup_performance_score: Optional[float] = None + startup_performance_score: Optional[UserExperienceAnalyticsDeviceScores_startupPerformanceScore] = None # 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 - work_from_anywhere_score: Optional[float] = None + work_from_anywhere_score: Optional[UserExperienceAnalyticsDeviceScores_workFromAnywhereScore] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsDeviceScores: @@ -52,21 +57,31 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .entity import Entity + from .user_experience_analytics_device_scores_app_reliability_score import UserExperienceAnalyticsDeviceScores_appReliabilityScore + from .user_experience_analytics_device_scores_battery_health_score import UserExperienceAnalyticsDeviceScores_batteryHealthScore + from .user_experience_analytics_device_scores_endpoint_analytics_score import UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore + from .user_experience_analytics_device_scores_startup_performance_score import UserExperienceAnalyticsDeviceScores_startupPerformanceScore + from .user_experience_analytics_device_scores_work_from_anywhere_score import UserExperienceAnalyticsDeviceScores_workFromAnywhereScore from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState from .entity import Entity + from .user_experience_analytics_device_scores_app_reliability_score import UserExperienceAnalyticsDeviceScores_appReliabilityScore + from .user_experience_analytics_device_scores_battery_health_score import UserExperienceAnalyticsDeviceScores_batteryHealthScore + from .user_experience_analytics_device_scores_endpoint_analytics_score import UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore + from .user_experience_analytics_device_scores_startup_performance_score import UserExperienceAnalyticsDeviceScores_startupPerformanceScore + from .user_experience_analytics_device_scores_work_from_anywhere_score import UserExperienceAnalyticsDeviceScores_workFromAnywhereScore from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState fields: Dict[str, Callable[[Any], None]] = { - "appReliabilityScore": lambda n : setattr(self, 'app_reliability_score', n.get_float_value()), - "batteryHealthScore": lambda n : setattr(self, 'battery_health_score', n.get_float_value()), + "appReliabilityScore": lambda n : setattr(self, 'app_reliability_score', n.get_object_value(UserExperienceAnalyticsDeviceScores_appReliabilityScore)), + "batteryHealthScore": lambda n : setattr(self, 'battery_health_score', n.get_object_value(UserExperienceAnalyticsDeviceScores_batteryHealthScore)), "deviceName": lambda n : setattr(self, 'device_name', n.get_str_value()), - "endpointAnalyticsScore": lambda n : setattr(self, 'endpoint_analytics_score', n.get_float_value()), + "endpointAnalyticsScore": lambda n : setattr(self, 'endpoint_analytics_score', n.get_object_value(UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore)), "healthStatus": lambda n : setattr(self, 'health_status', n.get_enum_value(UserExperienceAnalyticsHealthState)), "manufacturer": lambda n : setattr(self, 'manufacturer', n.get_str_value()), "model": lambda n : setattr(self, 'model', n.get_str_value()), - "startupPerformanceScore": lambda n : setattr(self, 'startup_performance_score', n.get_float_value()), - "workFromAnywhereScore": lambda n : setattr(self, 'work_from_anywhere_score', n.get_float_value()), + "startupPerformanceScore": lambda n : setattr(self, 'startup_performance_score', n.get_object_value(UserExperienceAnalyticsDeviceScores_startupPerformanceScore)), + "workFromAnywhereScore": lambda n : setattr(self, 'work_from_anywhere_score', n.get_object_value(UserExperienceAnalyticsDeviceScores_workFromAnywhereScore)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -81,14 +96,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_float_value("appReliabilityScore", self.app_reliability_score) - writer.write_float_value("batteryHealthScore", self.battery_health_score) + writer.write_object_value("appReliabilityScore", self.app_reliability_score) + writer.write_object_value("batteryHealthScore", self.battery_health_score) writer.write_str_value("deviceName", self.device_name) - writer.write_float_value("endpointAnalyticsScore", self.endpoint_analytics_score) + writer.write_object_value("endpointAnalyticsScore", self.endpoint_analytics_score) writer.write_enum_value("healthStatus", self.health_status) writer.write_str_value("manufacturer", self.manufacturer) writer.write_str_value("model", self.model) - writer.write_float_value("startupPerformanceScore", self.startup_performance_score) - writer.write_float_value("workFromAnywhereScore", self.work_from_anywhere_score) + writer.write_object_value("startupPerformanceScore", self.startup_performance_score) + writer.write_object_value("workFromAnywhereScore", self.work_from_anywhere_score) diff --git a/msgraph/generated/models/user_experience_analytics_device_scores_app_reliability_score.py b/msgraph/generated/models/user_experience_analytics_device_scores_app_reliability_score.py new file mode 100644 index 00000000000..4b9945024e8 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_device_scores_app_reliability_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsDeviceScores_appReliabilityScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsDeviceScores_appReliabilityScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsDeviceScores_appReliabilityScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsDeviceScores_appReliabilityScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_device_scores_battery_health_score.py b/msgraph/generated/models/user_experience_analytics_device_scores_battery_health_score.py new file mode 100644 index 00000000000..f6d39490f6d --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_device_scores_battery_health_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsDeviceScores_batteryHealthScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsDeviceScores_batteryHealthScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsDeviceScores_batteryHealthScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsDeviceScores_batteryHealthScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_device_scores_endpoint_analytics_score.py b/msgraph/generated/models/user_experience_analytics_device_scores_endpoint_analytics_score.py new file mode 100644 index 00000000000..348b1d3f6cf --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_device_scores_endpoint_analytics_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_device_scores_startup_performance_score.py b/msgraph/generated/models/user_experience_analytics_device_scores_startup_performance_score.py new file mode 100644 index 00000000000..d7c23b028c7 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_device_scores_startup_performance_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsDeviceScores_startupPerformanceScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsDeviceScores_startupPerformanceScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsDeviceScores_startupPerformanceScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsDeviceScores_startupPerformanceScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_device_scores_work_from_anywhere_score.py b/msgraph/generated/models/user_experience_analytics_device_scores_work_from_anywhere_score.py new file mode 100644 index 00000000000..74c0a0fd509 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_device_scores_work_from_anywhere_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsDeviceScores_workFromAnywhereScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsDeviceScores_workFromAnywhereScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsDeviceScores_workFromAnywhereScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsDeviceScores_workFromAnywhereScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_metric.py b/msgraph/generated/models/user_experience_analytics_metric.py index b9edba4b4cc..2e1b356fae9 100644 --- a/msgraph/generated/models/user_experience_analytics_metric.py +++ b/msgraph/generated/models/user_experience_analytics_metric.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .entity import Entity + from .user_experience_analytics_metric_value import UserExperienceAnalyticsMetric_value from .entity import Entity @@ -18,7 +19,7 @@ class UserExperienceAnalyticsMetric(Entity): # The unit of the user experience analytics metric. Examples: none, percentage, count, seconds, score. unit: Optional[str] = None # The value of the user experience analytics metric. - value: Optional[float] = None + value: Optional[UserExperienceAnalyticsMetric_value] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsMetric: @@ -37,12 +38,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .entity import Entity + from .user_experience_analytics_metric_value import UserExperienceAnalyticsMetric_value from .entity import Entity + from .user_experience_analytics_metric_value import UserExperienceAnalyticsMetric_value fields: Dict[str, Callable[[Any], None]] = { "unit": lambda n : setattr(self, 'unit', n.get_str_value()), - "value": lambda n : setattr(self, 'value', n.get_float_value()), + "value": lambda n : setattr(self, 'value', n.get_object_value(UserExperienceAnalyticsMetric_value)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -58,6 +61,6 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_str_value("unit", self.unit) - writer.write_float_value("value", self.value) + writer.write_object_value("value", self.value) diff --git a/msgraph/generated/models/user_experience_analytics_metric_value.py b/msgraph/generated/models/user_experience_analytics_metric_value.py new file mode 100644 index 00000000000..51e148f5637 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_metric_value.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsMetric_value(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsMetric_value: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsMetric_value + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsMetric_value() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_model_scores.py b/msgraph/generated/models/user_experience_analytics_model_scores.py index 0055666203d..38bdffd0d12 100644 --- a/msgraph/generated/models/user_experience_analytics_model_scores.py +++ b/msgraph/generated/models/user_experience_analytics_model_scores.py @@ -6,6 +6,11 @@ if TYPE_CHECKING: from .entity import Entity from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + from .user_experience_analytics_model_scores_app_reliability_score import UserExperienceAnalyticsModelScores_appReliabilityScore + from .user_experience_analytics_model_scores_battery_health_score import UserExperienceAnalyticsModelScores_batteryHealthScore + from .user_experience_analytics_model_scores_endpoint_analytics_score import UserExperienceAnalyticsModelScores_endpointAnalyticsScore + from .user_experience_analytics_model_scores_startup_performance_score import UserExperienceAnalyticsModelScores_startupPerformanceScore + from .user_experience_analytics_model_scores_work_from_anywhere_score import UserExperienceAnalyticsModelScores_workFromAnywhereScore from .entity import Entity @@ -15,11 +20,11 @@ class UserExperienceAnalyticsModelScores(Entity): The user experience analytics model scores entity consolidates the various Endpoint Analytics scores. """ # 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 - app_reliability_score: Optional[float] = None + app_reliability_score: Optional[UserExperienceAnalyticsModelScores_appReliabilityScore] = None # 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 - battery_health_score: Optional[float] = None + battery_health_score: Optional[UserExperienceAnalyticsModelScores_batteryHealthScore] = None # 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 - endpoint_analytics_score: Optional[float] = None + endpoint_analytics_score: Optional[UserExperienceAnalyticsModelScores_endpointAnalyticsScore] = None # The healthStatus property health_status: Optional[UserExperienceAnalyticsHealthState] = None # The manufacturer name of the device. Examples: Microsoft Corporation, HP, Lenovo. Supports: $select, $OrderBy. Read-only. @@ -31,9 +36,9 @@ class UserExperienceAnalyticsModelScores(Entity): # The OdataType property odata_type: Optional[str] = None # 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 - startup_performance_score: Optional[float] = None + startup_performance_score: Optional[UserExperienceAnalyticsModelScores_startupPerformanceScore] = None # 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 - work_from_anywhere_score: Optional[float] = None + work_from_anywhere_score: Optional[UserExperienceAnalyticsModelScores_workFromAnywhereScore] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsModelScores: @@ -53,20 +58,30 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .entity import Entity from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + from .user_experience_analytics_model_scores_app_reliability_score import UserExperienceAnalyticsModelScores_appReliabilityScore + from .user_experience_analytics_model_scores_battery_health_score import UserExperienceAnalyticsModelScores_batteryHealthScore + from .user_experience_analytics_model_scores_endpoint_analytics_score import UserExperienceAnalyticsModelScores_endpointAnalyticsScore + from .user_experience_analytics_model_scores_startup_performance_score import UserExperienceAnalyticsModelScores_startupPerformanceScore + from .user_experience_analytics_model_scores_work_from_anywhere_score import UserExperienceAnalyticsModelScores_workFromAnywhereScore from .entity import Entity from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + from .user_experience_analytics_model_scores_app_reliability_score import UserExperienceAnalyticsModelScores_appReliabilityScore + from .user_experience_analytics_model_scores_battery_health_score import UserExperienceAnalyticsModelScores_batteryHealthScore + from .user_experience_analytics_model_scores_endpoint_analytics_score import UserExperienceAnalyticsModelScores_endpointAnalyticsScore + from .user_experience_analytics_model_scores_startup_performance_score import UserExperienceAnalyticsModelScores_startupPerformanceScore + from .user_experience_analytics_model_scores_work_from_anywhere_score import UserExperienceAnalyticsModelScores_workFromAnywhereScore fields: Dict[str, Callable[[Any], None]] = { - "appReliabilityScore": lambda n : setattr(self, 'app_reliability_score', n.get_float_value()), - "batteryHealthScore": lambda n : setattr(self, 'battery_health_score', n.get_float_value()), - "endpointAnalyticsScore": lambda n : setattr(self, 'endpoint_analytics_score', n.get_float_value()), + "appReliabilityScore": lambda n : setattr(self, 'app_reliability_score', n.get_object_value(UserExperienceAnalyticsModelScores_appReliabilityScore)), + "batteryHealthScore": lambda n : setattr(self, 'battery_health_score', n.get_object_value(UserExperienceAnalyticsModelScores_batteryHealthScore)), + "endpointAnalyticsScore": lambda n : setattr(self, 'endpoint_analytics_score', n.get_object_value(UserExperienceAnalyticsModelScores_endpointAnalyticsScore)), "healthStatus": lambda n : setattr(self, 'health_status', n.get_enum_value(UserExperienceAnalyticsHealthState)), "manufacturer": lambda n : setattr(self, 'manufacturer', n.get_str_value()), "model": lambda n : setattr(self, 'model', n.get_str_value()), "modelDeviceCount": lambda n : setattr(self, 'model_device_count', n.get_int_value()), - "startupPerformanceScore": lambda n : setattr(self, 'startup_performance_score', n.get_float_value()), - "workFromAnywhereScore": lambda n : setattr(self, 'work_from_anywhere_score', n.get_float_value()), + "startupPerformanceScore": lambda n : setattr(self, 'startup_performance_score', n.get_object_value(UserExperienceAnalyticsModelScores_startupPerformanceScore)), + "workFromAnywhereScore": lambda n : setattr(self, 'work_from_anywhere_score', n.get_object_value(UserExperienceAnalyticsModelScores_workFromAnywhereScore)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -81,14 +96,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_float_value("appReliabilityScore", self.app_reliability_score) - writer.write_float_value("batteryHealthScore", self.battery_health_score) - writer.write_float_value("endpointAnalyticsScore", self.endpoint_analytics_score) + writer.write_object_value("appReliabilityScore", self.app_reliability_score) + writer.write_object_value("batteryHealthScore", self.battery_health_score) + writer.write_object_value("endpointAnalyticsScore", self.endpoint_analytics_score) writer.write_enum_value("healthStatus", self.health_status) writer.write_str_value("manufacturer", self.manufacturer) writer.write_str_value("model", self.model) writer.write_int_value("modelDeviceCount", self.model_device_count) - writer.write_float_value("startupPerformanceScore", self.startup_performance_score) - writer.write_float_value("workFromAnywhereScore", self.work_from_anywhere_score) + writer.write_object_value("startupPerformanceScore", self.startup_performance_score) + writer.write_object_value("workFromAnywhereScore", self.work_from_anywhere_score) diff --git a/msgraph/generated/models/user_experience_analytics_model_scores_app_reliability_score.py b/msgraph/generated/models/user_experience_analytics_model_scores_app_reliability_score.py new file mode 100644 index 00000000000..7dadc4d10be --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_model_scores_app_reliability_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsModelScores_appReliabilityScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsModelScores_appReliabilityScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsModelScores_appReliabilityScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsModelScores_appReliabilityScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_model_scores_battery_health_score.py b/msgraph/generated/models/user_experience_analytics_model_scores_battery_health_score.py new file mode 100644 index 00000000000..668e212b35b --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_model_scores_battery_health_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsModelScores_batteryHealthScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsModelScores_batteryHealthScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsModelScores_batteryHealthScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsModelScores_batteryHealthScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_model_scores_endpoint_analytics_score.py b/msgraph/generated/models/user_experience_analytics_model_scores_endpoint_analytics_score.py new file mode 100644 index 00000000000..32b50638a4a --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_model_scores_endpoint_analytics_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsModelScores_endpointAnalyticsScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsModelScores_endpointAnalyticsScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsModelScores_endpointAnalyticsScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsModelScores_endpointAnalyticsScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_model_scores_startup_performance_score.py b/msgraph/generated/models/user_experience_analytics_model_scores_startup_performance_score.py new file mode 100644 index 00000000000..69d4c5418db --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_model_scores_startup_performance_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsModelScores_startupPerformanceScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsModelScores_startupPerformanceScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsModelScores_startupPerformanceScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsModelScores_startupPerformanceScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_model_scores_work_from_anywhere_score.py b/msgraph/generated/models/user_experience_analytics_model_scores_work_from_anywhere_score.py new file mode 100644 index 00000000000..768365a1aff --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_model_scores_work_from_anywhere_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsModelScores_workFromAnywhereScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsModelScores_workFromAnywhereScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsModelScores_workFromAnywhereScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsModelScores_workFromAnywhereScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device.py index 4c5532b5d7a..38fcfbbaa74 100644 --- a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device.py +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device.py @@ -7,6 +7,11 @@ from .entity import Entity from .operating_system_upgrade_eligibility import OperatingSystemUpgradeEligibility from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + from .user_experience_analytics_work_from_anywhere_device_cloud_identity_score import UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore + from .user_experience_analytics_work_from_anywhere_device_cloud_management_score import UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore + from .user_experience_analytics_work_from_anywhere_device_cloud_provisioning_score import UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore + from .user_experience_analytics_work_from_anywhere_device_windows_score import UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore + from .user_experience_analytics_work_from_anywhere_device_work_from_anywhere_score import UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore from .entity import Entity @@ -26,11 +31,11 @@ class UserExperienceAnalyticsWorkFromAnywhereDevice(Entity): # When TRUE, indicates the device's Azure Active Directory (Azure AD) is registered. When False, indicates it's not registered. Supports: $select, $OrderBy. Read-only. azure_ad_registered: Optional[bool] = None # 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 - cloud_identity_score: Optional[float] = None + cloud_identity_score: Optional[UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore] = None # 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 - cloud_management_score: Optional[float] = None + cloud_management_score: Optional[UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore] = None # 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 - cloud_provisioning_score: Optional[float] = None + cloud_provisioning_score: Optional[UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore] = None # When TRUE, indicates the device's compliance policy is set to intune. When FALSE, indicates it's not set to intune. Supports: $select, $OrderBy. Read-only. compliance_policy_set_to_intune: Optional[bool] = None # The Intune device id of the device. Supports: $select, $OrderBy. Read-only. @@ -82,9 +87,9 @@ class UserExperienceAnalyticsWorkFromAnywhereDevice(Entity): # Work From Anywhere windows device upgrade eligibility status. upgrade_eligibility: Optional[OperatingSystemUpgradeEligibility] = None # 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 - windows_score: Optional[float] = None + windows_score: Optional[UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore] = None # 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 - work_from_anywhere_score: Optional[float] = None + work_from_anywhere_score: Optional[UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereDevice: @@ -105,10 +110,20 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .entity import Entity from .operating_system_upgrade_eligibility import OperatingSystemUpgradeEligibility from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + from .user_experience_analytics_work_from_anywhere_device_cloud_identity_score import UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore + from .user_experience_analytics_work_from_anywhere_device_cloud_management_score import UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore + from .user_experience_analytics_work_from_anywhere_device_cloud_provisioning_score import UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore + from .user_experience_analytics_work_from_anywhere_device_windows_score import UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore + from .user_experience_analytics_work_from_anywhere_device_work_from_anywhere_score import UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore from .entity import Entity from .operating_system_upgrade_eligibility import OperatingSystemUpgradeEligibility from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + from .user_experience_analytics_work_from_anywhere_device_cloud_identity_score import UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore + from .user_experience_analytics_work_from_anywhere_device_cloud_management_score import UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore + from .user_experience_analytics_work_from_anywhere_device_cloud_provisioning_score import UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore + from .user_experience_analytics_work_from_anywhere_device_windows_score import UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore + from .user_experience_analytics_work_from_anywhere_device_work_from_anywhere_score import UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore fields: Dict[str, Callable[[Any], None]] = { "autoPilotProfileAssigned": lambda n : setattr(self, 'auto_pilot_profile_assigned', n.get_bool_value()), @@ -116,9 +131,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "azureAdDeviceId": lambda n : setattr(self, 'azure_ad_device_id', n.get_str_value()), "azureAdJoinType": lambda n : setattr(self, 'azure_ad_join_type', n.get_str_value()), "azureAdRegistered": lambda n : setattr(self, 'azure_ad_registered', n.get_bool_value()), - "cloudIdentityScore": lambda n : setattr(self, 'cloud_identity_score', n.get_float_value()), - "cloudManagementScore": lambda n : setattr(self, 'cloud_management_score', n.get_float_value()), - "cloudProvisioningScore": lambda n : setattr(self, 'cloud_provisioning_score', n.get_float_value()), + "cloudIdentityScore": lambda n : setattr(self, 'cloud_identity_score', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore)), + "cloudManagementScore": lambda n : setattr(self, 'cloud_management_score', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore)), + "cloudProvisioningScore": lambda n : setattr(self, 'cloud_provisioning_score', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore)), "compliancePolicySetToIntune": lambda n : setattr(self, 'compliance_policy_set_to_intune', n.get_bool_value()), "deviceId": lambda n : setattr(self, 'device_id', n.get_str_value()), "deviceName": lambda n : setattr(self, 'device_name', n.get_str_value()), @@ -143,8 +158,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "tenantAttached": lambda n : setattr(self, 'tenant_attached', n.get_bool_value()), "tpmCheckFailed": lambda n : setattr(self, 'tpm_check_failed', n.get_bool_value()), "upgradeEligibility": lambda n : setattr(self, 'upgrade_eligibility', n.get_enum_value(OperatingSystemUpgradeEligibility)), - "windowsScore": lambda n : setattr(self, 'windows_score', n.get_float_value()), - "workFromAnywhereScore": lambda n : setattr(self, 'work_from_anywhere_score', n.get_float_value()), + "windowsScore": lambda n : setattr(self, 'windows_score', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore)), + "workFromAnywhereScore": lambda n : setattr(self, 'work_from_anywhere_score', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -164,9 +179,9 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("azureAdDeviceId", self.azure_ad_device_id) writer.write_str_value("azureAdJoinType", self.azure_ad_join_type) writer.write_bool_value("azureAdRegistered", self.azure_ad_registered) - writer.write_float_value("cloudIdentityScore", self.cloud_identity_score) - writer.write_float_value("cloudManagementScore", self.cloud_management_score) - writer.write_float_value("cloudProvisioningScore", self.cloud_provisioning_score) + writer.write_object_value("cloudIdentityScore", self.cloud_identity_score) + writer.write_object_value("cloudManagementScore", self.cloud_management_score) + writer.write_object_value("cloudProvisioningScore", self.cloud_provisioning_score) writer.write_bool_value("compliancePolicySetToIntune", self.compliance_policy_set_to_intune) writer.write_str_value("deviceId", self.device_id) writer.write_str_value("deviceName", self.device_name) @@ -191,7 +206,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("tenantAttached", self.tenant_attached) writer.write_bool_value("tpmCheckFailed", self.tpm_check_failed) writer.write_enum_value("upgradeEligibility", self.upgrade_eligibility) - writer.write_float_value("windowsScore", self.windows_score) - writer.write_float_value("workFromAnywhereScore", self.work_from_anywhere_score) + writer.write_object_value("windowsScore", self.windows_score) + writer.write_object_value("workFromAnywhereScore", self.work_from_anywhere_score) diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_cloud_identity_score.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_cloud_identity_score.py new file mode 100644 index 00000000000..45069421446 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_cloud_identity_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_cloud_management_score.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_cloud_management_score.py new file mode 100644 index 00000000000..9aa019f95d2 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_cloud_management_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_cloud_provisioning_score.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_cloud_provisioning_score.py new file mode 100644 index 00000000000..814aac9caa5 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_cloud_provisioning_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_windows_score.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_windows_score.py new file mode 100644 index 00000000000..648f0997a3e --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_windows_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_work_from_anywhere_score.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_work_from_anywhere_score.py new file mode 100644 index 00000000000..2c356e2b102 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_work_from_anywhere_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.py index 17a25e1c758..a0b2feec755 100644 --- a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.py +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.py @@ -5,6 +5,15 @@ if TYPE_CHECKING: from .entity import Entity + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_os_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor64_bit_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_core_count_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_family_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_speed_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_ram_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_secure_boot_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_storage_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_tpm_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage from .entity import Entity @@ -16,25 +25,25 @@ class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric(Entity): # The OdataType property odata_type: Optional[str] = None # 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 - os_check_failed_percentage: Optional[float] = None + os_check_failed_percentage: Optional[UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage] = None # 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 - processor_core_count_check_failed_percentage: Optional[float] = None + processor_core_count_check_failed_percentage: Optional[UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage] = None # 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 - processor_family_check_failed_percentage: Optional[float] = None + processor_family_check_failed_percentage: Optional[UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage] = None # 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 - processor_speed_check_failed_percentage: Optional[float] = None + processor_speed_check_failed_percentage: Optional[UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage] = None # 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 - processor64_bit_check_failed_percentage: Optional[float] = None + processor64_bit_check_failed_percentage: Optional[UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage] = None # 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 - ram_check_failed_percentage: Optional[float] = None + ram_check_failed_percentage: Optional[UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage] = None # 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 - secure_boot_check_failed_percentage: Optional[float] = None + secure_boot_check_failed_percentage: Optional[UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage] = None # 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 - storage_check_failed_percentage: Optional[float] = None + storage_check_failed_percentage: Optional[UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage] = None # The count of total devices in an organization. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647 total_device_count: Optional[int] = None # 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 - tpm_check_failed_percentage: Optional[float] = None + tpm_check_failed_percentage: Optional[UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage] = None # The count of devices in an organization eligible for windows upgrade. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647 upgrade_eligible_device_count: Optional[int] = None @@ -55,20 +64,38 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .entity import Entity + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_os_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor64_bit_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_core_count_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_family_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_speed_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_ram_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_secure_boot_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_storage_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_tpm_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage from .entity import Entity + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_os_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor64_bit_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_core_count_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_family_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_speed_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_ram_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_secure_boot_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_storage_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric_tpm_check_failed_percentage import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage fields: Dict[str, Callable[[Any], None]] = { - "osCheckFailedPercentage": lambda n : setattr(self, 'os_check_failed_percentage', n.get_float_value()), - "processorCoreCountCheckFailedPercentage": lambda n : setattr(self, 'processor_core_count_check_failed_percentage', n.get_float_value()), - "processorFamilyCheckFailedPercentage": lambda n : setattr(self, 'processor_family_check_failed_percentage', n.get_float_value()), - "processorSpeedCheckFailedPercentage": lambda n : setattr(self, 'processor_speed_check_failed_percentage', n.get_float_value()), - "processor64BitCheckFailedPercentage": lambda n : setattr(self, 'processor64_bit_check_failed_percentage', n.get_float_value()), - "ramCheckFailedPercentage": lambda n : setattr(self, 'ram_check_failed_percentage', n.get_float_value()), - "secureBootCheckFailedPercentage": lambda n : setattr(self, 'secure_boot_check_failed_percentage', n.get_float_value()), - "storageCheckFailedPercentage": lambda n : setattr(self, 'storage_check_failed_percentage', n.get_float_value()), + "osCheckFailedPercentage": lambda n : setattr(self, 'os_check_failed_percentage', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage)), + "processorCoreCountCheckFailedPercentage": lambda n : setattr(self, 'processor_core_count_check_failed_percentage', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage)), + "processorFamilyCheckFailedPercentage": lambda n : setattr(self, 'processor_family_check_failed_percentage', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage)), + "processorSpeedCheckFailedPercentage": lambda n : setattr(self, 'processor_speed_check_failed_percentage', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage)), + "processor64BitCheckFailedPercentage": lambda n : setattr(self, 'processor64_bit_check_failed_percentage', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage)), + "ramCheckFailedPercentage": lambda n : setattr(self, 'ram_check_failed_percentage', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage)), + "secureBootCheckFailedPercentage": lambda n : setattr(self, 'secure_boot_check_failed_percentage', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage)), + "storageCheckFailedPercentage": lambda n : setattr(self, 'storage_check_failed_percentage', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage)), "totalDeviceCount": lambda n : setattr(self, 'total_device_count', n.get_int_value()), - "tpmCheckFailedPercentage": lambda n : setattr(self, 'tpm_check_failed_percentage', n.get_float_value()), + "tpmCheckFailedPercentage": lambda n : setattr(self, 'tpm_check_failed_percentage', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage)), "upgradeEligibleDeviceCount": lambda n : setattr(self, 'upgrade_eligible_device_count', n.get_int_value()), } super_fields = super().get_field_deserializers() @@ -84,16 +111,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_float_value("osCheckFailedPercentage", self.os_check_failed_percentage) - writer.write_float_value("processorCoreCountCheckFailedPercentage", self.processor_core_count_check_failed_percentage) - writer.write_float_value("processorFamilyCheckFailedPercentage", self.processor_family_check_failed_percentage) - writer.write_float_value("processorSpeedCheckFailedPercentage", self.processor_speed_check_failed_percentage) - writer.write_float_value("processor64BitCheckFailedPercentage", self.processor64_bit_check_failed_percentage) - writer.write_float_value("ramCheckFailedPercentage", self.ram_check_failed_percentage) - writer.write_float_value("secureBootCheckFailedPercentage", self.secure_boot_check_failed_percentage) - writer.write_float_value("storageCheckFailedPercentage", self.storage_check_failed_percentage) + writer.write_object_value("osCheckFailedPercentage", self.os_check_failed_percentage) + writer.write_object_value("processorCoreCountCheckFailedPercentage", self.processor_core_count_check_failed_percentage) + writer.write_object_value("processorFamilyCheckFailedPercentage", self.processor_family_check_failed_percentage) + writer.write_object_value("processorSpeedCheckFailedPercentage", self.processor_speed_check_failed_percentage) + writer.write_object_value("processor64BitCheckFailedPercentage", self.processor64_bit_check_failed_percentage) + writer.write_object_value("ramCheckFailedPercentage", self.ram_check_failed_percentage) + writer.write_object_value("secureBootCheckFailedPercentage", self.secure_boot_check_failed_percentage) + writer.write_object_value("storageCheckFailedPercentage", self.storage_check_failed_percentage) writer.write_int_value("totalDeviceCount", self.total_device_count) - writer.write_float_value("tpmCheckFailedPercentage", self.tpm_check_failed_percentage) + writer.write_object_value("tpmCheckFailedPercentage", self.tpm_check_failed_percentage) writer.write_int_value("upgradeEligibleDeviceCount", self.upgrade_eligible_device_count) diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_os_check_failed_percentage.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_os_check_failed_percentage.py new file mode 100644 index 00000000000..2175de2caec --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_os_check_failed_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor64_bit_check_failed_percentage.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor64_bit_check_failed_percentage.py new file mode 100644 index 00000000000..480bd70dddc --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor64_bit_check_failed_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_core_count_check_failed_percentage.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_core_count_check_failed_percentage.py new file mode 100644 index 00000000000..7cc8cf62ee7 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_core_count_check_failed_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_family_check_failed_percentage.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_family_check_failed_percentage.py new file mode 100644 index 00000000000..be7917e5325 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_family_check_failed_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_speed_check_failed_percentage.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_speed_check_failed_percentage.py new file mode 100644 index 00000000000..122360675fb --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_processor_speed_check_failed_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_ram_check_failed_percentage.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_ram_check_failed_percentage.py new file mode 100644 index 00000000000..53a9dfcd580 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_ram_check_failed_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_secure_boot_check_failed_percentage.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_secure_boot_check_failed_percentage.py new file mode 100644 index 00000000000..24be4eb02f0 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_secure_boot_check_failed_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_storage_check_failed_percentage.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_storage_check_failed_percentage.py new file mode 100644 index 00000000000..7dd89e1d537 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_storage_check_failed_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_tpm_check_failed_percentage.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_tpm_check_failed_percentage.py new file mode 100644 index 00000000000..2268d2dd521 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_tpm_check_failed_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance.py index e26761187a6..1bcaf8757c1 100644 --- a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance.py +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance.py @@ -6,6 +6,11 @@ if TYPE_CHECKING: from .entity import Entity from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + from .user_experience_analytics_work_from_anywhere_model_performance_cloud_identity_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore + from .user_experience_analytics_work_from_anywhere_model_performance_cloud_management_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore + from .user_experience_analytics_work_from_anywhere_model_performance_cloud_provisioning_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore + from .user_experience_analytics_work_from_anywhere_model_performance_windows_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore + from .user_experience_analytics_work_from_anywhere_model_performance_work_from_anywhere_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore from .entity import Entity @@ -15,11 +20,11 @@ class UserExperienceAnalyticsWorkFromAnywhereModelPerformance(Entity): The user experience analytics work from anywhere model performance. """ # 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 - cloud_identity_score: Optional[float] = None + cloud_identity_score: Optional[UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore] = None # 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 - cloud_management_score: Optional[float] = None + cloud_management_score: Optional[UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore] = None # 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 - cloud_provisioning_score: Optional[float] = None + cloud_provisioning_score: Optional[UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore] = None # The healthStatus property health_status: Optional[UserExperienceAnalyticsHealthState] = None # The manufacturer name of the device. Supports: $select, $OrderBy. Read-only. @@ -31,9 +36,9 @@ class UserExperienceAnalyticsWorkFromAnywhereModelPerformance(Entity): # The OdataType property odata_type: Optional[str] = None # 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 - windows_score: Optional[float] = None + windows_score: Optional[UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore] = None # 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 - work_from_anywhere_score: Optional[float] = None + work_from_anywhere_score: Optional[UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereModelPerformance: @@ -53,20 +58,30 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .entity import Entity from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + from .user_experience_analytics_work_from_anywhere_model_performance_cloud_identity_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore + from .user_experience_analytics_work_from_anywhere_model_performance_cloud_management_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore + from .user_experience_analytics_work_from_anywhere_model_performance_cloud_provisioning_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore + from .user_experience_analytics_work_from_anywhere_model_performance_windows_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore + from .user_experience_analytics_work_from_anywhere_model_performance_work_from_anywhere_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore from .entity import Entity from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + from .user_experience_analytics_work_from_anywhere_model_performance_cloud_identity_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore + from .user_experience_analytics_work_from_anywhere_model_performance_cloud_management_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore + from .user_experience_analytics_work_from_anywhere_model_performance_cloud_provisioning_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore + from .user_experience_analytics_work_from_anywhere_model_performance_windows_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore + from .user_experience_analytics_work_from_anywhere_model_performance_work_from_anywhere_score import UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore fields: Dict[str, Callable[[Any], None]] = { - "cloudIdentityScore": lambda n : setattr(self, 'cloud_identity_score', n.get_float_value()), - "cloudManagementScore": lambda n : setattr(self, 'cloud_management_score', n.get_float_value()), - "cloudProvisioningScore": lambda n : setattr(self, 'cloud_provisioning_score', n.get_float_value()), + "cloudIdentityScore": lambda n : setattr(self, 'cloud_identity_score', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore)), + "cloudManagementScore": lambda n : setattr(self, 'cloud_management_score', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore)), + "cloudProvisioningScore": lambda n : setattr(self, 'cloud_provisioning_score', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore)), "healthStatus": lambda n : setattr(self, 'health_status', n.get_enum_value(UserExperienceAnalyticsHealthState)), "manufacturer": lambda n : setattr(self, 'manufacturer', n.get_str_value()), "model": lambda n : setattr(self, 'model', n.get_str_value()), "modelDeviceCount": lambda n : setattr(self, 'model_device_count', n.get_int_value()), - "windowsScore": lambda n : setattr(self, 'windows_score', n.get_float_value()), - "workFromAnywhereScore": lambda n : setattr(self, 'work_from_anywhere_score', n.get_float_value()), + "windowsScore": lambda n : setattr(self, 'windows_score', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore)), + "workFromAnywhereScore": lambda n : setattr(self, 'work_from_anywhere_score', n.get_object_value(UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -81,14 +96,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_float_value("cloudIdentityScore", self.cloud_identity_score) - writer.write_float_value("cloudManagementScore", self.cloud_management_score) - writer.write_float_value("cloudProvisioningScore", self.cloud_provisioning_score) + writer.write_object_value("cloudIdentityScore", self.cloud_identity_score) + writer.write_object_value("cloudManagementScore", self.cloud_management_score) + writer.write_object_value("cloudProvisioningScore", self.cloud_provisioning_score) writer.write_enum_value("healthStatus", self.health_status) writer.write_str_value("manufacturer", self.manufacturer) writer.write_str_value("model", self.model) writer.write_int_value("modelDeviceCount", self.model_device_count) - writer.write_float_value("windowsScore", self.windows_score) - writer.write_float_value("workFromAnywhereScore", self.work_from_anywhere_score) + writer.write_object_value("windowsScore", self.windows_score) + writer.write_object_value("workFromAnywhereScore", self.work_from_anywhere_score) diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_cloud_identity_score.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_cloud_identity_score.py new file mode 100644 index 00000000000..e023d3f6379 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_cloud_identity_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_cloud_management_score.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_cloud_management_score.py new file mode 100644 index 00000000000..2f7009affb3 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_cloud_management_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_cloud_provisioning_score.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_cloud_provisioning_score.py new file mode 100644 index 00000000000..b68e4626d97 --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_cloud_provisioning_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_windows_score.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_windows_score.py new file mode 100644 index 00000000000..a90e244fb2d --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_windows_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_work_from_anywhere_score.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_work_from_anywhere_score.py new file mode 100644 index 00000000000..2d4d74c27ce --- /dev/null +++ b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_work_from_anywhere_score.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/user_training_content_event_info.py b/msgraph/generated/models/user_training_content_event_info.py index aff3c737735..7165bea3b47 100644 --- a/msgraph/generated/models/user_training_content_event_info.py +++ b/msgraph/generated/models/user_training_content_event_info.py @@ -5,6 +5,9 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .user_training_content_event_info_potential_score_impact import UserTrainingContentEventInfo_potentialScoreImpact + @dataclass class UserTrainingContentEventInfo(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -23,7 +26,7 @@ class UserTrainingContentEventInfo(AdditionalDataHolder, BackedModel, Parsable): # The operating system, platform, and device details of the user for the training event. os_platform_device_details: Optional[str] = None # Potential improvement in the tenant security posture after completion of the training by the user. - potential_score_impact: Optional[float] = None + potential_score_impact: Optional[UserTrainingContentEventInfo_potentialScoreImpact] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> UserTrainingContentEventInfo: @@ -41,13 +44,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .user_training_content_event_info_potential_score_impact import UserTrainingContentEventInfo_potentialScoreImpact + + from .user_training_content_event_info_potential_score_impact import UserTrainingContentEventInfo_potentialScoreImpact + fields: Dict[str, Callable[[Any], None]] = { "browser": lambda n : setattr(self, 'browser', n.get_str_value()), "contentDateTime": lambda n : setattr(self, 'content_date_time', n.get_datetime_value()), "ipAddress": lambda n : setattr(self, 'ip_address', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "osPlatformDeviceDetails": lambda n : setattr(self, 'os_platform_device_details', n.get_str_value()), - "potentialScoreImpact": lambda n : setattr(self, 'potential_score_impact', n.get_float_value()), + "potentialScoreImpact": lambda n : setattr(self, 'potential_score_impact', n.get_object_value(UserTrainingContentEventInfo_potentialScoreImpact)), } return fields @@ -64,7 +71,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("ipAddress", self.ip_address) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("osPlatformDeviceDetails", self.os_platform_device_details) - writer.write_float_value("potentialScoreImpact", self.potential_score_impact) + writer.write_object_value("potentialScoreImpact", self.potential_score_impact) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/user_training_content_event_info_potential_score_impact.py b/msgraph/generated/models/user_training_content_event_info_potential_score_impact.py new file mode 100644 index 00000000000..d4fb6b9ee5f --- /dev/null +++ b/msgraph/generated/models/user_training_content_event_info_potential_score_impact.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class UserTrainingContentEventInfo_potentialScoreImpact(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UserTrainingContentEventInfo_potentialScoreImpact: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UserTrainingContentEventInfo_potentialScoreImpact + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = UserTrainingContentEventInfo_potentialScoreImpact() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/video.py b/msgraph/generated/models/video.py index 3a335ccb4e5..23c26f10a9b 100644 --- a/msgraph/generated/models/video.py +++ b/msgraph/generated/models/video.py @@ -4,6 +4,9 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .video_frame_rate import Video_frameRate + @dataclass class Video(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -26,7 +29,7 @@ class Video(AdditionalDataHolder, BackedModel, Parsable): # 'Four character code' name of the video format. four_c_c: Optional[str] = None # Frame rate of the video. - frame_rate: Optional[float] = None + frame_rate: Optional[Video_frameRate] = None # Height of the video, in pixels. height: Optional[int] = None # The OdataType property @@ -50,6 +53,10 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .video_frame_rate import Video_frameRate + + from .video_frame_rate import Video_frameRate + fields: Dict[str, Callable[[Any], None]] = { "audioBitsPerSample": lambda n : setattr(self, 'audio_bits_per_sample', n.get_int_value()), "audioChannels": lambda n : setattr(self, 'audio_channels', n.get_int_value()), @@ -58,7 +65,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "bitrate": lambda n : setattr(self, 'bitrate', n.get_int_value()), "duration": lambda n : setattr(self, 'duration', n.get_int_value()), "fourCC": lambda n : setattr(self, 'four_c_c', n.get_str_value()), - "frameRate": lambda n : setattr(self, 'frame_rate', n.get_float_value()), + "frameRate": lambda n : setattr(self, 'frame_rate', n.get_object_value(Video_frameRate)), "height": lambda n : setattr(self, 'height', n.get_int_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "width": lambda n : setattr(self, 'width', n.get_int_value()), @@ -80,7 +87,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_int_value("bitrate", self.bitrate) writer.write_int_value("duration", self.duration) writer.write_str_value("fourCC", self.four_c_c) - writer.write_float_value("frameRate", self.frame_rate) + writer.write_object_value("frameRate", self.frame_rate) writer.write_int_value("height", self.height) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("width", self.width) diff --git a/msgraph/generated/models/video_frame_rate.py b/msgraph/generated/models/video_frame_rate.py new file mode 100644 index 00000000000..cac4d0e644d --- /dev/null +++ b/msgraph/generated/models/video_frame_rate.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class Video_frameRate(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> Video_frameRate: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: Video_frameRate + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = Video_frameRate() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/web_part_position.py b/msgraph/generated/models/web_part_position.py index 8a929df8b42..f15f567b23b 100644 --- a/msgraph/generated/models/web_part_position.py +++ b/msgraph/generated/models/web_part_position.py @@ -4,6 +4,11 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .web_part_position_column_id import WebPartPosition_columnId + from .web_part_position_horizontal_section_id import WebPartPosition_horizontalSectionId + from .web_part_position_web_part_index import WebPartPosition_webPartIndex + @dataclass class WebPartPosition(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -12,15 +17,15 @@ class WebPartPosition(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) # Indicates the identifier of the column where the web part is located. - column_id: Optional[float] = None + column_id: Optional[WebPartPosition_columnId] = None # Indicates the horizontal section where the web part is located. - horizontal_section_id: Optional[float] = None + horizontal_section_id: Optional[WebPartPosition_horizontalSectionId] = None # Indicates whether the web part is located in the vertical section. is_in_vertical_section: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None # Index of the current web part. Represents the order of the web part in this column or section. - web_part_index: Optional[float] = None + web_part_index: Optional[WebPartPosition_webPartIndex] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> WebPartPosition: @@ -38,12 +43,20 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .web_part_position_column_id import WebPartPosition_columnId + from .web_part_position_horizontal_section_id import WebPartPosition_horizontalSectionId + from .web_part_position_web_part_index import WebPartPosition_webPartIndex + + from .web_part_position_column_id import WebPartPosition_columnId + from .web_part_position_horizontal_section_id import WebPartPosition_horizontalSectionId + from .web_part_position_web_part_index import WebPartPosition_webPartIndex + fields: Dict[str, Callable[[Any], None]] = { - "columnId": lambda n : setattr(self, 'column_id', n.get_float_value()), - "horizontalSectionId": lambda n : setattr(self, 'horizontal_section_id', n.get_float_value()), + "columnId": lambda n : setattr(self, 'column_id', n.get_object_value(WebPartPosition_columnId)), + "horizontalSectionId": lambda n : setattr(self, 'horizontal_section_id', n.get_object_value(WebPartPosition_horizontalSectionId)), "isInVerticalSection": lambda n : setattr(self, 'is_in_vertical_section', n.get_bool_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), - "webPartIndex": lambda n : setattr(self, 'web_part_index', n.get_float_value()), + "webPartIndex": lambda n : setattr(self, 'web_part_index', n.get_object_value(WebPartPosition_webPartIndex)), } return fields @@ -55,11 +68,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_float_value("columnId", self.column_id) - writer.write_float_value("horizontalSectionId", self.horizontal_section_id) + writer.write_object_value("columnId", self.column_id) + writer.write_object_value("horizontalSectionId", self.horizontal_section_id) writer.write_bool_value("isInVerticalSection", self.is_in_vertical_section) writer.write_str_value("@odata.type", self.odata_type) - writer.write_float_value("webPartIndex", self.web_part_index) + writer.write_object_value("webPartIndex", self.web_part_index) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/web_part_position_column_id.py b/msgraph/generated/models/web_part_position_column_id.py new file mode 100644 index 00000000000..4c4d08ac0eb --- /dev/null +++ b/msgraph/generated/models/web_part_position_column_id.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class WebPartPosition_columnId(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WebPartPosition_columnId: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WebPartPosition_columnId + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = WebPartPosition_columnId() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/web_part_position_horizontal_section_id.py b/msgraph/generated/models/web_part_position_horizontal_section_id.py new file mode 100644 index 00000000000..7c6ed763c6a --- /dev/null +++ b/msgraph/generated/models/web_part_position_horizontal_section_id.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class WebPartPosition_horizontalSectionId(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WebPartPosition_horizontalSectionId: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WebPartPosition_horizontalSectionId + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = WebPartPosition_horizontalSectionId() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/web_part_position_web_part_index.py b/msgraph/generated/models/web_part_position_web_part_index.py new file mode 100644 index 00000000000..19715672c9a --- /dev/null +++ b/msgraph/generated/models/web_part_position_web_part_index.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class WebPartPosition_webPartIndex(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WebPartPosition_webPartIndex: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WebPartPosition_webPartIndex + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = WebPartPosition_webPartIndex() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/workbook_chart.py b/msgraph/generated/models/workbook_chart.py index 236ce98e4fc..259e8bb29dd 100644 --- a/msgraph/generated/models/workbook_chart.py +++ b/msgraph/generated/models/workbook_chart.py @@ -8,9 +8,13 @@ from .workbook_chart_area_format import WorkbookChartAreaFormat from .workbook_chart_axes import WorkbookChartAxes from .workbook_chart_data_labels import WorkbookChartDataLabels + from .workbook_chart_height import WorkbookChart_height + from .workbook_chart_left import WorkbookChart_left from .workbook_chart_legend import WorkbookChartLegend from .workbook_chart_series import WorkbookChartSeries from .workbook_chart_title import WorkbookChartTitle + from .workbook_chart_top import WorkbookChart_top + from .workbook_chart_width import WorkbookChart_width from .workbook_worksheet import WorkbookWorksheet from .entity import Entity @@ -24,9 +28,9 @@ class WorkbookChart(Entity): # Encapsulates the format properties for the chart area. Read-only. format: Optional[WorkbookChartAreaFormat] = None # Represents the height, in points, of the chart object. - height: Optional[float] = None + height: Optional[WorkbookChart_height] = None # The distance, in points, from the left side of the chart to the worksheet origin. - left: Optional[float] = None + left: Optional[WorkbookChart_left] = None # Represents the legend for the chart. Read-only. legend: Optional[WorkbookChartLegend] = None # Represents the name of a chart object. @@ -38,9 +42,9 @@ class WorkbookChart(Entity): # Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. title: Optional[WorkbookChartTitle] = None # 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). - top: Optional[float] = None + top: Optional[WorkbookChart_top] = None # Represents the width, in points, of the chart object. - width: Optional[float] = None + width: Optional[WorkbookChart_width] = None # The worksheet containing the current chart. Read-only. worksheet: Optional[WorkbookWorksheet] = None @@ -64,32 +68,40 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .workbook_chart_area_format import WorkbookChartAreaFormat from .workbook_chart_axes import WorkbookChartAxes from .workbook_chart_data_labels import WorkbookChartDataLabels + from .workbook_chart_height import WorkbookChart_height + from .workbook_chart_left import WorkbookChart_left from .workbook_chart_legend import WorkbookChartLegend from .workbook_chart_series import WorkbookChartSeries from .workbook_chart_title import WorkbookChartTitle + from .workbook_chart_top import WorkbookChart_top + from .workbook_chart_width import WorkbookChart_width from .workbook_worksheet import WorkbookWorksheet from .entity import Entity from .workbook_chart_area_format import WorkbookChartAreaFormat from .workbook_chart_axes import WorkbookChartAxes from .workbook_chart_data_labels import WorkbookChartDataLabels + from .workbook_chart_height import WorkbookChart_height + from .workbook_chart_left import WorkbookChart_left from .workbook_chart_legend import WorkbookChartLegend from .workbook_chart_series import WorkbookChartSeries from .workbook_chart_title import WorkbookChartTitle + from .workbook_chart_top import WorkbookChart_top + from .workbook_chart_width import WorkbookChart_width from .workbook_worksheet import WorkbookWorksheet fields: Dict[str, Callable[[Any], None]] = { "axes": lambda n : setattr(self, 'axes', n.get_object_value(WorkbookChartAxes)), "dataLabels": lambda n : setattr(self, 'data_labels', n.get_object_value(WorkbookChartDataLabels)), "format": lambda n : setattr(self, 'format', n.get_object_value(WorkbookChartAreaFormat)), - "height": lambda n : setattr(self, 'height', n.get_float_value()), - "left": lambda n : setattr(self, 'left', n.get_float_value()), + "height": lambda n : setattr(self, 'height', n.get_object_value(WorkbookChart_height)), + "left": lambda n : setattr(self, 'left', n.get_object_value(WorkbookChart_left)), "legend": lambda n : setattr(self, 'legend', n.get_object_value(WorkbookChartLegend)), "name": lambda n : setattr(self, 'name', n.get_str_value()), "series": lambda n : setattr(self, 'series', n.get_collection_of_object_values(WorkbookChartSeries)), "title": lambda n : setattr(self, 'title', n.get_object_value(WorkbookChartTitle)), - "top": lambda n : setattr(self, 'top', n.get_float_value()), - "width": lambda n : setattr(self, 'width', n.get_float_value()), + "top": lambda n : setattr(self, 'top', n.get_object_value(WorkbookChart_top)), + "width": lambda n : setattr(self, 'width', n.get_object_value(WorkbookChart_width)), "worksheet": lambda n : setattr(self, 'worksheet', n.get_object_value(WorkbookWorksheet)), } super_fields = super().get_field_deserializers() @@ -108,14 +120,14 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_object_value("axes", self.axes) writer.write_object_value("dataLabels", self.data_labels) writer.write_object_value("format", self.format) - writer.write_float_value("height", self.height) - writer.write_float_value("left", self.left) + writer.write_object_value("height", self.height) + writer.write_object_value("left", self.left) writer.write_object_value("legend", self.legend) writer.write_str_value("name", self.name) writer.write_collection_of_object_values("series", self.series) writer.write_object_value("title", self.title) - writer.write_float_value("top", self.top) - writer.write_float_value("width", self.width) + writer.write_object_value("top", self.top) + writer.write_object_value("width", self.width) writer.write_object_value("worksheet", self.worksheet) diff --git a/msgraph/generated/models/workbook_chart_font.py b/msgraph/generated/models/workbook_chart_font.py index b541270e961..6b8e6d68eb9 100644 --- a/msgraph/generated/models/workbook_chart_font.py +++ b/msgraph/generated/models/workbook_chart_font.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .entity import Entity + from .workbook_chart_font_size import WorkbookChartFont_size from .entity import Entity @@ -21,7 +22,7 @@ class WorkbookChartFont(Entity): # The OdataType property odata_type: Optional[str] = None # The size of the font. For example, 11. - size: Optional[float] = None + size: Optional[WorkbookChartFont_size] = None # The type of underlining applied to the font. The possible values are: None, Single. underline: Optional[str] = None @@ -42,15 +43,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .entity import Entity + from .workbook_chart_font_size import WorkbookChartFont_size from .entity import Entity + from .workbook_chart_font_size import WorkbookChartFont_size fields: Dict[str, Callable[[Any], None]] = { "bold": lambda n : setattr(self, 'bold', n.get_bool_value()), "color": lambda n : setattr(self, 'color', n.get_str_value()), "italic": lambda n : setattr(self, 'italic', n.get_bool_value()), "name": lambda n : setattr(self, 'name', n.get_str_value()), - "size": lambda n : setattr(self, 'size', n.get_float_value()), + "size": lambda n : setattr(self, 'size', n.get_object_value(WorkbookChartFont_size)), "underline": lambda n : setattr(self, 'underline', n.get_str_value()), } super_fields = super().get_field_deserializers() @@ -70,7 +73,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("color", self.color) writer.write_bool_value("italic", self.italic) writer.write_str_value("name", self.name) - writer.write_float_value("size", self.size) + writer.write_object_value("size", self.size) writer.write_str_value("underline", self.underline) diff --git a/msgraph/generated/models/workbook_chart_font_size.py b/msgraph/generated/models/workbook_chart_font_size.py new file mode 100644 index 00000000000..db9e3a8f6a3 --- /dev/null +++ b/msgraph/generated/models/workbook_chart_font_size.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class WorkbookChartFont_size(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WorkbookChartFont_size: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WorkbookChartFont_size + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = WorkbookChartFont_size() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/workbook_chart_height.py b/msgraph/generated/models/workbook_chart_height.py new file mode 100644 index 00000000000..20106230e53 --- /dev/null +++ b/msgraph/generated/models/workbook_chart_height.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class WorkbookChart_height(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WorkbookChart_height: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WorkbookChart_height + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = WorkbookChart_height() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/workbook_chart_left.py b/msgraph/generated/models/workbook_chart_left.py new file mode 100644 index 00000000000..3aba59f9a40 --- /dev/null +++ b/msgraph/generated/models/workbook_chart_left.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class WorkbookChart_left(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WorkbookChart_left: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WorkbookChart_left + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = WorkbookChart_left() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/workbook_chart_top.py b/msgraph/generated/models/workbook_chart_top.py new file mode 100644 index 00000000000..875a660885e --- /dev/null +++ b/msgraph/generated/models/workbook_chart_top.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class WorkbookChart_top(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WorkbookChart_top: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WorkbookChart_top + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = WorkbookChart_top() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/workbook_chart_width.py b/msgraph/generated/models/workbook_chart_width.py new file mode 100644 index 00000000000..c8192f6bba0 --- /dev/null +++ b/msgraph/generated/models/workbook_chart_width.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class WorkbookChart_width(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WorkbookChart_width: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WorkbookChart_width + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = WorkbookChart_width() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/workbook_range_font.py b/msgraph/generated/models/workbook_range_font.py index e36611902c8..2f41a687a01 100644 --- a/msgraph/generated/models/workbook_range_font.py +++ b/msgraph/generated/models/workbook_range_font.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .entity import Entity + from .workbook_range_font_size import WorkbookRangeFont_size from .entity import Entity @@ -21,7 +22,7 @@ class WorkbookRangeFont(Entity): # The OdataType property odata_type: Optional[str] = None # The font size. - size: Optional[float] = None + size: Optional[WorkbookRangeFont_size] = None # The type of underlining applied to the font. The possible values are: None, Single, Double, SingleAccountant, DoubleAccountant. underline: Optional[str] = None @@ -42,15 +43,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .entity import Entity + from .workbook_range_font_size import WorkbookRangeFont_size from .entity import Entity + from .workbook_range_font_size import WorkbookRangeFont_size fields: Dict[str, Callable[[Any], None]] = { "bold": lambda n : setattr(self, 'bold', n.get_bool_value()), "color": lambda n : setattr(self, 'color', n.get_str_value()), "italic": lambda n : setattr(self, 'italic', n.get_bool_value()), "name": lambda n : setattr(self, 'name', n.get_str_value()), - "size": lambda n : setattr(self, 'size', n.get_float_value()), + "size": lambda n : setattr(self, 'size', n.get_object_value(WorkbookRangeFont_size)), "underline": lambda n : setattr(self, 'underline', n.get_str_value()), } super_fields = super().get_field_deserializers() @@ -70,7 +73,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("color", self.color) writer.write_bool_value("italic", self.italic) writer.write_str_value("name", self.name) - writer.write_float_value("size", self.size) + writer.write_object_value("size", self.size) writer.write_str_value("underline", self.underline) diff --git a/msgraph/generated/models/workbook_range_font_size.py b/msgraph/generated/models/workbook_range_font_size.py new file mode 100644 index 00000000000..399d66a9bbe --- /dev/null +++ b/msgraph/generated/models/workbook_range_font_size.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class WorkbookRangeFont_size(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WorkbookRangeFont_size: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WorkbookRangeFont_size + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = WorkbookRangeFont_size() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/workbook_range_format.py b/msgraph/generated/models/workbook_range_format.py index 1815d242394..2062c37c91a 100644 --- a/msgraph/generated/models/workbook_range_format.py +++ b/msgraph/generated/models/workbook_range_format.py @@ -9,6 +9,8 @@ from .workbook_range_border import WorkbookRangeBorder from .workbook_range_fill import WorkbookRangeFill from .workbook_range_font import WorkbookRangeFont + from .workbook_range_format_column_width import WorkbookRangeFormat_columnWidth + from .workbook_range_format_row_height import WorkbookRangeFormat_rowHeight from .entity import Entity @@ -17,7 +19,7 @@ class WorkbookRangeFormat(Entity): # Collection of border objects that apply to the overall range selected Read-only. borders: Optional[List[WorkbookRangeBorder]] = None # The width of all columns within the range. If the column widths aren't uniform, null will be returned. - column_width: Optional[float] = None + column_width: Optional[WorkbookRangeFormat_columnWidth] = None # Returns the fill object defined on the overall range. Read-only. fill: Optional[WorkbookRangeFill] = None # Returns the font object defined on the overall range selected Read-only. @@ -29,7 +31,7 @@ class WorkbookRangeFormat(Entity): # Returns the format protection object for a range. Read-only. protection: Optional[WorkbookFormatProtection] = None # The height of all rows in the range. If the row heights aren't uniform null will be returned. - row_height: Optional[float] = None + row_height: Optional[WorkbookRangeFormat_rowHeight] = None # The vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed. vertical_alignment: Optional[str] = None # Indicates whether Excel wraps the text in the object. A null value indicates that the entire range doesn't have a uniform wrap setting. @@ -56,21 +58,25 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .workbook_range_border import WorkbookRangeBorder from .workbook_range_fill import WorkbookRangeFill from .workbook_range_font import WorkbookRangeFont + from .workbook_range_format_column_width import WorkbookRangeFormat_columnWidth + from .workbook_range_format_row_height import WorkbookRangeFormat_rowHeight from .entity import Entity from .workbook_format_protection import WorkbookFormatProtection from .workbook_range_border import WorkbookRangeBorder from .workbook_range_fill import WorkbookRangeFill from .workbook_range_font import WorkbookRangeFont + from .workbook_range_format_column_width import WorkbookRangeFormat_columnWidth + from .workbook_range_format_row_height import WorkbookRangeFormat_rowHeight fields: Dict[str, Callable[[Any], None]] = { "borders": lambda n : setattr(self, 'borders', n.get_collection_of_object_values(WorkbookRangeBorder)), - "columnWidth": lambda n : setattr(self, 'column_width', n.get_float_value()), + "columnWidth": lambda n : setattr(self, 'column_width', n.get_object_value(WorkbookRangeFormat_columnWidth)), "fill": lambda n : setattr(self, 'fill', n.get_object_value(WorkbookRangeFill)), "font": lambda n : setattr(self, 'font', n.get_object_value(WorkbookRangeFont)), "horizontalAlignment": lambda n : setattr(self, 'horizontal_alignment', n.get_str_value()), "protection": lambda n : setattr(self, 'protection', n.get_object_value(WorkbookFormatProtection)), - "rowHeight": lambda n : setattr(self, 'row_height', n.get_float_value()), + "rowHeight": lambda n : setattr(self, 'row_height', n.get_object_value(WorkbookRangeFormat_rowHeight)), "verticalAlignment": lambda n : setattr(self, 'vertical_alignment', n.get_str_value()), "wrapText": lambda n : setattr(self, 'wrap_text', n.get_bool_value()), } @@ -88,12 +94,12 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_collection_of_object_values("borders", self.borders) - writer.write_float_value("columnWidth", self.column_width) + writer.write_object_value("columnWidth", self.column_width) writer.write_object_value("fill", self.fill) writer.write_object_value("font", self.font) writer.write_str_value("horizontalAlignment", self.horizontal_alignment) writer.write_object_value("protection", self.protection) - writer.write_float_value("rowHeight", self.row_height) + writer.write_object_value("rowHeight", self.row_height) writer.write_str_value("verticalAlignment", self.vertical_alignment) writer.write_bool_value("wrapText", self.wrap_text) diff --git a/msgraph/generated/models/workbook_range_format_column_width.py b/msgraph/generated/models/workbook_range_format_column_width.py new file mode 100644 index 00000000000..3b9b5d682b0 --- /dev/null +++ b/msgraph/generated/models/workbook_range_format_column_width.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class WorkbookRangeFormat_columnWidth(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WorkbookRangeFormat_columnWidth: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WorkbookRangeFormat_columnWidth + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = WorkbookRangeFormat_columnWidth() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/models/workbook_range_format_row_height.py b/msgraph/generated/models/workbook_range_format_row_height.py new file mode 100644 index 00000000000..278a0696859 --- /dev/null +++ b/msgraph/generated/models/workbook_range_format_row_height.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .reference_numeric import ReferenceNumeric + +@dataclass +class WorkbookRangeFormat_rowHeight(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WorkbookRangeFormat_rowHeight: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WorkbookRangeFormat_rowHeight + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = WorkbookRangeFormat_rowHeight() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py b/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py index c96fbb00321..fddf28273b5 100644 --- a/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +++ b/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py @@ -48,10 +48,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes - Find more info here: https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/organization/item/organization_item_request_builder.py b/msgraph/generated/organization/item/organization_item_request_builder.py index f694f8a8b78..05ccdbe73ab 100644 --- a/msgraph/generated/organization/item/organization_item_request_builder.py +++ b/msgraph/generated/organization/item/organization_item_request_builder.py @@ -58,10 +58,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Organization]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Organization] - Find more info here: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -114,7 +114,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -239,7 +239,7 @@ class OrganizationItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class OrganizationItemRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py b/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py index 2b3fb6eeabb..6418faa67cc 100644 --- a/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +++ b/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]: """ - Update the user synchronization policy of a partner-specific configuration. + Create a cross-tenant user synchronization policy for a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantIdentitySyncPolicyPartner] - Find more info here: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the user synchronization policy of a partner-specific configuration. + Create a cross-tenant user synchronization policy for a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/sites/sites_request_builder.py b/msgraph/generated/sites/sites_request_builder.py index f1ac4ef7942..3a78960a522 100644 --- a/msgraph/generated/sites/sites_request_builder.py +++ b/msgraph/generated/sites/sites_request_builder.py @@ -51,10 +51,10 @@ def by_site_id(self,site_id: str) -> SiteItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteCollectionResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SitesReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def remove(self) -> RemoveRequestBuilder: @dataclass class SitesRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py index 30da3ec010a..81fad4ac72a 100644 --- a/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py @@ -31,10 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -95,7 +95,7 @@ async def patch(self,body: ConversationMember, request_configuration: Optional[R def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/teams/item/channels/item/messages/delta/delta_request_builder.py b/msgraph/generated/teams/item/channels/item/messages/delta/delta_request_builder.py index 413acfc7e73..669cee1687c 100644 --- a/msgraph/generated/teams/item/channels/item/messages/delta/delta_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/messages/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py b/msgraph/generated/teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py index d2cfca7142e..53fd753f8c6 100644 --- a/msgraph/generated/teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/teams/item/primary_channel/messages/delta/delta_request_builder.py b/msgraph/generated/teams/item/primary_channel/messages/delta/delta_request_builder.py index 0f36e2044cf..8128c5c1bfb 100644 --- a/msgraph/generated/teams/item/primary_channel/messages/delta/delta_request_builder.py +++ b/msgraph/generated/teams/item/primary_channel/messages/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py b/msgraph/generated/teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py index b7e4d473b7a..03e34b23a2a 100644 --- a/msgraph/generated/teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph/generated/teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_request_builder.py index 8bb5f387e8e..e7f953cf199 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_request_builder.py +++ b/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py index 5d739429d9a..d9154535b0d 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py b/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py index a4e0dcaaddb..b4cc975b64c 100644 --- a/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +++ b/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py @@ -54,11 +54,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MultiTen async def patch(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MultiTenantOrganization]: """ - 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 body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganization] - Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -89,7 +89,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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 body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/users/item/chats/item/messages/delta/delta_request_builder.py b/msgraph/generated/users/item/chats/item/messages/delta/delta_request_builder.py index 3ae9ce7dee7..97c0bd12c30 100644 --- a/msgraph/generated/users/item/chats/item/messages/delta/delta_request_builder.py +++ b/msgraph/generated/users/item/chats/item/messages/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/item/chats/item/messages/item/replies/delta/delta_request_builder.py b/msgraph/generated/users/item/chats/item/messages/item/replies/delta/delta_request_builder.py index a35089049bc..d769878fda0 100644 --- a/msgraph/generated/users/item/chats/item/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph/generated/users/item/chats/item/messages/item/replies/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/item/find_meeting_times/find_meeting_times_post_request_body.py b/msgraph/generated/users/item/find_meeting_times/find_meeting_times_post_request_body.py index ee7c06436e2..68643b8d565 100644 --- a/msgraph/generated/users/item/find_meeting_times/find_meeting_times_post_request_body.py +++ b/msgraph/generated/users/item/find_meeting_times/find_meeting_times_post_request_body.py @@ -9,6 +9,7 @@ from ....models.attendee_base import AttendeeBase from ....models.location_constraint import LocationConstraint from ....models.time_constraint import TimeConstraint + from .find_meeting_times_post_request_body_minimum_attendee_percentage import FindMeetingTimesPostRequestBody_minimumAttendeePercentage @dataclass class FindMeetingTimesPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): @@ -28,7 +29,7 @@ class FindMeetingTimesPostRequestBody(AdditionalDataHolder, BackedModel, Parsabl # The meetingDuration property meeting_duration: Optional[datetime.timedelta] = None # The minimumAttendeePercentage property - minimum_attendee_percentage: Optional[float] = None + minimum_attendee_percentage: Optional[FindMeetingTimesPostRequestBody_minimumAttendeePercentage] = None # The returnSuggestionReasons property return_suggestion_reasons: Optional[bool] = None # The timeConstraint property @@ -53,10 +54,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from ....models.attendee_base import AttendeeBase from ....models.location_constraint import LocationConstraint from ....models.time_constraint import TimeConstraint + from .find_meeting_times_post_request_body_minimum_attendee_percentage import FindMeetingTimesPostRequestBody_minimumAttendeePercentage from ....models.attendee_base import AttendeeBase from ....models.location_constraint import LocationConstraint from ....models.time_constraint import TimeConstraint + from .find_meeting_times_post_request_body_minimum_attendee_percentage import FindMeetingTimesPostRequestBody_minimumAttendeePercentage fields: Dict[str, Callable[[Any], None]] = { "attendees": lambda n : setattr(self, 'attendees', n.get_collection_of_object_values(AttendeeBase)), @@ -64,7 +67,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "locationConstraint": lambda n : setattr(self, 'location_constraint', n.get_object_value(LocationConstraint)), "maxCandidates": lambda n : setattr(self, 'max_candidates', n.get_int_value()), "meetingDuration": lambda n : setattr(self, 'meeting_duration', n.get_timedelta_value()), - "minimumAttendeePercentage": lambda n : setattr(self, 'minimum_attendee_percentage', n.get_float_value()), + "minimumAttendeePercentage": lambda n : setattr(self, 'minimum_attendee_percentage', n.get_object_value(FindMeetingTimesPostRequestBody_minimumAttendeePercentage)), "returnSuggestionReasons": lambda n : setattr(self, 'return_suggestion_reasons', n.get_bool_value()), "timeConstraint": lambda n : setattr(self, 'time_constraint', n.get_object_value(TimeConstraint)), } @@ -83,7 +86,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_object_value("locationConstraint", self.location_constraint) writer.write_int_value("maxCandidates", self.max_candidates) writer.write_timedelta_value("meetingDuration", self.meeting_duration) - writer.write_float_value("minimumAttendeePercentage", self.minimum_attendee_percentage) + writer.write_object_value("minimumAttendeePercentage", self.minimum_attendee_percentage) writer.write_bool_value("returnSuggestionReasons", self.return_suggestion_reasons) writer.write_object_value("timeConstraint", self.time_constraint) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/users/item/find_meeting_times/find_meeting_times_post_request_body_minimum_attendee_percentage.py b/msgraph/generated/users/item/find_meeting_times/find_meeting_times_post_request_body_minimum_attendee_percentage.py new file mode 100644 index 00000000000..e50e015a88b --- /dev/null +++ b/msgraph/generated/users/item/find_meeting_times/find_meeting_times_post_request_body_minimum_attendee_percentage.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import ComposedTypeWrapper, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.reference_numeric import ReferenceNumeric + +@dataclass +class FindMeetingTimesPostRequestBody_minimumAttendeePercentage(BackedModel, ComposedTypeWrapper, Parsable): + """ + Composed type wrapper for classes float, ReferenceNumeric, str + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Composed type representation for type float + double: Optional[float] = None + # Composed type representation for type ReferenceNumeric + reference_numeric: Optional[ReferenceNumeric] = None + # Composed type representation for type str + string: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> FindMeetingTimesPostRequestBody_minimumAttendeePercentage: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: FindMeetingTimesPostRequestBody_minimumAttendeePercentage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("").get_str_value() + except AttributeError: + mapping_value = None + result = FindMeetingTimesPostRequestBody_minimumAttendeePercentage() + if reference_numeric_value := parse_node.get_enum_value(ReferenceNumeric): + result.reference_numeric = reference_numeric_value + elif double_value := parse_node.get_float_value(): + result.double = double_value + elif string_value := parse_node.get_str_value(): + result.string = string_value + return result + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ....models.reference_numeric import ReferenceNumeric + + return {} + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + if self.reference_numeric: + writer.write_enum_value(None, self.reference_numeric) + elif self.double: + writer.write_float_value(None, self.double) + elif self.string: + writer.write_str_value(None, self.string) + + diff --git a/msgraph/generated/users/item/joined_teams/item/channels/item/messages/delta/delta_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/messages/delta/delta_request_builder.py index f06f83d5b8e..38f881e63e6 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/messages/delta/delta_request_builder.py +++ b/msgraph/generated/users/item/joined_teams/item/channels/item/messages/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py index ac190e0b8df..2a937d289bd 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/delta/delta_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/delta/delta_request_builder.py index 721366ea556..f46401466bf 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/delta/delta_request_builder.py +++ b/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py index ce2dfaa2878..b1b54403773 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/item/managed_devices/item/device_category/device_category_request_builder.py b/msgraph/generated/users/item/managed_devices/item/device_category/device_category_request_builder.py index d90bc567f4c..2623a088e8f 100644 --- a/msgraph/generated/users/item/managed_devices/item/device_category/device_category_request_builder.py +++ b/msgraph/generated/users/item/managed_devices/item/device_category/device_category_request_builder.py @@ -15,6 +15,7 @@ if TYPE_CHECKING: from ......models.device_category import DeviceCategory from ......models.o_data_errors.o_data_error import ODataError + from .ref.ref_request_builder import RefRequestBuilder class DeviceCategoryRequestBuilder(BaseRequestBuilder): """ @@ -137,6 +138,15 @@ def with_url(self,raw_url: str) -> DeviceCategoryRequestBuilder: raise TypeError("raw_url cannot be null.") return DeviceCategoryRequestBuilder(self.request_adapter, raw_url) + @property + def ref(self) -> RefRequestBuilder: + """ + Provides operations to manage the collection of user entities. + """ + from .ref.ref_request_builder import RefRequestBuilder + + return RefRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class DeviceCategoryRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph/generated/users/item/managed_devices/item/device_category/ref/ref_request_builder.py b/msgraph/generated/users/item/managed_devices/item/device_category/ref/ref_request_builder.py new file mode 100644 index 00000000000..a2b682cc90f --- /dev/null +++ b/msgraph/generated/users/item/managed_devices/item/device_category/ref/ref_request_builder.py @@ -0,0 +1,157 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.reference_update import ReferenceUpdate + +class RefRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the collection of user entities. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RefRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/deviceCategory/$ref", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete ref of navigation property deviceCategory for users + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[str]: + """ + Device category + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[str] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping) + + async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Update the ref of navigation property deviceCategory in users + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_put_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete ref of navigation property deviceCategory for users + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Device category + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_put_request_information(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the ref of navigation property deviceCategory in users + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RefRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RefRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RefRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RefRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RefRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RefRequestBuilderPutRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/users/item/user_item_request_builder.py b/msgraph/generated/users/item/user_item_request_builder.py index 89aaf671d58..3ee36a44642 100644 --- a/msgraph/generated/users/item/user_item_request_builder.py +++ b/msgraph/generated/users/item/user_item_request_builder.py @@ -107,10 +107,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -141,10 +141,10 @@ def export_device_and_app_management_data_with_skip_with_top(self,skip: int, top async def get(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> Optional[User]: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -166,7 +166,7 @@ async def patch(self,body: User, request_configuration: Optional[RequestConfigur param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -201,7 +201,7 @@ def reminder_view_with_start_date_time_with_end_date_time(self,end_date_time: st def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -212,7 +212,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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 request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -922,7 +922,7 @@ class UserItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class UserItemRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/users_request_builder.py b/msgraph/generated/users/users_request_builder.py index b645934deae..b8e08655eb8 100644 --- a/msgraph/generated/users/users_request_builder.py +++ b/msgraph/generated/users/users_request_builder.py @@ -52,10 +52,10 @@ def by_user_id(self,user_id: str) -> UserItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> Optional[UserCollectionResponse]: """ - Retrieve a list of user objects. + List properties and relationships of the user objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UsersReq async def post(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[User]: """ - 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 body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -97,7 +97,7 @@ async def post(self,body: User, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve a list of user objects. + List properties and relationships of the user objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,7 +108,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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 body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -179,7 +179,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class UsersRequestBuilderGetQueryParameters(): """ - Retrieve a list of user objects. + List properties and relationships of the user objects. """ def get_query_parameter(self,original_name: str) -> str: """