msgraph-sdk 1.40.0__py3-none-any.whl → 1.45.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/members/item/conversation_member_item_request_builder.py +4 -4
- msgraph/generated/chats/item/messages/messages_request_builder.py +3 -3
- msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py +3 -3
- msgraph/generated/device_app_management/device_app_management_request_builder.py +12 -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_policies/managed_app_policies_request_builder.py +4 -4
- 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_e_books/item/assignments/assignments_request_builder.py +3 -3
- 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/item/managed_e_book_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +4 -4
- msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py +4 -4
- msgraph/generated/device_app_management/mobile_app_relationships/count/count_request_builder.py +104 -0
- msgraph/generated/device_app_management/mobile_app_relationships/item/mobile_app_relationship_item_request_builder.py +188 -0
- msgraph/generated/device_app_management/mobile_app_relationships/mobile_app_relationships_request_builder.py +208 -0
- 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 +7 -7
- msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +3 -3
- msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +6 -6
- 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 +6 -6
- 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 +7 -7
- msgraph/generated/device_management/device_management_request_builder.py +2 -2
- msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +6 -6
- msgraph/generated/device_management/virtual_endpoint/cloud_p_cs/item/resize/resize_request_builder.py +3 -2
- msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +3 -3
- 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/team/team_request_builder.py +2 -2
- msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +7 -7
- msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +3 -3
- msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +4 -4
- msgraph/generated/kiota-dom-export.txt +273 -8
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/access_package_assignment.py +1 -1
- msgraph/generated/models/ai_interaction.py +12 -12
- msgraph/generated/models/ai_interaction_attachment.py +16 -19
- msgraph/generated/models/ai_interaction_context.py +14 -17
- msgraph/generated/models/ai_interaction_link.py +14 -17
- msgraph/generated/models/ai_interaction_mention.py +14 -13
- msgraph/generated/models/ai_interaction_mentioned_identity_set.py +1 -1
- msgraph/generated/models/ai_user.py +1 -1
- msgraph/generated/models/app_scope.py +1 -1
- msgraph/generated/models/authentication_event_listener.py +8 -1
- msgraph/generated/models/auto_restart_notification_dismissal_method.py +1 -1
- msgraph/generated/models/call_options.py +4 -0
- msgraph/generated/models/cloud_pc_device_image.py +1 -1
- msgraph/generated/models/copilot_admin.py +1 -1
- msgraph/generated/models/copilot_admin_limited_mode.py +2 -2
- msgraph/generated/models/copilot_admin_setting.py +1 -1
- msgraph/generated/models/custom_authentication_extension.py +14 -0
- msgraph/generated/models/custom_callout_extension.py +7 -0
- msgraph/generated/models/custom_extension_behavior_on_error.py +66 -0
- msgraph/generated/models/custom_extension_overwrite_configuration.py +7 -0
- msgraph/generated/models/device_app_management.py +7 -0
- msgraph/generated/models/device_enrollment_type.py +2 -0
- msgraph/generated/models/device_management_reports.py +0 -3
- msgraph/generated/models/disk_type.py +1 -1
- msgraph/generated/models/entity.py +21 -0
- msgraph/generated/models/fallback_to_microsoft_provider_on_error.py +53 -0
- msgraph/generated/models/file_encryption_info.py +1 -1
- msgraph/generated/models/granular_mailbox_restore_artifact.py +1 -1
- msgraph/generated/models/group_members.py +1 -1
- msgraph/generated/models/ios_ddm_lob_app_assignment_settings.py +76 -0
- msgraph/generated/models/mailbox_restore_artifact.py +4 -0
- msgraph/generated/models/managed_app_availability.py +1 -1
- msgraph/generated/models/managed_app_data_storage_location.py +4 -4
- msgraph/generated/models/managed_device.py +1 -1
- msgraph/generated/models/managed_mobile_lob_app.py +1 -1
- msgraph/generated/models/mobile_app_assignment_settings.py +7 -0
- msgraph/generated/models/mobile_app_relationship.py +81 -0
- msgraph/generated/models/mobile_app_relationship_collection_response.py +58 -0
- msgraph/generated/models/mobile_lob_app.py +1 -1
- msgraph/generated/models/on_email_otp_send_listener.py +60 -0
- msgraph/generated/models/on_otp_send_custom_extension.py +53 -0
- msgraph/generated/models/on_otp_send_custom_extension_handler.py +67 -0
- msgraph/generated/models/on_otp_send_handler.py +66 -0
- msgraph/generated/models/online_meeting.py +1 -1
- msgraph/generated/models/online_meeting_base.py +6 -2
- msgraph/generated/models/out_of_office_settings.py +2 -2
- msgraph/generated/models/presence.py +3 -3
- msgraph/generated/models/restore_job_type.py +7 -0
- msgraph/generated/models/restore_session_artifact_count.py +66 -0
- msgraph/generated/models/restore_session_base.py +14 -0
- msgraph/generated/models/security/alert.py +1 -1
- msgraph/generated/models/security/case_type.py +7 -0
- msgraph/generated/models/security/ediscovery_add_to_review_set_operation.py +7 -0
- msgraph/generated/models/security/ediscovery_case_settings.py +14 -0
- msgraph/generated/models/security/ediscovery_estimate_operation.py +7 -0
- msgraph/generated/models/security/report_file_metadata.py +62 -0
- msgraph/generated/models/security/resource_access_event.py +67 -0
- msgraph/generated/models/security/review_set_settings.py +7 -0
- msgraph/generated/models/security/security_group_evidence.py +17 -0
- msgraph/generated/models/security/user_account.py +16 -0
- msgraph/generated/models/single_user.py +1 -1
- msgraph/generated/models/teams_tab.py +1 -1
- msgraph/generated/models/used_insight.py +2 -2
- msgraph/generated/models/win32_lob_app.py +4 -0
- msgraph/generated/models/windows_defender_product_status.py +3 -3
- msgraph/generated/models/windows_update_for_business_update_weeks.py +1 -1
- msgraph/generated/models/windows_update_notification_display_option.py +1 -1
- msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +3 -3
- msgraph/generated/organization/item/organization_item_request_builder.py +4 -4
- msgraph/generated/security/attack_simulation/end_user_notifications/end_user_notifications_request_builder.py +4 -4
- msgraph/generated/sites/sites_request_builder.py +4 -4
- msgraph/generated/teams/item/channels/item/all_members/all_members_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +6 -6
- 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/users/item/change_password/change_password_request_builder.py +2 -2
- msgraph/generated/users/item/user_item_request_builder.py +7 -7
- msgraph/generated/users/users_request_builder.py +4 -4
- msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +7 -7
- {msgraph_sdk-1.40.0.dist-info → msgraph_sdk-1.45.0.dist-info}/METADATA +2 -2
- {msgraph_sdk-1.40.0.dist-info → msgraph_sdk-1.45.0.dist-info}/RECORD +123 -105
- {msgraph_sdk-1.40.0.dist-info → msgraph_sdk-1.45.0.dist-info}/WHEEL +0 -0
- {msgraph_sdk-1.40.0.dist-info → msgraph_sdk-1.45.0.dist-info}/licenses/LICENSE +0 -0
@@ -19,35 +19,35 @@ from .entity import Entity
|
|
19
19
|
|
20
20
|
@dataclass
|
21
21
|
class AiInteraction(Entity, Parsable):
|
22
|
-
# The
|
22
|
+
# The appClass property
|
23
23
|
app_class: Optional[str] = None
|
24
|
-
# The
|
24
|
+
# The attachments property
|
25
25
|
attachments: Optional[list[AiInteractionAttachment]] = None
|
26
|
-
# The body
|
26
|
+
# The body property
|
27
27
|
body: Optional[ItemBody] = None
|
28
|
-
# The
|
28
|
+
# The contexts property
|
29
29
|
contexts: Optional[list[AiInteractionContext]] = None
|
30
|
-
# The
|
30
|
+
# The conversationType property
|
31
31
|
conversation_type: Optional[str] = None
|
32
|
-
# The
|
32
|
+
# The createdDateTime property
|
33
33
|
created_date_time: Optional[datetime.datetime] = None
|
34
|
-
# The
|
34
|
+
# The etag property
|
35
35
|
etag: Optional[str] = None
|
36
36
|
# The from property
|
37
37
|
from_: Optional[IdentitySet] = None
|
38
38
|
# The interactionType property
|
39
39
|
interaction_type: Optional[AiInteractionType] = None
|
40
|
-
# The
|
40
|
+
# The links property
|
41
41
|
links: Optional[list[AiInteractionLink]] = None
|
42
|
-
# The locale
|
42
|
+
# The locale property
|
43
43
|
locale: Optional[str] = None
|
44
|
-
# The
|
44
|
+
# The mentions property
|
45
45
|
mentions: Optional[list[AiInteractionMention]] = None
|
46
46
|
# The OdataType property
|
47
47
|
odata_type: Optional[str] = None
|
48
|
-
# The
|
48
|
+
# The requestId property
|
49
49
|
request_id: Optional[str] = None
|
50
|
-
# The
|
50
|
+
# The sessionId property
|
51
51
|
session_id: Optional[str] = None
|
52
52
|
|
53
53
|
@staticmethod
|
@@ -1,25 +1,26 @@
|
|
1
1
|
from __future__ import annotations
|
2
2
|
from collections.abc import Callable
|
3
3
|
from dataclasses import dataclass, field
|
4
|
-
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
4
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
5
|
+
from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
|
5
6
|
from typing import Any, Optional, TYPE_CHECKING, Union
|
6
7
|
|
7
|
-
if TYPE_CHECKING:
|
8
|
-
from .entity import Entity
|
9
|
-
|
10
|
-
from .entity import Entity
|
11
|
-
|
12
8
|
@dataclass
|
13
|
-
class AiInteractionAttachment(
|
14
|
-
#
|
9
|
+
class AiInteractionAttachment(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 attachmentId property
|
15
16
|
attachment_id: Optional[str] = None
|
16
|
-
# The content
|
17
|
+
# The content property
|
17
18
|
content: Optional[str] = None
|
18
|
-
# The
|
19
|
+
# The contentType property
|
19
20
|
content_type: Optional[str] = None
|
20
|
-
# The
|
21
|
+
# The contentUrl property
|
21
22
|
content_url: Optional[str] = None
|
22
|
-
# The name
|
23
|
+
# The name property
|
23
24
|
name: Optional[str] = None
|
24
25
|
# The OdataType property
|
25
26
|
odata_type: Optional[str] = None
|
@@ -40,19 +41,14 @@ class AiInteractionAttachment(Entity, Parsable):
|
|
40
41
|
The deserialization information for the current model
|
41
42
|
Returns: dict[str, Callable[[ParseNode], None]]
|
42
43
|
"""
|
43
|
-
from .entity import Entity
|
44
|
-
|
45
|
-
from .entity import Entity
|
46
|
-
|
47
44
|
fields: dict[str, Callable[[Any], None]] = {
|
48
45
|
"attachmentId": lambda n : setattr(self, 'attachment_id', n.get_str_value()),
|
49
46
|
"content": lambda n : setattr(self, 'content', n.get_str_value()),
|
50
47
|
"contentType": lambda n : setattr(self, 'content_type', n.get_str_value()),
|
51
48
|
"contentUrl": lambda n : setattr(self, 'content_url', n.get_str_value()),
|
52
49
|
"name": lambda n : setattr(self, 'name', n.get_str_value()),
|
50
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
53
51
|
}
|
54
|
-
super_fields = super().get_field_deserializers()
|
55
|
-
fields.update(super_fields)
|
56
52
|
return fields
|
57
53
|
|
58
54
|
def serialize(self,writer: SerializationWriter) -> None:
|
@@ -63,11 +59,12 @@ class AiInteractionAttachment(Entity, Parsable):
|
|
63
59
|
"""
|
64
60
|
if writer is None:
|
65
61
|
raise TypeError("writer cannot be null.")
|
66
|
-
super().serialize(writer)
|
67
62
|
writer.write_str_value("attachmentId", self.attachment_id)
|
68
63
|
writer.write_str_value("content", self.content)
|
69
64
|
writer.write_str_value("contentType", self.content_type)
|
70
65
|
writer.write_str_value("contentUrl", self.content_url)
|
71
66
|
writer.write_str_value("name", self.name)
|
67
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
68
|
+
writer.write_additional_data_value(self.additional_data)
|
72
69
|
|
73
70
|
|
@@ -1,21 +1,22 @@
|
|
1
1
|
from __future__ import annotations
|
2
2
|
from collections.abc import Callable
|
3
3
|
from dataclasses import dataclass, field
|
4
|
-
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
4
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
5
|
+
from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
|
5
6
|
from typing import Any, Optional, TYPE_CHECKING, Union
|
6
7
|
|
7
|
-
if TYPE_CHECKING:
|
8
|
-
from .entity import Entity
|
9
|
-
|
10
|
-
from .entity import Entity
|
11
|
-
|
12
8
|
@dataclass
|
13
|
-
class AiInteractionContext(
|
14
|
-
#
|
9
|
+
class AiInteractionContext(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 contextReference property
|
15
16
|
context_reference: Optional[str] = None
|
16
|
-
# The
|
17
|
+
# The contextType property
|
17
18
|
context_type: Optional[str] = None
|
18
|
-
# The
|
19
|
+
# The displayName property
|
19
20
|
display_name: Optional[str] = None
|
20
21
|
# The OdataType property
|
21
22
|
odata_type: Optional[str] = None
|
@@ -36,17 +37,12 @@ class AiInteractionContext(Entity, Parsable):
|
|
36
37
|
The deserialization information for the current model
|
37
38
|
Returns: dict[str, Callable[[ParseNode], None]]
|
38
39
|
"""
|
39
|
-
from .entity import Entity
|
40
|
-
|
41
|
-
from .entity import Entity
|
42
|
-
|
43
40
|
fields: dict[str, Callable[[Any], None]] = {
|
44
41
|
"contextReference": lambda n : setattr(self, 'context_reference', n.get_str_value()),
|
45
42
|
"contextType": lambda n : setattr(self, 'context_type', n.get_str_value()),
|
46
43
|
"displayName": lambda n : setattr(self, 'display_name', n.get_str_value()),
|
44
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
47
45
|
}
|
48
|
-
super_fields = super().get_field_deserializers()
|
49
|
-
fields.update(super_fields)
|
50
46
|
return fields
|
51
47
|
|
52
48
|
def serialize(self,writer: SerializationWriter) -> None:
|
@@ -57,9 +53,10 @@ class AiInteractionContext(Entity, Parsable):
|
|
57
53
|
"""
|
58
54
|
if writer is None:
|
59
55
|
raise TypeError("writer cannot be null.")
|
60
|
-
super().serialize(writer)
|
61
56
|
writer.write_str_value("contextReference", self.context_reference)
|
62
57
|
writer.write_str_value("contextType", self.context_type)
|
63
58
|
writer.write_str_value("displayName", self.display_name)
|
59
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
60
|
+
writer.write_additional_data_value(self.additional_data)
|
64
61
|
|
65
62
|
|
@@ -1,21 +1,22 @@
|
|
1
1
|
from __future__ import annotations
|
2
2
|
from collections.abc import Callable
|
3
3
|
from dataclasses import dataclass, field
|
4
|
-
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
4
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
5
|
+
from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
|
5
6
|
from typing import Any, Optional, TYPE_CHECKING, Union
|
6
7
|
|
7
|
-
if TYPE_CHECKING:
|
8
|
-
from .entity import Entity
|
9
|
-
|
10
|
-
from .entity import Entity
|
11
|
-
|
12
8
|
@dataclass
|
13
|
-
class AiInteractionLink(
|
14
|
-
#
|
9
|
+
class AiInteractionLink(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 displayName property
|
15
16
|
display_name: Optional[str] = None
|
16
|
-
#
|
17
|
+
# The linkType property
|
17
18
|
link_type: Optional[str] = None
|
18
|
-
# The
|
19
|
+
# The linkUrl property
|
19
20
|
link_url: Optional[str] = None
|
20
21
|
# The OdataType property
|
21
22
|
odata_type: Optional[str] = None
|
@@ -36,17 +37,12 @@ class AiInteractionLink(Entity, Parsable):
|
|
36
37
|
The deserialization information for the current model
|
37
38
|
Returns: dict[str, Callable[[ParseNode], None]]
|
38
39
|
"""
|
39
|
-
from .entity import Entity
|
40
|
-
|
41
|
-
from .entity import Entity
|
42
|
-
|
43
40
|
fields: dict[str, Callable[[Any], None]] = {
|
44
41
|
"displayName": lambda n : setattr(self, 'display_name', n.get_str_value()),
|
45
42
|
"linkType": lambda n : setattr(self, 'link_type', n.get_str_value()),
|
46
43
|
"linkUrl": lambda n : setattr(self, 'link_url', n.get_str_value()),
|
44
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
47
45
|
}
|
48
|
-
super_fields = super().get_field_deserializers()
|
49
|
-
fields.update(super_fields)
|
50
46
|
return fields
|
51
47
|
|
52
48
|
def serialize(self,writer: SerializationWriter) -> None:
|
@@ -57,9 +53,10 @@ class AiInteractionLink(Entity, Parsable):
|
|
57
53
|
"""
|
58
54
|
if writer is None:
|
59
55
|
raise TypeError("writer cannot be null.")
|
60
|
-
super().serialize(writer)
|
61
56
|
writer.write_str_value("displayName", self.display_name)
|
62
57
|
writer.write_str_value("linkType", self.link_type)
|
63
58
|
writer.write_str_value("linkUrl", self.link_url)
|
59
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
60
|
+
writer.write_additional_data_value(self.additional_data)
|
64
61
|
|
65
62
|
|
@@ -1,22 +1,25 @@
|
|
1
1
|
from __future__ import annotations
|
2
2
|
from collections.abc import Callable
|
3
3
|
from dataclasses import dataclass, field
|
4
|
-
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
4
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
5
|
+
from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
|
5
6
|
from typing import Any, Optional, TYPE_CHECKING, Union
|
6
7
|
|
7
8
|
if TYPE_CHECKING:
|
8
9
|
from .ai_interaction_mentioned_identity_set import AiInteractionMentionedIdentitySet
|
9
|
-
from .entity import Entity
|
10
|
-
|
11
|
-
from .entity import Entity
|
12
10
|
|
13
11
|
@dataclass
|
14
|
-
class AiInteractionMention(
|
15
|
-
#
|
12
|
+
class AiInteractionMention(AdditionalDataHolder, BackedModel, Parsable):
|
13
|
+
# Stores model information.
|
14
|
+
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
15
|
+
|
16
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
17
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
18
|
+
# The mentionId property
|
16
19
|
mention_id: Optional[int] = None
|
17
|
-
# The
|
20
|
+
# The mentionText property
|
18
21
|
mention_text: Optional[str] = None
|
19
|
-
# The
|
22
|
+
# The mentioned property
|
20
23
|
mentioned: Optional[AiInteractionMentionedIdentitySet] = None
|
21
24
|
# The OdataType property
|
22
25
|
odata_type: Optional[str] = None
|
@@ -38,18 +41,15 @@ class AiInteractionMention(Entity, Parsable):
|
|
38
41
|
Returns: dict[str, Callable[[ParseNode], None]]
|
39
42
|
"""
|
40
43
|
from .ai_interaction_mentioned_identity_set import AiInteractionMentionedIdentitySet
|
41
|
-
from .entity import Entity
|
42
44
|
|
43
45
|
from .ai_interaction_mentioned_identity_set import AiInteractionMentionedIdentitySet
|
44
|
-
from .entity import Entity
|
45
46
|
|
46
47
|
fields: dict[str, Callable[[Any], None]] = {
|
47
48
|
"mentionId": lambda n : setattr(self, 'mention_id', n.get_int_value()),
|
48
49
|
"mentionText": lambda n : setattr(self, 'mention_text', n.get_str_value()),
|
49
50
|
"mentioned": lambda n : setattr(self, 'mentioned', n.get_object_value(AiInteractionMentionedIdentitySet)),
|
51
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
50
52
|
}
|
51
|
-
super_fields = super().get_field_deserializers()
|
52
|
-
fields.update(super_fields)
|
53
53
|
return fields
|
54
54
|
|
55
55
|
def serialize(self,writer: SerializationWriter) -> None:
|
@@ -60,9 +60,10 @@ class AiInteractionMention(Entity, Parsable):
|
|
60
60
|
"""
|
61
61
|
if writer is None:
|
62
62
|
raise TypeError("writer cannot be null.")
|
63
|
-
super().serialize(writer)
|
64
63
|
writer.write_int_value("mentionId", self.mention_id)
|
65
64
|
writer.write_str_value("mentionText", self.mention_text)
|
66
65
|
writer.write_object_value("mentioned", self.mentioned)
|
66
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
67
|
+
writer.write_additional_data_value(self.additional_data)
|
67
68
|
|
68
69
|
|
@@ -17,7 +17,7 @@ class AiInteractionMentionedIdentitySet(IdentitySet, Parsable):
|
|
17
17
|
odata_type: Optional[str] = "#microsoft.graph.aiInteractionMentionedIdentitySet"
|
18
18
|
# The conversation property
|
19
19
|
conversation: Optional[TeamworkConversationIdentity] = None
|
20
|
-
# The tag
|
20
|
+
# The tag property
|
21
21
|
tag: Optional[TeamworkTagIdentity] = None
|
22
22
|
|
23
23
|
@staticmethod
|
@@ -12,7 +12,7 @@ from .entity import Entity
|
|
12
12
|
|
13
13
|
@dataclass
|
14
14
|
class AiUser(Entity, Parsable):
|
15
|
-
# The
|
15
|
+
# The interactionHistory property
|
16
16
|
interaction_history: Optional[AiInteractionHistory] = None
|
17
17
|
# The OdataType property
|
18
18
|
odata_type: Optional[str] = None
|
@@ -11,7 +11,7 @@ from .entity import Entity
|
|
11
11
|
|
12
12
|
@dataclass
|
13
13
|
class AppScope(Entity, Parsable):
|
14
|
-
# Provides the display name of the app-specific resource represented by the app scope. Read
|
14
|
+
# Provides the display name of the app-specific resource represented by the app scope. Read-only.
|
15
15
|
display_name: Optional[str] = None
|
16
16
|
# The OdataType property
|
17
17
|
odata_type: Optional[str] = None
|
@@ -11,6 +11,7 @@ if TYPE_CHECKING:
|
|
11
11
|
from .on_attribute_collection_start_listener import OnAttributeCollectionStartListener
|
12
12
|
from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener
|
13
13
|
from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener
|
14
|
+
from .on_email_otp_send_listener import OnEmailOtpSendListener
|
14
15
|
from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener
|
15
16
|
from .on_token_issuance_start_listener import OnTokenIssuanceStartListener
|
16
17
|
from .on_user_create_start_listener import OnUserCreateStartListener
|
@@ -19,7 +20,7 @@ from .entity import Entity
|
|
19
20
|
|
20
21
|
@dataclass
|
21
22
|
class AuthenticationEventListener(Entity, Parsable):
|
22
|
-
#
|
23
|
+
# The identifier of the authenticationEventsFlow object.
|
23
24
|
authentication_events_flow_id: Optional[str] = None
|
24
25
|
# The conditions on which this authenticationEventListener should trigger.
|
25
26
|
conditions: Optional[AuthenticationConditions] = None
|
@@ -56,6 +57,10 @@ class AuthenticationEventListener(Entity, Parsable):
|
|
56
57
|
from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener
|
57
58
|
|
58
59
|
return OnAuthenticationMethodLoadStartListener()
|
60
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.onEmailOtpSendListener".casefold():
|
61
|
+
from .on_email_otp_send_listener import OnEmailOtpSendListener
|
62
|
+
|
63
|
+
return OnEmailOtpSendListener()
|
59
64
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.onInteractiveAuthFlowStartListener".casefold():
|
60
65
|
from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener
|
61
66
|
|
@@ -81,6 +86,7 @@ class AuthenticationEventListener(Entity, Parsable):
|
|
81
86
|
from .on_attribute_collection_start_listener import OnAttributeCollectionStartListener
|
82
87
|
from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener
|
83
88
|
from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener
|
89
|
+
from .on_email_otp_send_listener import OnEmailOtpSendListener
|
84
90
|
from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener
|
85
91
|
from .on_token_issuance_start_listener import OnTokenIssuanceStartListener
|
86
92
|
from .on_user_create_start_listener import OnUserCreateStartListener
|
@@ -91,6 +97,7 @@ class AuthenticationEventListener(Entity, Parsable):
|
|
91
97
|
from .on_attribute_collection_start_listener import OnAttributeCollectionStartListener
|
92
98
|
from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener
|
93
99
|
from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener
|
100
|
+
from .on_email_otp_send_listener import OnEmailOtpSendListener
|
94
101
|
from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener
|
95
102
|
from .on_token_issuance_start_listener import OnTokenIssuanceStartListener
|
96
103
|
from .on_user_create_start_listener import OnUserCreateStartListener
|
@@ -7,6 +7,6 @@ class AutoRestartNotificationDismissalMethod(str, Enum):
|
|
7
7
|
Automatic = "automatic",
|
8
8
|
# User dismissal. Allows the user to dismiss the notification
|
9
9
|
User = "user",
|
10
|
-
# Evolvable
|
10
|
+
# Evolvable enumeration sentinel value. Do not use.
|
11
11
|
UnknownFutureValue = "unknownFutureValue",
|
12
12
|
|
@@ -22,6 +22,8 @@ class CallOptions(AdditionalDataHolder, BackedModel, Parsable):
|
|
22
22
|
is_content_sharing_notification_enabled: Optional[bool] = None
|
23
23
|
# Indicates whether delta roster is enabled for the call.
|
24
24
|
is_delta_roster_enabled: Optional[bool] = None
|
25
|
+
# Indicates whether delta roster filtering by participant interactivity is enabled.
|
26
|
+
is_interactive_roster_enabled: Optional[bool] = None
|
25
27
|
# The OdataType property
|
26
28
|
odata_type: Optional[str] = None
|
27
29
|
|
@@ -64,6 +66,7 @@ class CallOptions(AdditionalDataHolder, BackedModel, Parsable):
|
|
64
66
|
"hideBotAfterEscalation": lambda n : setattr(self, 'hide_bot_after_escalation', n.get_bool_value()),
|
65
67
|
"isContentSharingNotificationEnabled": lambda n : setattr(self, 'is_content_sharing_notification_enabled', n.get_bool_value()),
|
66
68
|
"isDeltaRosterEnabled": lambda n : setattr(self, 'is_delta_roster_enabled', n.get_bool_value()),
|
69
|
+
"isInteractiveRosterEnabled": lambda n : setattr(self, 'is_interactive_roster_enabled', n.get_bool_value()),
|
67
70
|
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
68
71
|
}
|
69
72
|
return fields
|
@@ -79,6 +82,7 @@ class CallOptions(AdditionalDataHolder, BackedModel, Parsable):
|
|
79
82
|
writer.write_bool_value("hideBotAfterEscalation", self.hide_bot_after_escalation)
|
80
83
|
writer.write_bool_value("isContentSharingNotificationEnabled", self.is_content_sharing_notification_enabled)
|
81
84
|
writer.write_bool_value("isDeltaRosterEnabled", self.is_delta_roster_enabled)
|
85
|
+
writer.write_bool_value("isInteractiveRosterEnabled", self.is_interactive_roster_enabled)
|
82
86
|
writer.write_str_value("@odata.type", self.odata_type)
|
83
87
|
writer.write_additional_data_value(self.additional_data)
|
84
88
|
|
@@ -25,7 +25,7 @@ class CloudPcDeviceImage(Entity, Parsable):
|
|
25
25
|
last_modified_date_time: Optional[datetime.datetime] = None
|
26
26
|
# The OdataType property
|
27
27
|
odata_type: Optional[str] = None
|
28
|
-
# The operating system (OS) of the image. For example, Windows
|
28
|
+
# The operating system (OS) of the image. For example, Windows 11 Enterprise. Read-only.
|
29
29
|
operating_system: Optional[str] = None
|
30
30
|
# The OS build version of the image. For example, 1909. Read-only.
|
31
31
|
os_build_number: Optional[str] = None
|
@@ -14,7 +14,7 @@ from .entity import Entity
|
|
14
14
|
class CopilotAdmin(Entity, Parsable):
|
15
15
|
# The OdataType property
|
16
16
|
odata_type: Optional[str] = None
|
17
|
-
#
|
17
|
+
# The settings property
|
18
18
|
settings: Optional[CopilotAdminSetting] = None
|
19
19
|
|
20
20
|
@staticmethod
|
@@ -11,9 +11,9 @@ from .entity import Entity
|
|
11
11
|
|
12
12
|
@dataclass
|
13
13
|
class CopilotAdminLimitedMode(Entity, Parsable):
|
14
|
-
# The
|
14
|
+
# The groupId property
|
15
15
|
group_id: Optional[str] = None
|
16
|
-
#
|
16
|
+
# The isEnabledForGroup property
|
17
17
|
is_enabled_for_group: Optional[bool] = None
|
18
18
|
# The OdataType property
|
19
19
|
odata_type: Optional[str] = None
|
@@ -12,7 +12,7 @@ from .entity import Entity
|
|
12
12
|
|
13
13
|
@dataclass
|
14
14
|
class CopilotAdminSetting(Entity, Parsable):
|
15
|
-
#
|
15
|
+
# The limitedMode property
|
16
16
|
limited_mode: Optional[CopilotAdminLimitedMode] = None
|
17
17
|
# The OdataType property
|
18
18
|
odata_type: Optional[str] = None
|
@@ -6,8 +6,10 @@ from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
6
|
|
7
7
|
if TYPE_CHECKING:
|
8
8
|
from .custom_callout_extension import CustomCalloutExtension
|
9
|
+
from .custom_extension_behavior_on_error import CustomExtensionBehaviorOnError
|
9
10
|
from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension
|
10
11
|
from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension
|
12
|
+
from .on_otp_send_custom_extension import OnOtpSendCustomExtension
|
11
13
|
from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension
|
12
14
|
|
13
15
|
from .custom_callout_extension import CustomCalloutExtension
|
@@ -16,6 +18,8 @@ from .custom_callout_extension import CustomCalloutExtension
|
|
16
18
|
class CustomAuthenticationExtension(CustomCalloutExtension, Parsable):
|
17
19
|
# The OdataType property
|
18
20
|
odata_type: Optional[str] = "#microsoft.graph.customAuthenticationExtension"
|
21
|
+
# The behaviour on error for the custom authentication extension.
|
22
|
+
behavior_on_error: Optional[CustomExtensionBehaviorOnError] = None
|
19
23
|
|
20
24
|
@staticmethod
|
21
25
|
def create_from_discriminator_value(parse_node: ParseNode) -> CustomAuthenticationExtension:
|
@@ -39,6 +43,10 @@ class CustomAuthenticationExtension(CustomCalloutExtension, Parsable):
|
|
39
43
|
from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension
|
40
44
|
|
41
45
|
return OnAttributeCollectionSubmitCustomExtension()
|
46
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.onOtpSendCustomExtension".casefold():
|
47
|
+
from .on_otp_send_custom_extension import OnOtpSendCustomExtension
|
48
|
+
|
49
|
+
return OnOtpSendCustomExtension()
|
42
50
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.onTokenIssuanceStartCustomExtension".casefold():
|
43
51
|
from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension
|
44
52
|
|
@@ -51,16 +59,21 @@ class CustomAuthenticationExtension(CustomCalloutExtension, Parsable):
|
|
51
59
|
Returns: dict[str, Callable[[ParseNode], None]]
|
52
60
|
"""
|
53
61
|
from .custom_callout_extension import CustomCalloutExtension
|
62
|
+
from .custom_extension_behavior_on_error import CustomExtensionBehaviorOnError
|
54
63
|
from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension
|
55
64
|
from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension
|
65
|
+
from .on_otp_send_custom_extension import OnOtpSendCustomExtension
|
56
66
|
from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension
|
57
67
|
|
58
68
|
from .custom_callout_extension import CustomCalloutExtension
|
69
|
+
from .custom_extension_behavior_on_error import CustomExtensionBehaviorOnError
|
59
70
|
from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension
|
60
71
|
from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension
|
72
|
+
from .on_otp_send_custom_extension import OnOtpSendCustomExtension
|
61
73
|
from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension
|
62
74
|
|
63
75
|
fields: dict[str, Callable[[Any], None]] = {
|
76
|
+
"behaviorOnError": lambda n : setattr(self, 'behavior_on_error', n.get_object_value(CustomExtensionBehaviorOnError)),
|
64
77
|
}
|
65
78
|
super_fields = super().get_field_deserializers()
|
66
79
|
fields.update(super_fields)
|
@@ -75,5 +88,6 @@ class CustomAuthenticationExtension(CustomCalloutExtension, Parsable):
|
|
75
88
|
if writer is None:
|
76
89
|
raise TypeError("writer cannot be null.")
|
77
90
|
super().serialize(writer)
|
91
|
+
writer.write_object_value("behaviorOnError", self.behavior_on_error)
|
78
92
|
|
79
93
|
|
@@ -15,6 +15,7 @@ if TYPE_CHECKING:
|
|
15
15
|
from .identity_governance.custom_task_extension import CustomTaskExtension
|
16
16
|
from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension
|
17
17
|
from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension
|
18
|
+
from .on_otp_send_custom_extension import OnOtpSendCustomExtension
|
18
19
|
from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension
|
19
20
|
|
20
21
|
from .entity import Entity
|
@@ -72,6 +73,10 @@ class CustomCalloutExtension(Entity, Parsable):
|
|
72
73
|
from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension
|
73
74
|
|
74
75
|
return OnAttributeCollectionSubmitCustomExtension()
|
76
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.onOtpSendCustomExtension".casefold():
|
77
|
+
from .on_otp_send_custom_extension import OnOtpSendCustomExtension
|
78
|
+
|
79
|
+
return OnOtpSendCustomExtension()
|
75
80
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.onTokenIssuanceStartCustomExtension".casefold():
|
76
81
|
from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension
|
77
82
|
|
@@ -93,6 +98,7 @@ class CustomCalloutExtension(Entity, Parsable):
|
|
93
98
|
from .identity_governance.custom_task_extension import CustomTaskExtension
|
94
99
|
from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension
|
95
100
|
from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension
|
101
|
+
from .on_otp_send_custom_extension import OnOtpSendCustomExtension
|
96
102
|
from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension
|
97
103
|
|
98
104
|
from .access_package_assignment_request_workflow_extension import AccessPackageAssignmentRequestWorkflowExtension
|
@@ -105,6 +111,7 @@ class CustomCalloutExtension(Entity, Parsable):
|
|
105
111
|
from .identity_governance.custom_task_extension import CustomTaskExtension
|
106
112
|
from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension
|
107
113
|
from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension
|
114
|
+
from .on_otp_send_custom_extension import OnOtpSendCustomExtension
|
108
115
|
from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension
|
109
116
|
|
110
117
|
fields: dict[str, Callable[[Any], None]] = {
|
@@ -0,0 +1,66 @@
|
|
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
|
+
if TYPE_CHECKING:
|
9
|
+
from .fallback_to_microsoft_provider_on_error import FallbackToMicrosoftProviderOnError
|
10
|
+
|
11
|
+
@dataclass
|
12
|
+
class CustomExtensionBehaviorOnError(AdditionalDataHolder, BackedModel, Parsable):
|
13
|
+
# Stores model information.
|
14
|
+
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
15
|
+
|
16
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
17
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
18
|
+
# The OdataType property
|
19
|
+
odata_type: Optional[str] = None
|
20
|
+
|
21
|
+
@staticmethod
|
22
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> CustomExtensionBehaviorOnError:
|
23
|
+
"""
|
24
|
+
Creates a new instance of the appropriate class based on discriminator value
|
25
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
26
|
+
Returns: CustomExtensionBehaviorOnError
|
27
|
+
"""
|
28
|
+
if parse_node is None:
|
29
|
+
raise TypeError("parse_node cannot be null.")
|
30
|
+
try:
|
31
|
+
child_node = parse_node.get_child_node("@odata.type")
|
32
|
+
mapping_value = child_node.get_str_value() if child_node else None
|
33
|
+
except AttributeError:
|
34
|
+
mapping_value = None
|
35
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.fallbackToMicrosoftProviderOnError".casefold():
|
36
|
+
from .fallback_to_microsoft_provider_on_error import FallbackToMicrosoftProviderOnError
|
37
|
+
|
38
|
+
return FallbackToMicrosoftProviderOnError()
|
39
|
+
return CustomExtensionBehaviorOnError()
|
40
|
+
|
41
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
42
|
+
"""
|
43
|
+
The deserialization information for the current model
|
44
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
45
|
+
"""
|
46
|
+
from .fallback_to_microsoft_provider_on_error import FallbackToMicrosoftProviderOnError
|
47
|
+
|
48
|
+
from .fallback_to_microsoft_provider_on_error import FallbackToMicrosoftProviderOnError
|
49
|
+
|
50
|
+
fields: dict[str, Callable[[Any], None]] = {
|
51
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
52
|
+
}
|
53
|
+
return fields
|
54
|
+
|
55
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
56
|
+
"""
|
57
|
+
Serializes information the current object
|
58
|
+
param writer: Serialization writer to use to serialize this model
|
59
|
+
Returns: None
|
60
|
+
"""
|
61
|
+
if writer is None:
|
62
|
+
raise TypeError("writer cannot be null.")
|
63
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
64
|
+
writer.write_additional_data_value(self.additional_data)
|
65
|
+
|
66
|
+
|