msgraph-sdk 1.21.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.
Files changed (114) hide show
  1. msgraph/_version.py +1 -1
  2. msgraph/generated/chats/item/messages/messages_request_builder.py +3 -3
  3. msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py +3 -3
  4. msgraph/generated/device_app_management/device_app_management_request_builder.py +2 -2
  5. msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
  6. msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +1 -1
  7. msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +4 -4
  8. msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +1 -1
  9. msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +1 -1
  10. msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +4 -4
  11. msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py +4 -4
  12. msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +3 -3
  13. msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py +4 -4
  14. msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py +4 -4
  15. msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +10 -10
  16. msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +7 -7
  17. msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +7 -7
  18. msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +10 -10
  19. msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +7 -7
  20. msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +10 -10
  21. msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +7 -7
  22. msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +10 -10
  23. msgraph/generated/device_management/device_management_request_builder.py +2 -2
  24. msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +7 -7
  25. msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +4 -4
  26. msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +3 -3
  27. msgraph/generated/groups/item/calendar/calendar_view/item/instances/instances_request_builder.py +3 -3
  28. msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
  29. msgraph/generated/groups/item/calendar/events/item/instances/instances_request_builder.py +3 -3
  30. msgraph/generated/groups/item/calendar/events/item/instances/item/event_item_request_builder.py +3 -3
  31. msgraph/generated/groups/item/calendar_view/item/instances/instances_request_builder.py +3 -3
  32. msgraph/generated/groups/item/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
  33. msgraph/generated/groups/item/conversations/conversations_request_builder.py +3 -3
  34. msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +4 -4
  35. msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +3 -3
  36. msgraph/generated/groups/item/events/item/instances/instances_request_builder.py +3 -3
  37. msgraph/generated/groups/item/events/item/instances/item/event_item_request_builder.py +3 -3
  38. msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +3 -3
  39. msgraph/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py +3 -3
  40. msgraph/generated/identity/b2x_user_flows/item/identity_providers/identity_providers_request_builder.py +4 -4
  41. msgraph/generated/identity/b2x_user_flows/item/identity_providers/item/identity_provider_item_request_builder.py +3 -3
  42. msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +6 -6
  43. msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +4 -4
  44. msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +10 -10
  45. msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +4 -4
  46. msgraph/generated/identity_providers/available_provider_types/available_provider_types_request_builder.py +3 -3
  47. msgraph/generated/identity_providers/count/count_request_builder.py +3 -3
  48. msgraph/generated/identity_providers/identity_providers_request_builder.py +6 -6
  49. msgraph/generated/identity_providers/item/identity_provider_item_request_builder.py +7 -7
  50. msgraph/generated/kiota-dom-export.txt +27 -8
  51. msgraph/generated/kiota-lock.json +1 -1
  52. msgraph/generated/models/application.py +7 -0
  53. msgraph/generated/models/authentication_behaviors.py +62 -0
  54. msgraph/generated/models/calendar.py +3 -3
  55. msgraph/generated/models/event.py +15 -15
  56. msgraph/generated/models/event_message.py +1 -1
  57. msgraph/generated/models/external_connectors/rule_operation.py +1 -0
  58. msgraph/generated/models/message.py +2 -2
  59. msgraph/generated/models/sign_in_activity.py +2 -2
  60. msgraph/generated/models/workbook_worksheet_protection_options.py +11 -11
  61. msgraph/generated/organization/organization_request_builder.py +4 -4
  62. msgraph/generated/privacy/subject_rights_requests/count/count_request_builder.py +3 -3
  63. msgraph/generated/privacy/subject_rights_requests/item/approvers/approvers_request_builder.py +4 -4
  64. msgraph/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py +3 -3
  65. msgraph/generated/privacy/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py +5 -5
  66. msgraph/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py +3 -3
  67. msgraph/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +3 -3
  68. msgraph/generated/privacy/subject_rights_requests/item/approvers/item/user_item_request_builder.py +3 -3
  69. msgraph/generated/privacy/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py +3 -3
  70. msgraph/generated/privacy/subject_rights_requests/item/collaborators/collaborators_request_builder.py +4 -4
  71. msgraph/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py +3 -3
  72. msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py +5 -5
  73. msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py +3 -3
  74. msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +3 -3
  75. msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/user_item_request_builder.py +3 -3
  76. msgraph/generated/privacy/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py +3 -3
  77. msgraph/generated/privacy/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py +3 -3
  78. msgraph/generated/privacy/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py +3 -3
  79. msgraph/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py +3 -3
  80. msgraph/generated/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py +7 -7
  81. msgraph/generated/privacy/subject_rights_requests/item/notes/notes_request_builder.py +6 -6
  82. msgraph/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py +9 -9
  83. msgraph/generated/privacy/subject_rights_requests/item/team/team_request_builder.py +3 -3
  84. msgraph/generated/privacy/subject_rights_requests/subject_rights_requests_request_builder.py +6 -6
  85. msgraph/generated/security/alerts/alerts_request_builder.py +6 -6
  86. msgraph/generated/security/alerts/count/count_request_builder.py +3 -3
  87. msgraph/generated/security/alerts/item/alert_item_request_builder.py +5 -5
  88. msgraph/generated/sites/item/lists/item/list_item_request_builder.py +4 -4
  89. msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +6 -6
  90. msgraph/generated/teams/item/channels/item/members/members_request_builder.py +3 -3
  91. msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py +3 -3
  92. msgraph/generated/users/item/calendar/calendar_view/item/instances/instances_request_builder.py +3 -3
  93. msgraph/generated/users/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
  94. msgraph/generated/users/item/calendar/events/item/instances/instances_request_builder.py +3 -3
  95. msgraph/generated/users/item/calendar/events/item/instances/item/event_item_request_builder.py +3 -3
  96. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.py +3 -3
  97. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
  98. msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.py +3 -3
  99. msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.py +3 -3
  100. msgraph/generated/users/item/calendar_view/item/instances/instances_request_builder.py +3 -3
  101. msgraph/generated/users/item/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
  102. msgraph/generated/users/item/calendars/item/calendar_view/item/instances/instances_request_builder.py +3 -3
  103. msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
  104. msgraph/generated/users/item/calendars/item/events/item/instances/instances_request_builder.py +3 -3
  105. msgraph/generated/users/item/calendars/item/events/item/instances/item/event_item_request_builder.py +3 -3
  106. msgraph/generated/users/item/events/item/instances/instances_request_builder.py +3 -3
  107. msgraph/generated/users/item/events/item/instances/item/event_item_request_builder.py +3 -3
  108. msgraph/generated/users/item/user_item_request_builder.py +5 -5
  109. msgraph/generated/users/users_request_builder.py +4 -4
  110. msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +5 -5
  111. {msgraph_sdk-1.21.0.dist-info → msgraph_sdk-1.22.0.dist-info}/METADATA +3 -2
  112. {msgraph_sdk-1.21.0.dist-info → msgraph_sdk-1.22.0.dist-info}/RECORD +114 -113
  113. {msgraph_sdk-1.21.0.dist-info → msgraph_sdk-1.22.0.dist-info}/WHEEL +1 -1
  114. {msgraph_sdk-1.21.0.dist-info → msgraph_sdk-1.22.0.dist-info/licenses}/LICENSE +0 -0
@@ -37,7 +37,7 @@ class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder):
37
37
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
38
38
  Returns: Optional[ServiceProvisioningErrorCollectionResponse]
39
39
  """
40
- 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)
40
+ 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)
41
41
  request_info = self.to_get_request_information(
42
42
  request_configuration
43
43
  )
@@ -58,7 +58,7 @@ class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder):
58
58
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
59
59
  Returns: RequestInformation
60
60
  """
61
- 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)
61
+ 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)
62
62
  request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
63
63
  request_info.configure(request_configuration)
64
64
  request_info.headers.try_add("Accept", "application/json")
@@ -70,7 +70,7 @@ class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder):
70
70
  param raw_url: The raw URL to use for the request builder.
71
71
  Returns: ServiceProvisioningErrorsRequestBuilder
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
  if raw_url is None:
75
75
  raise TypeError("raw_url cannot be null.")
76
76
  return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url)
@@ -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 ApproversWithUserPrincipalNameRequestBuilder(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 ApproversWithUserPrincipalNameRequestBuilder(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 ApproversWithUserPrincipalNameRequestBuilder(BaseRequestBuilder):
72
72
  param raw_url: The raw URL to use for the request builder.
73
73
  Returns: ApproversWithUserPrincipalNameRequestBuilder
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 ApproversWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url)
@@ -38,7 +38,7 @@ class CollaboratorsRequestBuilder(BaseRequestBuilder):
38
38
  param user_id: The unique identifier of user
39
39
  Returns: UserItemRequestBuilder
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
  if user_id is None:
43
43
  raise TypeError("user_id cannot be null.")
44
44
  from .item.user_item_request_builder import UserItemRequestBuilder
@@ -53,7 +53,7 @@ class CollaboratorsRequestBuilder(BaseRequestBuilder):
53
53
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
54
54
  Returns: Optional[UserCollectionResponse]
55
55
  """
56
- 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)
56
+ 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)
57
57
  request_info = self.to_get_request_information(
58
58
  request_configuration
59
59
  )
@@ -74,7 +74,7 @@ class CollaboratorsRequestBuilder(BaseRequestBuilder):
74
74
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
75
75
  Returns: RequestInformation
76
76
  """
77
- 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)
77
+ 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)
78
78
  request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
79
79
  request_info.configure(request_configuration)
80
80
  request_info.headers.try_add("Accept", "application/json")
@@ -86,7 +86,7 @@ class CollaboratorsRequestBuilder(BaseRequestBuilder):
86
86
  param raw_url: The raw URL to use for the request builder.
87
87
  Returns: CollaboratorsRequestBuilder
88
88
  """
89
- 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)
89
+ 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)
90
90
  if raw_url is None:
91
91
  raise TypeError("raw_url cannot be null.")
92
92
  return CollaboratorsRequestBuilder(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 MailboxSettingsRequestBuilder(BaseRequestBuilder):
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[MailboxSettings]
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
  )
@@ -58,7 +58,7 @@ class MailboxSettingsRequestBuilder(BaseRequestBuilder):
58
58
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
59
59
  Returns: Optional[MailboxSettings]
60
60
  """
61
- 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)
61
+ 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)
62
62
  if body is None:
63
63
  raise TypeError("body cannot be null.")
64
64
  request_info = self.to_patch_request_information(
@@ -81,7 +81,7 @@ class MailboxSettingsRequestBuilder(BaseRequestBuilder):
81
81
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
82
82
  Returns: RequestInformation
83
83
  """
84
- 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)
84
+ 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)
85
85
  request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
86
86
  request_info.configure(request_configuration)
87
87
  request_info.headers.try_add("Accept", "application/json")
@@ -94,7 +94,7 @@ class MailboxSettingsRequestBuilder(BaseRequestBuilder):
94
94
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
95
95
  Returns: RequestInformation
96
96
  """
97
- 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)
97
+ 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)
98
98
  if body is None:
99
99
  raise TypeError("body cannot be null.")
100
100
  request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
@@ -109,7 +109,7 @@ class MailboxSettingsRequestBuilder(BaseRequestBuilder):
109
109
  param raw_url: The raw URL to use for the request builder.
110
110
  Returns: MailboxSettingsRequestBuilder
111
111
  """
112
- 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)
112
+ 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)
113
113
  if raw_url is None:
114
114
  raise TypeError("raw_url cannot be null.")
115
115
  return MailboxSettingsRequestBuilder(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)
@@ -37,7 +37,7 @@ class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder):
37
37
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
38
38
  Returns: Optional[ServiceProvisioningErrorCollectionResponse]
39
39
  """
40
- 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)
40
+ 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)
41
41
  request_info = self.to_get_request_information(
42
42
  request_configuration
43
43
  )
@@ -58,7 +58,7 @@ class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder):
58
58
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
59
59
  Returns: RequestInformation
60
60
  """
61
- 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)
61
+ 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)
62
62
  request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
63
63
  request_info.configure(request_configuration)
64
64
  request_info.headers.try_add("Accept", "application/json")
@@ -70,7 +70,7 @@ class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder):
70
70
  param raw_url: The raw URL to use for the request builder.
71
71
  Returns: ServiceProvisioningErrorsRequestBuilder
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
  if raw_url is None:
75
75
  raise TypeError("raw_url cannot be null.")
76
76
  return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url)
@@ -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)