msgraph-sdk 1.17.0__py3-none-any.whl → 1.19.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 (160) hide show
  1. msgraph/_version.py +1 -1
  2. msgraph/generated/app_role_assignments/app_role_assignments_request_builder.py +248 -0
  3. msgraph/generated/app_role_assignments/count/count_request_builder.py +104 -0
  4. msgraph/generated/app_role_assignments/delta/delta_get_response.py +58 -0
  5. msgraph/generated/app_role_assignments/delta/delta_request_builder.py +138 -0
  6. msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_request_body.py +50 -0
  7. msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_response.py +58 -0
  8. msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_request_builder.py +90 -0
  9. msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_post_request_body.py +54 -0
  10. msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_post_response.py +58 -0
  11. msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_request_builder.py +90 -0
  12. msgraph/generated/app_role_assignments/item/app_role_assignment_item_request_builder.py +238 -0
  13. msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_post_request_body.py +50 -0
  14. msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_post_response.py +55 -0
  15. msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_request_builder.py +90 -0
  16. msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_post_request_body.py +50 -0
  17. msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_post_response.py +55 -0
  18. msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_request_builder.py +89 -0
  19. msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_post_request_body.py +50 -0
  20. msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_post_response.py +55 -0
  21. msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_request_builder.py +90 -0
  22. msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_post_request_body.py +50 -0
  23. msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_post_response.py +55 -0
  24. msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_request_builder.py +90 -0
  25. msgraph/generated/app_role_assignments/item/restore/restore_request_builder.py +82 -0
  26. msgraph/generated/app_role_assignments/validate_properties/validate_properties_post_request_body.py +63 -0
  27. msgraph/generated/app_role_assignments/validate_properties/validate_properties_request_builder.py +87 -0
  28. msgraph/generated/applications/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  29. msgraph/generated/applications/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  30. msgraph/generated/base_graph_service_client.py +10 -0
  31. msgraph/generated/contacts/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  32. msgraph/generated/contacts/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  33. msgraph/generated/contracts/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  34. msgraph/generated/contracts/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  35. msgraph/generated/device_app_management/device_app_management_request_builder.py +2 -2
  36. msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
  37. msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +4 -4
  38. msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +4 -4
  39. msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +4 -4
  40. msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py +4 -4
  41. msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +7 -7
  42. msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +10 -10
  43. msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +7 -7
  44. msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +10 -10
  45. msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +7 -7
  46. msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +10 -10
  47. msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +10 -10
  48. msgraph/generated/device_management/device_management_request_builder.py +2 -2
  49. msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +4 -4
  50. msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +3 -3
  51. msgraph/generated/devices/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  52. msgraph/generated/devices/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  53. msgraph/generated/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  54. msgraph/generated/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  55. msgraph/generated/directory_objects/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  56. msgraph/generated/directory_objects/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  57. msgraph/generated/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  58. msgraph/generated/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  59. msgraph/generated/directory_roles/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  60. msgraph/generated/directory_roles/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  61. msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +3 -3
  62. msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py +3 -3
  63. msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +3 -3
  64. msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py +3 -3
  65. msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +3 -3
  66. msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +3 -3
  67. msgraph/generated/group_setting_templates/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  68. msgraph/generated/group_setting_templates/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  69. msgraph/generated/groups/groups_request_builder.py +3 -3
  70. msgraph/generated/groups/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  71. msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +4 -4
  72. msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +3 -3
  73. msgraph/generated/groups/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  74. msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +3 -3
  75. msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +10 -10
  76. msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +4 -4
  77. msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +4 -4
  78. msgraph/generated/kiota-dom-export.txt +421 -0
  79. msgraph/generated/kiota-lock.json +1 -1
  80. msgraph/generated/models/applied_conditional_access_policy.py +1 -1
  81. msgraph/generated/models/certification.py +1 -1
  82. msgraph/generated/models/channel.py +1 -1
  83. msgraph/generated/models/chat.py +4 -0
  84. msgraph/generated/models/chat_message.py +1 -1
  85. msgraph/generated/models/chat_message_attachment.py +2 -2
  86. msgraph/generated/models/chat_message_mention.py +1 -1
  87. msgraph/generated/models/chat_message_mentioned_identity_set.py +1 -1
  88. msgraph/generated/models/chat_restrictions.py +54 -0
  89. msgraph/generated/models/cloud_pc_device_image.py +1 -1
  90. msgraph/generated/models/cloud_pc_domain_join_configuration.py +1 -1
  91. msgraph/generated/models/cloud_pc_provisioning_policy.py +7 -0
  92. msgraph/generated/models/cloud_pc_provisioning_policy_autopatch.py +54 -0
  93. msgraph/generated/models/device_configuration_device_status.py +3 -0
  94. msgraph/generated/models/device_configuration_state.py +1 -1
  95. msgraph/generated/models/device_enrollment_platform_restrictions_configuration.py +1 -1
  96. msgraph/generated/models/device_enrollment_type.py +5 -5
  97. msgraph/generated/models/device_management.py +0 -3
  98. msgraph/generated/models/education_assignment.py +2 -2
  99. msgraph/generated/models/education_assignment_defaults.py +1 -1
  100. msgraph/generated/models/education_submission.py +1 -1
  101. msgraph/generated/models/external_connectors/property_.py +1 -1
  102. msgraph/generated/models/invited_user_message_info.py +1 -1
  103. msgraph/generated/models/managed_device_owner_type.py +5 -3
  104. msgraph/generated/models/online_meeting.py +4 -0
  105. msgraph/generated/models/online_meeting_base.py +15 -0
  106. msgraph/generated/models/payload.py +1 -1
  107. msgraph/generated/models/planner_plan_container.py +1 -1
  108. msgraph/generated/models/restore_session_base.py +1 -1
  109. msgraph/generated/models/risk_detection.py +1 -1
  110. msgraph/generated/models/risk_service_principal_activity.py +1 -1
  111. msgraph/generated/models/risky_service_principal.py +1 -1
  112. msgraph/generated/models/risky_user.py +1 -1
  113. msgraph/generated/models/schedule.py +1 -1
  114. msgraph/generated/models/search_request.py +1 -1
  115. msgraph/generated/models/security/alert.py +1 -1
  116. msgraph/generated/models/security/case_operation.py +1 -1
  117. msgraph/generated/models/service_principal_risk_detection.py +2 -2
  118. msgraph/generated/models/shift.py +1 -1
  119. msgraph/generated/models/sign_in.py +1 -1
  120. msgraph/generated/models/simulation.py +1 -1
  121. msgraph/generated/models/subject_rights_request_history.py +1 -1
  122. msgraph/generated/models/subject_rights_request_stage_detail.py +1 -1
  123. msgraph/generated/models/user.py +1 -1
  124. msgraph/generated/models/user_teamwork.py +1 -1
  125. msgraph/generated/models/virtual_event.py +7 -0
  126. msgraph/generated/models/virtual_event_external_information.py +58 -0
  127. msgraph/generated/models/virtual_event_external_registration_information.py +58 -0
  128. msgraph/generated/models/virtual_event_registration.py +7 -0
  129. msgraph/generated/models/workforce_integration.py +3 -3
  130. msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +3 -3
  131. msgraph/generated/organization/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  132. msgraph/generated/organization/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  133. msgraph/generated/organization/item/organization_item_request_builder.py +3 -3
  134. msgraph/generated/organization/organization_request_builder.py +4 -4
  135. msgraph/generated/permission_grants/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  136. msgraph/generated/permission_grants/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  137. msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
  138. msgraph/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/child_tags_request_builder.py +4 -3
  139. msgraph/generated/service_principals/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  140. msgraph/generated/service_principals/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  141. msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_post_request_body.py +50 -0
  142. msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_request_builder.py +86 -0
  143. msgraph/generated/solutions/virtual_events/events/item/virtual_event_item_request_builder.py +10 -0
  144. msgraph/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_get_response.py +58 -0
  145. msgraph/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py +143 -0
  146. msgraph/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py +58 -0
  147. msgraph/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py +141 -0
  148. msgraph/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py +29 -0
  149. msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +3 -3
  150. msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py +3 -3
  151. msgraph/generated/teamwork/workforce_integrations/workforce_integrations_request_builder.py +2 -2
  152. msgraph/generated/users/item/check_member_groups/check_member_groups_request_builder.py +2 -2
  153. msgraph/generated/users/item/get_member_objects/get_member_objects_request_builder.py +2 -2
  154. msgraph/generated/users/item/presence/presence_request_builder.py +4 -4
  155. msgraph/generated/users/item/user_item_request_builder.py +2 -2
  156. msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +2 -2
  157. {msgraph_sdk-1.17.0.dist-info → msgraph_sdk-1.19.0.dist-info}/METADATA +1 -1
  158. {msgraph_sdk-1.17.0.dist-info → msgraph_sdk-1.19.0.dist-info}/RECORD +160 -124
  159. {msgraph_sdk-1.17.0.dist-info → msgraph_sdk-1.19.0.dist-info}/LICENSE +0 -0
  160. {msgraph_sdk-1.17.0.dist-info → msgraph_sdk-1.19.0.dist-info}/WHEEL +0 -0
@@ -28,7 +28,7 @@ class RiskyServicePrincipal(Entity, Parsable):
28
28
  is_processing: Optional[bool] = None
29
29
  # The OdataType property
30
30
  odata_type: Optional[str] = None
31
- # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal.
31
+ # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal.
32
32
  risk_detail: Optional[RiskDetail] = None
33
33
  # The date and time that the risk state was last updated. 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, 2021 is 2021-01-01T00:00:00Z. Supports $filter (eq).
34
34
  risk_last_updated_date_time: Optional[datetime.datetime] = None
@@ -24,7 +24,7 @@ class RiskyUser(Entity, Parsable):
24
24
  is_processing: Optional[bool] = None
25
25
  # The OdataType property
26
26
  odata_type: Optional[str] = None
27
- # The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. You must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.
27
+ # The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.
28
28
  risk_detail: Optional[RiskDetail] = None
29
29
  # The date and time that the risky user was last updated. 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.
30
30
  risk_last_updated_date_time: Optional[datetime.datetime] = None
@@ -59,7 +59,7 @@ class Schedule(Entity, Parsable):
59
59
  time_zone: Optional[str] = None
60
60
  # The instances of times off in the schedule.
61
61
  times_off: Optional[list[TimeOff]] = None
62
- # The workforceIntegrationIds property
62
+ # The IDs for the workforce integrations associated with this schedule.
63
63
  workforce_integration_ids: Optional[list[str]] = None
64
64
 
65
65
  @staticmethod
@@ -32,7 +32,7 @@ class SearchRequest(AdditionalDataHolder, BackedModel, Parsable):
32
32
  content_sources: Optional[list[str]] = None
33
33
  # This triggers hybrid sort for messages : the first 3 messages are the most relevant. This property is only applicable to entityType=message. Optional.
34
34
  enable_top_results: Optional[bool] = None
35
- # One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required.
35
+ # One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required.
36
36
  entity_types: Optional[list[EntityType]] = None
37
37
  # Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default; otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from the content that Microsoft Graph connectors bring in. The fields property can use the semantic labels applied to properties. For example, if a property is labeled as title, you can retrieve it using the following syntax: label_title. Optional.
38
38
  fields: Optional[list[str]] = None
@@ -41,7 +41,7 @@ class Alert(Entity, Parsable):
41
41
  created_date_time: Optional[datetime.datetime] = None
42
42
  # String value describing each alert.
43
43
  description: Optional[str] = None
44
- # Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl.
44
+ # Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl.
45
45
  detection_source: Optional[DetectionSource] = None
46
46
  # The ID of the detector that triggered the alert.
47
47
  detector_id: Optional[str] = None
@@ -24,7 +24,7 @@ from ..entity import Entity
24
24
 
25
25
  @dataclass
26
26
  class CaseOperation(Entity, Parsable):
27
- # The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult.
27
+ # The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult.
28
28
  action: Optional[CaseAction] = None
29
29
  # The date and time the operation was completed.
30
30
  completed_date_time: Optional[datetime.datetime] = None
@@ -19,7 +19,7 @@ from .entity import Entity
19
19
 
20
20
  @dataclass
21
21
  class ServicePrincipalRiskDetection(Entity, Parsable):
22
- # Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal.
22
+ # Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal.
23
23
  activity: Optional[ActivityType] = None
24
24
  # Date and time when the risky activity occurred. 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
25
25
  activity_date_time: Optional[datetime.datetime] = None
@@ -45,7 +45,7 @@ class ServicePrincipalRiskDetection(Entity, Parsable):
45
45
  odata_type: Optional[str] = None
46
46
  # Request identifier of the sign-in activity associated with the risk detection. This property is null if the risk detection is not associated with a sign-in activity. Supports $filter (eq).
47
47
  request_id: Optional[str] = None
48
- # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal.
48
+ # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal.
49
49
  risk_detail: Optional[RiskDetail] = None
50
50
  # The type of risk event detected. The possible values are: investigationsThreatIntelligence, generic, adminConfirmedServicePrincipalCompromised, suspiciousSignins, leakedCredentials, anomalousServicePrincipalActivity, maliciousApplication, suspiciousApplication.
51
51
  risk_event_type: Optional[str] = None
@@ -14,7 +14,7 @@ from .change_tracked_entity import ChangeTrackedEntity
14
14
  class Shift(ChangeTrackedEntity, Parsable):
15
15
  # The OdataType property
16
16
  odata_type: Optional[str] = "#microsoft.graph.shift"
17
- # Draft changes in the shift. Draft changes are only visible to managers. The changes are visible to employees when they are shared, which copies the changes from the draftShift to the sharedShift property.
17
+ # Draft changes in the shift. Draft changes are only visible to managers. The changes are visible to employees when they're shared, which copies the changes from the draftShift to the sharedShift property.
18
18
  draft_shift: Optional[ShiftItem] = None
19
19
  # The shift is marked for deletion, a process that is finalized when the schedule is shared.
20
20
  is_staged_for_deletion: Optional[bool] = None
@@ -49,7 +49,7 @@ class SignIn(Entity, Parsable):
49
49
  resource_display_name: Optional[str] = None
50
50
  # ID of the resource that the user signed into. Supports $filter (eq).
51
51
  resource_id: Optional[str] = None
52
- # The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. You must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden.
52
+ # The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden.
53
53
  risk_detail: Optional[RiskDetail] = None
54
54
  # The riskEventTypes property
55
55
  risk_event_types: Optional[list[RiskEventType]] = None
@@ -25,7 +25,7 @@ from .entity import Entity
25
25
 
26
26
  @dataclass
27
27
  class Simulation(Entity, Parsable):
28
- # The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations.
28
+ # The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations.
29
29
  attack_technique: Optional[SimulationAttackTechnique] = None
30
30
  # Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue.
31
31
  attack_type: Optional[SimulationAttackType] = None
@@ -24,7 +24,7 @@ class SubjectRightsRequestHistory(AdditionalDataHolder, BackedModel, Parsable):
24
24
  event_date_time: Optional[datetime.datetime] = None
25
25
  # The OdataType property
26
26
  odata_type: Optional[str] = None
27
- # The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval.
27
+ # The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval.
28
28
  stage: Optional[SubjectRightsRequestStage] = None
29
29
  # The status of the stage when the entity was changed. Possible values are: notStarted, current, completed, failed, unknownFutureValue.
30
30
  stage_status: Optional[SubjectRightsRequestStageStatus] = None
@@ -21,7 +21,7 @@ class SubjectRightsRequestStageDetail(AdditionalDataHolder, BackedModel, Parsabl
21
21
  error: Optional[PublicError] = None
22
22
  # The OdataType property
23
23
  odata_type: Optional[str] = None
24
- # The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval.
24
+ # The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval.
25
25
  stage: Optional[SubjectRightsRequestStage] = None
26
26
  # Status of the current stage. Possible values are: notStarted, current, completed, failed, unknownFutureValue.
27
27
  status: Optional[SubjectRightsRequestStageStatus] = None
@@ -244,7 +244,7 @@ class User(DirectoryObject, Parsable):
244
244
  onenote: Optional[Onenote] = None
245
245
  # Information about a meeting, including the URL used to join a meeting, the attendees list, and the description.
246
246
  online_meetings: Optional[list[OnlineMeeting]] = None
247
- # A list of other email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. NOTE: This property can't contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0).
247
+ # A list of other email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. Can store up to 250 values, each with a limit of 250 characters. NOTE: This property can't contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0).
248
248
  other_mails: Optional[list[str]] = None
249
249
  # The outlook property
250
250
  outlook: Optional[OutlookUser] = None
@@ -17,7 +17,7 @@ class UserTeamwork(Entity, Parsable):
17
17
  associated_teams: Optional[list[AssociatedTeamInfo]] = None
18
18
  # The apps installed in the personal scope of this user.
19
19
  installed_apps: Optional[list[UserScopeTeamsAppInstallation]] = None
20
- # Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A users locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2.
20
+ # Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user's locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2.
21
21
  locale: Optional[str] = None
22
22
  # The OdataType property
23
23
  odata_type: Optional[str] = None
@@ -9,6 +9,7 @@ if TYPE_CHECKING:
9
9
  from .date_time_time_zone import DateTimeTimeZone
10
10
  from .entity import Entity
11
11
  from .item_body import ItemBody
12
+ from .virtual_event_external_information import VirtualEventExternalInformation
12
13
  from .virtual_event_presenter import VirtualEventPresenter
13
14
  from .virtual_event_session import VirtualEventSession
14
15
  from .virtual_event_settings import VirtualEventSettings
@@ -28,6 +29,8 @@ class VirtualEvent(Entity, Parsable):
28
29
  display_name: Optional[str] = None
29
30
  # The end time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone.
30
31
  end_date_time: Optional[DateTimeTimeZone] = None
32
+ # The external information of a virtual event. Returned only for event organizers or coorganizers; otherwise, null.
33
+ external_event_information: Optional[list[VirtualEventExternalInformation]] = None
31
34
  # The OdataType property
32
35
  odata_type: Optional[str] = None
33
36
  # The virtual event presenters.
@@ -74,6 +77,7 @@ class VirtualEvent(Entity, Parsable):
74
77
  from .date_time_time_zone import DateTimeTimeZone
75
78
  from .entity import Entity
76
79
  from .item_body import ItemBody
80
+ from .virtual_event_external_information import VirtualEventExternalInformation
77
81
  from .virtual_event_presenter import VirtualEventPresenter
78
82
  from .virtual_event_session import VirtualEventSession
79
83
  from .virtual_event_settings import VirtualEventSettings
@@ -85,6 +89,7 @@ class VirtualEvent(Entity, Parsable):
85
89
  from .date_time_time_zone import DateTimeTimeZone
86
90
  from .entity import Entity
87
91
  from .item_body import ItemBody
92
+ from .virtual_event_external_information import VirtualEventExternalInformation
88
93
  from .virtual_event_presenter import VirtualEventPresenter
89
94
  from .virtual_event_session import VirtualEventSession
90
95
  from .virtual_event_settings import VirtualEventSettings
@@ -97,6 +102,7 @@ class VirtualEvent(Entity, Parsable):
97
102
  "description": lambda n : setattr(self, 'description', n.get_object_value(ItemBody)),
98
103
  "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()),
99
104
  "endDateTime": lambda n : setattr(self, 'end_date_time', n.get_object_value(DateTimeTimeZone)),
105
+ "externalEventInformation": lambda n : setattr(self, 'external_event_information', n.get_collection_of_object_values(VirtualEventExternalInformation)),
100
106
  "presenters": lambda n : setattr(self, 'presenters', n.get_collection_of_object_values(VirtualEventPresenter)),
101
107
  "sessions": lambda n : setattr(self, 'sessions', n.get_collection_of_object_values(VirtualEventSession)),
102
108
  "settings": lambda n : setattr(self, 'settings', n.get_object_value(VirtualEventSettings)),
@@ -120,6 +126,7 @@ class VirtualEvent(Entity, Parsable):
120
126
  writer.write_object_value("description", self.description)
121
127
  writer.write_str_value("displayName", self.display_name)
122
128
  writer.write_object_value("endDateTime", self.end_date_time)
129
+ writer.write_collection_of_object_values("externalEventInformation", self.external_event_information)
123
130
  writer.write_collection_of_object_values("presenters", self.presenters)
124
131
  writer.write_collection_of_object_values("sessions", self.sessions)
125
132
  writer.write_object_value("settings", self.settings)
@@ -0,0 +1,58 @@
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 VirtualEventExternalInformation(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
+ # Identifier of the application that hosts the externalEventId. Read-only.
16
+ application_id: Optional[str] = None
17
+ # The identifier for a virtualEventExternalInformation object that associates the virtual event with an event ID in an external application. This association bundles all the information (both supported and not supported in virtualEvent) into one virtual event object. Optional. If set, the maximum supported length is 256 characters.
18
+ external_event_id: Optional[str] = None
19
+ # The OdataType property
20
+ odata_type: Optional[str] = None
21
+
22
+ @staticmethod
23
+ def create_from_discriminator_value(parse_node: ParseNode) -> VirtualEventExternalInformation:
24
+ """
25
+ Creates a new instance of the appropriate class based on discriminator value
26
+ param parse_node: The parse node to use to read the discriminator value and create the object
27
+ Returns: VirtualEventExternalInformation
28
+ """
29
+ if parse_node is None:
30
+ raise TypeError("parse_node cannot be null.")
31
+ return VirtualEventExternalInformation()
32
+
33
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
34
+ """
35
+ The deserialization information for the current model
36
+ Returns: dict[str, Callable[[ParseNode], None]]
37
+ """
38
+ fields: dict[str, Callable[[Any], None]] = {
39
+ "applicationId": lambda n : setattr(self, 'application_id', n.get_str_value()),
40
+ "externalEventId": lambda n : setattr(self, 'external_event_id', n.get_str_value()),
41
+ "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
42
+ }
43
+ return fields
44
+
45
+ def serialize(self,writer: SerializationWriter) -> None:
46
+ """
47
+ Serializes information the current object
48
+ param writer: Serialization writer to use to serialize this model
49
+ Returns: None
50
+ """
51
+ if writer is None:
52
+ raise TypeError("writer cannot be null.")
53
+ writer.write_str_value("applicationId", self.application_id)
54
+ writer.write_str_value("externalEventId", self.external_event_id)
55
+ writer.write_str_value("@odata.type", self.odata_type)
56
+ writer.write_additional_data_value(self.additional_data)
57
+
58
+
@@ -0,0 +1,58 @@
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 VirtualEventExternalRegistrationInformation(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 OdataType property
16
+ odata_type: Optional[str] = None
17
+ # A URL or string that represents the location from which the registrant registered. Optional.
18
+ referrer: Optional[str] = None
19
+ # The identifier for a virtualEventExternalRegistrationInformation object. Optional. If set, the maximum supported length is 256 characters.
20
+ registration_id: Optional[str] = None
21
+
22
+ @staticmethod
23
+ def create_from_discriminator_value(parse_node: ParseNode) -> VirtualEventExternalRegistrationInformation:
24
+ """
25
+ Creates a new instance of the appropriate class based on discriminator value
26
+ param parse_node: The parse node to use to read the discriminator value and create the object
27
+ Returns: VirtualEventExternalRegistrationInformation
28
+ """
29
+ if parse_node is None:
30
+ raise TypeError("parse_node cannot be null.")
31
+ return VirtualEventExternalRegistrationInformation()
32
+
33
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
34
+ """
35
+ The deserialization information for the current model
36
+ Returns: dict[str, Callable[[ParseNode], None]]
37
+ """
38
+ fields: dict[str, Callable[[Any], None]] = {
39
+ "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
40
+ "referrer": lambda n : setattr(self, 'referrer', n.get_str_value()),
41
+ "registrationId": lambda n : setattr(self, 'registration_id', n.get_str_value()),
42
+ }
43
+ return fields
44
+
45
+ def serialize(self,writer: SerializationWriter) -> None:
46
+ """
47
+ Serializes information the current object
48
+ param writer: Serialization writer to use to serialize this model
49
+ Returns: None
50
+ """
51
+ if writer is None:
52
+ raise TypeError("writer cannot be null.")
53
+ writer.write_str_value("@odata.type", self.odata_type)
54
+ writer.write_str_value("referrer", self.referrer)
55
+ writer.write_str_value("registrationId", self.registration_id)
56
+ writer.write_additional_data_value(self.additional_data)
57
+
58
+
@@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union
8
8
  if TYPE_CHECKING:
9
9
  from .entity import Entity
10
10
  from .virtual_event_attendee_registration_status import VirtualEventAttendeeRegistrationStatus
11
+ from .virtual_event_external_registration_information import VirtualEventExternalRegistrationInformation
11
12
  from .virtual_event_registration_question_answer import VirtualEventRegistrationQuestionAnswer
12
13
  from .virtual_event_session import VirtualEventSession
13
14
 
@@ -19,6 +20,8 @@ class VirtualEventRegistration(Entity, Parsable):
19
20
  cancelation_date_time: Optional[datetime.datetime] = None
20
21
  # Email address of the registrant.
21
22
  email: Optional[str] = None
23
+ # The external information for a virtual event registration.
24
+ external_registration_information: Optional[VirtualEventExternalRegistrationInformation] = None
22
25
  # First name of the registrant.
23
26
  first_name: Optional[str] = None
24
27
  # Last name of the registrant.
@@ -58,17 +61,20 @@ class VirtualEventRegistration(Entity, Parsable):
58
61
  """
59
62
  from .entity import Entity
60
63
  from .virtual_event_attendee_registration_status import VirtualEventAttendeeRegistrationStatus
64
+ from .virtual_event_external_registration_information import VirtualEventExternalRegistrationInformation
61
65
  from .virtual_event_registration_question_answer import VirtualEventRegistrationQuestionAnswer
62
66
  from .virtual_event_session import VirtualEventSession
63
67
 
64
68
  from .entity import Entity
65
69
  from .virtual_event_attendee_registration_status import VirtualEventAttendeeRegistrationStatus
70
+ from .virtual_event_external_registration_information import VirtualEventExternalRegistrationInformation
66
71
  from .virtual_event_registration_question_answer import VirtualEventRegistrationQuestionAnswer
67
72
  from .virtual_event_session import VirtualEventSession
68
73
 
69
74
  fields: dict[str, Callable[[Any], None]] = {
70
75
  "cancelationDateTime": lambda n : setattr(self, 'cancelation_date_time', n.get_datetime_value()),
71
76
  "email": lambda n : setattr(self, 'email', n.get_str_value()),
77
+ "externalRegistrationInformation": lambda n : setattr(self, 'external_registration_information', n.get_object_value(VirtualEventExternalRegistrationInformation)),
72
78
  "firstName": lambda n : setattr(self, 'first_name', n.get_str_value()),
73
79
  "lastName": lambda n : setattr(self, 'last_name', n.get_str_value()),
74
80
  "preferredLanguage": lambda n : setattr(self, 'preferred_language', n.get_str_value()),
@@ -94,6 +100,7 @@ class VirtualEventRegistration(Entity, Parsable):
94
100
  super().serialize(writer)
95
101
  writer.write_datetime_value("cancelationDateTime", self.cancelation_date_time)
96
102
  writer.write_str_value("email", self.email)
103
+ writer.write_object_value("externalRegistrationInformation", self.external_registration_information)
97
104
  writer.write_str_value("firstName", self.first_name)
98
105
  writer.write_str_value("lastName", self.last_name)
99
106
  writer.write_str_value("preferredLanguage", self.preferred_language)
@@ -16,17 +16,17 @@ from .change_tracked_entity import ChangeTrackedEntity
16
16
  class WorkforceIntegration(ChangeTrackedEntity, Parsable):
17
17
  # The OdataType property
18
18
  odata_type: Optional[str] = "#microsoft.graph.workforceIntegration"
19
- # API version for the call back URL. Start with 1.
19
+ # API version for the callback URL. Start with 1.
20
20
  api_version: Optional[int] = None
21
21
  # Name of the workforce integration.
22
22
  display_name: Optional[str] = None
23
- # Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason.
23
+ # Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason.
24
24
  eligibility_filtering_enabled_entities: Optional[EligibilityFilteringEnabledEntities] = None
25
25
  # The workforce integration encryption resource.
26
26
  encryption: Optional[WorkforceIntegrationEncryption] = None
27
27
  # Indicates whether this workforce integration is currently active and available.
28
28
  is_active: Optional[bool] = None
29
- # The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeOffReason, timeOff, timeOffRequest. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeOffReason, timeOff, timeOffRequest.
29
+ # The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard , timeOffReason , timeOff , timeOffRequest.
30
30
  supported_entities: Optional[WorkforceIntegrationSupportedEntities] = None
31
31
  # Workforce Integration URL for callbacks from the Shifts service.
32
32
  url: Optional[str] = None
@@ -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
- 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.
52
+ Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.
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/organizationalbranding-get?view=graph-rest-1.0
55
+ Find more info here: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-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
- 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.
107
+ Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.
108
108
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
109
109
  Returns: RequestInformation
110
110
  """
@@ -33,7 +33,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
33
33
 
34
34
  async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]:
35
35
  """
36
- Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
36
+ Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
37
37
  param body: The request body
38
38
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
39
39
  Returns: Optional[CheckMemberGroupsPostResponse]
@@ -57,7 +57,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
57
57
 
58
58
  def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
59
59
  """
60
- Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
60
+ Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
61
61
  param body: The request body
62
62
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
63
63
  Returns: RequestInformation
@@ -33,7 +33,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
33
33
 
34
34
  async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]:
35
35
  """
36
- Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles.
36
+ Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
37
37
  param body: The request body
38
38
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
39
39
  Returns: Optional[GetMemberObjectsPostResponse]
@@ -57,7 +57,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
57
57
 
58
58
  def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
59
59
  """
60
- Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles.
60
+ Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
61
61
  param body: The request body
62
62
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
63
63
  Returns: RequestInformation
@@ -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.")
@@ -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
@@ -53,10 +53,10 @@ class OrganizationRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> Optional[OrganizationCollectionResponse]:
55
55
  """
56
- Retrieve a list of organization objects. There's only one organization object in the collection.
56
+ List properties and relationships of the organization objects.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: Optional[OrganizationCollectionResponse]
59
- Find more info here: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0
59
+ Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0
60
60
  """
61
61
  request_info = self.to_get_request_information(
62
62
  request_configuration
@@ -97,7 +97,7 @@ class OrganizationRequestBuilder(BaseRequestBuilder):
97
97
 
98
98
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
99
99
  """
100
- Retrieve a list of organization objects. There's only one organization object in the collection.
100
+ List properties and relationships of the organization objects.
101
101
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
102
102
  Returns: RequestInformation
103
103
  """
@@ -179,7 +179,7 @@ class OrganizationRequestBuilder(BaseRequestBuilder):
179
179
  @dataclass
180
180
  class OrganizationRequestBuilderGetQueryParameters():
181
181
  """
182
- Retrieve a list of organization objects. There's only one organization object in the collection.
182
+ List properties and relationships of the organization objects.
183
183
  """
184
184
  def get_query_parameter(self,original_name: str) -> str:
185
185
  """
@@ -33,7 +33,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
33
33
 
34
34
  async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]:
35
35
  """
36
- Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
36
+ Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
37
37
  param body: The request body
38
38
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
39
39
  Returns: Optional[CheckMemberGroupsPostResponse]
@@ -57,7 +57,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
57
57
 
58
58
  def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
59
59
  """
60
- Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
60
+ Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
61
61
  param body: The request body
62
62
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
63
63
  Returns: RequestInformation
@@ -33,7 +33,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
33
33
 
34
34
  async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]:
35
35
  """
36
- Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles.
36
+ Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
37
37
  param body: The request body
38
38
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
39
39
  Returns: Optional[GetMemberObjectsPostResponse]
@@ -57,7 +57,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
57
57
 
58
58
  def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
59
59
  """
60
- Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles.
60
+ Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
61
61
  param body: The request body
62
62
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
63
63
  Returns: RequestInformation