msgraph-sdk 1.20.0__py3-none-any.whl → 1.22.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/base_graph_service_client.py +0 -10
- msgraph/generated/chats/item/members/item/conversation_member_item_request_builder.py +4 -4
- msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py +3 -3
- msgraph/generated/communications/online_meetings/online_meetings_request_builder.py +3 -3
- msgraph/generated/device_app_management/device_app_management_request_builder.py +2 -2
- msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +7 -7
- msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +4 -4
- msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +10 -10
- msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +7 -7
- msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +7 -7
- msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +7 -7
- msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +3 -3
- msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +10 -10
- msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +7 -7
- msgraph/generated/device_management/device_management_request_builder.py +2 -2
- msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +3 -3
- msgraph/generated/groups/item/calendar/calendar_view/item/instances/instances_request_builder.py +3 -3
- msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
- msgraph/generated/groups/item/calendar/events/item/instances/instances_request_builder.py +3 -3
- msgraph/generated/groups/item/calendar/events/item/instances/item/event_item_request_builder.py +3 -3
- msgraph/generated/groups/item/calendar_view/item/instances/instances_request_builder.py +3 -3
- msgraph/generated/groups/item/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
- msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +3 -3
- msgraph/generated/groups/item/events/item/instances/instances_request_builder.py +3 -3
- msgraph/generated/groups/item/events/item/instances/item/event_item_request_builder.py +3 -3
- msgraph/generated/{app_role_assignments/item/check_member_objects/check_member_objects_post_request_body.py → groups/item/team/channels/item/all_members/add/add_post_request_body.py} +15 -8
- msgraph/generated/{app_role_assignments/item/check_member_groups/check_member_groups_post_response.py → groups/item/team/channels/item/all_members/add/add_post_response.py} +14 -11
- msgraph/generated/{app_role_assignments/item/get_member_objects/get_member_objects_request_builder.py → groups/item/team/channels/item/all_members/add/add_request_builder.py} +20 -20
- msgraph/generated/groups/item/team/channels/item/all_members/all_members_request_builder.py +228 -0
- msgraph/generated/groups/item/team/channels/item/all_members/count/count_request_builder.py +104 -0
- msgraph/generated/groups/item/team/channels/item/all_members/item/conversation_member_item_request_builder.py +188 -0
- msgraph/generated/groups/item/team/channels/item/all_members/remove/remove_post_request_body.py +57 -0
- msgraph/generated/{app_role_assignments/item/check_member_objects/check_member_objects_post_response.py → groups/item/team/channels/item/all_members/remove/remove_post_response.py} +14 -11
- msgraph/generated/groups/item/team/channels/item/all_members/remove/remove_request_builder.py +90 -0
- msgraph/generated/groups/item/team/channels/item/channel_item_request_builder.py +10 -0
- msgraph/generated/{app_role_assignments/get_by_ids/get_by_ids_post_request_body.py → groups/item/team/primary_channel/all_members/add/add_post_request_body.py} +15 -12
- msgraph/generated/{app_role_assignments/get_by_ids/get_by_ids_post_response.py → groups/item/team/primary_channel/all_members/add/add_post_response.py} +13 -13
- msgraph/generated/{app_role_assignments/get_available_extension_properties/get_available_extension_properties_request_builder.py → groups/item/team/primary_channel/all_members/add/add_request_builder.py} +20 -20
- msgraph/generated/{app_role_assignments/app_role_assignments_request_builder.py → groups/item/team/primary_channel/all_members/all_members_request_builder.py} +54 -74
- msgraph/generated/{app_role_assignments/delta/delta_request_builder.py → groups/item/team/primary_channel/all_members/count/count_request_builder.py} +19 -53
- msgraph/generated/groups/item/team/primary_channel/all_members/item/conversation_member_item_request_builder.py +188 -0
- msgraph/generated/groups/item/team/primary_channel/all_members/remove/remove_post_request_body.py +57 -0
- msgraph/generated/{app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_response.py → groups/item/team/primary_channel/all_members/remove/remove_post_response.py} +13 -13
- msgraph/generated/groups/item/team/primary_channel/all_members/remove/remove_request_builder.py +90 -0
- msgraph/generated/groups/item/team/primary_channel/primary_channel_request_builder.py +10 -0
- msgraph/generated/groups/item/team/schedule/day_notes/count/count_request_builder.py +104 -0
- msgraph/generated/groups/item/team/schedule/day_notes/day_notes_request_builder.py +208 -0
- msgraph/generated/groups/item/team/schedule/day_notes/item/day_note_item_request_builder.py +188 -0
- msgraph/generated/groups/item/team/schedule/schedule_request_builder.py +20 -0
- msgraph/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_post_request_body.py +61 -0
- msgraph/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_request_builder.py +90 -0
- msgraph/generated/groups/item/team/schedule/time_cards/count/count_request_builder.py +104 -0
- msgraph/generated/groups/item/team/schedule/time_cards/item/clock_out/clock_out_post_request_body.py +61 -0
- msgraph/generated/groups/item/team/schedule/time_cards/item/clock_out/clock_out_request_builder.py +89 -0
- msgraph/generated/{app_role_assignments/item/restore/restore_request_builder.py → groups/item/team/schedule/time_cards/item/confirm/confirm_request_builder.py} +18 -18
- msgraph/generated/groups/item/team/schedule/time_cards/item/end_break/end_break_post_request_body.py +61 -0
- msgraph/generated/groups/item/team/schedule/time_cards/item/end_break/end_break_request_builder.py +89 -0
- msgraph/generated/groups/item/team/schedule/time_cards/item/start_break/start_break_post_request_body.py +61 -0
- msgraph/generated/{app_role_assignments/item/check_member_objects/check_member_objects_request_builder.py → groups/item/team/schedule/time_cards/item/start_break/start_break_request_builder.py} +19 -19
- msgraph/generated/{app_role_assignments/item/app_role_assignment_item_request_builder.py → groups/item/team/schedule/time_cards/item/time_card_item_request_builder.py} +53 -63
- msgraph/generated/groups/item/team/schedule/time_cards/time_cards_request_builder.py +218 -0
- msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +3 -3
- msgraph/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py +3 -3
- msgraph/generated/identity/b2x_user_flows/item/identity_providers/identity_providers_request_builder.py +4 -4
- msgraph/generated/identity/b2x_user_flows/item/identity_providers/item/identity_provider_item_request_builder.py +3 -3
- msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +10 -10
- msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +4 -4
- msgraph/generated/identity_providers/available_provider_types/available_provider_types_request_builder.py +3 -3
- msgraph/generated/identity_providers/count/count_request_builder.py +3 -3
- msgraph/generated/identity_providers/identity_providers_request_builder.py +6 -6
- msgraph/generated/identity_providers/item/identity_provider_item_request_builder.py +7 -7
- msgraph/generated/kiota-dom-export.txt +1557 -291
- msgraph/generated/kiota-lock.json +2 -2
- msgraph/generated/models/allowed_lobby_admitter_roles.py +7 -0
- msgraph/generated/models/application.py +8 -1
- msgraph/generated/models/authentication_behaviors.py +62 -0
- msgraph/generated/models/calendar.py +3 -3
- msgraph/generated/models/change_tracked_entity.py +18 -0
- msgraph/generated/models/channel.py +4 -0
- msgraph/generated/models/confirmed_by.py +8 -0
- msgraph/generated/models/day_note.py +69 -0
- msgraph/generated/{app_role_assignments/delta/delta_get_response.py → models/day_note_collection_response.py} +13 -13
- msgraph/generated/models/device.py +1 -1
- msgraph/generated/models/entity.py +14 -0
- msgraph/generated/models/event.py +15 -15
- msgraph/generated/models/event_message.py +1 -1
- msgraph/generated/models/external_connectors/rule_operation.py +1 -0
- msgraph/generated/models/meeting_live_share_options.py +7 -0
- msgraph/generated/models/message.py +2 -2
- msgraph/generated/models/online_meeting_base.py +26 -0
- msgraph/generated/models/parental_control_settings.py +1 -1
- msgraph/generated/models/schedule.py +32 -0
- msgraph/generated/models/scheduling_group.py +4 -0
- msgraph/generated/models/search/bookmark.py +1 -1
- msgraph/generated/models/search/qna.py +1 -1
- msgraph/generated/models/service_principal.py +1 -1
- msgraph/generated/models/sign_in_activity.py +2 -2
- msgraph/generated/models/time_card.py +103 -0
- msgraph/generated/models/time_card_break.py +76 -0
- msgraph/generated/models/time_card_collection_response.py +58 -0
- msgraph/generated/models/time_card_entry.py +72 -0
- msgraph/generated/{app_role_assignments/validate_properties/validate_properties_post_request_body.py → models/time_card_event.py} +28 -21
- msgraph/generated/models/time_card_state.py +8 -0
- msgraph/generated/models/time_clock_settings.py +61 -0
- msgraph/generated/models/time_off_reason.py +4 -0
- msgraph/generated/models/user.py +3 -3
- msgraph/generated/models/workforce_integration_supported_entities.py +1 -0
- msgraph/generated/organization/item/organization_item_request_builder.py +3 -3
- msgraph/generated/organization/organization_request_builder.py +4 -4
- msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/count/count_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/approvers/approvers_request_builder.py +4 -4
- msgraph/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py +5 -5
- msgraph/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/approvers/item/user_item_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/collaborators/collaborators_request_builder.py +4 -4
- msgraph/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py +5 -5
- msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/user_item_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py +7 -7
- msgraph/generated/privacy/subject_rights_requests/item/notes/notes_request_builder.py +6 -6
- msgraph/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py +9 -9
- msgraph/generated/privacy/subject_rights_requests/item/team/team_request_builder.py +3 -3
- msgraph/generated/privacy/subject_rights_requests/subject_rights_requests_request_builder.py +6 -6
- msgraph/generated/security/alerts/alerts_request_builder.py +6 -6
- msgraph/generated/security/alerts/count/count_request_builder.py +3 -3
- msgraph/generated/security/alerts/item/alert_item_request_builder.py +5 -5
- msgraph/generated/service_principals/item/owners/owners_request_builder.py +3 -3
- msgraph/generated/service_principals/item/owners/ref/ref_request_builder.py +3 -3
- msgraph/generated/sites/sites_request_builder.py +4 -4
- msgraph/generated/{app_role_assignments/item/check_member_groups/check_member_groups_post_request_body.py → teams/item/channels/item/all_members/add/add_post_request_body.py} +15 -8
- msgraph/generated/teams/item/channels/item/all_members/add/add_post_response.py +58 -0
- msgraph/generated/teams/item/channels/item/all_members/add/add_request_builder.py +90 -0
- msgraph/generated/teams/item/channels/item/all_members/all_members_request_builder.py +229 -0
- msgraph/generated/teams/item/channels/item/all_members/count/count_request_builder.py +104 -0
- msgraph/generated/teams/item/channels/item/all_members/item/conversation_member_item_request_builder.py +188 -0
- msgraph/generated/teams/item/channels/item/all_members/remove/remove_post_request_body.py +57 -0
- msgraph/generated/teams/item/channels/item/all_members/remove/remove_post_response.py +58 -0
- msgraph/generated/teams/item/channels/item/all_members/remove/remove_request_builder.py +90 -0
- msgraph/generated/teams/item/channels/item/channel_item_request_builder.py +10 -0
- msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +6 -6
- msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py +3 -3
- msgraph/generated/{app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_request_body.py → teams/item/primary_channel/all_members/add/add_post_request_body.py} +15 -8
- msgraph/generated/teams/item/primary_channel/all_members/add/add_post_response.py +58 -0
- msgraph/generated/teams/item/primary_channel/all_members/add/add_request_builder.py +90 -0
- msgraph/generated/teams/item/primary_channel/all_members/all_members_request_builder.py +228 -0
- msgraph/generated/teams/item/primary_channel/all_members/count/count_request_builder.py +104 -0
- msgraph/generated/teams/item/primary_channel/all_members/item/conversation_member_item_request_builder.py +188 -0
- msgraph/generated/teams/item/primary_channel/all_members/remove/remove_post_request_body.py +57 -0
- msgraph/generated/teams/item/primary_channel/all_members/remove/remove_post_response.py +58 -0
- msgraph/generated/teams/item/primary_channel/all_members/remove/remove_request_builder.py +90 -0
- msgraph/generated/teams/item/primary_channel/primary_channel_request_builder.py +10 -0
- msgraph/generated/{app_role_assignments → teams/item/schedule/day_notes}/count/count_request_builder.py +3 -3
- msgraph/generated/teams/item/schedule/day_notes/day_notes_request_builder.py +208 -0
- msgraph/generated/teams/item/schedule/day_notes/item/day_note_item_request_builder.py +188 -0
- msgraph/generated/teams/item/schedule/schedule_request_builder.py +20 -0
- msgraph/generated/teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py +61 -0
- msgraph/generated/teams/item/schedule/time_cards/clock_in/clock_in_request_builder.py +90 -0
- msgraph/generated/teams/item/schedule/time_cards/count/count_request_builder.py +104 -0
- msgraph/generated/teams/item/schedule/time_cards/item/clock_out/clock_out_post_request_body.py +61 -0
- msgraph/generated/{app_role_assignments/get_by_ids/get_by_ids_request_builder.py → teams/item/schedule/time_cards/item/clock_out/clock_out_request_builder.py} +19 -20
- msgraph/generated/teams/item/schedule/time_cards/item/confirm/confirm_request_builder.py +82 -0
- msgraph/generated/teams/item/schedule/time_cards/item/end_break/end_break_post_request_body.py +61 -0
- msgraph/generated/teams/item/schedule/time_cards/item/end_break/end_break_request_builder.py +89 -0
- msgraph/generated/teams/item/schedule/time_cards/item/start_break/start_break_post_request_body.py +61 -0
- msgraph/generated/teams/item/schedule/time_cards/item/start_break/start_break_request_builder.py +89 -0
- msgraph/generated/teams/item/schedule/time_cards/item/time_card_item_request_builder.py +229 -0
- msgraph/generated/teams/item/schedule/time_cards/time_cards_request_builder.py +220 -0
- msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/add/add_post_request_body.py +57 -0
- msgraph/generated/{app_role_assignments/item/get_member_groups/get_member_groups_post_response.py → teamwork/deleted_teams/item/channels/item/all_members/add/add_post_response.py} +14 -11
- msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/add/add_request_builder.py +90 -0
- msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/all_members_request_builder.py +228 -0
- msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/count/count_request_builder.py +104 -0
- msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/item/conversation_member_item_request_builder.py +188 -0
- msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/remove/remove_post_request_body.py +57 -0
- msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/remove/remove_post_response.py +58 -0
- msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/remove/remove_request_builder.py +90 -0
- msgraph/generated/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.py +10 -0
- msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +3 -3
- msgraph/generated/users/item/calendar/calendar_view/item/instances/instances_request_builder.py +3 -3
- msgraph/generated/users/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
- msgraph/generated/users/item/calendar/events/item/instances/instances_request_builder.py +3 -3
- msgraph/generated/users/item/calendar/events/item/instances/item/event_item_request_builder.py +3 -3
- msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.py +3 -3
- msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
- msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.py +3 -3
- msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.py +3 -3
- msgraph/generated/users/item/calendar_view/item/instances/instances_request_builder.py +3 -3
- msgraph/generated/users/item/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
- msgraph/generated/users/item/calendars/item/calendar_view/item/instances/instances_request_builder.py +3 -3
- msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
- msgraph/generated/users/item/calendars/item/events/item/instances/instances_request_builder.py +3 -3
- msgraph/generated/users/item/calendars/item/events/item/instances/item/event_item_request_builder.py +3 -3
- msgraph/generated/users/item/events/item/instances/instances_request_builder.py +3 -3
- msgraph/generated/users/item/events/item/instances/item/event_item_request_builder.py +3 -3
- msgraph/generated/users/item/joined_teams/item/channels/item/all_members/add/add_post_request_body.py +57 -0
- msgraph/generated/users/item/joined_teams/item/channels/item/all_members/add/add_post_response.py +58 -0
- msgraph/generated/users/item/joined_teams/item/channels/item/all_members/add/add_request_builder.py +90 -0
- msgraph/generated/users/item/joined_teams/item/channels/item/all_members/all_members_request_builder.py +228 -0
- msgraph/generated/users/item/joined_teams/item/channels/item/all_members/count/count_request_builder.py +104 -0
- msgraph/generated/users/item/joined_teams/item/channels/item/all_members/item/conversation_member_item_request_builder.py +188 -0
- msgraph/generated/users/item/joined_teams/item/channels/item/all_members/remove/remove_post_request_body.py +57 -0
- msgraph/generated/users/item/joined_teams/item/channels/item/all_members/remove/remove_post_response.py +58 -0
- msgraph/generated/users/item/joined_teams/item/channels/item/all_members/remove/remove_request_builder.py +90 -0
- msgraph/generated/users/item/joined_teams/item/channels/item/channel_item_request_builder.py +10 -0
- msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/add/add_post_request_body.py +57 -0
- msgraph/generated/{app_role_assignments/item/get_member_objects/get_member_objects_post_response.py → users/item/joined_teams/item/primary_channel/all_members/add/add_post_response.py} +14 -11
- msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/add/add_request_builder.py +90 -0
- msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/all_members_request_builder.py +228 -0
- msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/count/count_request_builder.py +104 -0
- msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/item/conversation_member_item_request_builder.py +188 -0
- msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/remove/remove_post_request_body.py +57 -0
- msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/remove/remove_post_response.py +58 -0
- msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/remove/remove_request_builder.py +90 -0
- msgraph/generated/users/item/joined_teams/item/primary_channel/primary_channel_request_builder.py +10 -0
- msgraph/generated/users/item/joined_teams/item/schedule/day_notes/count/count_request_builder.py +104 -0
- msgraph/generated/users/item/joined_teams/item/schedule/day_notes/day_notes_request_builder.py +208 -0
- msgraph/generated/users/item/joined_teams/item/schedule/day_notes/item/day_note_item_request_builder.py +188 -0
- msgraph/generated/users/item/joined_teams/item/schedule/schedule_request_builder.py +20 -0
- msgraph/generated/users/item/joined_teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py +61 -0
- msgraph/generated/users/item/joined_teams/item/schedule/time_cards/clock_in/clock_in_request_builder.py +90 -0
- msgraph/generated/users/item/joined_teams/item/schedule/time_cards/count/count_request_builder.py +104 -0
- msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/clock_out/clock_out_post_request_body.py +61 -0
- msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/clock_out/clock_out_request_builder.py +89 -0
- msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/confirm/confirm_request_builder.py +82 -0
- msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/end_break/end_break_post_request_body.py +61 -0
- msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/end_break/end_break_request_builder.py +89 -0
- msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/start_break/start_break_post_request_body.py +61 -0
- msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/start_break/start_break_request_builder.py +89 -0
- msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/time_card_item_request_builder.py +228 -0
- msgraph/generated/users/item/joined_teams/item/schedule/time_cards/time_cards_request_builder.py +218 -0
- msgraph/generated/users/item/user_item_request_builder.py +2 -2
- msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +2 -2
- {msgraph_sdk-1.20.0.dist-info → msgraph_sdk-1.22.0.dist-info}/METADATA +3 -2
- {msgraph_sdk-1.20.0.dist-info → msgraph_sdk-1.22.0.dist-info}/RECORD +259 -164
- {msgraph_sdk-1.20.0.dist-info → msgraph_sdk-1.22.0.dist-info}/WHEEL +1 -1
- msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_request_builder.py +0 -90
- msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_post_request_body.py +0 -50
- msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_request_builder.py +0 -90
- msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_post_request_body.py +0 -50
- msgraph/generated/app_role_assignments/validate_properties/validate_properties_request_builder.py +0 -87
- {msgraph_sdk-1.20.0.dist-info → msgraph_sdk-1.22.0.dist-info/licenses}/LICENSE +0 -0
@@ -39,7 +39,7 @@ class AlertsRequestBuilder(BaseRequestBuilder):
|
|
39
39
|
param alert_id: The unique identifier of alert
|
40
40
|
Returns: AlertItemRequestBuilder
|
41
41
|
"""
|
42
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
42
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
43
43
|
if alert_id is None:
|
44
44
|
raise TypeError("alert_id cannot be null.")
|
45
45
|
from .item.alert_item_request_builder import AlertItemRequestBuilder
|
@@ -55,7 +55,7 @@ class AlertsRequestBuilder(BaseRequestBuilder):
|
|
55
55
|
Returns: Optional[AlertCollectionResponse]
|
56
56
|
Find more info here: https://learn.microsoft.com/graph/api/alert-list?view=graph-rest-1.0
|
57
57
|
"""
|
58
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
58
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
59
59
|
request_info = self.to_get_request_information(
|
60
60
|
request_configuration
|
61
61
|
)
|
@@ -77,7 +77,7 @@ class AlertsRequestBuilder(BaseRequestBuilder):
|
|
77
77
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
78
78
|
Returns: Optional[Alert]
|
79
79
|
"""
|
80
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
80
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
81
81
|
if body is None:
|
82
82
|
raise TypeError("body cannot be null.")
|
83
83
|
request_info = self.to_post_request_information(
|
@@ -100,7 +100,7 @@ class AlertsRequestBuilder(BaseRequestBuilder):
|
|
100
100
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
101
101
|
Returns: RequestInformation
|
102
102
|
"""
|
103
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
103
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
104
104
|
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
105
105
|
request_info.configure(request_configuration)
|
106
106
|
request_info.headers.try_add("Accept", "application/json")
|
@@ -113,7 +113,7 @@ class AlertsRequestBuilder(BaseRequestBuilder):
|
|
113
113
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
114
114
|
Returns: RequestInformation
|
115
115
|
"""
|
116
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
116
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
117
117
|
if body is None:
|
118
118
|
raise TypeError("body cannot be null.")
|
119
119
|
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
|
@@ -128,7 +128,7 @@ class AlertsRequestBuilder(BaseRequestBuilder):
|
|
128
128
|
param raw_url: The raw URL to use for the request builder.
|
129
129
|
Returns: AlertsRequestBuilder
|
130
130
|
"""
|
131
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
131
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
132
132
|
if raw_url is None:
|
133
133
|
raise TypeError("raw_url cannot be null.")
|
134
134
|
return AlertsRequestBuilder(self.request_adapter, raw_url)
|
@@ -35,7 +35,7 @@ class CountRequestBuilder(BaseRequestBuilder):
|
|
35
35
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
36
36
|
Returns: Optional[int]
|
37
37
|
"""
|
38
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
38
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
39
39
|
request_info = self.to_get_request_information(
|
40
40
|
request_configuration
|
41
41
|
)
|
@@ -54,7 +54,7 @@ class CountRequestBuilder(BaseRequestBuilder):
|
|
54
54
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
55
55
|
Returns: RequestInformation
|
56
56
|
"""
|
57
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
57
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
58
58
|
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
59
59
|
request_info.configure(request_configuration)
|
60
60
|
request_info.headers.try_add("Accept", "text/plain;q=0.9")
|
@@ -66,7 +66,7 @@ class CountRequestBuilder(BaseRequestBuilder):
|
|
66
66
|
param raw_url: The raw URL to use for the request builder.
|
67
67
|
Returns: CountRequestBuilder
|
68
68
|
"""
|
69
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
69
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
70
70
|
if raw_url is None:
|
71
71
|
raise TypeError("raw_url cannot be null.")
|
72
72
|
return CountRequestBuilder(self.request_adapter, raw_url)
|
@@ -37,7 +37,7 @@ class AlertItemRequestBuilder(BaseRequestBuilder):
|
|
37
37
|
Returns: Optional[Alert]
|
38
38
|
Find more info here: https://learn.microsoft.com/graph/api/alert-get?view=graph-rest-1.0
|
39
39
|
"""
|
40
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
40
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
41
41
|
request_info = self.to_get_request_information(
|
42
42
|
request_configuration
|
43
43
|
)
|
@@ -60,7 +60,7 @@ class AlertItemRequestBuilder(BaseRequestBuilder):
|
|
60
60
|
Returns: Optional[Alert]
|
61
61
|
Find more info here: https://learn.microsoft.com/graph/api/alert-update?view=graph-rest-1.0
|
62
62
|
"""
|
63
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
63
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
64
64
|
if body is None:
|
65
65
|
raise TypeError("body cannot be null.")
|
66
66
|
request_info = self.to_patch_request_information(
|
@@ -83,7 +83,7 @@ class AlertItemRequestBuilder(BaseRequestBuilder):
|
|
83
83
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
84
84
|
Returns: RequestInformation
|
85
85
|
"""
|
86
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
86
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
87
87
|
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
88
88
|
request_info.configure(request_configuration)
|
89
89
|
request_info.headers.try_add("Accept", "application/json")
|
@@ -96,7 +96,7 @@ class AlertItemRequestBuilder(BaseRequestBuilder):
|
|
96
96
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
97
97
|
Returns: RequestInformation
|
98
98
|
"""
|
99
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
99
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
100
100
|
if body is None:
|
101
101
|
raise TypeError("body cannot be null.")
|
102
102
|
request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
|
@@ -111,7 +111,7 @@ class AlertItemRequestBuilder(BaseRequestBuilder):
|
|
111
111
|
param raw_url: The raw URL to use for the request builder.
|
112
112
|
Returns: AlertItemRequestBuilder
|
113
113
|
"""
|
114
|
-
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
|
114
|
+
warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
|
115
115
|
if raw_url is None:
|
116
116
|
raise TypeError("raw_url cannot be null.")
|
117
117
|
return AlertItemRequestBuilder(self.request_adapter, raw_url)
|
@@ -53,7 +53,7 @@ class OwnersRequestBuilder(BaseRequestBuilder):
|
|
53
53
|
|
54
54
|
async def get(self,request_configuration: Optional[RequestConfiguration[OwnersRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObjectCollectionResponse]:
|
55
55
|
"""
|
56
|
-
Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object.
|
56
|
+
Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
58
58
|
Returns: Optional[DirectoryObjectCollectionResponse]
|
59
59
|
"""
|
@@ -73,7 +73,7 @@ class OwnersRequestBuilder(BaseRequestBuilder):
|
|
73
73
|
|
74
74
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OwnersRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
75
75
|
"""
|
76
|
-
Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object.
|
76
|
+
Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
|
77
77
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
78
78
|
Returns: RequestInformation
|
79
79
|
"""
|
@@ -149,7 +149,7 @@ class OwnersRequestBuilder(BaseRequestBuilder):
|
|
149
149
|
@dataclass
|
150
150
|
class OwnersRequestBuilderGetQueryParameters():
|
151
151
|
"""
|
152
|
-
Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object.
|
152
|
+
Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
|
153
153
|
"""
|
154
154
|
def get_query_parameter(self,original_name: str) -> str:
|
155
155
|
"""
|
@@ -52,7 +52,7 @@ class RefRequestBuilder(BaseRequestBuilder):
|
|
52
52
|
|
53
53
|
async def get(self,request_configuration: Optional[RequestConfiguration[RefRequestBuilderGetQueryParameters]] = None) -> Optional[StringCollectionResponse]:
|
54
54
|
"""
|
55
|
-
Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object.
|
55
|
+
Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
|
56
56
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
57
57
|
Returns: Optional[StringCollectionResponse]
|
58
58
|
"""
|
@@ -105,7 +105,7 @@ class RefRequestBuilder(BaseRequestBuilder):
|
|
105
105
|
|
106
106
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RefRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
107
107
|
"""
|
108
|
-
Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object.
|
108
|
+
Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
|
109
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
110
110
|
Returns: RequestInformation
|
111
111
|
"""
|
@@ -170,7 +170,7 @@ class RefRequestBuilder(BaseRequestBuilder):
|
|
170
170
|
@dataclass
|
171
171
|
class RefRequestBuilderGetQueryParameters():
|
172
172
|
"""
|
173
|
-
Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object.
|
173
|
+
Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
|
174
174
|
"""
|
175
175
|
def get_query_parameter(self,original_name: str) -> str:
|
176
176
|
"""
|
@@ -52,10 +52,10 @@ class SitesRequestBuilder(BaseRequestBuilder):
|
|
52
52
|
|
53
53
|
async def get(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteCollectionResponse]:
|
54
54
|
"""
|
55
|
-
|
55
|
+
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.
|
56
56
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
57
57
|
Returns: Optional[SiteCollectionResponse]
|
58
|
-
Find more info here: https://learn.microsoft.com/graph/api/site-
|
58
|
+
Find more info here: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0
|
59
59
|
"""
|
60
60
|
request_info = self.to_get_request_information(
|
61
61
|
request_configuration
|
@@ -73,7 +73,7 @@ class SitesRequestBuilder(BaseRequestBuilder):
|
|
73
73
|
|
74
74
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
75
75
|
"""
|
76
|
-
|
76
|
+
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.
|
77
77
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
78
78
|
Returns: RequestInformation
|
79
79
|
"""
|
@@ -140,7 +140,7 @@ class SitesRequestBuilder(BaseRequestBuilder):
|
|
140
140
|
@dataclass
|
141
141
|
class SitesRequestBuilderGetQueryParameters():
|
142
142
|
"""
|
143
|
-
|
143
|
+
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.
|
144
144
|
"""
|
145
145
|
def get_query_parameter(self,original_name: str) -> str:
|
146
146
|
"""
|
@@ -5,34 +5,41 @@ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, Par
|
|
5
5
|
from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
|
6
6
|
from typing import Any, Optional, TYPE_CHECKING, Union
|
7
7
|
|
8
|
+
if TYPE_CHECKING:
|
9
|
+
from .......models.conversation_member import ConversationMember
|
10
|
+
|
8
11
|
@dataclass
|
9
|
-
class
|
12
|
+
class AddPostRequestBody(AdditionalDataHolder, BackedModel, Parsable):
|
10
13
|
# Stores model information.
|
11
14
|
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
12
15
|
|
13
16
|
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
14
17
|
additional_data: dict[str, Any] = field(default_factory=dict)
|
15
|
-
# The
|
16
|
-
|
18
|
+
# The values property
|
19
|
+
values: Optional[list[ConversationMember]] = None
|
17
20
|
|
18
21
|
@staticmethod
|
19
|
-
def create_from_discriminator_value(parse_node: ParseNode) ->
|
22
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AddPostRequestBody:
|
20
23
|
"""
|
21
24
|
Creates a new instance of the appropriate class based on discriminator value
|
22
25
|
param parse_node: The parse node to use to read the discriminator value and create the object
|
23
|
-
Returns:
|
26
|
+
Returns: AddPostRequestBody
|
24
27
|
"""
|
25
28
|
if parse_node is None:
|
26
29
|
raise TypeError("parse_node cannot be null.")
|
27
|
-
return
|
30
|
+
return AddPostRequestBody()
|
28
31
|
|
29
32
|
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
30
33
|
"""
|
31
34
|
The deserialization information for the current model
|
32
35
|
Returns: dict[str, Callable[[ParseNode], None]]
|
33
36
|
"""
|
37
|
+
from .......models.conversation_member import ConversationMember
|
38
|
+
|
39
|
+
from .......models.conversation_member import ConversationMember
|
40
|
+
|
34
41
|
fields: dict[str, Callable[[Any], None]] = {
|
35
|
-
"
|
42
|
+
"values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)),
|
36
43
|
}
|
37
44
|
return fields
|
38
45
|
|
@@ -44,7 +51,7 @@ class CheckMemberGroupsPostRequestBody(AdditionalDataHolder, BackedModel, Parsab
|
|
44
51
|
"""
|
45
52
|
if writer is None:
|
46
53
|
raise TypeError("writer cannot be null.")
|
47
|
-
writer.
|
54
|
+
writer.write_collection_of_object_values("values", self.values)
|
48
55
|
writer.write_additional_data_value(self.additional_data)
|
49
56
|
|
50
57
|
|
@@ -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.action_result_part import ActionResultPart
|
9
|
+
from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
10
|
+
|
11
|
+
from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
12
|
+
|
13
|
+
@dataclass
|
14
|
+
class AddPostResponse(BaseCollectionPaginationCountResponse, Parsable):
|
15
|
+
# The value property
|
16
|
+
value: Optional[list[ActionResultPart]] = None
|
17
|
+
|
18
|
+
@staticmethod
|
19
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AddPostResponse:
|
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: AddPostResponse
|
24
|
+
"""
|
25
|
+
if parse_node is None:
|
26
|
+
raise TypeError("parse_node cannot be null.")
|
27
|
+
return AddPostResponse()
|
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.action_result_part import ActionResultPart
|
35
|
+
from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
36
|
+
|
37
|
+
from .......models.action_result_part import ActionResultPart
|
38
|
+
from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
39
|
+
|
40
|
+
fields: dict[str, Callable[[Any], None]] = {
|
41
|
+
"value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)),
|
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,90 @@
|
|
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 .add_post_request_body import AddPostRequestBody
|
19
|
+
from .add_post_response import AddPostResponse
|
20
|
+
|
21
|
+
class AddRequestBuilder(BaseRequestBuilder):
|
22
|
+
"""
|
23
|
+
Provides operations to call the add method.
|
24
|
+
"""
|
25
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
|
26
|
+
"""
|
27
|
+
Instantiates a new AddRequestBuilder 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}/teams/{team%2Did}/channels/{channel%2Did}/allMembers/add", path_parameters)
|
33
|
+
|
34
|
+
async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AddPostResponse]:
|
35
|
+
"""
|
36
|
+
Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
|
37
|
+
param body: The request body
|
38
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
|
+
Returns: Optional[AddPostResponse]
|
40
|
+
Find more info here: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0
|
41
|
+
"""
|
42
|
+
if body is None:
|
43
|
+
raise TypeError("body cannot be null.")
|
44
|
+
request_info = self.to_post_request_information(
|
45
|
+
body, request_configuration
|
46
|
+
)
|
47
|
+
from .......models.o_data_errors.o_data_error import ODataError
|
48
|
+
|
49
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
50
|
+
"XXX": ODataError,
|
51
|
+
}
|
52
|
+
if not self.request_adapter:
|
53
|
+
raise Exception("Http core is null")
|
54
|
+
from .add_post_response import AddPostResponse
|
55
|
+
|
56
|
+
return await self.request_adapter.send_async(request_info, AddPostResponse, error_mapping)
|
57
|
+
|
58
|
+
def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
|
+
"""
|
60
|
+
Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
|
61
|
+
param body: The request body
|
62
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
|
+
Returns: RequestInformation
|
64
|
+
"""
|
65
|
+
if body is None:
|
66
|
+
raise TypeError("body cannot be null.")
|
67
|
+
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
|
68
|
+
request_info.configure(request_configuration)
|
69
|
+
request_info.headers.try_add("Accept", "application/json")
|
70
|
+
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
|
71
|
+
return request_info
|
72
|
+
|
73
|
+
def with_url(self,raw_url: str) -> AddRequestBuilder:
|
74
|
+
"""
|
75
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
76
|
+
param raw_url: The raw URL to use for the request builder.
|
77
|
+
Returns: AddRequestBuilder
|
78
|
+
"""
|
79
|
+
if raw_url is None:
|
80
|
+
raise TypeError("raw_url cannot be null.")
|
81
|
+
return AddRequestBuilder(self.request_adapter, raw_url)
|
82
|
+
|
83
|
+
@dataclass
|
84
|
+
class AddRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
|
85
|
+
"""
|
86
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
87
|
+
"""
|
88
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
89
|
+
|
90
|
+
|