msgraph-sdk 1.40.0__py3-none-any.whl → 1.44.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/communications/calls/item/participants/invite/invite_request_builder.py +3 -3
- msgraph/generated/device_app_management/device_app_management_request_builder.py +11 -1
- 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_app_statuses/managed_app_statuses_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +6 -6
- msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_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 +7 -7
- msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +10 -10
- 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 +10 -10
- 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 +7 -7
- msgraph/generated/device_management/virtual_endpoint/cloud_p_cs/item/resize/resize_request_builder.py +3 -2
- msgraph/generated/drives/item/items/item/retention_label/retention_label_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/conversations/item/conversation_item_request_builder.py +4 -4
- msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +3 -3
- msgraph/generated/groups/item/team/team_request_builder.py +2 -2
- msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +5 -5
- msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +4 -4
- msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +3 -3
- msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +3 -3
- 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 +7 -7
- msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
- 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 +3 -3
- msgraph/generated/teams/item/channels/item/members/members_request_builder.py +6 -6
- msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +3 -3
- msgraph/generated/users/item/change_password/change_password_request_builder.py +2 -2
- msgraph/generated/users/item/presence/presence_request_builder.py +4 -4
- msgraph/generated/users/item/user_item_request_builder.py +8 -8
- msgraph/generated/users/users_request_builder.py +3 -3
- msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +8 -8
- {msgraph_sdk-1.40.0.dist-info → msgraph_sdk-1.44.0.dist-info}/METADATA +2 -2
- {msgraph_sdk-1.40.0.dist-info → msgraph_sdk-1.44.0.dist-info}/RECORD +125 -107
- {msgraph_sdk-1.40.0.dist-info → msgraph_sdk-1.44.0.dist-info}/WHEEL +0 -0
- {msgraph_sdk-1.40.0.dist-info → msgraph_sdk-1.44.0.dist-info}/licenses/LICENSE +0 -0
@@ -6,6 +6,7 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFact
|
|
6
6
|
from typing import Any, Optional, TYPE_CHECKING, Union
|
7
7
|
|
8
8
|
if TYPE_CHECKING:
|
9
|
+
from .custom_extension_behavior_on_error import CustomExtensionBehaviorOnError
|
9
10
|
from .custom_extension_client_configuration import CustomExtensionClientConfiguration
|
10
11
|
|
11
12
|
@dataclass
|
@@ -15,6 +16,8 @@ class CustomExtensionOverwriteConfiguration(AdditionalDataHolder, BackedModel, P
|
|
15
16
|
|
16
17
|
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
17
18
|
additional_data: dict[str, Any] = field(default_factory=dict)
|
19
|
+
# The behaviorOnError property
|
20
|
+
behavior_on_error: Optional[CustomExtensionBehaviorOnError] = None
|
18
21
|
# Configuration regarding properties of the custom extension which can be overwritten per event listener. If no values are provided, the properties on the custom extension are used.
|
19
22
|
client_configuration: Optional[CustomExtensionClientConfiguration] = None
|
20
23
|
# The OdataType property
|
@@ -36,11 +39,14 @@ class CustomExtensionOverwriteConfiguration(AdditionalDataHolder, BackedModel, P
|
|
36
39
|
The deserialization information for the current model
|
37
40
|
Returns: dict[str, Callable[[ParseNode], None]]
|
38
41
|
"""
|
42
|
+
from .custom_extension_behavior_on_error import CustomExtensionBehaviorOnError
|
39
43
|
from .custom_extension_client_configuration import CustomExtensionClientConfiguration
|
40
44
|
|
45
|
+
from .custom_extension_behavior_on_error import CustomExtensionBehaviorOnError
|
41
46
|
from .custom_extension_client_configuration import CustomExtensionClientConfiguration
|
42
47
|
|
43
48
|
fields: dict[str, Callable[[Any], None]] = {
|
49
|
+
"behaviorOnError": lambda n : setattr(self, 'behavior_on_error', n.get_object_value(CustomExtensionBehaviorOnError)),
|
44
50
|
"clientConfiguration": lambda n : setattr(self, 'client_configuration', n.get_object_value(CustomExtensionClientConfiguration)),
|
45
51
|
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
46
52
|
}
|
@@ -54,6 +60,7 @@ class CustomExtensionOverwriteConfiguration(AdditionalDataHolder, BackedModel, P
|
|
54
60
|
"""
|
55
61
|
if writer is None:
|
56
62
|
raise TypeError("writer cannot be null.")
|
63
|
+
writer.write_object_value("behaviorOnError", self.behavior_on_error)
|
57
64
|
writer.write_object_value("clientConfiguration", self.client_configuration)
|
58
65
|
writer.write_str_value("@odata.type", self.odata_type)
|
59
66
|
writer.write_additional_data_value(self.additional_data)
|
@@ -18,6 +18,7 @@ if TYPE_CHECKING:
|
|
18
18
|
from .mdm_windows_information_protection_policy import MdmWindowsInformationProtectionPolicy
|
19
19
|
from .mobile_app import MobileApp
|
20
20
|
from .mobile_app_category import MobileAppCategory
|
21
|
+
from .mobile_app_relationship import MobileAppRelationship
|
21
22
|
from .targeted_managed_app_configuration import TargetedManagedAppConfiguration
|
22
23
|
from .vpp_token import VppToken
|
23
24
|
from .windows_information_protection_policy import WindowsInformationProtectionPolicy
|
@@ -57,6 +58,8 @@ class DeviceAppManagement(Entity, Parsable):
|
|
57
58
|
mobile_app_categories: Optional[list[MobileAppCategory]] = None
|
58
59
|
# The Managed Device Mobile Application Configurations.
|
59
60
|
mobile_app_configurations: Optional[list[ManagedDeviceMobileAppConfiguration]] = None
|
61
|
+
# The mobile app relationship represents the dependency or supersedence relationship between two Intune mobile LOB applications.
|
62
|
+
mobile_app_relationships: Optional[list[MobileAppRelationship]] = None
|
60
63
|
# The mobile apps.
|
61
64
|
mobile_apps: Optional[list[MobileApp]] = None
|
62
65
|
# The OdataType property
|
@@ -96,6 +99,7 @@ class DeviceAppManagement(Entity, Parsable):
|
|
96
99
|
from .mdm_windows_information_protection_policy import MdmWindowsInformationProtectionPolicy
|
97
100
|
from .mobile_app import MobileApp
|
98
101
|
from .mobile_app_category import MobileAppCategory
|
102
|
+
from .mobile_app_relationship import MobileAppRelationship
|
99
103
|
from .targeted_managed_app_configuration import TargetedManagedAppConfiguration
|
100
104
|
from .vpp_token import VppToken
|
101
105
|
from .windows_information_protection_policy import WindowsInformationProtectionPolicy
|
@@ -112,6 +116,7 @@ class DeviceAppManagement(Entity, Parsable):
|
|
112
116
|
from .mdm_windows_information_protection_policy import MdmWindowsInformationProtectionPolicy
|
113
117
|
from .mobile_app import MobileApp
|
114
118
|
from .mobile_app_category import MobileAppCategory
|
119
|
+
from .mobile_app_relationship import MobileAppRelationship
|
115
120
|
from .targeted_managed_app_configuration import TargetedManagedAppConfiguration
|
116
121
|
from .vpp_token import VppToken
|
117
122
|
from .windows_information_protection_policy import WindowsInformationProtectionPolicy
|
@@ -131,6 +136,7 @@ class DeviceAppManagement(Entity, Parsable):
|
|
131
136
|
"microsoftStoreForBusinessLastSuccessfulSyncDateTime": lambda n : setattr(self, 'microsoft_store_for_business_last_successful_sync_date_time', n.get_datetime_value()),
|
132
137
|
"mobileAppCategories": lambda n : setattr(self, 'mobile_app_categories', n.get_collection_of_object_values(MobileAppCategory)),
|
133
138
|
"mobileAppConfigurations": lambda n : setattr(self, 'mobile_app_configurations', n.get_collection_of_object_values(ManagedDeviceMobileAppConfiguration)),
|
139
|
+
"mobileAppRelationships": lambda n : setattr(self, 'mobile_app_relationships', n.get_collection_of_object_values(MobileAppRelationship)),
|
134
140
|
"mobileApps": lambda n : setattr(self, 'mobile_apps', n.get_collection_of_object_values(MobileApp)),
|
135
141
|
"targetedManagedAppConfigurations": lambda n : setattr(self, 'targeted_managed_app_configurations', n.get_collection_of_object_values(TargetedManagedAppConfiguration)),
|
136
142
|
"vppTokens": lambda n : setattr(self, 'vpp_tokens', n.get_collection_of_object_values(VppToken)),
|
@@ -163,6 +169,7 @@ class DeviceAppManagement(Entity, Parsable):
|
|
163
169
|
writer.write_datetime_value("microsoftStoreForBusinessLastSuccessfulSyncDateTime", self.microsoft_store_for_business_last_successful_sync_date_time)
|
164
170
|
writer.write_collection_of_object_values("mobileAppCategories", self.mobile_app_categories)
|
165
171
|
writer.write_collection_of_object_values("mobileAppConfigurations", self.mobile_app_configurations)
|
172
|
+
writer.write_collection_of_object_values("mobileAppRelationships", self.mobile_app_relationships)
|
166
173
|
writer.write_collection_of_object_values("mobileApps", self.mobile_apps)
|
167
174
|
writer.write_collection_of_object_values("targetedManagedAppConfigurations", self.targeted_managed_app_configurations)
|
168
175
|
writer.write_collection_of_object_values("vppTokens", self.vpp_tokens)
|
@@ -27,4 +27,6 @@ class DeviceEnrollmentType(str, Enum):
|
|
27
27
|
AppleUserEnrollment = "appleUserEnrollment",
|
28
28
|
# Indicates the device is enrolled via Apple User Enrollment with Company Portal using a device enrollment manager user. It results in an enrollment with a new partition for managed apps and data and which supports a limited set of management capabilities
|
29
29
|
AppleUserEnrollmentWithServiceAccount = "appleUserEnrollmentWithServiceAccount",
|
30
|
+
# Evolvable enumeration sentinel value. Do not use.
|
31
|
+
UnknownFutureValue = "unknownFutureValue",
|
30
32
|
|
@@ -12,9 +12,6 @@ from .entity import Entity
|
|
12
12
|
|
13
13
|
@dataclass
|
14
14
|
class DeviceManagementReports(Entity, Parsable):
|
15
|
-
"""
|
16
|
-
Singleton entity that acts as a container for all reports functionality.
|
17
|
-
"""
|
18
15
|
# Entity representing a job to export a report
|
19
16
|
export_jobs: Optional[list[DeviceManagementExportJob]] = None
|
20
17
|
# The OdataType property
|
@@ -476,6 +476,7 @@ if TYPE_CHECKING:
|
|
476
476
|
from .mobile_app_category import MobileAppCategory
|
477
477
|
from .mobile_app_content import MobileAppContent
|
478
478
|
from .mobile_app_content_file import MobileAppContentFile
|
479
|
+
from .mobile_app_relationship import MobileAppRelationship
|
479
480
|
from .mobile_app_troubleshooting_event import MobileAppTroubleshootingEvent
|
480
481
|
from .mobile_contained_app import MobileContainedApp
|
481
482
|
from .mobile_lob_app import MobileLobApp
|
@@ -510,7 +511,9 @@ if TYPE_CHECKING:
|
|
510
511
|
from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension
|
511
512
|
from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener
|
512
513
|
from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener
|
514
|
+
from .on_email_otp_send_listener import OnEmailOtpSendListener
|
513
515
|
from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener
|
516
|
+
from .on_otp_send_custom_extension import OnOtpSendCustomExtension
|
514
517
|
from .on_premises_conditional_access_settings import OnPremisesConditionalAccessSettings
|
515
518
|
from .on_premises_directory_synchronization import OnPremisesDirectorySynchronization
|
516
519
|
from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension
|
@@ -2921,6 +2924,10 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
2921
2924
|
from .mobile_app_content_file import MobileAppContentFile
|
2922
2925
|
|
2923
2926
|
return MobileAppContentFile()
|
2927
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.mobileAppRelationship".casefold():
|
2928
|
+
from .mobile_app_relationship import MobileAppRelationship
|
2929
|
+
|
2930
|
+
return MobileAppRelationship()
|
2924
2931
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.mobileAppTroubleshootingEvent".casefold():
|
2925
2932
|
from .mobile_app_troubleshooting_event import MobileAppTroubleshootingEvent
|
2926
2933
|
|
@@ -3021,6 +3028,10 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
3021
3028
|
from .one_drive_for_business_restore_session import OneDriveForBusinessRestoreSession
|
3022
3029
|
|
3023
3030
|
return OneDriveForBusinessRestoreSession()
|
3031
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.onEmailOtpSendListener".casefold():
|
3032
|
+
from .on_email_otp_send_listener import OnEmailOtpSendListener
|
3033
|
+
|
3034
|
+
return OnEmailOtpSendListener()
|
3024
3035
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.onenote".casefold():
|
3025
3036
|
from .onenote import Onenote
|
3026
3037
|
|
@@ -3065,6 +3076,10 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
3065
3076
|
from .online_meeting_base import OnlineMeetingBase
|
3066
3077
|
|
3067
3078
|
return OnlineMeetingBase()
|
3079
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.onOtpSendCustomExtension".casefold():
|
3080
|
+
from .on_otp_send_custom_extension import OnOtpSendCustomExtension
|
3081
|
+
|
3082
|
+
return OnOtpSendCustomExtension()
|
3068
3083
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.onPremisesConditionalAccessSettings".casefold():
|
3069
3084
|
from .on_premises_conditional_access_settings import OnPremisesConditionalAccessSettings
|
3070
3085
|
|
@@ -5540,6 +5555,7 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
5540
5555
|
from .mobile_app_category import MobileAppCategory
|
5541
5556
|
from .mobile_app_content import MobileAppContent
|
5542
5557
|
from .mobile_app_content_file import MobileAppContentFile
|
5558
|
+
from .mobile_app_relationship import MobileAppRelationship
|
5543
5559
|
from .mobile_app_troubleshooting_event import MobileAppTroubleshootingEvent
|
5544
5560
|
from .mobile_contained_app import MobileContainedApp
|
5545
5561
|
from .mobile_lob_app import MobileLobApp
|
@@ -5574,7 +5590,9 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
5574
5590
|
from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension
|
5575
5591
|
from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener
|
5576
5592
|
from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener
|
5593
|
+
from .on_email_otp_send_listener import OnEmailOtpSendListener
|
5577
5594
|
from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener
|
5595
|
+
from .on_otp_send_custom_extension import OnOtpSendCustomExtension
|
5578
5596
|
from .on_premises_conditional_access_settings import OnPremisesConditionalAccessSettings
|
5579
5597
|
from .on_premises_directory_synchronization import OnPremisesDirectorySynchronization
|
5580
5598
|
from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension
|
@@ -6545,6 +6563,7 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
6545
6563
|
from .mobile_app_category import MobileAppCategory
|
6546
6564
|
from .mobile_app_content import MobileAppContent
|
6547
6565
|
from .mobile_app_content_file import MobileAppContentFile
|
6566
|
+
from .mobile_app_relationship import MobileAppRelationship
|
6548
6567
|
from .mobile_app_troubleshooting_event import MobileAppTroubleshootingEvent
|
6549
6568
|
from .mobile_contained_app import MobileContainedApp
|
6550
6569
|
from .mobile_lob_app import MobileLobApp
|
@@ -6579,7 +6598,9 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
6579
6598
|
from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension
|
6580
6599
|
from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener
|
6581
6600
|
from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener
|
6601
|
+
from .on_email_otp_send_listener import OnEmailOtpSendListener
|
6582
6602
|
from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener
|
6603
|
+
from .on_otp_send_custom_extension import OnOtpSendCustomExtension
|
6583
6604
|
from .on_premises_conditional_access_settings import OnPremisesConditionalAccessSettings
|
6584
6605
|
from .on_premises_directory_synchronization import OnPremisesDirectorySynchronization
|
6585
6606
|
from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension
|
@@ -0,0 +1,53 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
from collections.abc import Callable
|
3
|
+
from dataclasses import dataclass, field
|
4
|
+
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
6
|
+
|
7
|
+
if TYPE_CHECKING:
|
8
|
+
from .custom_extension_behavior_on_error import CustomExtensionBehaviorOnError
|
9
|
+
|
10
|
+
from .custom_extension_behavior_on_error import CustomExtensionBehaviorOnError
|
11
|
+
|
12
|
+
@dataclass
|
13
|
+
class FallbackToMicrosoftProviderOnError(CustomExtensionBehaviorOnError, Parsable):
|
14
|
+
# The OdataType property
|
15
|
+
odata_type: Optional[str] = "#microsoft.graph.fallbackToMicrosoftProviderOnError"
|
16
|
+
|
17
|
+
@staticmethod
|
18
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> FallbackToMicrosoftProviderOnError:
|
19
|
+
"""
|
20
|
+
Creates a new instance of the appropriate class based on discriminator value
|
21
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
22
|
+
Returns: FallbackToMicrosoftProviderOnError
|
23
|
+
"""
|
24
|
+
if parse_node is None:
|
25
|
+
raise TypeError("parse_node cannot be null.")
|
26
|
+
return FallbackToMicrosoftProviderOnError()
|
27
|
+
|
28
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
29
|
+
"""
|
30
|
+
The deserialization information for the current model
|
31
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
32
|
+
"""
|
33
|
+
from .custom_extension_behavior_on_error import CustomExtensionBehaviorOnError
|
34
|
+
|
35
|
+
from .custom_extension_behavior_on_error import CustomExtensionBehaviorOnError
|
36
|
+
|
37
|
+
fields: dict[str, Callable[[Any], None]] = {
|
38
|
+
}
|
39
|
+
super_fields = super().get_field_deserializers()
|
40
|
+
fields.update(super_fields)
|
41
|
+
return fields
|
42
|
+
|
43
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
44
|
+
"""
|
45
|
+
Serializes information the current object
|
46
|
+
param writer: Serialization writer to use to serialize this model
|
47
|
+
Returns: None
|
48
|
+
"""
|
49
|
+
if writer is None:
|
50
|
+
raise TypeError("writer cannot be null.")
|
51
|
+
super().serialize(writer)
|
52
|
+
|
53
|
+
|
@@ -8,7 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union
|
|
8
8
|
@dataclass
|
9
9
|
class FileEncryptionInfo(AdditionalDataHolder, BackedModel, Parsable):
|
10
10
|
"""
|
11
|
-
Contains properties for file encryption information for the content version of a line
|
11
|
+
Contains properties for file encryption information for the content version of a line-of-business app.
|
12
12
|
"""
|
13
13
|
# Stores model information.
|
14
14
|
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
@@ -11,7 +11,7 @@ from .mailbox_restore_artifact import MailboxRestoreArtifact
|
|
11
11
|
|
12
12
|
@dataclass
|
13
13
|
class GranularMailboxRestoreArtifact(MailboxRestoreArtifact, Parsable):
|
14
|
-
# .
|
14
|
+
# This property will be deprecated soon. Don't use.
|
15
15
|
artifact_count: Optional[int] = None
|
16
16
|
# The OdataType property
|
17
17
|
odata_type: Optional[str] = None
|
@@ -13,7 +13,7 @@ from .subject_set import SubjectSet
|
|
13
13
|
class GroupMembers(SubjectSet, Parsable):
|
14
14
|
# The OdataType property
|
15
15
|
odata_type: Optional[str] = "#microsoft.graph.groupMembers"
|
16
|
-
# The name of the group in Microsoft Entra ID. Read
|
16
|
+
# The name of the group in Microsoft Entra ID. Read-only.
|
17
17
|
description: Optional[str] = None
|
18
18
|
# The ID of the group in Microsoft Entra ID.
|
19
19
|
group_id: Optional[str] = None
|
@@ -0,0 +1,76 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
from collections.abc import Callable
|
3
|
+
from dataclasses import dataclass, field
|
4
|
+
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
6
|
+
|
7
|
+
if TYPE_CHECKING:
|
8
|
+
from .mobile_app_assignment_settings import MobileAppAssignmentSettings
|
9
|
+
|
10
|
+
from .mobile_app_assignment_settings import MobileAppAssignmentSettings
|
11
|
+
|
12
|
+
@dataclass
|
13
|
+
class IosDdmLobAppAssignmentSettings(MobileAppAssignmentSettings, Parsable):
|
14
|
+
"""
|
15
|
+
Contains properties used to assign an iOS iOS Declarative Device Management (DDM) Line Of Business (LOB) mobile app to a group.
|
16
|
+
"""
|
17
|
+
# The OdataType property
|
18
|
+
odata_type: Optional[str] = "#microsoft.graph.iosDdmLobAppAssignmentSettings"
|
19
|
+
# Domain names to associate with the app
|
20
|
+
associated_domains: Optional[list[str]] = None
|
21
|
+
# When true, the system allows direct downloads for the AssociatedDomains. When false, the system will not allow direct downloads for the AssociatedDomains. Default is false.
|
22
|
+
associated_domains_direct_download_allowed: Optional[bool] = None
|
23
|
+
# When true, indicates that the app should not be backed up to iCloud. When false, indicates that the app may be backed up to iCloud. Default is false.
|
24
|
+
prevent_managed_app_backup: Optional[bool] = None
|
25
|
+
# When true, the device locks its screen after every transaction that requires a customer’s card PIN. When false, the user can choose the behavior. Default value is false.
|
26
|
+
tap_to_pay_screen_lock_enabled: Optional[bool] = None
|
27
|
+
# The unique identifier of the relay to associate with the app.
|
28
|
+
vpn_configuration_id: Optional[str] = None
|
29
|
+
|
30
|
+
@staticmethod
|
31
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> IosDdmLobAppAssignmentSettings:
|
32
|
+
"""
|
33
|
+
Creates a new instance of the appropriate class based on discriminator value
|
34
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
35
|
+
Returns: IosDdmLobAppAssignmentSettings
|
36
|
+
"""
|
37
|
+
if parse_node is None:
|
38
|
+
raise TypeError("parse_node cannot be null.")
|
39
|
+
return IosDdmLobAppAssignmentSettings()
|
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 .mobile_app_assignment_settings import MobileAppAssignmentSettings
|
47
|
+
|
48
|
+
from .mobile_app_assignment_settings import MobileAppAssignmentSettings
|
49
|
+
|
50
|
+
fields: dict[str, Callable[[Any], None]] = {
|
51
|
+
"associatedDomains": lambda n : setattr(self, 'associated_domains', n.get_collection_of_primitive_values(str)),
|
52
|
+
"associatedDomainsDirectDownloadAllowed": lambda n : setattr(self, 'associated_domains_direct_download_allowed', n.get_bool_value()),
|
53
|
+
"preventManagedAppBackup": lambda n : setattr(self, 'prevent_managed_app_backup', n.get_bool_value()),
|
54
|
+
"tapToPayScreenLockEnabled": lambda n : setattr(self, 'tap_to_pay_screen_lock_enabled', n.get_bool_value()),
|
55
|
+
"vpnConfigurationId": lambda n : setattr(self, 'vpn_configuration_id', n.get_str_value()),
|
56
|
+
}
|
57
|
+
super_fields = super().get_field_deserializers()
|
58
|
+
fields.update(super_fields)
|
59
|
+
return fields
|
60
|
+
|
61
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
62
|
+
"""
|
63
|
+
Serializes information the current object
|
64
|
+
param writer: Serialization writer to use to serialize this model
|
65
|
+
Returns: None
|
66
|
+
"""
|
67
|
+
if writer is None:
|
68
|
+
raise TypeError("writer cannot be null.")
|
69
|
+
super().serialize(writer)
|
70
|
+
writer.write_collection_of_primitive_values("associatedDomains", self.associated_domains)
|
71
|
+
writer.write_bool_value("associatedDomainsDirectDownloadAllowed", self.associated_domains_direct_download_allowed)
|
72
|
+
writer.write_bool_value("preventManagedAppBackup", self.prevent_managed_app_backup)
|
73
|
+
writer.write_bool_value("tapToPayScreenLockEnabled", self.tap_to_pay_screen_lock_enabled)
|
74
|
+
writer.write_str_value("vpnConfigurationId", self.vpn_configuration_id)
|
75
|
+
|
76
|
+
|
@@ -18,6 +18,8 @@ class MailboxRestoreArtifact(RestoreArtifactBase, Parsable):
|
|
18
18
|
restored_folder_id: Optional[str] = None
|
19
19
|
# The new restored folder name.
|
20
20
|
restored_folder_name: Optional[str] = None
|
21
|
+
# The number of items that are being restored in the folder.
|
22
|
+
restored_item_count: Optional[int] = None
|
21
23
|
|
22
24
|
@staticmethod
|
23
25
|
def create_from_discriminator_value(parse_node: ParseNode) -> MailboxRestoreArtifact:
|
@@ -53,6 +55,7 @@ class MailboxRestoreArtifact(RestoreArtifactBase, Parsable):
|
|
53
55
|
fields: dict[str, Callable[[Any], None]] = {
|
54
56
|
"restoredFolderId": lambda n : setattr(self, 'restored_folder_id', n.get_str_value()),
|
55
57
|
"restoredFolderName": lambda n : setattr(self, 'restored_folder_name', n.get_str_value()),
|
58
|
+
"restoredItemCount": lambda n : setattr(self, 'restored_item_count', n.get_int_value()),
|
56
59
|
}
|
57
60
|
super_fields = super().get_field_deserializers()
|
58
61
|
fields.update(super_fields)
|
@@ -68,5 +71,6 @@ class MailboxRestoreArtifact(RestoreArtifactBase, Parsable):
|
|
68
71
|
raise TypeError("writer cannot be null.")
|
69
72
|
super().serialize(writer)
|
70
73
|
writer.write_str_value("restoredFolderId", self.restored_folder_id)
|
74
|
+
writer.write_int_value("restoredItemCount", self.restored_item_count)
|
71
75
|
|
72
76
|
|
@@ -3,6 +3,6 @@ from enum import Enum
|
|
3
3
|
class ManagedAppAvailability(str, Enum):
|
4
4
|
# A globally available app to all tenants.
|
5
5
|
Global_ = "global",
|
6
|
-
# A line
|
6
|
+
# A line-of-business apps private to an organization.
|
7
7
|
LineOfBusiness = "lineOfBusiness",
|
8
8
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
from enum import Enum
|
2
2
|
|
3
3
|
class ManagedAppDataStorageLocation(str, Enum):
|
4
|
-
# OneDrive for
|
4
|
+
# Indicates allowed storage location for the managed app to save files is 'OneDrive for Business'.
|
5
5
|
OneDriveForBusiness = "oneDriveForBusiness",
|
6
|
-
#
|
6
|
+
# Indicates allowed storage location for the managed app to save files is 'Sharepoint'.
|
7
7
|
SharePoint = "sharePoint",
|
8
|
-
# Box
|
8
|
+
# Indicates that the allowed storage location for a managed app to save files is to 'Box'. Box is a non-Microsoft solution that enables cloud-based file storage capabilities.
|
9
9
|
Box = "box",
|
10
|
-
#
|
10
|
+
# Indicates allowed storage location for the managed app to save files is local storage on the device.
|
11
11
|
LocalStorage = "localStorage",
|
12
12
|
|
@@ -30,7 +30,7 @@ from .entity import Entity
|
|
30
30
|
@dataclass
|
31
31
|
class ManagedDevice(Entity, Parsable):
|
32
32
|
"""
|
33
|
-
Devices that are managed or pre-enrolled through Intune
|
33
|
+
Devices that are managed or pre-enrolled through Intune. Limited support for $filter: Only properties whose descriptions mention support for $filter may be used, and combinations of those filtered properties must use 'and', not 'or'.
|
34
34
|
"""
|
35
35
|
# The code that allows the Activation Lock on managed device to be bypassed. Default, is Null (Non-Default property) for this property when returned as part of managedDevice entity in LIST call. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported. Read-only. This property is read-only.
|
36
36
|
activation_lock_bypass_code: Optional[str] = None
|
@@ -15,7 +15,7 @@ from .managed_app import ManagedApp
|
|
15
15
|
@dataclass
|
16
16
|
class ManagedMobileLobApp(ManagedApp, Parsable):
|
17
17
|
"""
|
18
|
-
An abstract base class containing properties for all managed mobile line
|
18
|
+
An abstract base class containing properties for all managed mobile line-of-business apps.
|
19
19
|
"""
|
20
20
|
# The OdataType property
|
21
21
|
odata_type: Optional[str] = "#microsoft.graph.managedMobileLobApp"
|
@@ -6,6 +6,7 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFact
|
|
6
6
|
from typing import Any, Optional, TYPE_CHECKING, Union
|
7
7
|
|
8
8
|
if TYPE_CHECKING:
|
9
|
+
from .ios_ddm_lob_app_assignment_settings import IosDdmLobAppAssignmentSettings
|
9
10
|
from .ios_lob_app_assignment_settings import IosLobAppAssignmentSettings
|
10
11
|
from .ios_store_app_assignment_settings import IosStoreAppAssignmentSettings
|
11
12
|
from .ios_vpp_app_assignment_settings import IosVppAppAssignmentSettings
|
@@ -42,6 +43,10 @@ class MobileAppAssignmentSettings(AdditionalDataHolder, BackedModel, Parsable):
|
|
42
43
|
mapping_value = child_node.get_str_value() if child_node else None
|
43
44
|
except AttributeError:
|
44
45
|
mapping_value = None
|
46
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosDdmLobAppAssignmentSettings".casefold():
|
47
|
+
from .ios_ddm_lob_app_assignment_settings import IosDdmLobAppAssignmentSettings
|
48
|
+
|
49
|
+
return IosDdmLobAppAssignmentSettings()
|
45
50
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosLobAppAssignmentSettings".casefold():
|
46
51
|
from .ios_lob_app_assignment_settings import IosLobAppAssignmentSettings
|
47
52
|
|
@@ -81,6 +86,7 @@ class MobileAppAssignmentSettings(AdditionalDataHolder, BackedModel, Parsable):
|
|
81
86
|
The deserialization information for the current model
|
82
87
|
Returns: dict[str, Callable[[ParseNode], None]]
|
83
88
|
"""
|
89
|
+
from .ios_ddm_lob_app_assignment_settings import IosDdmLobAppAssignmentSettings
|
84
90
|
from .ios_lob_app_assignment_settings import IosLobAppAssignmentSettings
|
85
91
|
from .ios_store_app_assignment_settings import IosStoreAppAssignmentSettings
|
86
92
|
from .ios_vpp_app_assignment_settings import IosVppAppAssignmentSettings
|
@@ -90,6 +96,7 @@ class MobileAppAssignmentSettings(AdditionalDataHolder, BackedModel, Parsable):
|
|
90
96
|
from .windows_app_x_app_assignment_settings import WindowsAppXAppAssignmentSettings
|
91
97
|
from .windows_universal_app_x_app_assignment_settings import WindowsUniversalAppXAppAssignmentSettings
|
92
98
|
|
99
|
+
from .ios_ddm_lob_app_assignment_settings import IosDdmLobAppAssignmentSettings
|
93
100
|
from .ios_lob_app_assignment_settings import IosLobAppAssignmentSettings
|
94
101
|
from .ios_store_app_assignment_settings import IosStoreAppAssignmentSettings
|
95
102
|
from .ios_vpp_app_assignment_settings import IosVppAppAssignmentSettings
|
@@ -0,0 +1,81 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
from collections.abc import Callable
|
3
|
+
from dataclasses import dataclass, field
|
4
|
+
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
6
|
+
|
7
|
+
if TYPE_CHECKING:
|
8
|
+
from .entity import Entity
|
9
|
+
|
10
|
+
from .entity import Entity
|
11
|
+
|
12
|
+
@dataclass
|
13
|
+
class MobileAppRelationship(Entity, Parsable):
|
14
|
+
"""
|
15
|
+
The MobileAppRelationship describes the relationship between two mobile applications by providing information that tells if an application is dependent on or superseded by another application.
|
16
|
+
"""
|
17
|
+
# The OdataType property
|
18
|
+
odata_type: Optional[str] = None
|
19
|
+
# The display name of the app that is the source of the mobile app relationship entity. For example: Orca. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
|
20
|
+
source_display_name: Optional[str] = None
|
21
|
+
# The display version of the app that is the source of the mobile app relationship entity. For example 1.0.12 or 1.2203.156 or 3. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
|
22
|
+
source_display_version: Optional[str] = None
|
23
|
+
# The unique app identifier of the source of the mobile app relationship entity. For example: 2dbc75b9-e993-4e4d-a071-91ac5a218672. If null during relationship creation, then it will be populated with parent Id. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
|
24
|
+
source_id: Optional[str] = None
|
25
|
+
# The publisher display name of the app that is the source of the mobile app relationship entity. For example: Fabrikam. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
|
26
|
+
source_publisher_display_name: Optional[str] = None
|
27
|
+
# The display name of the app that is the target of the mobile app relationship entity. For example: Firefox Setup 52.0.2 32bit.intunewin. Maximum length is 500 characters. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
|
28
|
+
target_display_name: Optional[str] = None
|
29
|
+
# The display version of the app that is the target of the mobile app relationship entity. For example 1.0 or 1.2203.156. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
|
30
|
+
target_display_version: Optional[str] = None
|
31
|
+
# The unique app identifier of the target of the mobile app relationship entity. For example: 2dbc75b9-e993-4e4d-a071-91ac5a218672. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy.
|
32
|
+
target_id: Optional[str] = None
|
33
|
+
# The publisher display name of the app that is the target of the mobile app relationship entity. For example: Fabrikam. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
|
34
|
+
target_publisher_display_name: Optional[str] = None
|
35
|
+
|
36
|
+
@staticmethod
|
37
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> MobileAppRelationship:
|
38
|
+
"""
|
39
|
+
Creates a new instance of the appropriate class based on discriminator value
|
40
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
41
|
+
Returns: MobileAppRelationship
|
42
|
+
"""
|
43
|
+
if parse_node is None:
|
44
|
+
raise TypeError("parse_node cannot be null.")
|
45
|
+
return MobileAppRelationship()
|
46
|
+
|
47
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
48
|
+
"""
|
49
|
+
The deserialization information for the current model
|
50
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
51
|
+
"""
|
52
|
+
from .entity import Entity
|
53
|
+
|
54
|
+
from .entity import Entity
|
55
|
+
|
56
|
+
fields: dict[str, Callable[[Any], None]] = {
|
57
|
+
"sourceDisplayName": lambda n : setattr(self, 'source_display_name', n.get_str_value()),
|
58
|
+
"sourceDisplayVersion": lambda n : setattr(self, 'source_display_version', n.get_str_value()),
|
59
|
+
"sourceId": lambda n : setattr(self, 'source_id', n.get_str_value()),
|
60
|
+
"sourcePublisherDisplayName": lambda n : setattr(self, 'source_publisher_display_name', n.get_str_value()),
|
61
|
+
"targetDisplayName": lambda n : setattr(self, 'target_display_name', n.get_str_value()),
|
62
|
+
"targetDisplayVersion": lambda n : setattr(self, 'target_display_version', n.get_str_value()),
|
63
|
+
"targetId": lambda n : setattr(self, 'target_id', n.get_str_value()),
|
64
|
+
"targetPublisherDisplayName": lambda n : setattr(self, 'target_publisher_display_name', n.get_str_value()),
|
65
|
+
}
|
66
|
+
super_fields = super().get_field_deserializers()
|
67
|
+
fields.update(super_fields)
|
68
|
+
return fields
|
69
|
+
|
70
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
71
|
+
"""
|
72
|
+
Serializes information the current object
|
73
|
+
param writer: Serialization writer to use to serialize this model
|
74
|
+
Returns: None
|
75
|
+
"""
|
76
|
+
if writer is None:
|
77
|
+
raise TypeError("writer cannot be null.")
|
78
|
+
super().serialize(writer)
|
79
|
+
writer.write_str_value("targetId", self.target_id)
|
80
|
+
|
81
|
+
|
@@ -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 Parsable, ParseNode, SerializationWriter
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
6
|
+
|
7
|
+
if TYPE_CHECKING:
|
8
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
9
|
+
from .mobile_app_relationship import MobileAppRelationship
|
10
|
+
|
11
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
12
|
+
|
13
|
+
@dataclass
|
14
|
+
class MobileAppRelationshipCollectionResponse(BaseCollectionPaginationCountResponse, Parsable):
|
15
|
+
# The value property
|
16
|
+
value: Optional[list[MobileAppRelationship]] = None
|
17
|
+
|
18
|
+
@staticmethod
|
19
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> MobileAppRelationshipCollectionResponse:
|
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: MobileAppRelationshipCollectionResponse
|
24
|
+
"""
|
25
|
+
if parse_node is None:
|
26
|
+
raise TypeError("parse_node cannot be null.")
|
27
|
+
return MobileAppRelationshipCollectionResponse()
|
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
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
35
|
+
from .mobile_app_relationship import MobileAppRelationship
|
36
|
+
|
37
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
38
|
+
from .mobile_app_relationship import MobileAppRelationship
|
39
|
+
|
40
|
+
fields: dict[str, Callable[[Any], None]] = {
|
41
|
+
"value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(MobileAppRelationship)),
|
42
|
+
}
|
43
|
+
super_fields = super().get_field_deserializers()
|
44
|
+
fields.update(super_fields)
|
45
|
+
return fields
|
46
|
+
|
47
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
48
|
+
"""
|
49
|
+
Serializes information the current object
|
50
|
+
param writer: Serialization writer to use to serialize this model
|
51
|
+
Returns: None
|
52
|
+
"""
|
53
|
+
if writer is None:
|
54
|
+
raise TypeError("writer cannot be null.")
|
55
|
+
super().serialize(writer)
|
56
|
+
writer.write_collection_of_object_values("value", self.value)
|
57
|
+
|
58
|
+
|
@@ -21,7 +21,7 @@ from .mobile_app import MobileApp
|
|
21
21
|
@dataclass
|
22
22
|
class MobileLobApp(MobileApp, Parsable):
|
23
23
|
"""
|
24
|
-
An abstract base class containing properties for all mobile line
|
24
|
+
An abstract base class containing properties for all mobile line-of-business apps.
|
25
25
|
"""
|
26
26
|
# The OdataType property
|
27
27
|
odata_type: Optional[str] = "#microsoft.graph.mobileLobApp"
|