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
@@ -95087,6 +95087,8 @@ msgraph.generated.models.Application::|public|app_management_policies():list[App
95087
95087
  msgraph.generated.models.Application::|public|app_management_policies(value:list[AppManagementPolicy]):None
95088
95088
  msgraph.generated.models.Application::|public|app_roles():list[AppRole]
95089
95089
  msgraph.generated.models.Application::|public|app_roles(value:list[AppRole]):None
95090
+ msgraph.generated.models.Application::|public|authentication_behaviors():AuthenticationBehaviors
95091
+ msgraph.generated.models.Application::|public|authentication_behaviors(value:AuthenticationBehaviors):None
95090
95092
  msgraph.generated.models.Application::|public|certification():Certification
95091
95093
  msgraph.generated.models.Application::|public|certification(value:Certification):None
95092
95094
  msgraph.generated.models.Application::|public|constructor():None
@@ -96477,6 +96479,22 @@ msgraph.generated.models.AuthenticationAttributeCollectionPageViewConfiguration:
96477
96479
  msgraph.generated.models.AuthenticationAttributeCollectionPageViewConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):AuthenticationAttributeCollectionPageViewConfiguration
96478
96480
  msgraph.generated.models.AuthenticationAttributeCollectionPageViewConfiguration~~>AdditionalDataHolder; BackedModel; Parsable
96479
96481
  msgraph.generated.models.AuthenticationAttributeCollectionPage~~>AdditionalDataHolder; BackedModel; Parsable
96482
+ msgraph.generated.models.AuthenticationBehaviors::|public|additional_data():dict[str, Any]
96483
+ msgraph.generated.models.AuthenticationBehaviors::|public|additional_data(value:dict[str, Any]):None
96484
+ msgraph.generated.models.AuthenticationBehaviors::|public|backing_store:BackingStore
96485
+ msgraph.generated.models.AuthenticationBehaviors::|public|block_azure_a_d_graph_access():bool
96486
+ msgraph.generated.models.AuthenticationBehaviors::|public|block_azure_a_d_graph_access(value:bool):None
96487
+ msgraph.generated.models.AuthenticationBehaviors::|public|constructor():None
96488
+ msgraph.generated.models.AuthenticationBehaviors::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]]
96489
+ msgraph.generated.models.AuthenticationBehaviors::|public|odata_type():str
96490
+ msgraph.generated.models.AuthenticationBehaviors::|public|odata_type(value:str):None
96491
+ msgraph.generated.models.AuthenticationBehaviors::|public|remove_unverified_email_claim():bool
96492
+ msgraph.generated.models.AuthenticationBehaviors::|public|remove_unverified_email_claim(value:bool):None
96493
+ msgraph.generated.models.AuthenticationBehaviors::|public|require_client_service_principal():bool
96494
+ msgraph.generated.models.AuthenticationBehaviors::|public|require_client_service_principal(value:bool):None
96495
+ msgraph.generated.models.AuthenticationBehaviors::|public|serialize(writer:SerializationWriter):None
96496
+ msgraph.generated.models.AuthenticationBehaviors::|static|public|create_from_discriminator_value(parse_node:ParseNode):AuthenticationBehaviors
96497
+ msgraph.generated.models.AuthenticationBehaviors~~>AdditionalDataHolder; BackedModel; Parsable
96480
96498
  msgraph.generated.models.AuthenticationCombinationConfiguration-->Entity
96481
96499
  msgraph.generated.models.AuthenticationCombinationConfiguration::|public|applies_to_combinations():list[AuthenticationMethodModes]
96482
96500
  msgraph.generated.models.AuthenticationCombinationConfiguration::|public|applies_to_combinations(value:list[AuthenticationMethodModes]):None
@@ -107483,14 +107501,15 @@ msgraph.generated.models.externalConnectors.Property_::|public|type():PropertyTy
107483
107501
  msgraph.generated.models.externalConnectors.Property_::|public|type(value:PropertyType):None
107484
107502
  msgraph.generated.models.externalConnectors.Property_::|static|public|create_from_discriminator_value(parse_node:ParseNode):Property_
107485
107503
  msgraph.generated.models.externalConnectors.Property_~~>AdditionalDataHolder; BackedModel; Parsable
107486
- msgraph.generated.models.externalConnectors.RuleOperation::0000-Equals
107487
- msgraph.generated.models.externalConnectors.RuleOperation::0001-NotEquals
107488
- msgraph.generated.models.externalConnectors.RuleOperation::0002-Contains
107489
- msgraph.generated.models.externalConnectors.RuleOperation::0003-NotContains
107490
- msgraph.generated.models.externalConnectors.RuleOperation::0004-LessThan
107491
- msgraph.generated.models.externalConnectors.RuleOperation::0005-GreaterThan
107492
- msgraph.generated.models.externalConnectors.RuleOperation::0006-StartsWith
107493
- msgraph.generated.models.externalConnectors.RuleOperation::0007-UnknownFutureValue
107504
+ msgraph.generated.models.externalConnectors.RuleOperation::0000-Null
107505
+ msgraph.generated.models.externalConnectors.RuleOperation::0001-Equals
107506
+ msgraph.generated.models.externalConnectors.RuleOperation::0002-NotEquals
107507
+ msgraph.generated.models.externalConnectors.RuleOperation::0003-Contains
107508
+ msgraph.generated.models.externalConnectors.RuleOperation::0004-NotContains
107509
+ msgraph.generated.models.externalConnectors.RuleOperation::0005-LessThan
107510
+ msgraph.generated.models.externalConnectors.RuleOperation::0006-GreaterThan
107511
+ msgraph.generated.models.externalConnectors.RuleOperation::0007-StartsWith
107512
+ msgraph.generated.models.externalConnectors.RuleOperation::0008-UnknownFutureValue
107494
107513
  msgraph.generated.models.externalConnectors.Schema-->Entity
107495
107514
  msgraph.generated.models.externalConnectors.Schema::|public|base_type():str
107496
107515
  msgraph.generated.models.externalConnectors.Schema::|public|base_type(value:str):None
@@ -1,5 +1,5 @@
1
1
  {
2
- "descriptionHash": "A0295D08B00F208AE931735CAD300D20844AF2449982425A068CCC22783FA2BA608259EFD304933574C24EA8AAD04E441D92DFA1903FCD7E8E870965A671F069",
2
+ "descriptionHash": "BCF39C6C0BC5CE39002F930818C2313075A8AF4281F6FD63E02D9149FADBD986210BECD2669E3552B338E5241D3EF9D3C579EBA5F5967AA03E21F8213DC6C27C",
3
3
  "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml",
4
4
  "lockFileVersion": "1.0.0",
5
5
  "kiotaVersion": "1.24.0",
@@ -11,6 +11,7 @@ if TYPE_CHECKING:
11
11
  from .api_application import ApiApplication
12
12
  from .app_management_policy import AppManagementPolicy
13
13
  from .app_role import AppRole
14
+ from .authentication_behaviors import AuthenticationBehaviors
14
15
  from .certification import Certification
15
16
  from .directory_object import DirectoryObject
16
17
  from .extension_property import ExtensionProperty
@@ -51,6 +52,8 @@ class Application(DirectoryObject, Parsable):
51
52
  app_roles: Optional[list[AppRole]] = None
52
53
  # Unique identifier of the applicationTemplate. Supports $filter (eq, not, ne). Read-only. null if the app wasn't created from an application template.
53
54
  application_template_id: Optional[str] = None
55
+ # The authenticationBehaviors property
56
+ authentication_behaviors: Optional[AuthenticationBehaviors] = None
54
57
  # Specifies the certification status of the application.
55
58
  certification: Optional[Certification] = None
56
59
  # The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderby.
@@ -154,6 +157,7 @@ class Application(DirectoryObject, Parsable):
154
157
  from .api_application import ApiApplication
155
158
  from .app_management_policy import AppManagementPolicy
156
159
  from .app_role import AppRole
160
+ from .authentication_behaviors import AuthenticationBehaviors
157
161
  from .certification import Certification
158
162
  from .directory_object import DirectoryObject
159
163
  from .extension_property import ExtensionProperty
@@ -180,6 +184,7 @@ class Application(DirectoryObject, Parsable):
180
184
  from .api_application import ApiApplication
181
185
  from .app_management_policy import AppManagementPolicy
182
186
  from .app_role import AppRole
187
+ from .authentication_behaviors import AuthenticationBehaviors
183
188
  from .certification import Certification
184
189
  from .directory_object import DirectoryObject
185
190
  from .extension_property import ExtensionProperty
@@ -209,6 +214,7 @@ class Application(DirectoryObject, Parsable):
209
214
  "appManagementPolicies": lambda n : setattr(self, 'app_management_policies', n.get_collection_of_object_values(AppManagementPolicy)),
210
215
  "appRoles": lambda n : setattr(self, 'app_roles', n.get_collection_of_object_values(AppRole)),
211
216
  "applicationTemplateId": lambda n : setattr(self, 'application_template_id', n.get_str_value()),
217
+ "authenticationBehaviors": lambda n : setattr(self, 'authentication_behaviors', n.get_object_value(AuthenticationBehaviors)),
212
218
  "certification": lambda n : setattr(self, 'certification', n.get_object_value(Certification)),
213
219
  "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()),
214
220
  "createdOnBehalfOf": lambda n : setattr(self, 'created_on_behalf_of', n.get_object_value(DirectoryObject)),
@@ -270,6 +276,7 @@ class Application(DirectoryObject, Parsable):
270
276
  writer.write_collection_of_object_values("appManagementPolicies", self.app_management_policies)
271
277
  writer.write_collection_of_object_values("appRoles", self.app_roles)
272
278
  writer.write_str_value("applicationTemplateId", self.application_template_id)
279
+ writer.write_object_value("authenticationBehaviors", self.authentication_behaviors)
273
280
  writer.write_object_value("certification", self.certification)
274
281
  writer.write_datetime_value("createdDateTime", self.created_date_time)
275
282
  writer.write_object_value("createdOnBehalfOf", self.created_on_behalf_of)
@@ -0,0 +1,62 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
5
+ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
6
+ from typing import Any, Optional, TYPE_CHECKING, Union
7
+
8
+ @dataclass
9
+ class AuthenticationBehaviors(AdditionalDataHolder, BackedModel, Parsable):
10
+ # Stores model information.
11
+ backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
12
+
13
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
14
+ additional_data: dict[str, Any] = field(default_factory=dict)
15
+ # The blockAzureADGraphAccess property
16
+ block_azure_a_d_graph_access: Optional[bool] = None
17
+ # The OdataType property
18
+ odata_type: Optional[str] = None
19
+ # The removeUnverifiedEmailClaim property
20
+ remove_unverified_email_claim: Optional[bool] = None
21
+ # The requireClientServicePrincipal property
22
+ require_client_service_principal: Optional[bool] = None
23
+
24
+ @staticmethod
25
+ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationBehaviors:
26
+ """
27
+ Creates a new instance of the appropriate class based on discriminator value
28
+ param parse_node: The parse node to use to read the discriminator value and create the object
29
+ Returns: AuthenticationBehaviors
30
+ """
31
+ if parse_node is None:
32
+ raise TypeError("parse_node cannot be null.")
33
+ return AuthenticationBehaviors()
34
+
35
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
36
+ """
37
+ The deserialization information for the current model
38
+ Returns: dict[str, Callable[[ParseNode], None]]
39
+ """
40
+ fields: dict[str, Callable[[Any], None]] = {
41
+ "blockAzureADGraphAccess": lambda n : setattr(self, 'block_azure_a_d_graph_access', n.get_bool_value()),
42
+ "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
43
+ "removeUnverifiedEmailClaim": lambda n : setattr(self, 'remove_unverified_email_claim', n.get_bool_value()),
44
+ "requireClientServicePrincipal": lambda n : setattr(self, 'require_client_service_principal', n.get_bool_value()),
45
+ }
46
+ return fields
47
+
48
+ def serialize(self,writer: SerializationWriter) -> None:
49
+ """
50
+ Serializes information the current object
51
+ param writer: Serialization writer to use to serialize this model
52
+ Returns: None
53
+ """
54
+ if writer is None:
55
+ raise TypeError("writer cannot be null.")
56
+ writer.write_bool_value("blockAzureADGraphAccess", self.block_azure_a_d_graph_access)
57
+ writer.write_str_value("@odata.type", self.odata_type)
58
+ writer.write_bool_value("removeUnverifiedEmailClaim", self.remove_unverified_email_claim)
59
+ writer.write_bool_value("requireClientServicePrincipal", self.require_client_service_principal)
60
+ writer.write_additional_data_value(self.additional_data)
61
+
62
+
@@ -24,11 +24,11 @@ class Calendar(Entity, Parsable):
24
24
  calendar_permissions: Optional[list[CalendarPermission]] = None
25
25
  # The calendar view for the calendar. Navigation property. Read-only.
26
26
  calendar_view: Optional[list[Event]] = None
27
- # true if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access.
27
+ # true if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who shared a calendar and granted write access.
28
28
  can_edit: Optional[bool] = None
29
- # true if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it.
29
+ # true if the user has permission to share the calendar, false otherwise. Only the user who created the calendar can share it.
30
30
  can_share: Optional[bool] = None
31
- # true if the user can read calendar items that have been marked private, false otherwise.
31
+ # If true, the user can read calendar items that have been marked private, false otherwise.
32
32
  can_view_private_items: Optional[bool] = None
33
33
  # Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
34
34
  change_key: Optional[str] = None
@@ -32,7 +32,7 @@ from .outlook_item import OutlookItem
32
32
  class Event(OutlookItem, Parsable):
33
33
  # The OdataType property
34
34
  odata_type: Optional[str] = "#microsoft.graph.event"
35
- # true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. Default is true.
35
+ # true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true.
36
36
  allow_new_time_proposals: Optional[bool] = None
37
37
  # The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
38
38
  attachments: Optional[list[Attachment]] = None
@@ -40,7 +40,7 @@ class Event(OutlookItem, Parsable):
40
40
  attendees: Optional[list[Attendee]] = None
41
41
  # The body of the message associated with the event. It can be in HTML or text format.
42
42
  body: Optional[ItemBody] = None
43
- # The preview of the message associated with the event. It is in text format.
43
+ # The preview of the message associated with the event. It's in text format.
44
44
  body_preview: Optional[str] = None
45
45
  # The calendar that contains the event. Navigation property. Read-only.
46
46
  calendar: Optional[Calendar] = None
@@ -50,35 +50,35 @@ class Event(OutlookItem, Parsable):
50
50
  extensions: Optional[list[Extension]] = None
51
51
  # Set to true if the event has attachments.
52
52
  has_attachments: Optional[bool] = None
53
- # When set to true, each attendee only sees themselves in the meeting request and meeting Tracking list. Default is false.
53
+ # When set to true, each attendee only sees themselves in the meeting request and meeting Tracking list. The default is false.
54
54
  hide_attendees: Optional[bool] = None
55
55
  # A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only.
56
56
  i_cal_u_id: Optional[str] = None
57
57
  # The importance of the event. The possible values are: low, normal, high.
58
58
  importance: Optional[Importance] = None
59
- # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable.
59
+ # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions modified, but doesn't include occurrences cancelled from the series. Navigation property. Read-only. Nullable.
60
60
  instances: Optional[list[Event]] = None
61
- # Set to true if the event lasts all day. If true, regardless of whether it's a single-day or multi-day event, start and end time must be set to midnight and be in the same time zone.
61
+ # Set to true if the event lasts all day. If true, regardless of whether it's a single-day or multi-day event, start, and endtime must be set to midnight and be in the same time zone.
62
62
  is_all_day: Optional[bool] = None
63
63
  # Set to true if the event has been canceled.
64
64
  is_cancelled: Optional[bool] = None
65
- # Set to true if the user has updated the meeting in Outlook but has not sent the updates to attendees. Set to false if all changes have been sent, or if the event is an appointment without any attendees.
65
+ # Set to true if the user has updated the meeting in Outlook but hasn't sent the updates to attendees. Set to false if all changes are sent, or if the event is an appointment without any attendees.
66
66
  is_draft: Optional[bool] = None
67
- # True if this event has online meeting information (that is, onlineMeeting points to an onlineMeetingInfo resource), false otherwise. Default is false (onlineMeeting is null). Optional. After you set isOnlineMeeting to true, Microsoft Graph initializes onlineMeeting. Subsequently Outlook ignores any further changes to isOnlineMeeting, and the meeting remains available online.
67
+ # True if this event has online meeting information (that is, onlineMeeting points to an onlineMeetingInfo resource), false otherwise. Default is false (onlineMeeting is null). Optional. After you set isOnlineMeeting to true, Microsoft Graph initializes onlineMeeting. Subsequently, Outlook ignores any further changes to isOnlineMeeting, and the meeting remains available online.
68
68
  is_online_meeting: Optional[bool] = None
69
- # Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). This also applies if a delegate organized the event on behalf of the owner.
69
+ # Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). It also applies if a delegate organized the event on behalf of the owner.
70
70
  is_organizer: Optional[bool] = None
71
71
  # Set to true if an alert is set to remind the user of the event.
72
72
  is_reminder_on: Optional[bool] = None
73
73
  # The location of the event.
74
74
  location: Optional[Location] = None
75
- # The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection would be removed and replaced by the new location value.
75
+ # The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection are removed and replaced by the new location value.
76
76
  locations: Optional[list[Location]] = None
77
77
  # The collection of multi-value extended properties defined for the event. Read-only. Nullable.
78
78
  multi_value_extended_properties: Optional[list[MultiValueLegacyExtendedProperty]] = None
79
- # Details for an attendee to join the meeting online. Default is null. Read-only. After you set the isOnlineMeeting and onlineMeetingProvider properties to enable a meeting online, Microsoft Graph initializes onlineMeeting. When set, the meeting remains available online, and you cannot change the isOnlineMeeting, onlineMeetingProvider, and onlneMeeting properties again.
79
+ # Details for an attendee to join the meeting online. The default is null. Read-only. After you set the isOnlineMeeting and onlineMeetingProvider properties to enable a meeting online, Microsoft Graph initializes onlineMeeting. When set, the meeting remains available online, and you can't change the isOnlineMeeting, onlineMeetingProvider, and onlneMeeting properties again.
80
80
  online_meeting: Optional[OnlineMeetingInfo] = None
81
- # Represents the online meeting service provider. By default, onlineMeetingProvider is unknown. The possible values are unknown, teamsForBusiness, skypeForBusiness, and skypeForConsumer. Optional. After you set onlineMeetingProvider, Microsoft Graph initializes onlineMeeting. Subsequently you cannot change onlineMeetingProvider again, and the meeting remains available online.
81
+ # Represents the online meeting service provider. By default, onlineMeetingProvider is unknown. The possible values are unknown, teamsForBusiness, skypeForBusiness, and skypeForConsumer. Optional. After you set onlineMeetingProvider, Microsoft Graph initializes onlineMeeting. Subsequently, you can't change onlineMeetingProvider again, and the meeting remains available online.
82
82
  online_meeting_provider: Optional[OnlineMeetingProviderType] = None
83
83
  # A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future.
84
84
  online_meeting_url: Optional[str] = None
@@ -86,7 +86,7 @@ class Event(OutlookItem, Parsable):
86
86
  organizer: Optional[Recipient] = None
87
87
  # The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook.
88
88
  original_end_time_zone: Optional[str] = None
89
- # Represents the start time of an event when it is initially created as an occurrence or exception in a recurring series. This property is not returned for events that are single instances. Its date and time information is expressed in ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
89
+ # Represents the start time of an event when it's initially created as an occurrence or exception in a recurring series. This property is not returned for events that are single instances. Its date and time information is expressed in ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
90
90
  original_start: Optional[datetime.datetime] = None
91
91
  # The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook.
92
92
  original_start_time_zone: Optional[str] = None
@@ -98,7 +98,7 @@ class Event(OutlookItem, Parsable):
98
98
  response_requested: Optional[bool] = None
99
99
  # Indicates the type of response sent in response to an event message.
100
100
  response_status: Optional[ResponseStatus] = None
101
- # Possible values are: normal, personal, private, confidential.
101
+ # Possible values are: normal, personal, private, and confidential.
102
102
  sensitivity: Optional[Sensitivity] = None
103
103
  # The ID for the recurring series master item, if this event is part of a recurring series.
104
104
  series_master_id: Optional[str] = None
@@ -110,11 +110,11 @@ class Event(OutlookItem, Parsable):
110
110
  start: Optional[DateTimeTimeZone] = None
111
111
  # The text of the event's subject line.
112
112
  subject: Optional[str] = None
113
- # A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. This is useful when low network connectivity causes the client to time out before receiving a response from the server for the client's prior create-event request. After you set transactionId when creating an event, you cannot change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it. Optional.
113
+ # A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. It's useful when low network connectivity causes the client to time out before receiving a response from the server for the client's prior create-event request. After you set transactionId when creating an event, you can't change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it. Optional.
114
114
  transaction_id: Optional[str] = None
115
115
  # The event type. Possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only
116
116
  type: Optional[EventType] = None
117
- # The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL cannot be accessed from within an iFrame.
117
+ # The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL can't be accessed from within an iFrame.
118
118
  web_link: Optional[str] = None
119
119
 
120
120
  @staticmethod
@@ -27,7 +27,7 @@ class EventMessage(Message, Parsable):
27
27
  event: Optional[Event] = None
28
28
  # The isAllDay property
29
29
  is_all_day: Optional[bool] = None
30
- # True if this meeting request is accessible to a delegate, false otherwise. Default is false.
30
+ # True if this meeting request is accessible to a delegate, false otherwise. The default is false.
31
31
  is_delegated: Optional[bool] = None
32
32
  # The isOutOfDate property
33
33
  is_out_of_date: Optional[bool] = None
@@ -1,6 +1,7 @@
1
1
  from enum import Enum
2
2
 
3
3
  class RuleOperation(str, Enum):
4
+ Null = "null",
4
5
  Equals = "equals",
5
6
  NotEquals = "notEquals",
6
7
  Contains = "contains",
@@ -44,7 +44,7 @@ class Message(OutlookItem, Parsable):
44
44
  conversation_index: Optional[bytes] = None
45
45
  # The collection of open extensions defined for the message. Nullable.
46
46
  extensions: Optional[list[Extension]] = None
47
- # The flag value that indicates the status, start date, due date, or completion date for the message.
47
+ # Indicates the status, start date, due date, or completion date for the message.
48
48
  flag: Optional[FollowupFlag] = None
49
49
  # The owner of the mailbox from which the message is sent. In most cases, this value is the same as the sender property, except for sharing or delegation scenarios. The value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message.
50
50
  from_: Optional[Recipient] = None
@@ -74,7 +74,7 @@ class Message(OutlookItem, Parsable):
74
74
  received_date_time: Optional[datetime.datetime] = None
75
75
  # The email addresses to use when replying.
76
76
  reply_to: Optional[list[Recipient]] = None
77
- # The account that is actually used to generate the message. In most cases, this value is the same as the from property. You can set this property to a different value when sending a message from a shared mailbox, for a shared calendar, or as a delegate. In any case, the value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message.
77
+ # The account that is used to generate the message. In most cases, this value is the same as the from property. You can set this property to a different value when sending a message from a shared mailbox, for a shared calendar, or as a delegate. In any case, the value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message.
78
78
  sender: Optional[Recipient] = None
79
79
  # The date and time the message was sent. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
80
80
  sent_date_time: Optional[datetime.datetime] = None
@@ -17,11 +17,11 @@ class SignInActivity(AdditionalDataHolder, BackedModel, Parsable):
17
17
  last_non_interactive_sign_in_date_time: Optional[datetime.datetime] = None
18
18
  # Request identifier of the last non-interactive sign-in performed by this user.
19
19
  last_non_interactive_sign_in_request_id: Optional[str] = None
20
- # The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user attempted (either successfully or unsuccessfully) to sign in to the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Microsoft Entra ID maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Microsoft Entra ID.
20
+ # The last interactive sign-in date and time for a specific user. This property records the last time a user attempted an interactive sign-in to the directory—whether the attempt was successful or not. Note: Since unsuccessful attempts are also logged, this value might not accurately reflect actual system usage. For tracking actual account access, please use the lastSuccessfulSignInDateTime property. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
21
21
  last_sign_in_date_time: Optional[datetime.datetime] = None
22
22
  # Request identifier of the last interactive sign-in performed by this user.
23
23
  last_sign_in_request_id: Optional[str] = None
24
- # The date and time of the user's most recent successful sign-in activity. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
24
+ # The date and time of the user's most recent successful interactive sign-in. Use this property if you need to determine when the account was truly accessed. This field can be used to build reports, such as inactive users. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Microsoft Entra ID maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Microsoft Entra ID.
25
25
  last_successful_sign_in_date_time: Optional[datetime.datetime] = None
26
26
  # The request ID of the last successful sign-in.
27
27
  last_successful_sign_in_request_id: Optional[str] = None
@@ -12,27 +12,27 @@ class WorkbookWorksheetProtectionOptions(AdditionalDataHolder, BackedModel, Pars
12
12
 
13
13
  # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
14
14
  additional_data: dict[str, Any] = field(default_factory=dict)
15
- # Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled.
15
+ # Represents the worksheet protection option of allowing using auto filter feature.
16
16
  allow_auto_filter: Optional[bool] = None
17
- # Indicates whether the worksheet protection option to allow deleting columns is enabled.
17
+ # Represents the worksheet protection option of allowing deleting columns.
18
18
  allow_delete_columns: Optional[bool] = None
19
- # Indicates whether the worksheet protection option to allow deleting rows is enabled.
19
+ # Represents the worksheet protection option of allowing deleting rows.
20
20
  allow_delete_rows: Optional[bool] = None
21
- # Indicates whether the worksheet protection option to allow formatting cells is enabled.
21
+ # Represents the worksheet protection option of allowing formatting cells.
22
22
  allow_format_cells: Optional[bool] = None
23
- # Indicates whether the worksheet protection option to allow formatting columns is enabled.
23
+ # Represents the worksheet protection option of allowing formatting columns.
24
24
  allow_format_columns: Optional[bool] = None
25
- # Indicates whether the worksheet protection option to allow formatting rows is enabled.
25
+ # Represents the worksheet protection option of allowing formatting rows.
26
26
  allow_format_rows: Optional[bool] = None
27
- # Indicates whether the worksheet protection option to allow inserting columns is enabled.
27
+ # Represents the worksheet protection option of allowing inserting columns.
28
28
  allow_insert_columns: Optional[bool] = None
29
- # Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled.
29
+ # Represents the worksheet protection option of allowing inserting hyperlinks.
30
30
  allow_insert_hyperlinks: Optional[bool] = None
31
- # Indicates whether the worksheet protection option to allow inserting rows is enabled.
31
+ # Represents the worksheet protection option of allowing inserting rows.
32
32
  allow_insert_rows: Optional[bool] = None
33
- # Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled.
33
+ # Represents the worksheet protection option of allowing using pivot table feature.
34
34
  allow_pivot_tables: Optional[bool] = None
35
- # Indicates whether the worksheet protection option to allow the use of the sort feature is enabled.
35
+ # Represents the worksheet protection option of allowing using sort feature.
36
36
  allow_sort: Optional[bool] = None
37
37
  # The OdataType property
38
38
  odata_type: Optional[str] = None
@@ -53,10 +53,10 @@ class OrganizationRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> Optional[OrganizationCollectionResponse]:
55
55
  """
56
- List properties and relationships of the organization objects.
56
+ Retrieve a list of organization objects. There's only one organization object in the collection.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: Optional[OrganizationCollectionResponse]
59
- Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0
59
+ Find more info here: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0
60
60
  """
61
61
  request_info = self.to_get_request_information(
62
62
  request_configuration
@@ -97,7 +97,7 @@ class OrganizationRequestBuilder(BaseRequestBuilder):
97
97
 
98
98
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
99
99
  """
100
- List properties and relationships of the organization objects.
100
+ Retrieve a list of organization objects. There's only one organization object in the collection.
101
101
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
102
102
  Returns: RequestInformation
103
103
  """
@@ -179,7 +179,7 @@ class OrganizationRequestBuilder(BaseRequestBuilder):
179
179
  @dataclass
180
180
  class OrganizationRequestBuilderGetQueryParameters():
181
181
  """
182
- List properties and relationships of the organization objects.
182
+ Retrieve a list of organization objects. There's only one organization object in the collection.
183
183
  """
184
184
  def get_query_parameter(self,original_name: str) -> str:
185
185
  """
@@ -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)
@@ -38,7 +38,7 @@ class ApproversRequestBuilder(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 ApproversRequestBuilder(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 ApproversRequestBuilder(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 ApproversRequestBuilder(BaseRequestBuilder):
86
86
  param raw_url: The raw URL to use for the request builder.
87
87
  Returns: ApproversRequestBuilder
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 ApproversRequestBuilder(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)