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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) 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/chats/item/messages/messages_request_builder.py +3 -3
  4. msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py +3 -3
  5. msgraph/generated/device_app_management/device_app_management_request_builder.py +2 -2
  6. msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
  7. msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +1 -1
  8. msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +4 -4
  9. msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +1 -1
  10. msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +1 -1
  11. msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +4 -4
  12. msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +4 -4
  13. msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py +4 -4
  14. msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +7 -7
  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 +3 -3
  18. msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +3 -3
  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 +4 -4
  23. msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +3 -3
  24. msgraph/generated/device_management/device_management_request_builder.py +2 -2
  25. msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +3 -3
  26. msgraph/generated/groups/item/calendar/calendar_request_builder.py +10 -0
  27. msgraph/generated/groups/item/calendar/calendar_view/item/event_item_request_builder.py +10 -0
  28. msgraph/generated/groups/item/calendar/calendar_view/item/instances/instances_request_builder.py +3 -3
  29. msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py +13 -3
  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/instances_request_builder.py +3 -3
  34. msgraph/generated/groups/item/calendar/events/item/instances/item/event_item_request_builder.py +13 -3
  35. msgraph/generated/groups/item/calendar/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  36. msgraph/generated/groups/item/calendar/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  37. msgraph/generated/groups/item/calendar/permanent_delete/permanent_delete_request_builder.py +79 -0
  38. msgraph/generated/groups/item/calendar_view/item/event_item_request_builder.py +10 -0
  39. msgraph/generated/groups/item/calendar_view/item/instances/instances_request_builder.py +3 -3
  40. msgraph/generated/groups/item/calendar_view/item/instances/item/event_item_request_builder.py +13 -3
  41. msgraph/generated/groups/item/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  42. msgraph/generated/groups/item/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  43. msgraph/generated/groups/item/conversations/conversations_request_builder.py +3 -3
  44. msgraph/generated/groups/item/events/item/event_item_request_builder.py +10 -0
  45. msgraph/generated/groups/item/events/item/instances/instances_request_builder.py +3 -3
  46. msgraph/generated/groups/item/events/item/instances/item/event_item_request_builder.py +13 -3
  47. msgraph/generated/groups/item/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  48. msgraph/generated/groups/item/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  49. msgraph/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py +3 -3
  50. msgraph/generated/identity/b2x_user_flows/item/identity_providers/identity_providers_request_builder.py +4 -4
  51. msgraph/generated/identity/b2x_user_flows/item/identity_providers/item/identity_provider_item_request_builder.py +3 -3
  52. msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +7 -7
  53. msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +7 -7
  54. msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +4 -4
  55. msgraph/generated/identity_providers/available_provider_types/available_provider_types_request_builder.py +3 -3
  56. msgraph/generated/identity_providers/count/count_request_builder.py +3 -3
  57. msgraph/generated/identity_providers/identity_providers_request_builder.py +6 -6
  58. msgraph/generated/identity_providers/item/identity_provider_item_request_builder.py +7 -7
  59. msgraph/generated/kiota-dom-export.txt +481 -8
  60. msgraph/generated/kiota-lock.json +1 -1
  61. msgraph/generated/models/application.py +7 -0
  62. msgraph/generated/models/authentication_behaviors.py +62 -0
  63. msgraph/generated/models/calendar.py +3 -3
  64. msgraph/generated/models/event.py +15 -15
  65. msgraph/generated/models/event_message.py +1 -1
  66. msgraph/generated/models/external_connectors/rule_operation.py +1 -0
  67. msgraph/generated/models/message.py +2 -2
  68. msgraph/generated/models/print_settings.py +1 -1
  69. msgraph/generated/models/security/alert_evidence.py +7 -0
  70. msgraph/generated/models/security/antispam_teams_direction.py +9 -0
  71. msgraph/generated/models/security/mailbox_evidence.py +4 -0
  72. msgraph/generated/models/security/teams_delivery_location.py +9 -0
  73. msgraph/generated/models/security/teams_message_delivery_action.py +10 -0
  74. msgraph/generated/models/security/teams_message_evidence.py +166 -0
  75. msgraph/generated/models/sign_in_activity.py +2 -2
  76. msgraph/generated/models/team.py +4 -0
  77. msgraph/generated/models/workbook_worksheet_protection_options.py +11 -11
  78. msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +3 -3
  79. msgraph/generated/organization/item/organization_item_request_builder.py +7 -7
  80. msgraph/generated/organization/organization_request_builder.py +4 -4
  81. msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
  82. msgraph/generated/privacy/subject_rights_requests/count/count_request_builder.py +3 -3
  83. msgraph/generated/privacy/subject_rights_requests/item/approvers/approvers_request_builder.py +4 -4
  84. msgraph/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py +3 -3
  85. msgraph/generated/privacy/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py +5 -5
  86. msgraph/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py +3 -3
  87. msgraph/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +3 -3
  88. msgraph/generated/privacy/subject_rights_requests/item/approvers/item/user_item_request_builder.py +3 -3
  89. msgraph/generated/privacy/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py +3 -3
  90. msgraph/generated/privacy/subject_rights_requests/item/collaborators/collaborators_request_builder.py +4 -4
  91. msgraph/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py +3 -3
  92. msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py +5 -5
  93. msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py +3 -3
  94. msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +3 -3
  95. msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/user_item_request_builder.py +3 -3
  96. msgraph/generated/privacy/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py +3 -3
  97. msgraph/generated/privacy/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py +3 -3
  98. msgraph/generated/privacy/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py +3 -3
  99. msgraph/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py +3 -3
  100. msgraph/generated/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py +7 -7
  101. msgraph/generated/privacy/subject_rights_requests/item/notes/notes_request_builder.py +6 -6
  102. msgraph/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py +9 -9
  103. msgraph/generated/privacy/subject_rights_requests/item/team/team_request_builder.py +3 -3
  104. msgraph/generated/privacy/subject_rights_requests/subject_rights_requests_request_builder.py +6 -6
  105. msgraph/generated/security/alerts/alerts_request_builder.py +6 -6
  106. msgraph/generated/security/alerts/count/count_request_builder.py +3 -3
  107. msgraph/generated/security/alerts/item/alert_item_request_builder.py +5 -5
  108. msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py +3 -2
  109. msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py +3 -3
  110. msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py +3 -2
  111. msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py +3 -2
  112. msgraph/generated/sites/item/lists/item/list_item_request_builder.py +4 -4
  113. msgraph/generated/sites/sites_request_builder.py +4 -4
  114. msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +3 -3
  115. msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py +3 -3
  116. msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +3 -3
  117. msgraph/generated/users/item/calendar/calendar_request_builder.py +10 -0
  118. msgraph/generated/users/item/calendar/calendar_view/item/event_item_request_builder.py +10 -0
  119. msgraph/generated/users/item/calendar/calendar_view/item/instances/instances_request_builder.py +3 -3
  120. msgraph/generated/users/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py +13 -3
  121. msgraph/generated/users/item/calendar/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  122. msgraph/generated/users/item/calendar/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  123. msgraph/generated/users/item/calendar/events/item/event_item_request_builder.py +10 -0
  124. msgraph/generated/users/item/calendar/events/item/instances/instances_request_builder.py +3 -3
  125. msgraph/generated/users/item/calendar/events/item/instances/item/event_item_request_builder.py +13 -3
  126. msgraph/generated/users/item/calendar/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  127. msgraph/generated/users/item/calendar/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  128. msgraph/generated/users/item/calendar/permanent_delete/permanent_delete_request_builder.py +79 -0
  129. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_item_request_builder.py +10 -0
  130. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/event_item_request_builder.py +10 -0
  131. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.py +3 -3
  132. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py +13 -3
  133. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  134. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  135. msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/event_item_request_builder.py +10 -0
  136. msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.py +3 -3
  137. msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.py +13 -3
  138. msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  139. msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  140. msgraph/generated/users/item/calendar_groups/item/calendars/item/permanent_delete/permanent_delete_request_builder.py +79 -0
  141. msgraph/generated/users/item/calendar_view/item/event_item_request_builder.py +10 -0
  142. msgraph/generated/users/item/calendar_view/item/instances/instances_request_builder.py +3 -3
  143. msgraph/generated/users/item/calendar_view/item/instances/item/event_item_request_builder.py +13 -3
  144. msgraph/generated/users/item/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  145. msgraph/generated/users/item/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  146. msgraph/generated/users/item/calendars/item/calendar_item_request_builder.py +10 -0
  147. msgraph/generated/users/item/calendars/item/calendar_view/item/event_item_request_builder.py +10 -0
  148. msgraph/generated/users/item/calendars/item/calendar_view/item/instances/instances_request_builder.py +3 -3
  149. msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py +13 -3
  150. msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  151. msgraph/generated/users/item/calendars/item/calendar_view/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  152. msgraph/generated/users/item/calendars/item/events/item/event_item_request_builder.py +10 -0
  153. msgraph/generated/users/item/calendars/item/events/item/instances/instances_request_builder.py +3 -3
  154. msgraph/generated/users/item/calendars/item/events/item/instances/item/event_item_request_builder.py +13 -3
  155. msgraph/generated/users/item/calendars/item/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  156. msgraph/generated/users/item/calendars/item/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  157. msgraph/generated/users/item/calendars/item/permanent_delete/permanent_delete_request_builder.py +79 -0
  158. msgraph/generated/users/item/contact_folders/item/child_folders/item/contact_folder_item_request_builder.py +10 -0
  159. msgraph/generated/users/item/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.py +10 -0
  160. msgraph/generated/users/item/contact_folders/item/child_folders/item/contacts/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  161. msgraph/generated/users/item/contact_folders/item/child_folders/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  162. msgraph/generated/users/item/contact_folders/item/contact_folder_item_request_builder.py +10 -0
  163. msgraph/generated/users/item/contact_folders/item/contacts/item/contact_item_request_builder.py +10 -0
  164. msgraph/generated/users/item/contact_folders/item/contacts/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  165. msgraph/generated/users/item/contact_folders/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  166. msgraph/generated/users/item/contacts/item/contact_item_request_builder.py +10 -0
  167. msgraph/generated/users/item/contacts/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  168. msgraph/generated/users/item/events/item/event_item_request_builder.py +10 -0
  169. msgraph/generated/users/item/events/item/instances/instances_request_builder.py +3 -3
  170. msgraph/generated/users/item/events/item/instances/item/event_item_request_builder.py +13 -3
  171. msgraph/generated/users/item/events/item/instances/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  172. msgraph/generated/users/item/events/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  173. msgraph/generated/users/item/mail_folders/item/child_folders/item/mail_folder_item_request_builder.py +10 -0
  174. msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.py +10 -0
  175. msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  176. msgraph/generated/users/item/mail_folders/item/child_folders/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  177. msgraph/generated/users/item/mail_folders/item/mail_folder_item_request_builder.py +10 -0
  178. msgraph/generated/users/item/mail_folders/item/messages/item/message_item_request_builder.py +10 -0
  179. msgraph/generated/users/item/mail_folders/item/messages/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  180. msgraph/generated/users/item/mail_folders/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  181. msgraph/generated/users/item/messages/item/message_item_request_builder.py +10 -0
  182. msgraph/generated/users/item/messages/item/permanent_delete/permanent_delete_request_builder.py +78 -0
  183. msgraph/generated/users/item/user_item_request_builder.py +5 -5
  184. msgraph/generated/users/users_request_builder.py +1 -1
  185. msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +5 -5
  186. {msgraph_sdk-1.21.0.dist-info → msgraph_sdk-1.23.0.dist-info}/METADATA +3 -2
  187. {msgraph_sdk-1.21.0.dist-info → msgraph_sdk-1.23.0.dist-info}/RECORD +189 -146
  188. {msgraph_sdk-1.21.0.dist-info → msgraph_sdk-1.23.0.dist-info}/WHEEL +1 -1
  189. {msgraph_sdk-1.21.0.dist-info → msgraph_sdk-1.23.0.dist-info/licenses}/LICENSE +0 -0
@@ -1,5 +1,5 @@
1
1
  {
2
- "descriptionHash": "A0295D08B00F208AE931735CAD300D20844AF2449982425A068CCC22783FA2BA608259EFD304933574C24EA8AAD04E441D92DFA1903FCD7E8E870965A671F069",
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",
@@ -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
@@ -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
+
@@ -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 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)