msgraph-sdk 1.21.0__py3-none-any.whl → 1.23.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/chats/item/members/item/conversation_member_item_request_builder.py +4 -4
- msgraph/generated/chats/item/messages/messages_request_builder.py +3 -3
- msgraph/generated/communications/calls/item/participants/invite/invite_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/item/target_apps/target_apps_request_builder.py +1 -1
- 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/applied_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +1 -1
- 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/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/mobile_app_configurations/mobile_app_configurations_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 +3 -3
- msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +3 -3
- msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +10 -10
- msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +7 -7
- msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +10 -10
- msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +4 -4
- msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +3 -3
- msgraph/generated/device_management/device_management_request_builder.py +2 -2
- msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +3 -3
- msgraph/generated/groups/item/calendar/calendar_request_builder.py +10 -0
- msgraph/generated/groups/item/calendar/calendar_view/item/event_item_request_builder.py +10 -0
- 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 +13 -3
- msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/groups/item/calendar/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/groups/item/calendar/events/item/event_item_request_builder.py +10 -0
- 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 +13 -3
- msgraph/generated/groups/item/calendar/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/groups/item/calendar/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/groups/item/calendar/permanent_delete/permanent_delete_request_builder.py +79 -0
- msgraph/generated/groups/item/calendar_view/item/event_item_request_builder.py +10 -0
- 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 +13 -3
- msgraph/generated/groups/item/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/groups/item/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/groups/item/conversations/conversations_request_builder.py +3 -3
- msgraph/generated/groups/item/events/item/event_item_request_builder.py +10 -0
- 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 +13 -3
- msgraph/generated/groups/item/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/groups/item/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- 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 +7 -7
- msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +7 -7
- msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_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 +481 -8
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/application.py +7 -0
- msgraph/generated/models/authentication_behaviors.py +62 -0
- msgraph/generated/models/calendar.py +3 -3
- 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/message.py +2 -2
- msgraph/generated/models/print_settings.py +1 -1
- msgraph/generated/models/security/alert_evidence.py +7 -0
- msgraph/generated/models/security/antispam_teams_direction.py +9 -0
- msgraph/generated/models/security/mailbox_evidence.py +4 -0
- msgraph/generated/models/security/teams_delivery_location.py +9 -0
- msgraph/generated/models/security/teams_message_delivery_action.py +10 -0
- msgraph/generated/models/security/teams_message_evidence.py +166 -0
- msgraph/generated/models/sign_in_activity.py +2 -2
- msgraph/generated/models/team.py +4 -0
- msgraph/generated/models/workbook_worksheet_protection_options.py +11 -11
- msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +3 -3
- msgraph/generated/organization/item/organization_item_request_builder.py +7 -7
- 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/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py +3 -2
- msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py +3 -3
- msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py +3 -2
- msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py +3 -2
- msgraph/generated/sites/item/lists/item/list_item_request_builder.py +4 -4
- msgraph/generated/sites/sites_request_builder.py +4 -4
- msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py +3 -3
- msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +3 -3
- msgraph/generated/users/item/calendar/calendar_request_builder.py +10 -0
- msgraph/generated/users/item/calendar/calendar_view/item/event_item_request_builder.py +10 -0
- 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 +13 -3
- msgraph/generated/users/item/calendar/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendar/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendar/events/item/event_item_request_builder.py +10 -0
- 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 +13 -3
- msgraph/generated/users/item/calendar/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendar/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendar/permanent_delete/permanent_delete_request_builder.py +79 -0
- msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_item_request_builder.py +10 -0
- msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/event_item_request_builder.py +10 -0
- 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 +13 -3
- msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/event_item_request_builder.py +10 -0
- 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 +13 -3
- msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendar_groups/item/calendars/item/permanent_delete/permanent_delete_request_builder.py +79 -0
- msgraph/generated/users/item/calendar_view/item/event_item_request_builder.py +10 -0
- 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 +13 -3
- msgraph/generated/users/item/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendars/item/calendar_item_request_builder.py +10 -0
- msgraph/generated/users/item/calendars/item/calendar_view/item/event_item_request_builder.py +10 -0
- 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 +13 -3
- msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendars/item/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendars/item/events/item/event_item_request_builder.py +10 -0
- 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 +13 -3
- msgraph/generated/users/item/calendars/item/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendars/item/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/calendars/item/permanent_delete/permanent_delete_request_builder.py +79 -0
- msgraph/generated/users/item/contact_folders/item/child_folders/item/contact_folder_item_request_builder.py +10 -0
- msgraph/generated/users/item/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.py +10 -0
- msgraph/generated/users/item/contact_folders/item/child_folders/item/contacts/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/contact_folders/item/child_folders/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/contact_folders/item/contact_folder_item_request_builder.py +10 -0
- msgraph/generated/users/item/contact_folders/item/contacts/item/contact_item_request_builder.py +10 -0
- msgraph/generated/users/item/contact_folders/item/contacts/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/contact_folders/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/contacts/item/contact_item_request_builder.py +10 -0
- msgraph/generated/users/item/contacts/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/events/item/event_item_request_builder.py +10 -0
- 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 +13 -3
- msgraph/generated/users/item/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/mail_folders/item/child_folders/item/mail_folder_item_request_builder.py +10 -0
- msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.py +10 -0
- msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/mail_folders/item/child_folders/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/mail_folders/item/mail_folder_item_request_builder.py +10 -0
- msgraph/generated/users/item/mail_folders/item/messages/item/message_item_request_builder.py +10 -0
- msgraph/generated/users/item/mail_folders/item/messages/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/mail_folders/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/messages/item/message_item_request_builder.py +10 -0
- msgraph/generated/users/item/messages/item/permanent_delete/permanent_delete_request_builder.py +78 -0
- msgraph/generated/users/item/user_item_request_builder.py +5 -5
- msgraph/generated/users/users_request_builder.py +1 -1
- msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +5 -5
- {msgraph_sdk-1.21.0.dist-info → msgraph_sdk-1.23.0.dist-info}/METADATA +3 -2
- {msgraph_sdk-1.21.0.dist-info → msgraph_sdk-1.23.0.dist-info}/RECORD +189 -146
- {msgraph_sdk-1.21.0.dist-info → msgraph_sdk-1.23.0.dist-info}/WHEEL +1 -1
- {msgraph_sdk-1.21.0.dist-info → msgraph_sdk-1.23.0.dist-info/licenses}/LICENSE +0 -0
@@ -38,7 +38,7 @@ class UserItemRequestBuilder(BaseRequestBuilder):
|
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[User]
|
40
40
|
"""
|
41
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
41
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
42
42
|
request_info = self.to_get_request_information(
|
43
43
|
request_configuration
|
44
44
|
)
|
@@ -59,7 +59,7 @@ class UserItemRequestBuilder(BaseRequestBuilder):
|
|
59
59
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
60
60
|
Returns: RequestInformation
|
61
61
|
"""
|
62
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
62
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
63
63
|
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
64
64
|
request_info.configure(request_configuration)
|
65
65
|
request_info.headers.try_add("Accept", "application/json")
|
@@ -71,7 +71,7 @@ class UserItemRequestBuilder(BaseRequestBuilder):
|
|
71
71
|
param raw_url: The raw URL to use for the request builder.
|
72
72
|
Returns: UserItemRequestBuilder
|
73
73
|
"""
|
74
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
74
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
75
75
|
if raw_url is None:
|
76
76
|
raise TypeError("raw_url cannot be null.")
|
77
77
|
return UserItemRequestBuilder(self.request_adapter, raw_url)
|
@@ -39,7 +39,7 @@ class CollaboratorsWithUserPrincipalNameRequestBuilder(BaseRequestBuilder):
|
|
39
39
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
40
40
|
Returns: Optional[User]
|
41
41
|
"""
|
42
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
42
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
43
43
|
request_info = self.to_get_request_information(
|
44
44
|
request_configuration
|
45
45
|
)
|
@@ -60,7 +60,7 @@ class CollaboratorsWithUserPrincipalNameRequestBuilder(BaseRequestBuilder):
|
|
60
60
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
61
61
|
Returns: RequestInformation
|
62
62
|
"""
|
63
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
63
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
64
64
|
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
65
65
|
request_info.configure(request_configuration)
|
66
66
|
request_info.headers.try_add("Accept", "application/json")
|
@@ -72,7 +72,7 @@ class CollaboratorsWithUserPrincipalNameRequestBuilder(BaseRequestBuilder):
|
|
72
72
|
param raw_url: The raw URL to use for the request builder.
|
73
73
|
Returns: CollaboratorsWithUserPrincipalNameRequestBuilder
|
74
74
|
"""
|
75
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
75
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
76
76
|
if raw_url is None:
|
77
77
|
raise TypeError("raw_url cannot be null.")
|
78
78
|
return CollaboratorsWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url)
|
@@ -36,7 +36,7 @@ class GetFinalAttachmentRequestBuilder(BaseRequestBuilder):
|
|
36
36
|
Returns: bytes
|
37
37
|
Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-getfinalattachment?view=graph-rest-1.0
|
38
38
|
"""
|
39
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
39
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
40
40
|
request_info = self.to_get_request_information(
|
41
41
|
request_configuration
|
42
42
|
)
|
@@ -55,7 +55,7 @@ class GetFinalAttachmentRequestBuilder(BaseRequestBuilder):
|
|
55
55
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
56
56
|
Returns: RequestInformation
|
57
57
|
"""
|
58
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
58
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
59
59
|
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
60
60
|
request_info.configure(request_configuration)
|
61
61
|
request_info.headers.try_add("Accept", "application/octet-stream, application/json")
|
@@ -67,7 +67,7 @@ class GetFinalAttachmentRequestBuilder(BaseRequestBuilder):
|
|
67
67
|
param raw_url: The raw URL to use for the request builder.
|
68
68
|
Returns: GetFinalAttachmentRequestBuilder
|
69
69
|
"""
|
70
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
70
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
71
71
|
if raw_url is None:
|
72
72
|
raise TypeError("raw_url cannot be null.")
|
73
73
|
return GetFinalAttachmentRequestBuilder(self.request_adapter, raw_url)
|
@@ -36,7 +36,7 @@ class GetFinalReportRequestBuilder(BaseRequestBuilder):
|
|
36
36
|
Returns: bytes
|
37
37
|
Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-getfinalreport?view=graph-rest-1.0
|
38
38
|
"""
|
39
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
39
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
40
40
|
request_info = self.to_get_request_information(
|
41
41
|
request_configuration
|
42
42
|
)
|
@@ -55,7 +55,7 @@ class GetFinalReportRequestBuilder(BaseRequestBuilder):
|
|
55
55
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
56
56
|
Returns: RequestInformation
|
57
57
|
"""
|
58
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
58
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
59
59
|
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
60
60
|
request_info.configure(request_configuration)
|
61
61
|
request_info.headers.try_add("Accept", "application/octet-stream, application/json")
|
@@ -67,7 +67,7 @@ class GetFinalReportRequestBuilder(BaseRequestBuilder):
|
|
67
67
|
param raw_url: The raw URL to use for the request builder.
|
68
68
|
Returns: GetFinalReportRequestBuilder
|
69
69
|
"""
|
70
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
70
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
71
71
|
if raw_url is None:
|
72
72
|
raise TypeError("raw_url cannot be null.")
|
73
73
|
return GetFinalReportRequestBuilder(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 subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
38
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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 subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
57
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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 subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
69
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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)
|
@@ -36,7 +36,7 @@ class AuthoredNoteItemRequestBuilder(BaseRequestBuilder):
|
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
37
37
|
Returns: None
|
38
38
|
"""
|
39
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
39
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
40
40
|
request_info = self.to_delete_request_information(
|
41
41
|
request_configuration
|
42
42
|
)
|
@@ -55,7 +55,7 @@ class AuthoredNoteItemRequestBuilder(BaseRequestBuilder):
|
|
55
55
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
56
56
|
Returns: Optional[AuthoredNote]
|
57
57
|
"""
|
58
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
58
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
59
59
|
request_info = self.to_get_request_information(
|
60
60
|
request_configuration
|
61
61
|
)
|
@@ -77,7 +77,7 @@ class AuthoredNoteItemRequestBuilder(BaseRequestBuilder):
|
|
77
77
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
78
78
|
Returns: Optional[AuthoredNote]
|
79
79
|
"""
|
80
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
80
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
81
81
|
if body is None:
|
82
82
|
raise TypeError("body cannot be null.")
|
83
83
|
request_info = self.to_patch_request_information(
|
@@ -100,7 +100,7 @@ class AuthoredNoteItemRequestBuilder(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 subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
103
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
104
104
|
request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters)
|
105
105
|
request_info.configure(request_configuration)
|
106
106
|
request_info.headers.try_add("Accept", "application/json")
|
@@ -112,7 +112,7 @@ class AuthoredNoteItemRequestBuilder(BaseRequestBuilder):
|
|
112
112
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
113
113
|
Returns: RequestInformation
|
114
114
|
"""
|
115
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
115
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
116
116
|
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
117
117
|
request_info.configure(request_configuration)
|
118
118
|
request_info.headers.try_add("Accept", "application/json")
|
@@ -125,7 +125,7 @@ class AuthoredNoteItemRequestBuilder(BaseRequestBuilder):
|
|
125
125
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
126
126
|
Returns: RequestInformation
|
127
127
|
"""
|
128
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
128
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
129
129
|
if body is None:
|
130
130
|
raise TypeError("body cannot be null.")
|
131
131
|
request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
|
@@ -140,7 +140,7 @@ class AuthoredNoteItemRequestBuilder(BaseRequestBuilder):
|
|
140
140
|
param raw_url: The raw URL to use for the request builder.
|
141
141
|
Returns: AuthoredNoteItemRequestBuilder
|
142
142
|
"""
|
143
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
143
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
144
144
|
if raw_url is None:
|
145
145
|
raise TypeError("raw_url cannot be null.")
|
146
146
|
return AuthoredNoteItemRequestBuilder(self.request_adapter, raw_url)
|
@@ -39,7 +39,7 @@ class NotesRequestBuilder(BaseRequestBuilder):
|
|
39
39
|
param authored_note_id: The unique identifier of authoredNote
|
40
40
|
Returns: AuthoredNoteItemRequestBuilder
|
41
41
|
"""
|
42
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
42
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
43
43
|
if authored_note_id is None:
|
44
44
|
raise TypeError("authored_note_id cannot be null.")
|
45
45
|
from .item.authored_note_item_request_builder import AuthoredNoteItemRequestBuilder
|
@@ -55,7 +55,7 @@ class NotesRequestBuilder(BaseRequestBuilder):
|
|
55
55
|
Returns: Optional[AuthoredNoteCollectionResponse]
|
56
56
|
Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-list-notes?view=graph-rest-1.0
|
57
57
|
"""
|
58
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
58
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
59
59
|
request_info = self.to_get_request_information(
|
60
60
|
request_configuration
|
61
61
|
)
|
@@ -78,7 +78,7 @@ class NotesRequestBuilder(BaseRequestBuilder):
|
|
78
78
|
Returns: Optional[AuthoredNote]
|
79
79
|
Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-post-notes?view=graph-rest-1.0
|
80
80
|
"""
|
81
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
81
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
82
82
|
if body is None:
|
83
83
|
raise TypeError("body cannot be null.")
|
84
84
|
request_info = self.to_post_request_information(
|
@@ -101,7 +101,7 @@ class NotesRequestBuilder(BaseRequestBuilder):
|
|
101
101
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
102
102
|
Returns: RequestInformation
|
103
103
|
"""
|
104
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
104
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
105
105
|
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
106
106
|
request_info.configure(request_configuration)
|
107
107
|
request_info.headers.try_add("Accept", "application/json")
|
@@ -114,7 +114,7 @@ class NotesRequestBuilder(BaseRequestBuilder):
|
|
114
114
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
115
115
|
Returns: RequestInformation
|
116
116
|
"""
|
117
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
117
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
118
118
|
if body is None:
|
119
119
|
raise TypeError("body cannot be null.")
|
120
120
|
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
|
@@ -129,7 +129,7 @@ class NotesRequestBuilder(BaseRequestBuilder):
|
|
129
129
|
param raw_url: The raw URL to use for the request builder.
|
130
130
|
Returns: NotesRequestBuilder
|
131
131
|
"""
|
132
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
132
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
133
133
|
if raw_url is None:
|
134
134
|
raise TypeError("raw_url cannot be null.")
|
135
135
|
return NotesRequestBuilder(self.request_adapter, raw_url)
|
@@ -44,7 +44,7 @@ class SubjectRightsRequestItemRequestBuilder(BaseRequestBuilder):
|
|
44
44
|
param user_principal_name: Alternate key of user
|
45
45
|
Returns: ApproversWithUserPrincipalNameRequestBuilder
|
46
46
|
"""
|
47
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
47
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
48
48
|
if user_principal_name is None:
|
49
49
|
raise TypeError("user_principal_name cannot be null.")
|
50
50
|
from .approvers_with_user_principal_name.approvers_with_user_principal_name_request_builder import ApproversWithUserPrincipalNameRequestBuilder
|
@@ -57,7 +57,7 @@ class SubjectRightsRequestItemRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
param user_principal_name: Alternate key of user
|
58
58
|
Returns: CollaboratorsWithUserPrincipalNameRequestBuilder
|
59
59
|
"""
|
60
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
60
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
61
61
|
if user_principal_name is None:
|
62
62
|
raise TypeError("user_principal_name cannot be null.")
|
63
63
|
from .collaborators_with_user_principal_name.collaborators_with_user_principal_name_request_builder import CollaboratorsWithUserPrincipalNameRequestBuilder
|
@@ -70,7 +70,7 @@ class SubjectRightsRequestItemRequestBuilder(BaseRequestBuilder):
|
|
70
70
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
71
71
|
Returns: None
|
72
72
|
"""
|
73
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
73
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
74
74
|
request_info = self.to_delete_request_information(
|
75
75
|
request_configuration
|
76
76
|
)
|
@@ -90,7 +90,7 @@ class SubjectRightsRequestItemRequestBuilder(BaseRequestBuilder):
|
|
90
90
|
Returns: Optional[SubjectRightsRequest]
|
91
91
|
Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-get?view=graph-rest-1.0
|
92
92
|
"""
|
93
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
93
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
94
94
|
request_info = self.to_get_request_information(
|
95
95
|
request_configuration
|
96
96
|
)
|
@@ -113,7 +113,7 @@ class SubjectRightsRequestItemRequestBuilder(BaseRequestBuilder):
|
|
113
113
|
Returns: Optional[SubjectRightsRequest]
|
114
114
|
Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-update?view=graph-rest-1.0
|
115
115
|
"""
|
116
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
116
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
117
117
|
if body is None:
|
118
118
|
raise TypeError("body cannot be null.")
|
119
119
|
request_info = self.to_patch_request_information(
|
@@ -136,7 +136,7 @@ class SubjectRightsRequestItemRequestBuilder(BaseRequestBuilder):
|
|
136
136
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
137
137
|
Returns: RequestInformation
|
138
138
|
"""
|
139
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
139
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
140
140
|
request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters)
|
141
141
|
request_info.configure(request_configuration)
|
142
142
|
request_info.headers.try_add("Accept", "application/json")
|
@@ -148,7 +148,7 @@ class SubjectRightsRequestItemRequestBuilder(BaseRequestBuilder):
|
|
148
148
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
149
149
|
Returns: RequestInformation
|
150
150
|
"""
|
151
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
151
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
152
152
|
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
153
153
|
request_info.configure(request_configuration)
|
154
154
|
request_info.headers.try_add("Accept", "application/json")
|
@@ -161,7 +161,7 @@ class SubjectRightsRequestItemRequestBuilder(BaseRequestBuilder):
|
|
161
161
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
162
162
|
Returns: RequestInformation
|
163
163
|
"""
|
164
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
164
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
165
165
|
if body is None:
|
166
166
|
raise TypeError("body cannot be null.")
|
167
167
|
request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
|
@@ -176,7 +176,7 @@ class SubjectRightsRequestItemRequestBuilder(BaseRequestBuilder):
|
|
176
176
|
param raw_url: The raw URL to use for the request builder.
|
177
177
|
Returns: SubjectRightsRequestItemRequestBuilder
|
178
178
|
"""
|
179
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
179
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
180
180
|
if raw_url is None:
|
181
181
|
raise TypeError("raw_url cannot be null.")
|
182
182
|
return SubjectRightsRequestItemRequestBuilder(self.request_adapter, raw_url)
|
@@ -36,7 +36,7 @@ class TeamRequestBuilder(BaseRequestBuilder):
|
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
37
37
|
Returns: Optional[Team]
|
38
38
|
"""
|
39
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
39
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
40
40
|
request_info = self.to_get_request_information(
|
41
41
|
request_configuration
|
42
42
|
)
|
@@ -57,7 +57,7 @@ class TeamRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
58
58
|
Returns: RequestInformation
|
59
59
|
"""
|
60
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
60
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
61
61
|
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
62
62
|
request_info.configure(request_configuration)
|
63
63
|
request_info.headers.try_add("Accept", "application/json")
|
@@ -69,7 +69,7 @@ class TeamRequestBuilder(BaseRequestBuilder):
|
|
69
69
|
param raw_url: The raw URL to use for the request builder.
|
70
70
|
Returns: TeamRequestBuilder
|
71
71
|
"""
|
72
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
72
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
73
73
|
if raw_url is None:
|
74
74
|
raise TypeError("raw_url cannot be null.")
|
75
75
|
return TeamRequestBuilder(self.request_adapter, raw_url)
|
msgraph/generated/privacy/subject_rights_requests/subject_rights_requests_request_builder.py
CHANGED
@@ -39,7 +39,7 @@ class SubjectRightsRequestsRequestBuilder(BaseRequestBuilder):
|
|
39
39
|
param subject_rights_request_id: The unique identifier of subjectRightsRequest
|
40
40
|
Returns: SubjectRightsRequestItemRequestBuilder
|
41
41
|
"""
|
42
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
42
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
43
43
|
if subject_rights_request_id is None:
|
44
44
|
raise TypeError("subject_rights_request_id cannot be null.")
|
45
45
|
from .item.subject_rights_request_item_request_builder import SubjectRightsRequestItemRequestBuilder
|
@@ -55,7 +55,7 @@ class SubjectRightsRequestsRequestBuilder(BaseRequestBuilder):
|
|
55
55
|
Returns: Optional[SubjectRightsRequestCollectionResponse]
|
56
56
|
Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-list?view=graph-rest-1.0
|
57
57
|
"""
|
58
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
58
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
59
59
|
request_info = self.to_get_request_information(
|
60
60
|
request_configuration
|
61
61
|
)
|
@@ -78,7 +78,7 @@ class SubjectRightsRequestsRequestBuilder(BaseRequestBuilder):
|
|
78
78
|
Returns: Optional[SubjectRightsRequest]
|
79
79
|
Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-post?view=graph-rest-1.0
|
80
80
|
"""
|
81
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
81
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
82
82
|
if body is None:
|
83
83
|
raise TypeError("body cannot be null.")
|
84
84
|
request_info = self.to_post_request_information(
|
@@ -101,7 +101,7 @@ class SubjectRightsRequestsRequestBuilder(BaseRequestBuilder):
|
|
101
101
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
102
102
|
Returns: RequestInformation
|
103
103
|
"""
|
104
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
104
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
105
105
|
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
106
106
|
request_info.configure(request_configuration)
|
107
107
|
request_info.headers.try_add("Accept", "application/json")
|
@@ -114,7 +114,7 @@ class SubjectRightsRequestsRequestBuilder(BaseRequestBuilder):
|
|
114
114
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
115
115
|
Returns: RequestInformation
|
116
116
|
"""
|
117
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
117
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
118
118
|
if body is None:
|
119
119
|
raise TypeError("body cannot be null.")
|
120
120
|
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
|
@@ -129,7 +129,7 @@ class SubjectRightsRequestsRequestBuilder(BaseRequestBuilder):
|
|
129
129
|
param raw_url: The raw URL to use for the request builder.
|
130
130
|
Returns: SubjectRightsRequestsRequestBuilder
|
131
131
|
"""
|
132
|
-
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning)
|
132
|
+
warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning)
|
133
133
|
if raw_url is None:
|
134
134
|
raise TypeError("raw_url cannot be null.")
|
135
135
|
return SubjectRightsRequestsRequestBuilder(self.request_adapter, raw_url)
|
@@ -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)
|
@@ -33,9 +33,10 @@ class SiteSourceItemRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
35
35
|
"""
|
36
|
-
Delete
|
36
|
+
Delete a siteSource object associated with an ediscoveryCustodian.
|
37
37
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
38
38
|
Returns: None
|
39
|
+
Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-delete-sitesources?view=graph-rest-1.0
|
39
40
|
"""
|
40
41
|
request_info = self.to_delete_request_information(
|
41
42
|
request_configuration
|
@@ -94,7 +95,7 @@ class SiteSourceItemRequestBuilder(BaseRequestBuilder):
|
|
94
95
|
|
95
96
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
96
97
|
"""
|
97
|
-
Delete
|
98
|
+
Delete a siteSource object associated with an ediscoveryCustodian.
|
98
99
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
99
100
|
Returns: RequestInformation
|
100
101
|
"""
|
@@ -49,7 +49,7 @@ class SiteSourcesRequestBuilder(BaseRequestBuilder):
|
|
49
49
|
|
50
50
|
async def get(self,request_configuration: Optional[RequestConfiguration[SiteSourcesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteSourceCollectionResponse]:
|
51
51
|
"""
|
52
|
-
Get a list of the siteSource objects associated with an ediscoveryCustodian
|
52
|
+
Get a list of the siteSource objects associated with an ediscoveryCustodian.
|
53
53
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
54
|
Returns: Optional[SiteSourceCollectionResponse]
|
55
55
|
Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-sitesources?view=graph-rest-1.0
|
@@ -94,7 +94,7 @@ class SiteSourcesRequestBuilder(BaseRequestBuilder):
|
|
94
94
|
|
95
95
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SiteSourcesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
96
96
|
"""
|
97
|
-
Get a list of the siteSource objects associated with an ediscoveryCustodian
|
97
|
+
Get a list of the siteSource objects associated with an ediscoveryCustodian.
|
98
98
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
99
99
|
Returns: RequestInformation
|
100
100
|
"""
|
@@ -140,7 +140,7 @@ class SiteSourcesRequestBuilder(BaseRequestBuilder):
|
|
140
140
|
@dataclass
|
141
141
|
class SiteSourcesRequestBuilderGetQueryParameters():
|
142
142
|
"""
|
143
|
-
Get a list of the siteSource objects associated with an ediscoveryCustodian
|
143
|
+
Get a list of the siteSource objects associated with an ediscoveryCustodian.
|
144
144
|
"""
|
145
145
|
def get_query_parameter(self,original_name: str) -> str:
|
146
146
|
"""
|