msgraph-sdk 1.22.0__py3-none-any.whl → 1.23.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. msgraph/_version.py +1 -1
  2. msgraph/generated/chats/item/members/item/conversation_member_item_request_builder.py +4 -4
  3. msgraph/generated/device_app_management/device_app_management_request_builder.py +2 -2
  4. msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
  5. msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +1 -1
  6. msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +4 -4
  7. msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +1 -1
  8. msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +1 -1
  9. msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +4 -4
  10. msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_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 +10 -10
  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_app_configurations/mobile_app_configurations_request_builder.py +4 -4
  16. msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +10 -10
  17. msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +7 -7
  18. msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +7 -7
  19. msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +10 -10
  20. msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +7 -7
  21. msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +10 -10
  22. msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +7 -7
  23. msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +10 -10
  24. msgraph/generated/device_management/device_management_request_builder.py +2 -2
  25. msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +7 -7
  26. msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +4 -4
  27. msgraph/generated/groups/item/calendar/calendar_request_builder.py +10 -0
  28. msgraph/generated/groups/item/calendar/calendar_view/item/event_item_request_builder.py +10 -0
  29. msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py +10 -0
  30. msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  31. msgraph/generated/groups/item/calendar/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  32. msgraph/generated/groups/item/calendar/events/item/event_item_request_builder.py +10 -0
  33. msgraph/generated/groups/item/calendar/events/item/instances/item/event_item_request_builder.py +10 -0
  34. msgraph/generated/groups/item/calendar/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  35. msgraph/generated/groups/item/calendar/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  36. msgraph/generated/groups/item/calendar/permanent_delete/permanent_delete_request_builder.py +79 -0
  37. msgraph/generated/groups/item/calendar_view/item/event_item_request_builder.py +10 -0
  38. msgraph/generated/groups/item/calendar_view/item/instances/item/event_item_request_builder.py +10 -0
  39. msgraph/generated/groups/item/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  40. msgraph/generated/groups/item/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  41. msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +4 -4
  42. msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +3 -3
  43. msgraph/generated/groups/item/events/item/event_item_request_builder.py +10 -0
  44. msgraph/generated/groups/item/events/item/instances/item/event_item_request_builder.py +10 -0
  45. msgraph/generated/groups/item/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  46. msgraph/generated/groups/item/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  47. msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +3 -3
  48. msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +7 -7
  49. msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +4 -4
  50. msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +3 -3
  51. msgraph/generated/kiota-dom-export.txt +454 -0
  52. msgraph/generated/kiota-lock.json +1 -1
  53. msgraph/generated/models/print_settings.py +1 -1
  54. msgraph/generated/models/security/alert_evidence.py +7 -0
  55. msgraph/generated/models/security/antispam_teams_direction.py +9 -0
  56. msgraph/generated/models/security/mailbox_evidence.py +4 -0
  57. msgraph/generated/models/security/teams_delivery_location.py +9 -0
  58. msgraph/generated/models/security/teams_message_delivery_action.py +10 -0
  59. msgraph/generated/models/security/teams_message_evidence.py +166 -0
  60. msgraph/generated/models/sign_in_activity.py +1 -1
  61. msgraph/generated/models/team.py +4 -0
  62. msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +3 -3
  63. msgraph/generated/organization/item/organization_item_request_builder.py +7 -7
  64. msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
  65. msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py +3 -2
  66. msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py +3 -3
  67. msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py +3 -2
  68. msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py +3 -2
  69. msgraph/generated/sites/sites_request_builder.py +4 -4
  70. msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +3 -3
  71. msgraph/generated/teams/item/channels/item/members/members_request_builder.py +3 -3
  72. msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py +3 -3
  73. msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py +3 -3
  74. msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +3 -3
  75. msgraph/generated/users/item/calendar/calendar_request_builder.py +10 -0
  76. msgraph/generated/users/item/calendar/calendar_view/item/event_item_request_builder.py +10 -0
  77. msgraph/generated/users/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py +10 -0
  78. msgraph/generated/users/item/calendar/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  79. msgraph/generated/users/item/calendar/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  80. msgraph/generated/users/item/calendar/events/item/event_item_request_builder.py +10 -0
  81. msgraph/generated/users/item/calendar/events/item/instances/item/event_item_request_builder.py +10 -0
  82. msgraph/generated/users/item/calendar/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  83. msgraph/generated/users/item/calendar/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  84. msgraph/generated/users/item/calendar/permanent_delete/permanent_delete_request_builder.py +79 -0
  85. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_item_request_builder.py +10 -0
  86. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/event_item_request_builder.py +10 -0
  87. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py +10 -0
  88. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  89. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  90. msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/event_item_request_builder.py +10 -0
  91. msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.py +10 -0
  92. msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  93. msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  94. msgraph/generated/users/item/calendar_groups/item/calendars/item/permanent_delete/permanent_delete_request_builder.py +79 -0
  95. msgraph/generated/users/item/calendar_view/item/event_item_request_builder.py +10 -0
  96. msgraph/generated/users/item/calendar_view/item/instances/item/event_item_request_builder.py +10 -0
  97. msgraph/generated/users/item/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  98. msgraph/generated/users/item/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  99. msgraph/generated/users/item/calendars/item/calendar_item_request_builder.py +10 -0
  100. msgraph/generated/users/item/calendars/item/calendar_view/item/event_item_request_builder.py +10 -0
  101. msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py +10 -0
  102. msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  103. msgraph/generated/users/item/calendars/item/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  104. msgraph/generated/users/item/calendars/item/events/item/event_item_request_builder.py +10 -0
  105. msgraph/generated/users/item/calendars/item/events/item/instances/item/event_item_request_builder.py +10 -0
  106. msgraph/generated/users/item/calendars/item/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  107. msgraph/generated/users/item/calendars/item/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  108. msgraph/generated/users/item/calendars/item/permanent_delete/permanent_delete_request_builder.py +79 -0
  109. msgraph/generated/users/item/contact_folders/item/child_folders/item/contact_folder_item_request_builder.py +10 -0
  110. msgraph/generated/users/item/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.py +10 -0
  111. msgraph/generated/users/item/contact_folders/item/child_folders/item/contacts/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  112. msgraph/generated/users/item/contact_folders/item/child_folders/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  113. msgraph/generated/users/item/contact_folders/item/contact_folder_item_request_builder.py +10 -0
  114. msgraph/generated/users/item/contact_folders/item/contacts/item/contact_item_request_builder.py +10 -0
  115. msgraph/generated/users/item/contact_folders/item/contacts/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  116. msgraph/generated/users/item/contact_folders/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  117. msgraph/generated/users/item/contacts/item/contact_item_request_builder.py +10 -0
  118. msgraph/generated/users/item/contacts/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  119. msgraph/generated/users/item/events/item/event_item_request_builder.py +10 -0
  120. msgraph/generated/users/item/events/item/instances/item/event_item_request_builder.py +10 -0
  121. msgraph/generated/users/item/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  122. msgraph/generated/users/item/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  123. msgraph/generated/users/item/mail_folders/item/child_folders/item/mail_folder_item_request_builder.py +10 -0
  124. msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.py +10 -0
  125. msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  126. msgraph/generated/users/item/mail_folders/item/child_folders/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  127. msgraph/generated/users/item/mail_folders/item/mail_folder_item_request_builder.py +10 -0
  128. msgraph/generated/users/item/mail_folders/item/messages/item/message_item_request_builder.py +10 -0
  129. msgraph/generated/users/item/mail_folders/item/messages/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  130. msgraph/generated/users/item/mail_folders/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  131. msgraph/generated/users/item/messages/item/message_item_request_builder.py +10 -0
  132. msgraph/generated/users/item/messages/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  133. msgraph/generated/users/item/user_item_request_builder.py +2 -2
  134. msgraph/generated/users/users_request_builder.py +5 -5
  135. msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +2 -2
  136. {msgraph_sdk-1.22.0.dist-info → msgraph_sdk-1.23.0.dist-info}/METADATA +1 -1
  137. {msgraph_sdk-1.22.0.dist-info → msgraph_sdk-1.23.0.dist-info}/RECORD +139 -97
  138. {msgraph_sdk-1.22.0.dist-info → msgraph_sdk-1.23.0.dist-info}/WHEEL +0 -0
  139. {msgraph_sdk-1.22.0.dist-info → msgraph_sdk-1.23.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,5 +1,5 @@
1
1
  {
2
- "descriptionHash": "BCF39C6C0BC5CE39002F930818C2313075A8AF4281F6FD63E02D9149FADBD986210BECD2669E3552B338E5241D3EF9D3C579EBA5F5967AA03E21F8213DC6C27C",
2
+ "descriptionHash": "55A3ED7E0A0D3EE2016D39F28C6001B9D2BEC0F389D1D28FC4F8E9A3C611719CE2E3E7D21FDD0F4AB8E617CCDC31EC5C93338596FAFBA2EC9CDA51173ACBB54D",
3
3
  "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml",
4
4
  "lockFileVersion": "1.0.0",
5
5
  "kiotaVersion": "1.24.0",
@@ -12,7 +12,7 @@ class PrintSettings(AdditionalDataHolder, BackedModel, Parsable):
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
- # Specifies whether document conversion is enabled for the tenant. If document conversion is enabled, Universal Print service will automatically convert documents into a format compatible with the printer (xps to pdf) when needed.
15
+ # Specifies whether document conversion is enabled for the tenant. If document conversion is enabled, Universal Print service converts documents into a format compatible with the printer (xps to pdf) when needed.
16
16
  document_conversion_enabled: Optional[bool] = None
17
17
  # The OdataType property
18
18
  odata_type: Optional[str] = None
@@ -53,6 +53,7 @@ if TYPE_CHECKING:
53
53
  from .security_group_evidence import SecurityGroupEvidence
54
54
  from .service_principal_evidence import ServicePrincipalEvidence
55
55
  from .submission_mail_evidence import SubmissionMailEvidence
56
+ from .teams_message_evidence import TeamsMessageEvidence
56
57
  from .url_evidence import UrlEvidence
57
58
  from .user_evidence import UserEvidence
58
59
 
@@ -266,6 +267,10 @@ class AlertEvidence(AdditionalDataHolder, BackedModel, Parsable):
266
267
  from .submission_mail_evidence import SubmissionMailEvidence
267
268
 
268
269
  return SubmissionMailEvidence()
270
+ if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.teamsMessageEvidence".casefold():
271
+ from .teams_message_evidence import TeamsMessageEvidence
272
+
273
+ return TeamsMessageEvidence()
269
274
  if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.urlEvidence".casefold():
270
275
  from .url_evidence import UrlEvidence
271
276
 
@@ -327,6 +332,7 @@ class AlertEvidence(AdditionalDataHolder, BackedModel, Parsable):
327
332
  from .security_group_evidence import SecurityGroupEvidence
328
333
  from .service_principal_evidence import ServicePrincipalEvidence
329
334
  from .submission_mail_evidence import SubmissionMailEvidence
335
+ from .teams_message_evidence import TeamsMessageEvidence
330
336
  from .url_evidence import UrlEvidence
331
337
  from .user_evidence import UserEvidence
332
338
 
@@ -376,6 +382,7 @@ class AlertEvidence(AdditionalDataHolder, BackedModel, Parsable):
376
382
  from .security_group_evidence import SecurityGroupEvidence
377
383
  from .service_principal_evidence import ServicePrincipalEvidence
378
384
  from .submission_mail_evidence import SubmissionMailEvidence
385
+ from .teams_message_evidence import TeamsMessageEvidence
379
386
  from .url_evidence import UrlEvidence
380
387
  from .user_evidence import UserEvidence
381
388
 
@@ -0,0 +1,9 @@
1
+ from enum import Enum
2
+
3
+ class AntispamTeamsDirection(str, Enum):
4
+ Unknown = "unknown",
5
+ Inbound = "inbound",
6
+ Outbound = "outbound",
7
+ Intraorg = "intraorg",
8
+ UnknownFutureValue = "unknownFutureValue",
9
+
@@ -18,6 +18,8 @@ class MailboxEvidence(AlertEvidence, Parsable):
18
18
  display_name: Optional[str] = None
19
19
  # The primary email address of the mailbox.
20
20
  primary_address: Optional[str] = None
21
+ # The user principal name of the mailbox.
22
+ upn: Optional[str] = None
21
23
  # The user account of the mailbox.
22
24
  user_account: Optional[UserAccount] = None
23
25
 
@@ -46,6 +48,7 @@ class MailboxEvidence(AlertEvidence, Parsable):
46
48
  fields: dict[str, Callable[[Any], None]] = {
47
49
  "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()),
48
50
  "primaryAddress": lambda n : setattr(self, 'primary_address', n.get_str_value()),
51
+ "upn": lambda n : setattr(self, 'upn', n.get_str_value()),
49
52
  "userAccount": lambda n : setattr(self, 'user_account', n.get_object_value(UserAccount)),
50
53
  }
51
54
  super_fields = super().get_field_deserializers()
@@ -63,6 +66,7 @@ class MailboxEvidence(AlertEvidence, Parsable):
63
66
  super().serialize(writer)
64
67
  writer.write_str_value("displayName", self.display_name)
65
68
  writer.write_str_value("primaryAddress", self.primary_address)
69
+ writer.write_str_value("upn", self.upn)
66
70
  writer.write_object_value("userAccount", self.user_account)
67
71
 
68
72
 
@@ -0,0 +1,9 @@
1
+ from enum import Enum
2
+
3
+ class TeamsDeliveryLocation(str, Enum):
4
+ Unknown = "unknown",
5
+ Teams = "teams",
6
+ Quarantine = "quarantine",
7
+ Failed = "failed",
8
+ UnknownFutureValue = "unknownFutureValue",
9
+
@@ -0,0 +1,10 @@
1
+ from enum import Enum
2
+
3
+ class TeamsMessageDeliveryAction(str, Enum):
4
+ Unknown = "unknown",
5
+ DeliveredAsSpam = "deliveredAsSpam",
6
+ Delivered = "delivered",
7
+ Blocked = "blocked",
8
+ Replaced = "replaced",
9
+ UnknownFutureValue = "unknownFutureValue",
10
+
@@ -0,0 +1,166 @@
1
+ from __future__ import annotations
2
+ import datetime
3
+ from collections.abc import Callable
4
+ from dataclasses import dataclass, field
5
+ from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
6
+ from typing import Any, Optional, TYPE_CHECKING, Union
7
+ from uuid import UUID
8
+
9
+ if TYPE_CHECKING:
10
+ from .alert_evidence import AlertEvidence
11
+ from .antispam_teams_direction import AntispamTeamsDirection
12
+ from .file_evidence import FileEvidence
13
+ from .teams_delivery_location import TeamsDeliveryLocation
14
+ from .teams_message_delivery_action import TeamsMessageDeliveryAction
15
+ from .url_evidence import UrlEvidence
16
+
17
+ from .alert_evidence import AlertEvidence
18
+
19
+ @dataclass
20
+ class TeamsMessageEvidence(AlertEvidence, Parsable):
21
+ # The OdataType property
22
+ odata_type: Optional[str] = "#microsoft.graph.security.teamsMessageEvidence"
23
+ # The identifier of the campaign that this Teams message is part of.
24
+ campaign_id: Optional[str] = None
25
+ # The channel ID associated with this Teams message.
26
+ channel_id: Optional[str] = None
27
+ # The delivery action of this Teams message. Possible values are: unknown, deliveredAsSpam, delivered, blocked, replaced, unknownFutureValue.
28
+ delivery_action: Optional[TeamsMessageDeliveryAction] = None
29
+ # The delivery location of this Teams message. Possible values are: unknown, teams, quarantine, failed, unknownFutureValue.
30
+ delivery_location: Optional[TeamsDeliveryLocation] = None
31
+ # The list of file entities that are attached to this Teams message.
32
+ files: Optional[list[FileEvidence]] = None
33
+ # The identifier of the team or group that this message is part of.
34
+ group_id: Optional[str] = None
35
+ # Indicates whether the message is owned by the organization that reported the security detection alert.
36
+ is_external: Optional[bool] = None
37
+ # Indicates whether the message is owned by your organization.
38
+ is_owned: Optional[bool] = None
39
+ # Date and time when the message was last edited. 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.
40
+ last_modified_date_time: Optional[datetime.datetime] = None
41
+ # The direction of the Teams message. The possible values are: unknown, inbound, outbound, intraorg, unknownFutureValue.
42
+ message_direction: Optional[AntispamTeamsDirection] = None
43
+ # Message identifier unique within the thread.
44
+ message_id: Optional[str] = None
45
+ # Tenant ID (GUID) of the owner of the message.
46
+ owning_tenant_id: Optional[UUID] = None
47
+ # Identifier of the message to which the current message is a reply; otherwise, it's the same as the messageId.
48
+ parent_message_id: Optional[str] = None
49
+ # The received date of this message. 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.
50
+ received_date_time: Optional[datetime.datetime] = None
51
+ # The recipients of this Teams message.
52
+ recipients: Optional[list[str]] = None
53
+ # The SMTP format address of the sender.
54
+ sender_from_address: Optional[str] = None
55
+ # The IP address of the sender.
56
+ sender_i_p: Optional[str] = None
57
+ # Source of the message; for example, desktop and mobile.
58
+ source_app_name: Optional[str] = None
59
+ # The source ID of this Teams message.
60
+ source_id: Optional[str] = None
61
+ # The subject of this Teams message.
62
+ subject: Optional[str] = None
63
+ # The list of recipients who were detected as suspicious.
64
+ suspicious_recipients: Optional[list[str]] = None
65
+ # Identifier of the channel or chat that this message is part of.
66
+ thread_id: Optional[str] = None
67
+ # The Teams message type. Supported values are: Chat, Topic, Space, and Meeting.
68
+ thread_type: Optional[str] = None
69
+ # The URLs contained in this Teams message.
70
+ urls: Optional[list[UrlEvidence]] = None
71
+
72
+ @staticmethod
73
+ def create_from_discriminator_value(parse_node: ParseNode) -> TeamsMessageEvidence:
74
+ """
75
+ Creates a new instance of the appropriate class based on discriminator value
76
+ param parse_node: The parse node to use to read the discriminator value and create the object
77
+ Returns: TeamsMessageEvidence
78
+ """
79
+ if parse_node is None:
80
+ raise TypeError("parse_node cannot be null.")
81
+ return TeamsMessageEvidence()
82
+
83
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
84
+ """
85
+ The deserialization information for the current model
86
+ Returns: dict[str, Callable[[ParseNode], None]]
87
+ """
88
+ from .alert_evidence import AlertEvidence
89
+ from .antispam_teams_direction import AntispamTeamsDirection
90
+ from .file_evidence import FileEvidence
91
+ from .teams_delivery_location import TeamsDeliveryLocation
92
+ from .teams_message_delivery_action import TeamsMessageDeliveryAction
93
+ from .url_evidence import UrlEvidence
94
+
95
+ from .alert_evidence import AlertEvidence
96
+ from .antispam_teams_direction import AntispamTeamsDirection
97
+ from .file_evidence import FileEvidence
98
+ from .teams_delivery_location import TeamsDeliveryLocation
99
+ from .teams_message_delivery_action import TeamsMessageDeliveryAction
100
+ from .url_evidence import UrlEvidence
101
+
102
+ fields: dict[str, Callable[[Any], None]] = {
103
+ "campaignId": lambda n : setattr(self, 'campaign_id', n.get_str_value()),
104
+ "channelId": lambda n : setattr(self, 'channel_id', n.get_str_value()),
105
+ "deliveryAction": lambda n : setattr(self, 'delivery_action', n.get_enum_value(TeamsMessageDeliveryAction)),
106
+ "deliveryLocation": lambda n : setattr(self, 'delivery_location', n.get_enum_value(TeamsDeliveryLocation)),
107
+ "files": lambda n : setattr(self, 'files', n.get_collection_of_object_values(FileEvidence)),
108
+ "groupId": lambda n : setattr(self, 'group_id', n.get_str_value()),
109
+ "isExternal": lambda n : setattr(self, 'is_external', n.get_bool_value()),
110
+ "isOwned": lambda n : setattr(self, 'is_owned', n.get_bool_value()),
111
+ "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()),
112
+ "messageDirection": lambda n : setattr(self, 'message_direction', n.get_enum_value(AntispamTeamsDirection)),
113
+ "messageId": lambda n : setattr(self, 'message_id', n.get_str_value()),
114
+ "owningTenantId": lambda n : setattr(self, 'owning_tenant_id', n.get_uuid_value()),
115
+ "parentMessageId": lambda n : setattr(self, 'parent_message_id', n.get_str_value()),
116
+ "receivedDateTime": lambda n : setattr(self, 'received_date_time', n.get_datetime_value()),
117
+ "recipients": lambda n : setattr(self, 'recipients', n.get_collection_of_primitive_values(str)),
118
+ "senderFromAddress": lambda n : setattr(self, 'sender_from_address', n.get_str_value()),
119
+ "senderIP": lambda n : setattr(self, 'sender_i_p', n.get_str_value()),
120
+ "sourceAppName": lambda n : setattr(self, 'source_app_name', n.get_str_value()),
121
+ "sourceId": lambda n : setattr(self, 'source_id', n.get_str_value()),
122
+ "subject": lambda n : setattr(self, 'subject', n.get_str_value()),
123
+ "suspiciousRecipients": lambda n : setattr(self, 'suspicious_recipients', n.get_collection_of_primitive_values(str)),
124
+ "threadId": lambda n : setattr(self, 'thread_id', n.get_str_value()),
125
+ "threadType": lambda n : setattr(self, 'thread_type', n.get_str_value()),
126
+ "urls": lambda n : setattr(self, 'urls', n.get_collection_of_object_values(UrlEvidence)),
127
+ }
128
+ super_fields = super().get_field_deserializers()
129
+ fields.update(super_fields)
130
+ return fields
131
+
132
+ def serialize(self,writer: SerializationWriter) -> None:
133
+ """
134
+ Serializes information the current object
135
+ param writer: Serialization writer to use to serialize this model
136
+ Returns: None
137
+ """
138
+ if writer is None:
139
+ raise TypeError("writer cannot be null.")
140
+ super().serialize(writer)
141
+ writer.write_str_value("campaignId", self.campaign_id)
142
+ writer.write_str_value("channelId", self.channel_id)
143
+ writer.write_enum_value("deliveryAction", self.delivery_action)
144
+ writer.write_enum_value("deliveryLocation", self.delivery_location)
145
+ writer.write_collection_of_object_values("files", self.files)
146
+ writer.write_str_value("groupId", self.group_id)
147
+ writer.write_bool_value("isExternal", self.is_external)
148
+ writer.write_bool_value("isOwned", self.is_owned)
149
+ writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time)
150
+ writer.write_enum_value("messageDirection", self.message_direction)
151
+ writer.write_str_value("messageId", self.message_id)
152
+ writer.write_uuid_value("owningTenantId", self.owning_tenant_id)
153
+ writer.write_str_value("parentMessageId", self.parent_message_id)
154
+ writer.write_datetime_value("receivedDateTime", self.received_date_time)
155
+ writer.write_collection_of_primitive_values("recipients", self.recipients)
156
+ writer.write_str_value("senderFromAddress", self.sender_from_address)
157
+ writer.write_str_value("senderIP", self.sender_i_p)
158
+ writer.write_str_value("sourceAppName", self.source_app_name)
159
+ writer.write_str_value("sourceId", self.source_id)
160
+ writer.write_str_value("subject", self.subject)
161
+ writer.write_collection_of_primitive_values("suspiciousRecipients", self.suspicious_recipients)
162
+ writer.write_str_value("threadId", self.thread_id)
163
+ writer.write_str_value("threadType", self.thread_type)
164
+ writer.write_collection_of_object_values("urls", self.urls)
165
+
166
+
@@ -21,7 +21,7 @@ class SignInActivity(AdditionalDataHolder, BackedModel, Parsable):
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 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.
24
+ # The date and time of the user's most recent successful interactive or non-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
@@ -41,6 +41,8 @@ class Team(Entity, Parsable):
41
41
  description: Optional[str] = None
42
42
  # The name of the team.
43
43
  display_name: Optional[str] = None
44
+ # The firstChannelName property
45
+ first_channel_name: Optional[str] = None
44
46
  # Settings to configure use of Giphy, memes, and stickers in the team.
45
47
  fun_settings: Optional[TeamFunSettings] = None
46
48
  # The group property
@@ -149,6 +151,7 @@ class Team(Entity, Parsable):
149
151
  "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()),
150
152
  "description": lambda n : setattr(self, 'description', n.get_str_value()),
151
153
  "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()),
154
+ "firstChannelName": lambda n : setattr(self, 'first_channel_name', n.get_str_value()),
152
155
  "funSettings": lambda n : setattr(self, 'fun_settings', n.get_object_value(TeamFunSettings)),
153
156
  "group": lambda n : setattr(self, 'group', n.get_object_value(Group)),
154
157
  "guestSettings": lambda n : setattr(self, 'guest_settings', n.get_object_value(TeamGuestSettings)),
@@ -191,6 +194,7 @@ class Team(Entity, Parsable):
191
194
  writer.write_datetime_value("createdDateTime", self.created_date_time)
192
195
  writer.write_str_value("description", self.description)
193
196
  writer.write_str_value("displayName", self.display_name)
197
+ writer.write_str_value("firstChannelName", self.first_channel_name)
194
198
  writer.write_object_value("funSettings", self.fun_settings)
195
199
  writer.write_object_value("group", self.group)
196
200
  writer.write_object_value("guestSettings", self.guest_settings)
@@ -49,10 +49,10 @@ class BannerLogoRequestBuilder(BaseRequestBuilder):
49
49
 
50
50
  async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]:
51
51
  """
52
- Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.
52
+ Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method.
53
53
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
54
54
  Returns: bytes
55
- Find more info here: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0
55
+ Find more info here: https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0
56
56
  """
57
57
  request_info = self.to_get_request_information(
58
58
  request_configuration
@@ -104,7 +104,7 @@ class BannerLogoRequestBuilder(BaseRequestBuilder):
104
104
 
105
105
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
106
106
  """
107
- Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.
107
+ Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method.
108
108
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
109
109
  Returns: RequestInformation
110
110
  """
@@ -59,10 +59,10 @@ class OrganizationItemRequestBuilder(BaseRequestBuilder):
59
59
 
60
60
  async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Organization]:
61
61
  """
62
- Read properties and relationships of the organization object.
62
+ Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance.
63
63
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
64
64
  Returns: Optional[Organization]
65
- Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0
65
+ Find more info here: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0
66
66
  """
67
67
  request_info = self.to_get_request_information(
68
68
  request_configuration
@@ -80,11 +80,11 @@ class OrganizationItemRequestBuilder(BaseRequestBuilder):
80
80
 
81
81
  async def patch(self,body: Organization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Organization]:
82
82
  """
83
- Update the properties of a organization object.
83
+ Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization.
84
84
  param body: The request body
85
85
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
86
86
  Returns: Optional[Organization]
87
- Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-update?view=graph-rest-1.0
87
+ Find more info here: https://learn.microsoft.com/graph/api/organization-update?view=graph-rest-1.0
88
88
  """
89
89
  if body is None:
90
90
  raise TypeError("body cannot be null.")
@@ -115,7 +115,7 @@ class OrganizationItemRequestBuilder(BaseRequestBuilder):
115
115
 
116
116
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
117
117
  """
118
- Read properties and relationships of the organization object.
118
+ Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance.
119
119
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
120
120
  Returns: RequestInformation
121
121
  """
@@ -126,7 +126,7 @@ class OrganizationItemRequestBuilder(BaseRequestBuilder):
126
126
 
127
127
  def to_patch_request_information(self,body: Organization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
128
128
  """
129
- Update the properties of a organization object.
129
+ Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization.
130
130
  param body: The request body
131
131
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
132
132
  Returns: RequestInformation
@@ -240,7 +240,7 @@ class OrganizationItemRequestBuilder(BaseRequestBuilder):
240
240
  @dataclass
241
241
  class OrganizationItemRequestBuilderGetQueryParameters():
242
242
  """
243
- Read properties and relationships of the organization object.
243
+ Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance.
244
244
  """
245
245
  def get_query_parameter(self,original_name: str) -> str:
246
246
  """
@@ -72,11 +72,11 @@ class IdentitySynchronizationRequestBuilder(BaseRequestBuilder):
72
72
 
73
73
  async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]:
74
74
  """
75
- Create a cross-tenant user synchronization policy for a partner-specific configuration.
75
+ Update the user synchronization policy of a partner-specific configuration.
76
76
  param body: The request body
77
77
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
78
78
  Returns: Optional[CrossTenantIdentitySyncPolicyPartner]
79
- Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0
79
+ Find more info here: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-1.0
80
80
  """
81
81
  if body is None:
82
82
  raise TypeError("body cannot be null.")
@@ -118,7 +118,7 @@ class IdentitySynchronizationRequestBuilder(BaseRequestBuilder):
118
118
 
119
119
  def to_put_request_information(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
120
120
  """
121
- Create a cross-tenant user synchronization policy for a partner-specific configuration.
121
+ Update the user synchronization policy of a partner-specific configuration.
122
122
  param body: The request body
123
123
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
124
124
  Returns: RequestInformation
@@ -33,9 +33,10 @@ class SiteSourceItemRequestBuilder(BaseRequestBuilder):
33
33
 
34
34
  async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
35
35
  """
36
- Delete navigation property siteSources for security
36
+ Delete a siteSource object associated with an ediscoveryCustodian.
37
37
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
38
38
  Returns: None
39
+ Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-delete-sitesources?view=graph-rest-1.0
39
40
  """
40
41
  request_info = self.to_delete_request_information(
41
42
  request_configuration
@@ -94,7 +95,7 @@ class SiteSourceItemRequestBuilder(BaseRequestBuilder):
94
95
 
95
96
  def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
96
97
  """
97
- Delete navigation property siteSources for security
98
+ Delete a siteSource object associated with an ediscoveryCustodian.
98
99
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
99
100
  Returns: RequestInformation
100
101
  """
@@ -49,7 +49,7 @@ class SiteSourcesRequestBuilder(BaseRequestBuilder):
49
49
 
50
50
  async def get(self,request_configuration: Optional[RequestConfiguration[SiteSourcesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteSourceCollectionResponse]:
51
51
  """
52
- Get a list of the siteSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy.
52
+ Get a list of the siteSource objects associated with an ediscoveryCustodian.
53
53
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
54
54
  Returns: Optional[SiteSourceCollectionResponse]
55
55
  Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-sitesources?view=graph-rest-1.0
@@ -94,7 +94,7 @@ class SiteSourcesRequestBuilder(BaseRequestBuilder):
94
94
 
95
95
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SiteSourcesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
96
96
  """
97
- Get a list of the siteSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy.
97
+ Get a list of the siteSource objects associated with an ediscoveryCustodian.
98
98
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
99
99
  Returns: RequestInformation
100
100
  """
@@ -140,7 +140,7 @@ class SiteSourcesRequestBuilder(BaseRequestBuilder):
140
140
  @dataclass
141
141
  class SiteSourcesRequestBuilderGetQueryParameters():
142
142
  """
143
- Get a list of the siteSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy.
143
+ Get a list of the siteSource objects associated with an ediscoveryCustodian.
144
144
  """
145
145
  def get_query_parameter(self,original_name: str) -> str:
146
146
  """
@@ -33,9 +33,10 @@ class UnifiedGroupSourceItemRequestBuilder(BaseRequestBuilder):
33
33
 
34
34
  async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
35
35
  """
36
- Delete navigation property unifiedGroupSources for security
36
+ Delete a unifiedGroupSource object associated with an ediscoveryCustodian.
37
37
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
38
38
  Returns: None
39
+ Find more info here: https://learn.microsoft.com/graph/api/security-unifiedgroupsource-delete?view=graph-rest-1.0
39
40
  """
40
41
  request_info = self.to_delete_request_information(
41
42
  request_configuration
@@ -94,7 +95,7 @@ class UnifiedGroupSourceItemRequestBuilder(BaseRequestBuilder):
94
95
 
95
96
  def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
96
97
  """
97
- Delete navigation property unifiedGroupSources for security
98
+ Delete a unifiedGroupSource object associated with an ediscoveryCustodian.
98
99
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
99
100
  Returns: RequestInformation
100
101
  """
@@ -32,9 +32,10 @@ class UserSourceItemRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
34
34
  """
35
- Delete navigation property userSources for security
35
+ Delete a userSource object associated with an ediscoveryCustodian.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: None
38
+ Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-delete-usersources?view=graph-rest-1.0
38
39
  """
39
40
  request_info = self.to_delete_request_information(
40
41
  request_configuration
@@ -93,7 +94,7 @@ class UserSourceItemRequestBuilder(BaseRequestBuilder):
93
94
 
94
95
  def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
95
96
  """
96
- Delete navigation property userSources for security
97
+ Delete a userSource object associated with an ediscoveryCustodian.
97
98
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
98
99
  Returns: RequestInformation
99
100
  """
@@ -52,10 +52,10 @@ class SitesRequestBuilder(BaseRequestBuilder):
52
52
 
53
53
  async def get(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteCollectionResponse]:
54
54
  """
55
- List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
55
+ Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results.
56
56
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
57
57
  Returns: Optional[SiteCollectionResponse]
58
- Find more info here: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0
58
+ Find more info here: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0
59
59
  """
60
60
  request_info = self.to_get_request_information(
61
61
  request_configuration
@@ -73,7 +73,7 @@ class SitesRequestBuilder(BaseRequestBuilder):
73
73
 
74
74
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
75
75
  """
76
- List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
76
+ Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results.
77
77
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
78
78
  Returns: RequestInformation
79
79
  """
@@ -140,7 +140,7 @@ class SitesRequestBuilder(BaseRequestBuilder):
140
140
  @dataclass
141
141
  class SitesRequestBuilderGetQueryParameters():
142
142
  """
143
- List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
143
+ Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results.
144
144
  """
145
145
  def get_query_parameter(self,original_name: str) -> str:
146
146
  """
@@ -72,11 +72,11 @@ class ConversationMemberItemRequestBuilder(BaseRequestBuilder):
72
72
 
73
73
  async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]:
74
74
  """
75
- Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
75
+ Update the role of a conversationMember in a team or channel.
76
76
  param body: The request body
77
77
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
78
78
  Returns: Optional[ConversationMember]
79
- Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0
79
+ Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0
80
80
  """
81
81
  if body is None:
82
82
  raise TypeError("body cannot be null.")
@@ -118,7 +118,7 @@ class ConversationMemberItemRequestBuilder(BaseRequestBuilder):
118
118
 
119
119
  def to_patch_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
120
120
  """
121
- Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
121
+ Update the role of a conversationMember in a team or channel.
122
122
  param body: The request body
123
123
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
124
124
  Returns: RequestInformation
@@ -72,11 +72,11 @@ class MembersRequestBuilder(BaseRequestBuilder):
72
72
 
73
73
  async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]:
74
74
  """
75
- Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.
75
+ Add a conversationMember to a channel.
76
76
  param body: The request body
77
77
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
78
78
  Returns: Optional[ConversationMember]
79
- Find more info here: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0
79
+ Find more info here: https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0
80
80
  """
81
81
  if body is None:
82
82
  raise TypeError("body cannot be null.")
@@ -107,7 +107,7 @@ class MembersRequestBuilder(BaseRequestBuilder):
107
107
 
108
108
  def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
109
109
  """
110
- Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.
110
+ Add a conversationMember to a channel.
111
111
  param body: The request body
112
112
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
113
113
  Returns: RequestInformation
@@ -71,11 +71,11 @@ class RepliesRequestBuilder(BaseRequestBuilder):
71
71
 
72
72
  async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]:
73
73
  """
74
- Create a new reply to a chatMessage in a specified channel.
74
+ Send a new reply to a chatMessage in a specified channel.
75
75
  param body: The request body
76
76
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
77
77
  Returns: Optional[ChatMessage]
78
- Find more info here: https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0
78
+ Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0
79
79
  """
80
80
  if body is None:
81
81
  raise TypeError("body cannot be null.")
@@ -106,7 +106,7 @@ class RepliesRequestBuilder(BaseRequestBuilder):
106
106
 
107
107
  def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
108
108
  """
109
- Create a new reply to a chatMessage in a specified channel.
109
+ Send a new reply to a chatMessage in a specified channel.
110
110
  param body: The request body
111
111
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
112
112
  Returns: RequestInformation