msgraph-sdk 1.49.0__py3-none-any.whl → 1.51.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- msgraph/_version.py +1 -1
- msgraph/generated/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.py +5 -5
- msgraph/generated/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py +3 -3
- msgraph/generated/applications/item/federated_identity_credentials_with_name/federated_identity_credentials_with_name_request_builder.py +3 -3
- msgraph/generated/chats/item/chat_item_request_builder.py +10 -0
- msgraph/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +57 -0
- msgraph/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py +87 -0
- msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +4 -3
- msgraph/generated/kiota-dom-export.txt +1830 -6
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/access_review_history_definition.py +1 -1
- msgraph/generated/models/account_target_content.py +1 -1
- msgraph/generated/models/agreement_acceptance.py +1 -1
- msgraph/generated/models/alert.py +1 -1
- msgraph/generated/models/alteration_response.py +1 -1
- msgraph/generated/models/application.py +1 -1
- msgraph/generated/models/applied_conditional_access_policy.py +1 -1
- msgraph/generated/models/assigned_place_mode.py +61 -0
- msgraph/generated/models/attachment_item.py +1 -1
- msgraph/generated/models/attack_simulation_operation.py +1 -1
- msgraph/generated/models/attendance_record.py +1 -1
- msgraph/generated/models/attribute_definition_metadata_entry.py +1 -1
- msgraph/generated/models/authentication_method_configuration.py +1 -1
- msgraph/generated/models/authentication_method_feature_configuration.py +1 -1
- msgraph/generated/models/authorization_policy.py +1 -1
- msgraph/generated/models/availability_item.py +1 -1
- msgraph/generated/models/base_map_feature.py +104 -0
- msgraph/generated/models/bit_locker_removable_drive_policy.py +1 -1
- msgraph/generated/models/building.py +67 -0
- msgraph/generated/models/building_collection_response.py +58 -0
- msgraph/generated/models/building_map.py +71 -0
- msgraph/generated/models/calculated_column.py +2 -2
- msgraph/generated/models/calendar.py +2 -2
- msgraph/generated/models/calendar_permission.py +1 -1
- msgraph/generated/models/call.py +2 -2
- msgraph/generated/models/call_ended_event_message_detail.py +1 -1
- msgraph/generated/models/call_media_state.py +1 -1
- msgraph/generated/models/call_recording_event_message_detail.py +1 -1
- msgraph/generated/models/call_records/call_record.py +1 -1
- msgraph/generated/models/call_records/media_stream.py +2 -2
- msgraph/generated/models/call_records/session.py +1 -1
- msgraph/generated/models/call_started_event_message_detail.py +1 -1
- msgraph/generated/models/channel.py +1 -1
- msgraph/generated/models/check_in_claim.py +2 -2
- msgraph/generated/models/cloud_app_security_session_control.py +1 -1
- msgraph/generated/models/cloud_p_c.py +1 -1
- msgraph/generated/models/cloud_pc_device_image.py +3 -3
- msgraph/generated/models/cloud_pc_domain_join_configuration.py +2 -2
- msgraph/generated/models/cloud_pc_gallery_image.py +1 -1
- msgraph/generated/models/cloud_pc_on_premises_connection_health_check.py +1 -1
- msgraph/generated/models/cloud_pc_provisioning_policy.py +1 -1
- msgraph/generated/models/cloud_pc_restore_point_setting.py +1 -1
- msgraph/generated/models/communications_guest_identity.py +4 -0
- msgraph/generated/models/communications_identity_set.py +1 -1
- msgraph/generated/models/company_subscription.py +1 -1
- msgraph/generated/models/conditional_access_condition_set.py +4 -4
- msgraph/generated/models/conditional_access_external_tenants.py +1 -1
- msgraph/generated/models/conditional_access_platforms.py +2 -2
- msgraph/generated/models/contract.py +1 -1
- msgraph/generated/models/copilot_report_root.py +53 -0
- msgraph/generated/models/custom_training_setting.py +1 -1
- msgraph/generated/models/data_policy_operation.py +1 -1
- msgraph/generated/models/desk.py +71 -0
- msgraph/generated/models/desk_collection_response.py +58 -0
- msgraph/generated/models/device.py +3 -3
- msgraph/generated/models/directory_audit.py +1 -1
- msgraph/generated/models/drop_in_place_mode.py +53 -0
- msgraph/generated/models/education_assignment.py +1 -1
- msgraph/generated/models/education_assignment_defaults.py +2 -2
- msgraph/generated/models/education_class.py +1 -1
- msgraph/generated/models/education_module.py +1 -1
- msgraph/generated/models/education_organization.py +1 -1
- msgraph/generated/models/education_submission.py +1 -1
- msgraph/generated/models/education_user.py +1 -1
- msgraph/generated/models/email_authentication_method_configuration.py +1 -1
- msgraph/generated/models/email_file_assessment_request.py +1 -1
- msgraph/generated/models/end_user_notification.py +3 -3
- msgraph/generated/models/end_user_notification_setting.py +2 -2
- msgraph/generated/models/entity.py +177 -0
- msgraph/generated/models/event.py +3 -3
- msgraph/generated/models/event_message_response.py +1 -1
- msgraph/generated/models/external_connectors/connection_operation.py +1 -1
- msgraph/generated/models/external_connectors/external_connection.py +1 -1
- msgraph/generated/models/external_connectors/identity.py +1 -1
- msgraph/generated/models/external_connectors/property_.py +1 -1
- msgraph/generated/models/fido2_authentication_method.py +1 -1
- msgraph/generated/models/fido2_key_restrictions.py +1 -1
- msgraph/generated/models/file_hash.py +1 -1
- msgraph/generated/models/file_storage_container.py +7 -0
- msgraph/generated/models/filter_operator_schema.py +1 -1
- msgraph/generated/models/fixture_map.py +57 -0
- msgraph/generated/models/fixture_map_collection_response.py +58 -0
- msgraph/generated/models/floor.py +57 -0
- msgraph/generated/models/floor_collection_response.py +58 -0
- msgraph/generated/models/footprint_map.py +53 -0
- msgraph/generated/models/footprint_map_collection_response.py +58 -0
- msgraph/generated/models/group.py +1 -1
- msgraph/generated/models/identity_governance/user_inactivity_trigger.py +57 -0
- msgraph/generated/models/identity_governance/workflow_execution_trigger.py +7 -0
- msgraph/generated/models/initiator.py +1 -1
- msgraph/generated/models/invitation.py +1 -1
- msgraph/generated/models/invitation_redemption_identity_provider_configuration.py +2 -2
- msgraph/generated/models/landing_page.py +2 -2
- msgraph/generated/models/learning_content.py +1 -1
- msgraph/generated/models/learning_course_activity.py +1 -1
- msgraph/generated/models/level_map.py +78 -0
- msgraph/generated/models/level_map_collection_response.py +58 -0
- msgraph/generated/models/login_page.py +2 -2
- msgraph/generated/models/mail_assessment_request.py +1 -1
- msgraph/generated/models/mail_tips.py +1 -1
- msgraph/generated/models/mailbox_details.py +58 -0
- msgraph/generated/models/mailbox_settings.py +2 -2
- msgraph/generated/models/malware_state_for_windows_device.py +2 -2
- msgraph/generated/models/microsoft_custom_training_setting.py +1 -1
- msgraph/generated/models/microsoft_managed_desktop.py +1 -1
- msgraph/generated/models/microsoft_training_assignment_mapping.py +1 -1
- msgraph/generated/models/network_connection.py +3 -3
- msgraph/generated/models/notebook.py +1 -1
- msgraph/generated/models/o_auth_consent_app_detail.py +1 -1
- msgraph/generated/models/object_definition_metadata_entry.py +1 -1
- msgraph/generated/models/object_mapping_metadata_entry.py +1 -1
- msgraph/generated/models/online_meeting_base.py +4 -4
- msgraph/generated/models/online_meeting_restricted.py +2 -2
- msgraph/generated/models/participant_info.py +1 -1
- msgraph/generated/models/partners/billing/operation.py +1 -1
- msgraph/generated/models/payload.py +8 -8
- msgraph/generated/models/persistent_browser_session_control.py +1 -1
- msgraph/generated/models/phone_authentication_method.py +2 -2
- msgraph/generated/models/place.py +54 -3
- msgraph/generated/models/place_mode.py +80 -0
- msgraph/generated/models/planner_plan_container.py +1 -1
- msgraph/generated/models/platform_credential_authentication_method.py +2 -2
- msgraph/generated/models/positive_reinforcement_notification.py +1 -1
- msgraph/generated/models/printer_capabilities.py +2 -2
- msgraph/generated/models/process.py +1 -1
- msgraph/generated/models/provisioning_object_summary.py +1 -1
- msgraph/generated/models/provisioning_status_info.py +1 -1
- msgraph/generated/models/provisioning_step.py +2 -2
- msgraph/generated/models/registry_key_state.py +3 -3
- msgraph/generated/models/remote_desktop_security_configuration.py +1 -1
- msgraph/generated/models/reservable_place_mode.py +53 -0
- msgraph/generated/models/resource_link.py +69 -0
- msgraph/generated/models/resource_link_type.py +6 -0
- msgraph/generated/models/resource_specific_permission_grant.py +1 -1
- msgraph/generated/models/response_status.py +1 -1
- msgraph/generated/models/restore_session_base.py +1 -1
- msgraph/generated/models/retention_label_settings.py +1 -1
- msgraph/generated/models/risk_detection.py +6 -6
- msgraph/generated/models/risk_service_principal_activity.py +1 -1
- msgraph/generated/models/risk_user_activity.py +1 -1
- msgraph/generated/models/risky_service_principal.py +1 -1
- msgraph/generated/models/risky_user.py +4 -4
- msgraph/generated/models/room.py +1 -13
- msgraph/generated/models/room_list.py +7 -0
- msgraph/generated/models/schedule_change_request.py +2 -2
- msgraph/generated/models/search/answer_variant.py +1 -1
- msgraph/generated/models/search/bookmark.py +1 -1
- msgraph/generated/models/search/qna.py +1 -1
- msgraph/generated/models/search_request.py +1 -1
- msgraph/generated/models/section.py +53 -0
- msgraph/generated/models/section_collection_response.py +58 -0
- msgraph/generated/models/section_map.py +57 -0
- msgraph/generated/models/section_map_collection_response.py +58 -0
- msgraph/generated/models/security/account.py +72 -0
- msgraph/generated/models/security/action.py +11 -0
- msgraph/generated/models/security/ai_agent_evidence.py +72 -0
- msgraph/generated/models/security/ai_agent_platform.py +9 -0
- msgraph/generated/models/security/alert.py +4 -4
- msgraph/generated/models/security/alert_evidence.py +7 -0
- msgraph/generated/models/security/case_operation.py +2 -2
- msgraph/generated/models/security/data_source_container.py +1 -1
- msgraph/generated/models/security/ediscovery_add_to_review_set_operation.py +4 -4
- msgraph/generated/models/security/ediscovery_case_settings.py +1 -1
- msgraph/generated/models/security/ediscovery_estimate_operation.py +1 -1
- msgraph/generated/models/security/ediscovery_export_operation.py +2 -2
- msgraph/generated/models/security/ediscovery_review_tag.py +1 -1
- msgraph/generated/models/security/ediscovery_search.py +1 -1
- msgraph/generated/models/security/ediscovery_search_export_operation.py +2 -2
- msgraph/generated/models/security/google_cloud_resource_evidence.py +1 -1
- msgraph/generated/models/security/identity_accounts.py +92 -0
- msgraph/generated/models/security/identity_accounts_collection_response.py +58 -0
- msgraph/generated/models/security/identity_container.py +7 -0
- msgraph/generated/models/security/identity_provider.py +8 -0
- msgraph/generated/models/security/incident.py +2 -2
- msgraph/generated/models/security/invoke_action_result.py +76 -0
- msgraph/generated/models/security/kubernetes_cluster_evidence.py +1 -1
- msgraph/generated/models/security/kubernetes_service_port.py +1 -1
- msgraph/generated/models/security/teams_message_evidence.py +2 -2
- msgraph/generated/models/security/unified_group_source.py +1 -1
- msgraph/generated/models/security/user.py +61 -0
- msgraph/generated/models/security/user_source.py +1 -1
- msgraph/generated/models/security_resource.py +1 -1
- msgraph/generated/models/send_dtmf_tones_operation.py +1 -1
- msgraph/generated/models/service_health_issue_post.py +1 -1
- msgraph/generated/models/service_principal.py +1 -1
- msgraph/generated/models/service_principal_risk_detection.py +2 -2
- msgraph/generated/models/share_point_migration_container_info.py +62 -0
- msgraph/generated/models/share_point_migration_event.py +127 -0
- msgraph/generated/models/share_point_migration_event_collection_response.py +58 -0
- msgraph/generated/models/share_point_migration_finish_manifest_file_upload_event.py +57 -0
- msgraph/generated/models/share_point_migration_job.py +67 -0
- msgraph/generated/models/share_point_migration_job_cancelled_event.py +61 -0
- msgraph/generated/models/share_point_migration_job_collection_response.py +58 -0
- msgraph/generated/models/share_point_migration_job_deleted_event.py +53 -0
- msgraph/generated/models/share_point_migration_job_error_event.py +86 -0
- msgraph/generated/models/share_point_migration_job_error_level.py +9 -0
- msgraph/generated/models/share_point_migration_job_postponed_event.py +70 -0
- msgraph/generated/models/share_point_migration_job_progress_event.py +121 -0
- msgraph/generated/models/share_point_migration_job_queued_event.py +53 -0
- msgraph/generated/models/share_point_migration_job_start_event.py +61 -0
- msgraph/generated/models/share_point_migration_object_type.py +14 -0
- msgraph/generated/models/sharepoint_settings.py +3 -3
- msgraph/generated/models/sign_in.py +2 -2
- msgraph/generated/models/sign_in_frequency_session_control.py +1 -1
- msgraph/generated/models/simulation.py +4 -4
- msgraph/generated/models/simulation_notification.py +1 -1
- msgraph/generated/models/site_collection.py +1 -1
- msgraph/generated/models/subject_rights_request.py +3 -3
- msgraph/generated/models/subject_rights_request_history.py +2 -2
- msgraph/generated/models/subject_rights_request_stage_detail.py +2 -2
- msgraph/generated/models/subscribed_sku.py +2 -2
- msgraph/generated/models/synchronization_metadata_entry.py +1 -1
- msgraph/generated/models/target_resource.py +1 -1
- msgraph/generated/models/team_fun_settings.py +1 -1
- msgraph/generated/models/teams_app_definition.py +1 -1
- msgraph/generated/models/teamwork_activity_topic.py +1 -1
- msgraph/generated/models/teamwork_application_identity.py +1 -1
- msgraph/generated/models/teamwork_conversation_identity.py +1 -1
- msgraph/generated/models/teamwork_user_identity.py +1 -1
- msgraph/generated/models/term_store/group.py +1 -1
- msgraph/generated/models/term_store/relation.py +1 -1
- msgraph/generated/models/threat_assessment_request.py +3 -3
- msgraph/generated/models/threat_assessment_result.py +1 -1
- msgraph/generated/models/time_card.py +1 -1
- msgraph/generated/models/training.py +3 -3
- msgraph/generated/models/training_reminder_notification.py +1 -1
- msgraph/generated/models/training_setting.py +1 -1
- msgraph/generated/models/unit_map.py +57 -0
- msgraph/generated/models/unit_map_collection_response.py +58 -0
- msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version.py +2 -2
- msgraph/generated/models/user_experience_analytics_app_health_application_performance.py +2 -2
- msgraph/generated/models/user_experience_analytics_app_health_device_performance_details.py +2 -2
- msgraph/generated/models/user_registration_details.py +2 -2
- msgraph/generated/models/user_registration_feature_summary.py +2 -2
- msgraph/generated/models/user_registration_method_summary.py +2 -2
- msgraph/generated/models/user_security_state.py +3 -3
- msgraph/generated/models/user_training_event_info.py +1 -1
- msgraph/generated/models/user_training_status_info.py +1 -1
- msgraph/generated/models/virtual_event_townhall.py +1 -1
- msgraph/generated/models/virtual_event_webinar.py +1 -1
- msgraph/generated/models/win32_lob_app.py +2 -2
- msgraph/generated/models/win32_lob_app_power_shell_script_rule.py +1 -1
- msgraph/generated/models/windows_device_malware_state.py +5 -5
- msgraph/generated/models/windows_hello_for_business_authentication_method.py +1 -1
- msgraph/generated/models/windows_malware_information.py +2 -2
- msgraph/generated/models/windows_protection_state.py +2 -2
- msgraph/generated/models/windows_update_for_business_configuration.py +2 -2
- msgraph/generated/models/workbook_application.py +1 -1
- msgraph/generated/models/workbook_named_item.py +1 -1
- msgraph/generated/models/workbook_range_format.py +2 -2
- msgraph/generated/models/workbook_table.py +1 -1
- msgraph/generated/models/workforce_integration.py +2 -2
- msgraph/generated/models/workforce_integration_encryption.py +1 -1
- msgraph/generated/models/workspace.py +76 -0
- msgraph/generated/models/workspace_collection_response.py +58 -0
- msgraph/generated/places/graph_building/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_building/graph_building_request_builder.py +148 -0
- msgraph/generated/places/graph_desk/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_desk/graph_desk_request_builder.py +148 -0
- msgraph/generated/places/graph_floor/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_floor/graph_floor_request_builder.py +148 -0
- msgraph/generated/places/graph_room/graph_room_request_builder.py +3 -3
- msgraph/generated/places/graph_section/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_section/graph_section_request_builder.py +148 -0
- msgraph/generated/places/graph_workspace/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_workspace/graph_workspace_request_builder.py +148 -0
- msgraph/generated/places/item/check_ins/check_ins_request_builder.py +6 -5
- msgraph/generated/places/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +4 -3
- msgraph/generated/places/item/descendants/descendants_get_response.py +58 -0
- msgraph/generated/places/item/descendants/descendants_request_builder.py +137 -0
- msgraph/generated/places/item/graph_building/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_building/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_building/graph_building_request_builder.py +128 -0
- msgraph/generated/places/item/graph_building/map/footprints/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/footprints/footprints_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/footprints/item/footprint_map_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_building/map/levels/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/levels/item/fixtures/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/levels/item/fixtures/fixtures_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/levels/item/fixtures/item/fixture_map_item_request_builder.py +190 -0
- msgraph/generated/places/item/graph_building/map/levels/item/level_map_item_request_builder.py +218 -0
- msgraph/generated/places/item/graph_building/map/levels/item/sections/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/levels/item/sections/item/section_map_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_building/map/levels/item/sections/sections_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/levels/item/units/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/levels/item/units/item/unit_map_item_request_builder.py +190 -0
- msgraph/generated/places/item/graph_building/map/levels/item/units/units_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/levels/levels_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/map_request_builder.py +210 -0
- msgraph/generated/places/item/graph_desk/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_desk/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_desk/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_desk/graph_desk_request_builder.py +118 -0
- msgraph/generated/places/item/graph_floor/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_floor/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_floor/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_floor/graph_floor_request_builder.py +118 -0
- msgraph/generated/places/item/graph_room/check_ins/check_ins_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room/graph_room_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/check_ins/check_ins_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/graph_room_list_request_builder.py +10 -0
- msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/check_ins_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/workspaces/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_room_list/workspaces/item/workspace_item_request_builder.py +198 -0
- msgraph/generated/places/item/graph_room_list/workspaces/workspaces_request_builder.py +208 -0
- msgraph/generated/places/item/graph_section/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_section/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_section/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_section/graph_section_request_builder.py +118 -0
- msgraph/generated/places/item/graph_workspace/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_workspace/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_workspace/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_workspace/graph_workspace_request_builder.py +118 -0
- msgraph/generated/places/item/place_item_request_builder.py +65 -4
- msgraph/generated/places/places_request_builder.py +53 -2
- msgraph/generated/security/identities/identities_request_builder.py +10 -0
- msgraph/generated/security/identities/identity_accounts/count/count_request_builder.py +104 -0
- msgraph/generated/security/identities/identity_accounts/identity_accounts_request_builder.py +209 -0
- msgraph/generated/security/identities/identity_accounts/item/identity_accounts_item_request_builder.py +199 -0
- msgraph/generated/security/identities/identity_accounts/item/microsoft_graph_security_invoke_action/invoke_action_post_request_body.py +68 -0
- msgraph/generated/security/identities/identity_accounts/item/microsoft_graph_security_invoke_action/microsoft_graph_security_invoke_action_request_builder.py +90 -0
- msgraph/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/sessions_request_builder.py +3 -3
- msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py +20 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/count/count_request_builder.py +104 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/count/count_request_builder.py +104 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/item/share_point_migration_event_item_request_builder.py +188 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/progress_events_request_builder.py +208 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/share_point_migration_job_item_request_builder.py +198 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/migration_jobs_request_builder.py +208 -0
- msgraph/generated/storage/file_storage/containers/item/provision_migration_containers/provision_migration_containers_request_builder.py +81 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py +20 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/count/count_request_builder.py +104 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/count/count_request_builder.py +104 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/item/share_point_migration_event_item_request_builder.py +188 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/progress_events_request_builder.py +208 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/share_point_migration_job_item_request_builder.py +198 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/migration_jobs_request_builder.py +208 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/provision_migration_containers/provision_migration_containers_request_builder.py +81 -0
- msgraph/generated/users/item/chats/item/chat_item_request_builder.py +10 -0
- msgraph/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +57 -0
- msgraph/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py +87 -0
- msgraph/generated/users/item/online_meetings/item/recordings/item/call_recording_item_request_builder.py +3 -3
- msgraph/generated/users/item/online_meetings/item/recordings/recordings_request_builder.py +3 -3
- msgraph/generated/users/item/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py +3 -3
- msgraph/generated/users/item/online_meetings/item/transcripts/item/content/content_request_builder.py +2 -2
- msgraph/generated/users/item/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py +2 -2
- msgraph/generated/users/item/online_meetings/item/transcripts/transcripts_request_builder.py +3 -3
- {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/RECORD +368 -236
- {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/WHEEL +0 -0
- {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.base_request_builder import BaseRequestBuilder
|
|
5
|
+
from kiota_abstractions.base_request_configuration import RequestConfiguration
|
|
6
|
+
from kiota_abstractions.default_query_parameters import QueryParameters
|
|
7
|
+
from kiota_abstractions.get_path_parameters import get_path_parameters
|
|
8
|
+
from kiota_abstractions.method import Method
|
|
9
|
+
from kiota_abstractions.request_adapter import RequestAdapter
|
|
10
|
+
from kiota_abstractions.request_information import RequestInformation
|
|
11
|
+
from kiota_abstractions.request_option import RequestOption
|
|
12
|
+
from kiota_abstractions.serialization import Parsable, ParsableFactory
|
|
13
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
14
|
+
from warnings import warn
|
|
15
|
+
|
|
16
|
+
if TYPE_CHECKING:
|
|
17
|
+
from ...models.o_data_errors.o_data_error import ODataError
|
|
18
|
+
from ...models.workspace_collection_response import WorkspaceCollectionResponse
|
|
19
|
+
from .count.count_request_builder import CountRequestBuilder
|
|
20
|
+
|
|
21
|
+
class GraphWorkspaceRequestBuilder(BaseRequestBuilder):
|
|
22
|
+
"""
|
|
23
|
+
Casts the previous resource to workspace.
|
|
24
|
+
"""
|
|
25
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
|
|
26
|
+
"""
|
|
27
|
+
Instantiates a new GraphWorkspaceRequestBuilder and sets the default values.
|
|
28
|
+
param path_parameters: The raw url or the url-template parameters for the request.
|
|
29
|
+
param request_adapter: The request adapter to use to execute the requests.
|
|
30
|
+
Returns: None
|
|
31
|
+
"""
|
|
32
|
+
super().__init__(request_adapter, "{+baseurl}/places/graph.workspace{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters)
|
|
33
|
+
|
|
34
|
+
async def get(self,request_configuration: Optional[RequestConfiguration[GraphWorkspaceRequestBuilderGetQueryParameters]] = None) -> Optional[WorkspaceCollectionResponse]:
|
|
35
|
+
"""
|
|
36
|
+
Get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list.
|
|
37
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
|
+
Returns: Optional[WorkspaceCollectionResponse]
|
|
39
|
+
Find more info here: https://learn.microsoft.com/graph/api/place-list?view=graph-rest-1.0
|
|
40
|
+
"""
|
|
41
|
+
request_info = self.to_get_request_information(
|
|
42
|
+
request_configuration
|
|
43
|
+
)
|
|
44
|
+
from ...models.o_data_errors.o_data_error import ODataError
|
|
45
|
+
|
|
46
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
|
47
|
+
"XXX": ODataError,
|
|
48
|
+
}
|
|
49
|
+
if not self.request_adapter:
|
|
50
|
+
raise Exception("Http core is null")
|
|
51
|
+
from ...models.workspace_collection_response import WorkspaceCollectionResponse
|
|
52
|
+
|
|
53
|
+
return await self.request_adapter.send_async(request_info, WorkspaceCollectionResponse, error_mapping)
|
|
54
|
+
|
|
55
|
+
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphWorkspaceRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
56
|
+
"""
|
|
57
|
+
Get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list.
|
|
58
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
59
|
+
Returns: RequestInformation
|
|
60
|
+
"""
|
|
61
|
+
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
|
62
|
+
request_info.configure(request_configuration)
|
|
63
|
+
request_info.headers.try_add("Accept", "application/json")
|
|
64
|
+
return request_info
|
|
65
|
+
|
|
66
|
+
def with_url(self,raw_url: str) -> GraphWorkspaceRequestBuilder:
|
|
67
|
+
"""
|
|
68
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
|
69
|
+
param raw_url: The raw URL to use for the request builder.
|
|
70
|
+
Returns: GraphWorkspaceRequestBuilder
|
|
71
|
+
"""
|
|
72
|
+
if raw_url is None:
|
|
73
|
+
raise TypeError("raw_url cannot be null.")
|
|
74
|
+
return GraphWorkspaceRequestBuilder(self.request_adapter, raw_url)
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
def count(self) -> CountRequestBuilder:
|
|
78
|
+
"""
|
|
79
|
+
Provides operations to count the resources in the collection.
|
|
80
|
+
"""
|
|
81
|
+
from .count.count_request_builder import CountRequestBuilder
|
|
82
|
+
|
|
83
|
+
return CountRequestBuilder(self.request_adapter, self.path_parameters)
|
|
84
|
+
|
|
85
|
+
@dataclass
|
|
86
|
+
class GraphWorkspaceRequestBuilderGetQueryParameters():
|
|
87
|
+
"""
|
|
88
|
+
Get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list.
|
|
89
|
+
"""
|
|
90
|
+
def get_query_parameter(self,original_name: str) -> str:
|
|
91
|
+
"""
|
|
92
|
+
Maps the query parameters names to their encoded names for the URI template parsing.
|
|
93
|
+
param original_name: The original query parameter name in the class.
|
|
94
|
+
Returns: str
|
|
95
|
+
"""
|
|
96
|
+
if original_name is None:
|
|
97
|
+
raise TypeError("original_name cannot be null.")
|
|
98
|
+
if original_name == "count":
|
|
99
|
+
return "%24count"
|
|
100
|
+
if original_name == "expand":
|
|
101
|
+
return "%24expand"
|
|
102
|
+
if original_name == "filter":
|
|
103
|
+
return "%24filter"
|
|
104
|
+
if original_name == "orderby":
|
|
105
|
+
return "%24orderby"
|
|
106
|
+
if original_name == "search":
|
|
107
|
+
return "%24search"
|
|
108
|
+
if original_name == "select":
|
|
109
|
+
return "%24select"
|
|
110
|
+
if original_name == "skip":
|
|
111
|
+
return "%24skip"
|
|
112
|
+
if original_name == "top":
|
|
113
|
+
return "%24top"
|
|
114
|
+
return original_name
|
|
115
|
+
|
|
116
|
+
# Include count of items
|
|
117
|
+
count: Optional[bool] = None
|
|
118
|
+
|
|
119
|
+
# Expand related entities
|
|
120
|
+
expand: Optional[list[str]] = None
|
|
121
|
+
|
|
122
|
+
# Filter items by property values
|
|
123
|
+
filter: Optional[str] = None
|
|
124
|
+
|
|
125
|
+
# Order items by property values
|
|
126
|
+
orderby: Optional[list[str]] = None
|
|
127
|
+
|
|
128
|
+
# Search items by search phrases
|
|
129
|
+
search: Optional[str] = None
|
|
130
|
+
|
|
131
|
+
# Select properties to be returned
|
|
132
|
+
select: Optional[list[str]] = None
|
|
133
|
+
|
|
134
|
+
# Skip the first n items
|
|
135
|
+
skip: Optional[int] = None
|
|
136
|
+
|
|
137
|
+
# Show only the first n items
|
|
138
|
+
top: Optional[int] = None
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
@dataclass
|
|
142
|
+
class GraphWorkspaceRequestBuilderGetRequestConfiguration(RequestConfiguration[GraphWorkspaceRequestBuilderGetQueryParameters]):
|
|
143
|
+
"""
|
|
144
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
|
145
|
+
"""
|
|
146
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
|
147
|
+
|
|
148
|
+
|
|
@@ -49,7 +49,7 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
|
|
|
49
49
|
|
|
50
50
|
async def get(self,request_configuration: Optional[RequestConfiguration[CheckInsRequestBuilderGetQueryParameters]] = None) -> Optional[CheckInClaimCollectionResponse]:
|
|
51
51
|
"""
|
|
52
|
-
|
|
52
|
+
Read the properties and relationships of a checkInClaim object. This API provides the check-in status for a specific place, such as a desk, room, or workspace, associated with a particular reservation.
|
|
53
53
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
54
|
Returns: Optional[CheckInClaimCollectionResponse]
|
|
55
55
|
"""
|
|
@@ -69,10 +69,11 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
|
|
|
69
69
|
|
|
70
70
|
async def post(self,body: CheckInClaim, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckInClaim]:
|
|
71
71
|
"""
|
|
72
|
-
Create new
|
|
72
|
+
Create a new checkInClaim object to record the check-in status for a specific place, such as a desk or a room, associated with a specific calendar reservation. This check-in confirms that the reserved space is in use and prevents automatic release if auto-release policies are configured for that place.
|
|
73
73
|
param body: The request body
|
|
74
74
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
75
75
|
Returns: Optional[CheckInClaim]
|
|
76
|
+
Find more info here: https://learn.microsoft.com/graph/api/place-post-checkins?view=graph-rest-1.0
|
|
76
77
|
"""
|
|
77
78
|
if body is None:
|
|
78
79
|
raise TypeError("body cannot be null.")
|
|
@@ -92,7 +93,7 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
|
|
|
92
93
|
|
|
93
94
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CheckInsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
94
95
|
"""
|
|
95
|
-
|
|
96
|
+
Read the properties and relationships of a checkInClaim object. This API provides the check-in status for a specific place, such as a desk, room, or workspace, associated with a particular reservation.
|
|
96
97
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
97
98
|
Returns: RequestInformation
|
|
98
99
|
"""
|
|
@@ -103,7 +104,7 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
|
|
|
103
104
|
|
|
104
105
|
def to_post_request_information(self,body: CheckInClaim, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
105
106
|
"""
|
|
106
|
-
Create new
|
|
107
|
+
Create a new checkInClaim object to record the check-in status for a specific place, such as a desk or a room, associated with a specific calendar reservation. This check-in confirms that the reserved space is in use and prevents automatic release if auto-release policies are configured for that place.
|
|
107
108
|
param body: The request body
|
|
108
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
109
110
|
Returns: RequestInformation
|
|
@@ -138,7 +139,7 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
|
|
|
138
139
|
@dataclass
|
|
139
140
|
class CheckInsRequestBuilderGetQueryParameters():
|
|
140
141
|
"""
|
|
141
|
-
|
|
142
|
+
Read the properties and relationships of a checkInClaim object. This API provides the check-in status for a specific place, such as a desk, room, or workspace, associated with a particular reservation.
|
|
142
143
|
"""
|
|
143
144
|
def get_query_parameter(self,original_name: str) -> str:
|
|
144
145
|
"""
|
msgraph/generated/places/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py
CHANGED
|
@@ -50,9 +50,10 @@ class CheckInClaimCalendarEventItemRequestBuilder(BaseRequestBuilder):
|
|
|
50
50
|
|
|
51
51
|
async def get(self,request_configuration: Optional[RequestConfiguration[CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters]] = None) -> Optional[CheckInClaim]:
|
|
52
52
|
"""
|
|
53
|
-
|
|
53
|
+
Read the properties and relationships of a checkInClaim object. This API provides the check-in status for a specific place, such as a desk, room, or workspace, associated with a particular reservation.
|
|
54
54
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
55
55
|
Returns: Optional[CheckInClaim]
|
|
56
|
+
Find more info here: https://learn.microsoft.com/graph/api/checkinclaim-get?view=graph-rest-1.0
|
|
56
57
|
"""
|
|
57
58
|
request_info = self.to_get_request_information(
|
|
58
59
|
request_configuration
|
|
@@ -104,7 +105,7 @@ class CheckInClaimCalendarEventItemRequestBuilder(BaseRequestBuilder):
|
|
|
104
105
|
|
|
105
106
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
106
107
|
"""
|
|
107
|
-
|
|
108
|
+
Read the properties and relationships of a checkInClaim object. This API provides the check-in status for a specific place, such as a desk, room, or workspace, associated with a particular reservation.
|
|
108
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
109
110
|
Returns: RequestInformation
|
|
110
111
|
"""
|
|
@@ -148,7 +149,7 @@ class CheckInClaimCalendarEventItemRequestBuilder(BaseRequestBuilder):
|
|
|
148
149
|
@dataclass
|
|
149
150
|
class CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters():
|
|
150
151
|
"""
|
|
151
|
-
|
|
152
|
+
Read the properties and relationships of a checkInClaim object. This API provides the check-in status for a specific place, such as a desk, room, or workspace, associated with a particular reservation.
|
|
152
153
|
"""
|
|
153
154
|
def get_query_parameter(self,original_name: str) -> str:
|
|
154
155
|
"""
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
9
|
+
from ....models.place import Place
|
|
10
|
+
|
|
11
|
+
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
12
|
+
|
|
13
|
+
@dataclass
|
|
14
|
+
class DescendantsGetResponse(BaseCollectionPaginationCountResponse, Parsable):
|
|
15
|
+
# The value property
|
|
16
|
+
value: Optional[list[Place]] = None
|
|
17
|
+
|
|
18
|
+
@staticmethod
|
|
19
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> DescendantsGetResponse:
|
|
20
|
+
"""
|
|
21
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
22
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
23
|
+
Returns: DescendantsGetResponse
|
|
24
|
+
"""
|
|
25
|
+
if parse_node is None:
|
|
26
|
+
raise TypeError("parse_node cannot be null.")
|
|
27
|
+
return DescendantsGetResponse()
|
|
28
|
+
|
|
29
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
30
|
+
"""
|
|
31
|
+
The deserialization information for the current model
|
|
32
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
33
|
+
"""
|
|
34
|
+
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
35
|
+
from ....models.place import Place
|
|
36
|
+
|
|
37
|
+
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
38
|
+
from ....models.place import Place
|
|
39
|
+
|
|
40
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
41
|
+
"value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(Place)),
|
|
42
|
+
}
|
|
43
|
+
super_fields = super().get_field_deserializers()
|
|
44
|
+
fields.update(super_fields)
|
|
45
|
+
return fields
|
|
46
|
+
|
|
47
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
48
|
+
"""
|
|
49
|
+
Serializes information the current object
|
|
50
|
+
param writer: Serialization writer to use to serialize this model
|
|
51
|
+
Returns: None
|
|
52
|
+
"""
|
|
53
|
+
if writer is None:
|
|
54
|
+
raise TypeError("writer cannot be null.")
|
|
55
|
+
super().serialize(writer)
|
|
56
|
+
writer.write_collection_of_object_values("value", self.value)
|
|
57
|
+
|
|
58
|
+
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.base_request_builder import BaseRequestBuilder
|
|
5
|
+
from kiota_abstractions.base_request_configuration import RequestConfiguration
|
|
6
|
+
from kiota_abstractions.default_query_parameters import QueryParameters
|
|
7
|
+
from kiota_abstractions.get_path_parameters import get_path_parameters
|
|
8
|
+
from kiota_abstractions.method import Method
|
|
9
|
+
from kiota_abstractions.request_adapter import RequestAdapter
|
|
10
|
+
from kiota_abstractions.request_information import RequestInformation
|
|
11
|
+
from kiota_abstractions.request_option import RequestOption
|
|
12
|
+
from kiota_abstractions.serialization import Parsable, ParsableFactory
|
|
13
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
14
|
+
from warnings import warn
|
|
15
|
+
|
|
16
|
+
if TYPE_CHECKING:
|
|
17
|
+
from ....models.o_data_errors.o_data_error import ODataError
|
|
18
|
+
from .descendants_get_response import DescendantsGetResponse
|
|
19
|
+
|
|
20
|
+
class DescendantsRequestBuilder(BaseRequestBuilder):
|
|
21
|
+
"""
|
|
22
|
+
Provides operations to call the descendants method.
|
|
23
|
+
"""
|
|
24
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
|
|
25
|
+
"""
|
|
26
|
+
Instantiates a new DescendantsRequestBuilder and sets the default values.
|
|
27
|
+
param path_parameters: The raw url or the url-template parameters for the request.
|
|
28
|
+
param request_adapter: The request adapter to use to execute the requests.
|
|
29
|
+
Returns: None
|
|
30
|
+
"""
|
|
31
|
+
super().__init__(request_adapter, "{+baseurl}/places/{place%2Did}/descendants(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters)
|
|
32
|
+
|
|
33
|
+
async def get(self,request_configuration: Optional[RequestConfiguration[DescendantsRequestBuilderGetQueryParameters]] = None) -> Optional[DescendantsGetResponse]:
|
|
34
|
+
"""
|
|
35
|
+
Invoke function descendants
|
|
36
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
Returns: Optional[DescendantsGetResponse]
|
|
38
|
+
"""
|
|
39
|
+
request_info = self.to_get_request_information(
|
|
40
|
+
request_configuration
|
|
41
|
+
)
|
|
42
|
+
from ....models.o_data_errors.o_data_error import ODataError
|
|
43
|
+
|
|
44
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
|
45
|
+
"XXX": ODataError,
|
|
46
|
+
}
|
|
47
|
+
if not self.request_adapter:
|
|
48
|
+
raise Exception("Http core is null")
|
|
49
|
+
from .descendants_get_response import DescendantsGetResponse
|
|
50
|
+
|
|
51
|
+
return await self.request_adapter.send_async(request_info, DescendantsGetResponse, error_mapping)
|
|
52
|
+
|
|
53
|
+
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DescendantsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
54
|
+
"""
|
|
55
|
+
Invoke function descendants
|
|
56
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
57
|
+
Returns: RequestInformation
|
|
58
|
+
"""
|
|
59
|
+
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
|
60
|
+
request_info.configure(request_configuration)
|
|
61
|
+
request_info.headers.try_add("Accept", "application/json")
|
|
62
|
+
return request_info
|
|
63
|
+
|
|
64
|
+
def with_url(self,raw_url: str) -> DescendantsRequestBuilder:
|
|
65
|
+
"""
|
|
66
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
|
67
|
+
param raw_url: The raw URL to use for the request builder.
|
|
68
|
+
Returns: DescendantsRequestBuilder
|
|
69
|
+
"""
|
|
70
|
+
if raw_url is None:
|
|
71
|
+
raise TypeError("raw_url cannot be null.")
|
|
72
|
+
return DescendantsRequestBuilder(self.request_adapter, raw_url)
|
|
73
|
+
|
|
74
|
+
@dataclass
|
|
75
|
+
class DescendantsRequestBuilderGetQueryParameters():
|
|
76
|
+
"""
|
|
77
|
+
Invoke function descendants
|
|
78
|
+
"""
|
|
79
|
+
def get_query_parameter(self,original_name: str) -> str:
|
|
80
|
+
"""
|
|
81
|
+
Maps the query parameters names to their encoded names for the URI template parsing.
|
|
82
|
+
param original_name: The original query parameter name in the class.
|
|
83
|
+
Returns: str
|
|
84
|
+
"""
|
|
85
|
+
if original_name is None:
|
|
86
|
+
raise TypeError("original_name cannot be null.")
|
|
87
|
+
if original_name == "count":
|
|
88
|
+
return "%24count"
|
|
89
|
+
if original_name == "expand":
|
|
90
|
+
return "%24expand"
|
|
91
|
+
if original_name == "filter":
|
|
92
|
+
return "%24filter"
|
|
93
|
+
if original_name == "orderby":
|
|
94
|
+
return "%24orderby"
|
|
95
|
+
if original_name == "search":
|
|
96
|
+
return "%24search"
|
|
97
|
+
if original_name == "select":
|
|
98
|
+
return "%24select"
|
|
99
|
+
if original_name == "skip":
|
|
100
|
+
return "%24skip"
|
|
101
|
+
if original_name == "top":
|
|
102
|
+
return "%24top"
|
|
103
|
+
return original_name
|
|
104
|
+
|
|
105
|
+
# Include count of items
|
|
106
|
+
count: Optional[bool] = None
|
|
107
|
+
|
|
108
|
+
# Expand related entities
|
|
109
|
+
expand: Optional[list[str]] = None
|
|
110
|
+
|
|
111
|
+
# Filter items by property values
|
|
112
|
+
filter: Optional[str] = None
|
|
113
|
+
|
|
114
|
+
# Order items by property values
|
|
115
|
+
orderby: Optional[list[str]] = None
|
|
116
|
+
|
|
117
|
+
# Search items by search phrases
|
|
118
|
+
search: Optional[str] = None
|
|
119
|
+
|
|
120
|
+
# Select properties to be returned
|
|
121
|
+
select: Optional[list[str]] = None
|
|
122
|
+
|
|
123
|
+
# Skip the first n items
|
|
124
|
+
skip: Optional[int] = None
|
|
125
|
+
|
|
126
|
+
# Show only the first n items
|
|
127
|
+
top: Optional[int] = None
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
@dataclass
|
|
131
|
+
class DescendantsRequestBuilderGetRequestConfiguration(RequestConfiguration[DescendantsRequestBuilderGetQueryParameters]):
|
|
132
|
+
"""
|
|
133
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
|
134
|
+
"""
|
|
135
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
|
136
|
+
|
|
137
|
+
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.base_request_builder import BaseRequestBuilder
|
|
5
|
+
from kiota_abstractions.base_request_configuration import RequestConfiguration
|
|
6
|
+
from kiota_abstractions.default_query_parameters import QueryParameters
|
|
7
|
+
from kiota_abstractions.get_path_parameters import get_path_parameters
|
|
8
|
+
from kiota_abstractions.method import Method
|
|
9
|
+
from kiota_abstractions.request_adapter import RequestAdapter
|
|
10
|
+
from kiota_abstractions.request_information import RequestInformation
|
|
11
|
+
from kiota_abstractions.request_option import RequestOption
|
|
12
|
+
from kiota_abstractions.serialization import Parsable, ParsableFactory
|
|
13
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
14
|
+
from warnings import warn
|
|
15
|
+
|
|
16
|
+
if TYPE_CHECKING:
|
|
17
|
+
from .....models.check_in_claim import CheckInClaim
|
|
18
|
+
from .....models.check_in_claim_collection_response import CheckInClaimCollectionResponse
|
|
19
|
+
from .....models.o_data_errors.o_data_error import ODataError
|
|
20
|
+
from .count.count_request_builder import CountRequestBuilder
|
|
21
|
+
from .item.check_in_claim_calendar_event_item_request_builder import CheckInClaimCalendarEventItemRequestBuilder
|
|
22
|
+
|
|
23
|
+
class CheckInsRequestBuilder(BaseRequestBuilder):
|
|
24
|
+
"""
|
|
25
|
+
Provides operations to manage the checkIns property of the microsoft.graph.place entity.
|
|
26
|
+
"""
|
|
27
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
|
|
28
|
+
"""
|
|
29
|
+
Instantiates a new CheckInsRequestBuilder and sets the default values.
|
|
30
|
+
param path_parameters: The raw url or the url-template parameters for the request.
|
|
31
|
+
param request_adapter: The request adapter to use to execute the requests.
|
|
32
|
+
Returns: None
|
|
33
|
+
"""
|
|
34
|
+
super().__init__(request_adapter, "{+baseurl}/places/{place%2Did}/graph.building/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters)
|
|
35
|
+
|
|
36
|
+
def by_check_in_claim_calendar_event_id(self,check_in_claim_calendar_event_id: str) -> CheckInClaimCalendarEventItemRequestBuilder:
|
|
37
|
+
"""
|
|
38
|
+
Provides operations to manage the checkIns property of the microsoft.graph.place entity.
|
|
39
|
+
param check_in_claim_calendar_event_id: The unique identifier of checkInClaim
|
|
40
|
+
Returns: CheckInClaimCalendarEventItemRequestBuilder
|
|
41
|
+
"""
|
|
42
|
+
if check_in_claim_calendar_event_id is None:
|
|
43
|
+
raise TypeError("check_in_claim_calendar_event_id cannot be null.")
|
|
44
|
+
from .item.check_in_claim_calendar_event_item_request_builder import CheckInClaimCalendarEventItemRequestBuilder
|
|
45
|
+
|
|
46
|
+
url_tpl_params = get_path_parameters(self.path_parameters)
|
|
47
|
+
url_tpl_params["checkInClaim%2DcalendarEventId"] = check_in_claim_calendar_event_id
|
|
48
|
+
return CheckInClaimCalendarEventItemRequestBuilder(self.request_adapter, url_tpl_params)
|
|
49
|
+
|
|
50
|
+
async def get(self,request_configuration: Optional[RequestConfiguration[CheckInsRequestBuilderGetQueryParameters]] = None) -> Optional[CheckInClaimCollectionResponse]:
|
|
51
|
+
"""
|
|
52
|
+
A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
|
|
53
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
|
+
Returns: Optional[CheckInClaimCollectionResponse]
|
|
55
|
+
"""
|
|
56
|
+
request_info = self.to_get_request_information(
|
|
57
|
+
request_configuration
|
|
58
|
+
)
|
|
59
|
+
from .....models.o_data_errors.o_data_error import ODataError
|
|
60
|
+
|
|
61
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
|
62
|
+
"XXX": ODataError,
|
|
63
|
+
}
|
|
64
|
+
if not self.request_adapter:
|
|
65
|
+
raise Exception("Http core is null")
|
|
66
|
+
from .....models.check_in_claim_collection_response import CheckInClaimCollectionResponse
|
|
67
|
+
|
|
68
|
+
return await self.request_adapter.send_async(request_info, CheckInClaimCollectionResponse, error_mapping)
|
|
69
|
+
|
|
70
|
+
async def post(self,body: CheckInClaim, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckInClaim]:
|
|
71
|
+
"""
|
|
72
|
+
Create new navigation property to checkIns for places
|
|
73
|
+
param body: The request body
|
|
74
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
75
|
+
Returns: Optional[CheckInClaim]
|
|
76
|
+
"""
|
|
77
|
+
if body is None:
|
|
78
|
+
raise TypeError("body cannot be null.")
|
|
79
|
+
request_info = self.to_post_request_information(
|
|
80
|
+
body, request_configuration
|
|
81
|
+
)
|
|
82
|
+
from .....models.o_data_errors.o_data_error import ODataError
|
|
83
|
+
|
|
84
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
|
85
|
+
"XXX": ODataError,
|
|
86
|
+
}
|
|
87
|
+
if not self.request_adapter:
|
|
88
|
+
raise Exception("Http core is null")
|
|
89
|
+
from .....models.check_in_claim import CheckInClaim
|
|
90
|
+
|
|
91
|
+
return await self.request_adapter.send_async(request_info, CheckInClaim, error_mapping)
|
|
92
|
+
|
|
93
|
+
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CheckInsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
94
|
+
"""
|
|
95
|
+
A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
|
|
96
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
97
|
+
Returns: RequestInformation
|
|
98
|
+
"""
|
|
99
|
+
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
|
100
|
+
request_info.configure(request_configuration)
|
|
101
|
+
request_info.headers.try_add("Accept", "application/json")
|
|
102
|
+
return request_info
|
|
103
|
+
|
|
104
|
+
def to_post_request_information(self,body: CheckInClaim, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
105
|
+
"""
|
|
106
|
+
Create new navigation property to checkIns for places
|
|
107
|
+
param body: The request body
|
|
108
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
109
|
+
Returns: RequestInformation
|
|
110
|
+
"""
|
|
111
|
+
if body is None:
|
|
112
|
+
raise TypeError("body cannot be null.")
|
|
113
|
+
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
|
|
114
|
+
request_info.configure(request_configuration)
|
|
115
|
+
request_info.headers.try_add("Accept", "application/json")
|
|
116
|
+
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
|
|
117
|
+
return request_info
|
|
118
|
+
|
|
119
|
+
def with_url(self,raw_url: str) -> CheckInsRequestBuilder:
|
|
120
|
+
"""
|
|
121
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
|
122
|
+
param raw_url: The raw URL to use for the request builder.
|
|
123
|
+
Returns: CheckInsRequestBuilder
|
|
124
|
+
"""
|
|
125
|
+
if raw_url is None:
|
|
126
|
+
raise TypeError("raw_url cannot be null.")
|
|
127
|
+
return CheckInsRequestBuilder(self.request_adapter, raw_url)
|
|
128
|
+
|
|
129
|
+
@property
|
|
130
|
+
def count(self) -> CountRequestBuilder:
|
|
131
|
+
"""
|
|
132
|
+
Provides operations to count the resources in the collection.
|
|
133
|
+
"""
|
|
134
|
+
from .count.count_request_builder import CountRequestBuilder
|
|
135
|
+
|
|
136
|
+
return CountRequestBuilder(self.request_adapter, self.path_parameters)
|
|
137
|
+
|
|
138
|
+
@dataclass
|
|
139
|
+
class CheckInsRequestBuilderGetQueryParameters():
|
|
140
|
+
"""
|
|
141
|
+
A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
|
|
142
|
+
"""
|
|
143
|
+
def get_query_parameter(self,original_name: str) -> str:
|
|
144
|
+
"""
|
|
145
|
+
Maps the query parameters names to their encoded names for the URI template parsing.
|
|
146
|
+
param original_name: The original query parameter name in the class.
|
|
147
|
+
Returns: str
|
|
148
|
+
"""
|
|
149
|
+
if original_name is None:
|
|
150
|
+
raise TypeError("original_name cannot be null.")
|
|
151
|
+
if original_name == "count":
|
|
152
|
+
return "%24count"
|
|
153
|
+
if original_name == "expand":
|
|
154
|
+
return "%24expand"
|
|
155
|
+
if original_name == "filter":
|
|
156
|
+
return "%24filter"
|
|
157
|
+
if original_name == "orderby":
|
|
158
|
+
return "%24orderby"
|
|
159
|
+
if original_name == "search":
|
|
160
|
+
return "%24search"
|
|
161
|
+
if original_name == "select":
|
|
162
|
+
return "%24select"
|
|
163
|
+
if original_name == "skip":
|
|
164
|
+
return "%24skip"
|
|
165
|
+
if original_name == "top":
|
|
166
|
+
return "%24top"
|
|
167
|
+
return original_name
|
|
168
|
+
|
|
169
|
+
# Include count of items
|
|
170
|
+
count: Optional[bool] = None
|
|
171
|
+
|
|
172
|
+
# Expand related entities
|
|
173
|
+
expand: Optional[list[str]] = None
|
|
174
|
+
|
|
175
|
+
# Filter items by property values
|
|
176
|
+
filter: Optional[str] = None
|
|
177
|
+
|
|
178
|
+
# Order items by property values
|
|
179
|
+
orderby: Optional[list[str]] = None
|
|
180
|
+
|
|
181
|
+
# Search items by search phrases
|
|
182
|
+
search: Optional[str] = None
|
|
183
|
+
|
|
184
|
+
# Select properties to be returned
|
|
185
|
+
select: Optional[list[str]] = None
|
|
186
|
+
|
|
187
|
+
# Skip the first n items
|
|
188
|
+
skip: Optional[int] = None
|
|
189
|
+
|
|
190
|
+
# Show only the first n items
|
|
191
|
+
top: Optional[int] = None
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
@dataclass
|
|
195
|
+
class CheckInsRequestBuilderGetRequestConfiguration(RequestConfiguration[CheckInsRequestBuilderGetQueryParameters]):
|
|
196
|
+
"""
|
|
197
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
|
198
|
+
"""
|
|
199
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
|
200
|
+
|
|
201
|
+
@dataclass
|
|
202
|
+
class CheckInsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
|
|
203
|
+
"""
|
|
204
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
|
205
|
+
"""
|
|
206
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
|
207
|
+
|
|
208
|
+
|