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
@@ -0,0 +1,188 @@
|
|
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.mobile_app_relationship import MobileAppRelationship
|
18
|
+
from ....models.o_data_errors.o_data_error import ODataError
|
19
|
+
|
20
|
+
class MobileAppRelationshipItemRequestBuilder(BaseRequestBuilder):
|
21
|
+
"""
|
22
|
+
Provides operations to manage the mobileAppRelationships property of the microsoft.graph.deviceAppManagement entity.
|
23
|
+
"""
|
24
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
|
25
|
+
"""
|
26
|
+
Instantiates a new MobileAppRelationshipItemRequestBuilder 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}/deviceAppManagement/mobileAppRelationships/{mobileAppRelationship%2Did}{?%24expand,%24select}", path_parameters)
|
32
|
+
|
33
|
+
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
34
|
+
"""
|
35
|
+
Delete navigation property mobileAppRelationships for deviceAppManagement
|
36
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
37
|
+
Returns: None
|
38
|
+
"""
|
39
|
+
request_info = self.to_delete_request_information(
|
40
|
+
request_configuration
|
41
|
+
)
|
42
|
+
from ....models.o_data_errors.o_data_error import ODataError
|
43
|
+
|
44
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
45
|
+
"XXX": ODataError,
|
46
|
+
}
|
47
|
+
if not self.request_adapter:
|
48
|
+
raise Exception("Http core is null")
|
49
|
+
return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
|
50
|
+
|
51
|
+
async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]:
|
52
|
+
"""
|
53
|
+
The mobile app relationship represents the dependency or supersedence relationship between two Intune mobile LOB applications.
|
54
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
55
|
+
Returns: Optional[MobileAppRelationship]
|
56
|
+
"""
|
57
|
+
request_info = self.to_get_request_information(
|
58
|
+
request_configuration
|
59
|
+
)
|
60
|
+
from ....models.o_data_errors.o_data_error import ODataError
|
61
|
+
|
62
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
63
|
+
"XXX": ODataError,
|
64
|
+
}
|
65
|
+
if not self.request_adapter:
|
66
|
+
raise Exception("Http core is null")
|
67
|
+
from ....models.mobile_app_relationship import MobileAppRelationship
|
68
|
+
|
69
|
+
return await self.request_adapter.send_async(request_info, MobileAppRelationship, error_mapping)
|
70
|
+
|
71
|
+
async def patch(self,body: MobileAppRelationship, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileAppRelationship]:
|
72
|
+
"""
|
73
|
+
Update the navigation property mobileAppRelationships in deviceAppManagement
|
74
|
+
param body: The request body
|
75
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
76
|
+
Returns: Optional[MobileAppRelationship]
|
77
|
+
"""
|
78
|
+
if body is None:
|
79
|
+
raise TypeError("body cannot be null.")
|
80
|
+
request_info = self.to_patch_request_information(
|
81
|
+
body, request_configuration
|
82
|
+
)
|
83
|
+
from ....models.o_data_errors.o_data_error import ODataError
|
84
|
+
|
85
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
86
|
+
"XXX": ODataError,
|
87
|
+
}
|
88
|
+
if not self.request_adapter:
|
89
|
+
raise Exception("Http core is null")
|
90
|
+
from ....models.mobile_app_relationship import MobileAppRelationship
|
91
|
+
|
92
|
+
return await self.request_adapter.send_async(request_info, MobileAppRelationship, error_mapping)
|
93
|
+
|
94
|
+
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
95
|
+
"""
|
96
|
+
Delete navigation property mobileAppRelationships for deviceAppManagement
|
97
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
98
|
+
Returns: RequestInformation
|
99
|
+
"""
|
100
|
+
request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters)
|
101
|
+
request_info.configure(request_configuration)
|
102
|
+
request_info.headers.try_add("Accept", "application/json")
|
103
|
+
return request_info
|
104
|
+
|
105
|
+
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
106
|
+
"""
|
107
|
+
The mobile app relationship represents the dependency or supersedence relationship between two Intune mobile LOB applications.
|
108
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
109
|
+
Returns: RequestInformation
|
110
|
+
"""
|
111
|
+
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
112
|
+
request_info.configure(request_configuration)
|
113
|
+
request_info.headers.try_add("Accept", "application/json")
|
114
|
+
return request_info
|
115
|
+
|
116
|
+
def to_patch_request_information(self,body: MobileAppRelationship, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
117
|
+
"""
|
118
|
+
Update the navigation property mobileAppRelationships in deviceAppManagement
|
119
|
+
param body: The request body
|
120
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
121
|
+
Returns: RequestInformation
|
122
|
+
"""
|
123
|
+
if body is None:
|
124
|
+
raise TypeError("body cannot be null.")
|
125
|
+
request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
|
126
|
+
request_info.configure(request_configuration)
|
127
|
+
request_info.headers.try_add("Accept", "application/json")
|
128
|
+
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
|
129
|
+
return request_info
|
130
|
+
|
131
|
+
def with_url(self,raw_url: str) -> MobileAppRelationshipItemRequestBuilder:
|
132
|
+
"""
|
133
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
134
|
+
param raw_url: The raw URL to use for the request builder.
|
135
|
+
Returns: MobileAppRelationshipItemRequestBuilder
|
136
|
+
"""
|
137
|
+
if raw_url is None:
|
138
|
+
raise TypeError("raw_url cannot be null.")
|
139
|
+
return MobileAppRelationshipItemRequestBuilder(self.request_adapter, raw_url)
|
140
|
+
|
141
|
+
@dataclass
|
142
|
+
class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]):
|
143
|
+
"""
|
144
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
145
|
+
"""
|
146
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
147
|
+
|
148
|
+
@dataclass
|
149
|
+
class MobileAppRelationshipItemRequestBuilderGetQueryParameters():
|
150
|
+
"""
|
151
|
+
The mobile app relationship represents the dependency or supersedence relationship between two Intune mobile LOB applications.
|
152
|
+
"""
|
153
|
+
def get_query_parameter(self,original_name: str) -> str:
|
154
|
+
"""
|
155
|
+
Maps the query parameters names to their encoded names for the URI template parsing.
|
156
|
+
param original_name: The original query parameter name in the class.
|
157
|
+
Returns: str
|
158
|
+
"""
|
159
|
+
if original_name is None:
|
160
|
+
raise TypeError("original_name cannot be null.")
|
161
|
+
if original_name == "expand":
|
162
|
+
return "%24expand"
|
163
|
+
if original_name == "select":
|
164
|
+
return "%24select"
|
165
|
+
return original_name
|
166
|
+
|
167
|
+
# Expand related entities
|
168
|
+
expand: Optional[list[str]] = None
|
169
|
+
|
170
|
+
# Select properties to be returned
|
171
|
+
select: Optional[list[str]] = None
|
172
|
+
|
173
|
+
|
174
|
+
@dataclass
|
175
|
+
class MobileAppRelationshipItemRequestBuilderGetRequestConfiguration(RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]):
|
176
|
+
"""
|
177
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
178
|
+
"""
|
179
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
180
|
+
|
181
|
+
@dataclass
|
182
|
+
class MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]):
|
183
|
+
"""
|
184
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
185
|
+
"""
|
186
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
187
|
+
|
188
|
+
|
@@ -0,0 +1,208 @@
|
|
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.mobile_app_relationship import MobileAppRelationship
|
18
|
+
from ...models.mobile_app_relationship_collection_response import MobileAppRelationshipCollectionResponse
|
19
|
+
from ...models.o_data_errors.o_data_error import ODataError
|
20
|
+
from .count.count_request_builder import CountRequestBuilder
|
21
|
+
from .item.mobile_app_relationship_item_request_builder import MobileAppRelationshipItemRequestBuilder
|
22
|
+
|
23
|
+
class MobileAppRelationshipsRequestBuilder(BaseRequestBuilder):
|
24
|
+
"""
|
25
|
+
Provides operations to manage the mobileAppRelationships property of the microsoft.graph.deviceAppManagement entity.
|
26
|
+
"""
|
27
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
|
28
|
+
"""
|
29
|
+
Instantiates a new MobileAppRelationshipsRequestBuilder and sets the default values.
|
30
|
+
param path_parameters: The raw url or the url-template parameters for the request.
|
31
|
+
param request_adapter: The request adapter to use to execute the requests.
|
32
|
+
Returns: None
|
33
|
+
"""
|
34
|
+
super().__init__(request_adapter, "{+baseurl}/deviceAppManagement/mobileAppRelationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters)
|
35
|
+
|
36
|
+
def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> MobileAppRelationshipItemRequestBuilder:
|
37
|
+
"""
|
38
|
+
Provides operations to manage the mobileAppRelationships property of the microsoft.graph.deviceAppManagement entity.
|
39
|
+
param mobile_app_relationship_id: The unique identifier of mobileAppRelationship
|
40
|
+
Returns: MobileAppRelationshipItemRequestBuilder
|
41
|
+
"""
|
42
|
+
if mobile_app_relationship_id is None:
|
43
|
+
raise TypeError("mobile_app_relationship_id cannot be null.")
|
44
|
+
from .item.mobile_app_relationship_item_request_builder import MobileAppRelationshipItemRequestBuilder
|
45
|
+
|
46
|
+
url_tpl_params = get_path_parameters(self.path_parameters)
|
47
|
+
url_tpl_params["mobileAppRelationship%2Did"] = mobile_app_relationship_id
|
48
|
+
return MobileAppRelationshipItemRequestBuilder(self.request_adapter, url_tpl_params)
|
49
|
+
|
50
|
+
async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]:
|
51
|
+
"""
|
52
|
+
The mobile app relationship represents the dependency or supersedence relationship between two Intune mobile LOB applications.
|
53
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
|
+
Returns: Optional[MobileAppRelationshipCollectionResponse]
|
55
|
+
"""
|
56
|
+
request_info = self.to_get_request_information(
|
57
|
+
request_configuration
|
58
|
+
)
|
59
|
+
from ...models.o_data_errors.o_data_error import ODataError
|
60
|
+
|
61
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
62
|
+
"XXX": ODataError,
|
63
|
+
}
|
64
|
+
if not self.request_adapter:
|
65
|
+
raise Exception("Http core is null")
|
66
|
+
from ...models.mobile_app_relationship_collection_response import MobileAppRelationshipCollectionResponse
|
67
|
+
|
68
|
+
return await self.request_adapter.send_async(request_info, MobileAppRelationshipCollectionResponse, error_mapping)
|
69
|
+
|
70
|
+
async def post(self,body: MobileAppRelationship, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileAppRelationship]:
|
71
|
+
"""
|
72
|
+
Create new navigation property to mobileAppRelationships for deviceAppManagement
|
73
|
+
param body: The request body
|
74
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
75
|
+
Returns: Optional[MobileAppRelationship]
|
76
|
+
"""
|
77
|
+
if body is None:
|
78
|
+
raise TypeError("body cannot be null.")
|
79
|
+
request_info = self.to_post_request_information(
|
80
|
+
body, request_configuration
|
81
|
+
)
|
82
|
+
from ...models.o_data_errors.o_data_error import ODataError
|
83
|
+
|
84
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
85
|
+
"XXX": ODataError,
|
86
|
+
}
|
87
|
+
if not self.request_adapter:
|
88
|
+
raise Exception("Http core is null")
|
89
|
+
from ...models.mobile_app_relationship import MobileAppRelationship
|
90
|
+
|
91
|
+
return await self.request_adapter.send_async(request_info, MobileAppRelationship, error_mapping)
|
92
|
+
|
93
|
+
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
94
|
+
"""
|
95
|
+
The mobile app relationship represents the dependency or supersedence relationship between two Intune mobile LOB applications.
|
96
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
97
|
+
Returns: RequestInformation
|
98
|
+
"""
|
99
|
+
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
100
|
+
request_info.configure(request_configuration)
|
101
|
+
request_info.headers.try_add("Accept", "application/json")
|
102
|
+
return request_info
|
103
|
+
|
104
|
+
def to_post_request_information(self,body: MobileAppRelationship, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
105
|
+
"""
|
106
|
+
Create new navigation property to mobileAppRelationships for deviceAppManagement
|
107
|
+
param body: The request body
|
108
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
109
|
+
Returns: RequestInformation
|
110
|
+
"""
|
111
|
+
if body is None:
|
112
|
+
raise TypeError("body cannot be null.")
|
113
|
+
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
|
114
|
+
request_info.configure(request_configuration)
|
115
|
+
request_info.headers.try_add("Accept", "application/json")
|
116
|
+
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
|
117
|
+
return request_info
|
118
|
+
|
119
|
+
def with_url(self,raw_url: str) -> MobileAppRelationshipsRequestBuilder:
|
120
|
+
"""
|
121
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
122
|
+
param raw_url: The raw URL to use for the request builder.
|
123
|
+
Returns: MobileAppRelationshipsRequestBuilder
|
124
|
+
"""
|
125
|
+
if raw_url is None:
|
126
|
+
raise TypeError("raw_url cannot be null.")
|
127
|
+
return MobileAppRelationshipsRequestBuilder(self.request_adapter, raw_url)
|
128
|
+
|
129
|
+
@property
|
130
|
+
def count(self) -> CountRequestBuilder:
|
131
|
+
"""
|
132
|
+
Provides operations to count the resources in the collection.
|
133
|
+
"""
|
134
|
+
from .count.count_request_builder import CountRequestBuilder
|
135
|
+
|
136
|
+
return CountRequestBuilder(self.request_adapter, self.path_parameters)
|
137
|
+
|
138
|
+
@dataclass
|
139
|
+
class MobileAppRelationshipsRequestBuilderGetQueryParameters():
|
140
|
+
"""
|
141
|
+
The mobile app relationship represents the dependency or supersedence relationship between two Intune mobile LOB applications.
|
142
|
+
"""
|
143
|
+
def get_query_parameter(self,original_name: str) -> str:
|
144
|
+
"""
|
145
|
+
Maps the query parameters names to their encoded names for the URI template parsing.
|
146
|
+
param original_name: The original query parameter name in the class.
|
147
|
+
Returns: str
|
148
|
+
"""
|
149
|
+
if original_name is None:
|
150
|
+
raise TypeError("original_name cannot be null.")
|
151
|
+
if original_name == "count":
|
152
|
+
return "%24count"
|
153
|
+
if original_name == "expand":
|
154
|
+
return "%24expand"
|
155
|
+
if original_name == "filter":
|
156
|
+
return "%24filter"
|
157
|
+
if original_name == "orderby":
|
158
|
+
return "%24orderby"
|
159
|
+
if original_name == "search":
|
160
|
+
return "%24search"
|
161
|
+
if original_name == "select":
|
162
|
+
return "%24select"
|
163
|
+
if original_name == "skip":
|
164
|
+
return "%24skip"
|
165
|
+
if original_name == "top":
|
166
|
+
return "%24top"
|
167
|
+
return original_name
|
168
|
+
|
169
|
+
# Include count of items
|
170
|
+
count: Optional[bool] = None
|
171
|
+
|
172
|
+
# Expand related entities
|
173
|
+
expand: Optional[list[str]] = None
|
174
|
+
|
175
|
+
# Filter items by property values
|
176
|
+
filter: Optional[str] = None
|
177
|
+
|
178
|
+
# Order items by property values
|
179
|
+
orderby: Optional[list[str]] = None
|
180
|
+
|
181
|
+
# Search items by search phrases
|
182
|
+
search: Optional[str] = None
|
183
|
+
|
184
|
+
# Select properties to be returned
|
185
|
+
select: Optional[list[str]] = None
|
186
|
+
|
187
|
+
# Skip the first n items
|
188
|
+
skip: Optional[int] = None
|
189
|
+
|
190
|
+
# Show only the first n items
|
191
|
+
top: Optional[int] = None
|
192
|
+
|
193
|
+
|
194
|
+
@dataclass
|
195
|
+
class MobileAppRelationshipsRequestBuilderGetRequestConfiguration(RequestConfiguration[MobileAppRelationshipsRequestBuilderGetQueryParameters]):
|
196
|
+
"""
|
197
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
198
|
+
"""
|
199
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
200
|
+
|
201
|
+
@dataclass
|
202
|
+
class MobileAppRelationshipsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
|
203
|
+
"""
|
204
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
205
|
+
"""
|
206
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
207
|
+
|
208
|
+
|
@@ -51,10 +51,10 @@ class MobileAppItemRequestBuilder(BaseRequestBuilder):
|
|
51
51
|
|
52
52
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
53
53
|
"""
|
54
|
-
Deletes a
|
54
|
+
Deletes a win32LobApp.
|
55
55
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
56
56
|
Returns: None
|
57
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-
|
57
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-delete?view=graph-rest-1.0
|
58
58
|
"""
|
59
59
|
request_info = self.to_delete_request_information(
|
60
60
|
request_configuration
|
@@ -70,10 +70,10 @@ class MobileAppItemRequestBuilder(BaseRequestBuilder):
|
|
70
70
|
|
71
71
|
async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileApp]:
|
72
72
|
"""
|
73
|
-
Read properties and relationships of the
|
73
|
+
Read properties and relationships of the managedMobileLobApp object.
|
74
74
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
75
75
|
Returns: Optional[MobileApp]
|
76
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-
|
76
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-managedmobilelobapp-get?view=graph-rest-1.0
|
77
77
|
"""
|
78
78
|
request_info = self.to_get_request_information(
|
79
79
|
request_configuration
|
@@ -91,11 +91,11 @@ class MobileAppItemRequestBuilder(BaseRequestBuilder):
|
|
91
91
|
|
92
92
|
async def patch(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]:
|
93
93
|
"""
|
94
|
-
Update the properties of a
|
94
|
+
Update the properties of a macOSMicrosoftEdgeApp object.
|
95
95
|
param body: The request body
|
96
96
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
97
97
|
Returns: Optional[MobileApp]
|
98
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-
|
98
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-macosmicrosoftedgeapp-update?view=graph-rest-1.0
|
99
99
|
"""
|
100
100
|
if body is None:
|
101
101
|
raise TypeError("body cannot be null.")
|
@@ -115,7 +115,7 @@ class MobileAppItemRequestBuilder(BaseRequestBuilder):
|
|
115
115
|
|
116
116
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
117
117
|
"""
|
118
|
-
Deletes a
|
118
|
+
Deletes a win32LobApp.
|
119
119
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
120
120
|
Returns: RequestInformation
|
121
121
|
"""
|
@@ -126,7 +126,7 @@ class MobileAppItemRequestBuilder(BaseRequestBuilder):
|
|
126
126
|
|
127
127
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
128
128
|
"""
|
129
|
-
Read properties and relationships of the
|
129
|
+
Read properties and relationships of the managedMobileLobApp object.
|
130
130
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
131
131
|
Returns: RequestInformation
|
132
132
|
"""
|
@@ -137,7 +137,7 @@ class MobileAppItemRequestBuilder(BaseRequestBuilder):
|
|
137
137
|
|
138
138
|
def to_patch_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
139
139
|
"""
|
140
|
-
Update the properties of a
|
140
|
+
Update the properties of a macOSMicrosoftEdgeApp object.
|
141
141
|
param body: The request body
|
142
142
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
143
143
|
Returns: RequestInformation
|
@@ -341,7 +341,7 @@ class MobileAppItemRequestBuilder(BaseRequestBuilder):
|
|
341
341
|
@dataclass
|
342
342
|
class MobileAppItemRequestBuilderGetQueryParameters():
|
343
343
|
"""
|
344
|
-
Read properties and relationships of the
|
344
|
+
Read properties and relationships of the managedMobileLobApp object.
|
345
345
|
"""
|
346
346
|
def get_query_parameter(self,original_name: str) -> str:
|
347
347
|
"""
|
@@ -65,10 +65,10 @@ class MobileAppsRequestBuilder(BaseRequestBuilder):
|
|
65
65
|
|
66
66
|
async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppCollectionResponse]:
|
67
67
|
"""
|
68
|
-
List properties and relationships of the
|
68
|
+
List properties and relationships of the iosStoreApp objects.
|
69
69
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
70
70
|
Returns: Optional[MobileAppCollectionResponse]
|
71
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-
|
71
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-list?view=graph-rest-1.0
|
72
72
|
"""
|
73
73
|
request_info = self.to_get_request_information(
|
74
74
|
request_configuration
|
@@ -86,11 +86,11 @@ class MobileAppsRequestBuilder(BaseRequestBuilder):
|
|
86
86
|
|
87
87
|
async def post(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]:
|
88
88
|
"""
|
89
|
-
Create a new
|
89
|
+
Create a new win32LobApp object.
|
90
90
|
param body: The request body
|
91
91
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
92
92
|
Returns: Optional[MobileApp]
|
93
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-
|
93
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-create?view=graph-rest-1.0
|
94
94
|
"""
|
95
95
|
if body is None:
|
96
96
|
raise TypeError("body cannot be null.")
|
@@ -110,7 +110,7 @@ class MobileAppsRequestBuilder(BaseRequestBuilder):
|
|
110
110
|
|
111
111
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
112
112
|
"""
|
113
|
-
List properties and relationships of the
|
113
|
+
List properties and relationships of the iosStoreApp objects.
|
114
114
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
115
115
|
Returns: RequestInformation
|
116
116
|
"""
|
@@ -121,7 +121,7 @@ class MobileAppsRequestBuilder(BaseRequestBuilder):
|
|
121
121
|
|
122
122
|
def to_post_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
123
123
|
"""
|
124
|
-
Create a new
|
124
|
+
Create a new win32LobApp object.
|
125
125
|
param body: The request body
|
126
126
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
127
127
|
Returns: RequestInformation
|
@@ -300,7 +300,7 @@ class MobileAppsRequestBuilder(BaseRequestBuilder):
|
|
300
300
|
@dataclass
|
301
301
|
class MobileAppsRequestBuilderGetQueryParameters():
|
302
302
|
"""
|
303
|
-
List properties and relationships of the
|
303
|
+
List properties and relationships of the iosStoreApp objects.
|
304
304
|
"""
|
305
305
|
def get_query_parameter(self,original_name: str) -> str:
|
306
306
|
"""
|
@@ -70,11 +70,11 @@ class DeviceCompliancePoliciesRequestBuilder(BaseRequestBuilder):
|
|
70
70
|
|
71
71
|
async def post(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]:
|
72
72
|
"""
|
73
|
-
Create a new
|
73
|
+
Create a new androidCompliancePolicy object.
|
74
74
|
param body: The request body
|
75
75
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
76
76
|
Returns: Optional[DeviceCompliancePolicy]
|
77
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
77
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-create?view=graph-rest-1.0
|
78
78
|
"""
|
79
79
|
if body is None:
|
80
80
|
raise TypeError("body cannot be null.")
|
@@ -105,7 +105,7 @@ class DeviceCompliancePoliciesRequestBuilder(BaseRequestBuilder):
|
|
105
105
|
|
106
106
|
def to_post_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
107
107
|
"""
|
108
|
-
Create a new
|
108
|
+
Create a new androidCompliancePolicy object.
|
109
109
|
param body: The request body
|
110
110
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
111
111
|
Returns: RequestInformation
|
@@ -41,10 +41,10 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
41
41
|
|
42
42
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
43
43
|
"""
|
44
|
-
Deletes a
|
44
|
+
Deletes a windows10CompliancePolicy.
|
45
45
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
46
46
|
Returns: None
|
47
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
47
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-delete?view=graph-rest-1.0
|
48
48
|
"""
|
49
49
|
request_info = self.to_delete_request_information(
|
50
50
|
request_configuration
|
@@ -81,11 +81,11 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
81
81
|
|
82
82
|
async def patch(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]:
|
83
83
|
"""
|
84
|
-
Update the properties of a
|
84
|
+
Update the properties of a androidCompliancePolicy object.
|
85
85
|
param body: The request body
|
86
86
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
87
87
|
Returns: Optional[DeviceCompliancePolicy]
|
88
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
88
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-update?view=graph-rest-1.0
|
89
89
|
"""
|
90
90
|
if body is None:
|
91
91
|
raise TypeError("body cannot be null.")
|
@@ -105,7 +105,7 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
105
105
|
|
106
106
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
107
107
|
"""
|
108
|
-
Deletes a
|
108
|
+
Deletes a windows10CompliancePolicy.
|
109
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
110
110
|
Returns: RequestInformation
|
111
111
|
"""
|
@@ -127,7 +127,7 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
127
127
|
|
128
128
|
def to_patch_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
129
129
|
"""
|
130
|
-
Update the properties of a
|
130
|
+
Update the properties of a androidCompliancePolicy object.
|
131
131
|
param body: The request body
|
132
132
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
133
133
|
Returns: RequestInformation
|
msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py
CHANGED
@@ -49,10 +49,10 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
49
49
|
|
50
50
|
async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfigurationCollectionResponse]:
|
51
51
|
"""
|
52
|
-
List properties and relationships of the
|
52
|
+
List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects.
|
53
53
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
54
|
Returns: Optional[DeviceConfigurationCollectionResponse]
|
55
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
55
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-list?view=graph-rest-1.0
|
56
56
|
"""
|
57
57
|
request_info = self.to_get_request_information(
|
58
58
|
request_configuration
|
@@ -70,11 +70,11 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
70
70
|
|
71
71
|
async def post(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]:
|
72
72
|
"""
|
73
|
-
Create a new
|
73
|
+
Create a new macOSCustomConfiguration object.
|
74
74
|
param body: The request body
|
75
75
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
76
76
|
Returns: Optional[DeviceConfiguration]
|
77
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
77
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscustomconfiguration-create?view=graph-rest-1.0
|
78
78
|
"""
|
79
79
|
if body is None:
|
80
80
|
raise TypeError("body cannot be null.")
|
@@ -94,7 +94,7 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
94
94
|
|
95
95
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
96
96
|
"""
|
97
|
-
List properties and relationships of the
|
97
|
+
List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects.
|
98
98
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
99
99
|
Returns: RequestInformation
|
100
100
|
"""
|
@@ -105,7 +105,7 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
105
105
|
|
106
106
|
def to_post_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
107
107
|
"""
|
108
|
-
Create a new
|
108
|
+
Create a new macOSCustomConfiguration object.
|
109
109
|
param body: The request body
|
110
110
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
111
111
|
Returns: RequestInformation
|
@@ -140,7 +140,7 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
140
140
|
@dataclass
|
141
141
|
class DeviceConfigurationsRequestBuilderGetQueryParameters():
|
142
142
|
"""
|
143
|
-
List properties and relationships of the
|
143
|
+
List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects.
|
144
144
|
"""
|
145
145
|
def get_query_parameter(self,original_name: str) -> str:
|
146
146
|
"""
|