msgraph-sdk 1.17.0__py3-none-any.whl → 1.18.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.
- msgraph/_version.py +1 -1
- msgraph/generated/chats/item/messages/messages_request_builder.py +3 -3
- msgraph/generated/device_app_management/device_app_management_request_builder.py +2 -2
- msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +3 -3
- msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +4 -4
- msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +10 -10
- msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +3 -3
- msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +4 -4
- msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +3 -3
- msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +7 -7
- msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +3 -3
- msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +7 -7
- msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +10 -10
- msgraph/generated/device_management/device_management_request_builder.py +2 -2
- msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +3 -3
- msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +4 -4
- msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +3 -3
- msgraph/generated/groups/groups_request_builder.py +3 -3
- msgraph/generated/groups/item/conversations/conversations_request_builder.py +3 -3
- msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +1 -1
- msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +4 -4
- msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +4 -4
- msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +4 -4
- msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +4 -4
- msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +3 -3
- msgraph/generated/kiota-dom-export.txt +126 -0
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/applied_conditional_access_policy.py +1 -1
- msgraph/generated/models/channel.py +1 -1
- msgraph/generated/models/chat.py +4 -0
- msgraph/generated/models/chat_message.py +1 -1
- msgraph/generated/models/chat_message_attachment.py +2 -2
- msgraph/generated/models/chat_message_mention.py +1 -1
- msgraph/generated/models/chat_message_mentioned_identity_set.py +1 -1
- msgraph/generated/models/chat_restrictions.py +54 -0
- msgraph/generated/models/cloud_pc_device_image.py +1 -1
- msgraph/generated/models/cloud_pc_domain_join_configuration.py +1 -1
- msgraph/generated/models/education_assignment.py +2 -2
- msgraph/generated/models/education_assignment_defaults.py +1 -1
- msgraph/generated/models/education_submission.py +1 -1
- msgraph/generated/models/external_connectors/property_.py +1 -1
- msgraph/generated/models/invited_user_message_info.py +1 -1
- msgraph/generated/models/online_meeting.py +4 -0
- msgraph/generated/models/online_meeting_base.py +15 -0
- msgraph/generated/models/payload.py +1 -1
- msgraph/generated/models/planner_plan_container.py +1 -1
- msgraph/generated/models/restore_session_base.py +1 -1
- msgraph/generated/models/risk_detection.py +1 -1
- msgraph/generated/models/risk_service_principal_activity.py +1 -1
- msgraph/generated/models/risky_service_principal.py +1 -1
- msgraph/generated/models/risky_user.py +1 -1
- msgraph/generated/models/search_request.py +1 -1
- msgraph/generated/models/security/alert.py +1 -1
- msgraph/generated/models/security/case_operation.py +1 -1
- msgraph/generated/models/service_principal_risk_detection.py +2 -2
- msgraph/generated/models/sign_in.py +1 -1
- msgraph/generated/models/simulation.py +1 -1
- msgraph/generated/models/subject_rights_request_history.py +1 -1
- msgraph/generated/models/subject_rights_request_stage_detail.py +1 -1
- msgraph/generated/models/virtual_event.py +7 -0
- msgraph/generated/models/virtual_event_external_information.py +58 -0
- msgraph/generated/models/virtual_event_external_registration_information.py +58 -0
- msgraph/generated/models/virtual_event_registration.py +7 -0
- msgraph/generated/models/workforce_integration.py +2 -2
- msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
- msgraph/generated/sites/item/lists/item/list_item_request_builder.py +4 -4
- msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_post_request_body.py +50 -0
- msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_request_builder.py +86 -0
- msgraph/generated/solutions/virtual_events/events/item/virtual_event_item_request_builder.py +10 -0
- 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
- 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
- msgraph/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py +58 -0
- msgraph/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py +141 -0
- msgraph/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py +29 -0
- msgraph/generated/teams/item/channels/item/members/members_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py +3 -3
- msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +3 -3
- msgraph/generated/users/item/user_item_request_builder.py +8 -8
- msgraph/generated/users/users_request_builder.py +4 -4
- msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +8 -8
- {msgraph_sdk-1.17.0.dist-info → msgraph_sdk-1.18.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.17.0.dist-info → msgraph_sdk-1.18.0.dist-info}/RECORD +91 -82
- {msgraph_sdk-1.17.0.dist-info → msgraph_sdk-1.18.0.dist-info}/LICENSE +0 -0
- {msgraph_sdk-1.17.0.dist-info → msgraph_sdk-1.18.0.dist-info}/WHEEL +0 -0
@@ -32,7 +32,7 @@ class RestoreSessionBase(Entity, Parsable):
|
|
32
32
|
last_modified_date_time: Optional[datetime.datetime] = None
|
33
33
|
# The OdataType property
|
34
34
|
odata_type: Optional[str] = None
|
35
|
-
# Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed.
|
35
|
+
# Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed.
|
36
36
|
status: Optional[RestoreSessionStatus] = None
|
37
37
|
|
38
38
|
@staticmethod
|
@@ -41,7 +41,7 @@ class RiskDetection(Entity, Parsable):
|
|
41
41
|
odata_type: Optional[str] = None
|
42
42
|
# Request ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in.
|
43
43
|
request_id: Optional[str] = None
|
44
|
-
# Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection.
|
44
|
+
# Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection.
|
45
45
|
risk_detail: Optional[RiskDetail] = None
|
46
46
|
# The type of risk event detected. The possible values are adminConfirmedUserCompromised, anomalousToken, anomalousUserActivity, anonymizedIPAddress, generic, impossibleTravel, investigationsThreatIntelligence, suspiciousSendingPatterns, leakedCredentials, maliciousIPAddress,malwareInfectedIPAddress, mcasSuspiciousInboxManipulationRules, newCountry, passwordSpray,riskyIPAddress, suspiciousAPITraffic, suspiciousBrowser,suspiciousInboxForwarding, suspiciousIPAddress, tokenIssuerAnomaly, unfamiliarFeatures, unlikelyTravel. If the risk detection is a premium detection, will show generic. For more information about each value, see Risk types and detection.
|
47
47
|
risk_event_type: Optional[str] = None
|
@@ -15,7 +15,7 @@ class RiskServicePrincipalActivity(AdditionalDataHolder, BackedModel, Parsable):
|
|
15
15
|
|
16
16
|
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
17
17
|
additional_data: dict[str, Any] = field(default_factory=dict)
|
18
|
-
# 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.
|
18
|
+
# 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.
|
19
19
|
detail: Optional[RiskDetail] = None
|
20
20
|
# The OdataType property
|
21
21
|
odata_type: Optional[str] = None
|
@@ -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.
|
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.
|
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
|
@@ -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.
|
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.
|
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.
|
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.
|
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.
|
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
|
@@ -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.
|
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.
|
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.
|
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.
|
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
|
@@ -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)
|
@@ -20,13 +20,13 @@ class WorkforceIntegration(ChangeTrackedEntity, Parsable):
|
|
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.
|
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.
|
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. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: 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
|
@@ -72,11 +72,11 @@ class IdentitySynchronizationRequestBuilder(BaseRequestBuilder):
|
|
72
72
|
|
73
73
|
async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]:
|
74
74
|
"""
|
75
|
-
|
75
|
+
Update the user synchronization policy of a partner-specific configuration.
|
76
76
|
param body: The request body
|
77
77
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
78
78
|
Returns: Optional[CrossTenantIdentitySyncPolicyPartner]
|
79
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
79
|
+
Find more info here: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-1.0
|
80
80
|
"""
|
81
81
|
if body is None:
|
82
82
|
raise TypeError("body cannot be null.")
|
@@ -118,7 +118,7 @@ class IdentitySynchronizationRequestBuilder(BaseRequestBuilder):
|
|
118
118
|
|
119
119
|
def to_put_request_information(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
120
120
|
"""
|
121
|
-
|
121
|
+
Update the user synchronization policy of a partner-specific configuration.
|
122
122
|
param body: The request body
|
123
123
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
124
124
|
Returns: RequestInformation
|
@@ -58,10 +58,10 @@ class ListItemRequestBuilder(BaseRequestBuilder):
|
|
58
58
|
|
59
59
|
async def get(self,request_configuration: Optional[RequestConfiguration[ListItemRequestBuilderGetQueryParameters]] = None) -> Optional[List_]:
|
60
60
|
"""
|
61
|
-
|
61
|
+
Get a list of rich long-running operations associated with a list.
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: Optional[List_]
|
64
|
-
Find more info here: https://learn.microsoft.com/graph/api/list-
|
64
|
+
Find more info here: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0
|
65
65
|
"""
|
66
66
|
request_info = self.to_get_request_information(
|
67
67
|
request_configuration
|
@@ -113,7 +113,7 @@ class ListItemRequestBuilder(BaseRequestBuilder):
|
|
113
113
|
|
114
114
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ListItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
115
115
|
"""
|
116
|
-
|
116
|
+
Get a list of rich long-running operations associated with a list.
|
117
117
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
118
118
|
Returns: RequestInformation
|
119
119
|
"""
|
@@ -229,7 +229,7 @@ class ListItemRequestBuilder(BaseRequestBuilder):
|
|
229
229
|
@dataclass
|
230
230
|
class ListItemRequestBuilderGetQueryParameters():
|
231
231
|
"""
|
232
|
-
|
232
|
+
Get a list of rich long-running operations associated with a list.
|
233
233
|
"""
|
234
234
|
def get_query_parameter(self,original_name: str) -> str:
|
235
235
|
"""
|
@@ -0,0 +1,50 @@
|
|
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 SetExternalEventInformationPostRequestBody(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 externalEventId property
|
16
|
+
external_event_id: Optional[str] = None
|
17
|
+
|
18
|
+
@staticmethod
|
19
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> SetExternalEventInformationPostRequestBody:
|
20
|
+
"""
|
21
|
+
Creates a new instance of the appropriate class based on discriminator value
|
22
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
23
|
+
Returns: SetExternalEventInformationPostRequestBody
|
24
|
+
"""
|
25
|
+
if parse_node is None:
|
26
|
+
raise TypeError("parse_node cannot be null.")
|
27
|
+
return SetExternalEventInformationPostRequestBody()
|
28
|
+
|
29
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
30
|
+
"""
|
31
|
+
The deserialization information for the current model
|
32
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
33
|
+
"""
|
34
|
+
fields: dict[str, Callable[[Any], None]] = {
|
35
|
+
"externalEventId": lambda n : setattr(self, 'external_event_id', n.get_str_value()),
|
36
|
+
}
|
37
|
+
return fields
|
38
|
+
|
39
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
40
|
+
"""
|
41
|
+
Serializes information the current object
|
42
|
+
param writer: Serialization writer to use to serialize this model
|
43
|
+
Returns: None
|
44
|
+
"""
|
45
|
+
if writer is None:
|
46
|
+
raise TypeError("writer cannot be null.")
|
47
|
+
writer.write_str_value("externalEventId", self.external_event_id)
|
48
|
+
writer.write_additional_data_value(self.additional_data)
|
49
|
+
|
50
|
+
|
@@ -0,0 +1,86 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
from collections.abc import Callable
|
3
|
+
from dataclasses import dataclass, field
|
4
|
+
from kiota_abstractions.base_request_builder import BaseRequestBuilder
|
5
|
+
from kiota_abstractions.base_request_configuration import RequestConfiguration
|
6
|
+
from kiota_abstractions.default_query_parameters import QueryParameters
|
7
|
+
from kiota_abstractions.get_path_parameters import get_path_parameters
|
8
|
+
from kiota_abstractions.method import Method
|
9
|
+
from kiota_abstractions.request_adapter import RequestAdapter
|
10
|
+
from kiota_abstractions.request_information import RequestInformation
|
11
|
+
from kiota_abstractions.request_option import RequestOption
|
12
|
+
from kiota_abstractions.serialization import Parsable, ParsableFactory
|
13
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
14
|
+
from warnings import warn
|
15
|
+
|
16
|
+
if TYPE_CHECKING:
|
17
|
+
from ......models.o_data_errors.o_data_error import ODataError
|
18
|
+
from .set_external_event_information_post_request_body import SetExternalEventInformationPostRequestBody
|
19
|
+
|
20
|
+
class SetExternalEventInformationRequestBuilder(BaseRequestBuilder):
|
21
|
+
"""
|
22
|
+
Provides operations to call the setExternalEventInformation method.
|
23
|
+
"""
|
24
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
|
25
|
+
"""
|
26
|
+
Instantiates a new SetExternalEventInformationRequestBuilder and sets the default values.
|
27
|
+
param path_parameters: The raw url or the url-template parameters for the request.
|
28
|
+
param request_adapter: The request adapter to use to execute the requests.
|
29
|
+
Returns: None
|
30
|
+
"""
|
31
|
+
super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/setExternalEventInformation", path_parameters)
|
32
|
+
|
33
|
+
async def post(self,body: SetExternalEventInformationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
34
|
+
"""
|
35
|
+
Invoke action setExternalEventInformation
|
36
|
+
param body: The request body
|
37
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
38
|
+
Returns: None
|
39
|
+
"""
|
40
|
+
if body is None:
|
41
|
+
raise TypeError("body cannot be null.")
|
42
|
+
request_info = self.to_post_request_information(
|
43
|
+
body, request_configuration
|
44
|
+
)
|
45
|
+
from ......models.o_data_errors.o_data_error import ODataError
|
46
|
+
|
47
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
48
|
+
"XXX": ODataError,
|
49
|
+
}
|
50
|
+
if not self.request_adapter:
|
51
|
+
raise Exception("Http core is null")
|
52
|
+
return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
|
53
|
+
|
54
|
+
def to_post_request_information(self,body: SetExternalEventInformationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
55
|
+
"""
|
56
|
+
Invoke action setExternalEventInformation
|
57
|
+
param body: The request body
|
58
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
59
|
+
Returns: RequestInformation
|
60
|
+
"""
|
61
|
+
if body is None:
|
62
|
+
raise TypeError("body cannot be null.")
|
63
|
+
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
|
64
|
+
request_info.configure(request_configuration)
|
65
|
+
request_info.headers.try_add("Accept", "application/json")
|
66
|
+
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
|
67
|
+
return request_info
|
68
|
+
|
69
|
+
def with_url(self,raw_url: str) -> SetExternalEventInformationRequestBuilder:
|
70
|
+
"""
|
71
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
72
|
+
param raw_url: The raw URL to use for the request builder.
|
73
|
+
Returns: SetExternalEventInformationRequestBuilder
|
74
|
+
"""
|
75
|
+
if raw_url is None:
|
76
|
+
raise TypeError("raw_url cannot be null.")
|
77
|
+
return SetExternalEventInformationRequestBuilder(self.request_adapter, raw_url)
|
78
|
+
|
79
|
+
@dataclass
|
80
|
+
class SetExternalEventInformationRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
|
81
|
+
"""
|
82
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
83
|
+
"""
|
84
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
85
|
+
|
86
|
+
|
msgraph/generated/solutions/virtual_events/events/item/virtual_event_item_request_builder.py
CHANGED
@@ -20,6 +20,7 @@ if TYPE_CHECKING:
|
|
20
20
|
from .presenters.presenters_request_builder import PresentersRequestBuilder
|
21
21
|
from .publish.publish_request_builder import PublishRequestBuilder
|
22
22
|
from .sessions.sessions_request_builder import SessionsRequestBuilder
|
23
|
+
from .set_external_event_information.set_external_event_information_request_builder import SetExternalEventInformationRequestBuilder
|
23
24
|
|
24
25
|
class VirtualEventItemRequestBuilder(BaseRequestBuilder):
|
25
26
|
"""
|
@@ -178,6 +179,15 @@ class VirtualEventItemRequestBuilder(BaseRequestBuilder):
|
|
178
179
|
|
179
180
|
return SessionsRequestBuilder(self.request_adapter, self.path_parameters)
|
180
181
|
|
182
|
+
@property
|
183
|
+
def set_external_event_information(self) -> SetExternalEventInformationRequestBuilder:
|
184
|
+
"""
|
185
|
+
Provides operations to call the setExternalEventInformation method.
|
186
|
+
"""
|
187
|
+
from .set_external_event_information.set_external_event_information_request_builder import SetExternalEventInformationRequestBuilder
|
188
|
+
|
189
|
+
return SetExternalEventInformationRequestBuilder(self.request_adapter, self.path_parameters)
|
190
|
+
|
181
191
|
@dataclass
|
182
192
|
class VirtualEventItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]):
|
183
193
|
"""
|