msgraph-sdk 1.35.0__py3-none-any.whl → 1.37.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/applications/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- msgraph/generated/applications/item/add_key/add_key_request_builder.py +2 -2
- msgraph/generated/applications/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/audit_logs/sign_ins/confirm_compromised/confirm_compromised_post_request_body.py +50 -0
- msgraph/generated/audit_logs/sign_ins/confirm_compromised/confirm_compromised_request_builder.py +87 -0
- msgraph/generated/audit_logs/sign_ins/confirm_safe/confirm_safe_post_request_body.py +50 -0
- msgraph/generated/audit_logs/sign_ins/confirm_safe/confirm_safe_request_builder.py +87 -0
- msgraph/generated/audit_logs/sign_ins/dismiss/dismiss_post_request_body.py +50 -0
- msgraph/generated/audit_logs/sign_ins/dismiss/dismiss_request_builder.py +87 -0
- msgraph/generated/audit_logs/sign_ins/sign_ins_request_builder.py +30 -0
- msgraph/generated/chats/item/messages/messages_request_builder.py +3 -3
- msgraph/generated/chats/item/send_activity_notification/send_activity_notification_post_request_body.py +4 -0
- msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py +3 -3
- msgraph/generated/contacts/contacts_request_builder.py +1 -52
- msgraph/generated/contacts/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- msgraph/generated/contacts/item/org_contact_item_request_builder.py +0 -81
- msgraph/generated/contacts/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/contracts/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- msgraph/generated/contracts/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/device_app_management/device_app_management_request_builder.py +2 -2
- msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +4 -4
- 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/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 +4 -4
- 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_configurations/item/managed_device_mobile_app_configuration_item_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_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 +7 -7
- 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 +4 -4
- 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/devices/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- msgraph/generated/devices/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory/administrative_units/item/administrative_unit_item_request_builder.py +3 -3
- msgraph/generated/directory/deleted_items/deleted_items_request_builder.py +3 -3
- msgraph/generated/directory/deleted_items/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- msgraph/generated/directory/deleted_items/graph_group/graph_group_request_builder.py +3 -3
- msgraph/generated/directory/deleted_items/item/directory_object_item_request_builder.py +5 -5
- msgraph/generated/directory/deleted_items/item/graph_group/graph_group_request_builder.py +3 -3
- msgraph/generated/directory/deleted_items/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/certificate_based_auth_configurations_request_builder.py +7 -5
- msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/certificate_authorities_request_builder.py +7 -5
- msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/item/certificate_authority_detail_item_request_builder.py +9 -7
- msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_based_auth_pki_item_request_builder.py +10 -7
- msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/upload/upload_request_builder.py +3 -2
- msgraph/generated/directory/public_key_infrastructure/public_key_infrastructure_request_builder.py +3 -3
- msgraph/generated/directory_objects/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- msgraph/generated/directory_objects/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory_role_templates/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- msgraph/generated/directory_role_templates/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory_roles/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- msgraph/generated/directory_roles/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/domains/item/verify/verify_request_builder.py +2 -2
- msgraph/generated/drives/item/items/item/create_link/create_link_request_builder.py +2 -2
- msgraph/generated/drives/item/items/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/group_setting_templates/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- msgraph/generated/group_setting_templates/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/group_settings/group_settings_request_builder.py +2 -2
- msgraph/generated/groups/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- msgraph/generated/groups/groups_request_builder.py +3 -3
- msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +3 -3
- msgraph/generated/groups/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/groups/item/settings/settings_request_builder.py +2 -2
- msgraph/generated/groups/item/team/send_activity_notification/send_activity_notification_post_request_body.py +4 -0
- msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +5 -5
- 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 +10 -10
- msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +7 -7
- msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +4 -4
- msgraph/generated/kiota-dom-export.txt +1000 -10
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/activities_container.py +60 -0
- msgraph/generated/models/activity_metadata.py +61 -0
- msgraph/generated/models/administrative_unit.py +1 -1
- msgraph/generated/models/ai_interaction_plugin.py +62 -0
- msgraph/generated/models/binary_content.py +57 -0
- msgraph/generated/models/call_event.py +84 -0
- msgraph/generated/models/call_event_type.py +8 -0
- msgraph/generated/models/certificate_authority_detail.py +10 -10
- msgraph/generated/models/certificate_based_auth_pki.py +5 -5
- msgraph/generated/models/classifcation_error_base.py +92 -0
- msgraph/generated/models/classification_error.py +69 -0
- msgraph/generated/models/classification_inner_error.py +67 -0
- msgraph/generated/models/content_activity.py +68 -0
- msgraph/generated/models/content_activity_collection_response.py +58 -0
- msgraph/generated/models/content_base.py +73 -0
- msgraph/generated/models/content_processing_error_type.py +7 -0
- msgraph/generated/models/custom_metadata_dictionary.py +53 -0
- msgraph/generated/models/data_security_and_governance.py +72 -0
- msgraph/generated/models/device.py +1 -1
- msgraph/generated/models/device_metadata.py +69 -0
- msgraph/generated/models/dictionary.py +7 -0
- msgraph/generated/models/directory.py +1 -1
- msgraph/generated/models/dlp_action.py +16 -0
- msgraph/generated/models/dlp_action_info.py +80 -0
- msgraph/generated/models/emergency_call_event.py +68 -0
- msgraph/generated/models/emergency_caller_info.py +77 -0
- msgraph/generated/models/entity.py +84 -0
- msgraph/generated/models/execution_mode.py +7 -0
- msgraph/generated/models/group.py +1 -1
- msgraph/generated/models/group_scope.py +53 -0
- msgraph/generated/models/integrated_application_metadata.py +74 -0
- msgraph/generated/models/label_content_right.py +61 -0
- msgraph/generated/models/operating_system_specifications.py +58 -0
- msgraph/generated/models/partners/billing/billing_reconciliation.py +7 -0
- msgraph/generated/models/partners/billing/unbilled_reconciliation.py +53 -0
- msgraph/generated/models/policy_binding.py +65 -0
- msgraph/generated/models/policy_location.py +84 -0
- msgraph/generated/models/policy_location_application.py +53 -0
- msgraph/generated/models/policy_location_domain.py +53 -0
- msgraph/generated/models/policy_location_url.py +53 -0
- msgraph/generated/models/policy_pivot_property.py +8 -0
- msgraph/generated/models/policy_scope_base.py +101 -0
- msgraph/generated/models/policy_tenant_scope.py +60 -0
- msgraph/generated/models/policy_user_scope.py +53 -0
- msgraph/generated/models/process_content_batch_request.py +69 -0
- msgraph/generated/models/process_content_metadata_base.py +113 -0
- msgraph/generated/models/process_content_request.py +89 -0
- msgraph/generated/models/process_content_response.py +75 -0
- msgraph/generated/models/process_content_responses.py +65 -0
- msgraph/generated/models/process_conversation_metadata.py +68 -0
- msgraph/generated/models/process_file_metadata.py +64 -0
- msgraph/generated/models/processing_error.py +60 -0
- msgraph/generated/models/protected_application_metadata.py +60 -0
- msgraph/generated/models/protection_scope_state.py +7 -0
- msgraph/generated/models/public_key_infrastructure_root.py +1 -1
- msgraph/generated/models/restrict_access_action.py +53 -0
- msgraph/generated/models/restrict_access_action_base.py +72 -0
- msgraph/generated/models/restriction_action.py +7 -0
- msgraph/generated/models/scope_base.py +84 -0
- msgraph/generated/models/security/security.py +7 -0
- msgraph/generated/models/tenant_data_security_and_governance.py +60 -0
- msgraph/generated/models/tenant_protection_scope_container.py +53 -0
- msgraph/generated/models/tenant_scope.py +53 -0
- msgraph/generated/models/text_content.py +57 -0
- msgraph/generated/models/upload_session.py +1 -1
- msgraph/generated/models/usage_rights.py +25 -0
- msgraph/generated/models/usage_rights_included.py +68 -0
- msgraph/generated/models/user.py +8 -1
- msgraph/generated/models/user_activity_type.py +9 -0
- msgraph/generated/models/user_activity_types.py +10 -0
- msgraph/generated/models/user_data_security_and_governance.py +67 -0
- msgraph/generated/models/user_protection_scope_container.py +53 -0
- msgraph/generated/models/user_scope.py +53 -0
- msgraph/generated/organization/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- 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 +3 -3
- msgraph/generated/organization/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/organization/organization_request_builder.py +4 -4
- msgraph/generated/permission_grants/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- msgraph/generated/permission_grants/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
- msgraph/generated/reports/partners/billing/reconciliation/reconciliation_request_builder.py +10 -0
- msgraph/generated/reports/partners/billing/reconciliation/unbilled/microsoft_graph_partners_billing_export/export_post_request_body.py +68 -0
- msgraph/generated/reports/partners/billing/reconciliation/unbilled/microsoft_graph_partners_billing_export/microsoft_graph_partners_billing_export_request_builder.py +89 -0
- msgraph/generated/reports/partners/billing/reconciliation/unbilled/unbilled_request_builder.py +198 -0
- msgraph/generated/security/data_security_and_governance/data_security_and_governance_request_builder.py +208 -0
- msgraph/generated/security/data_security_and_governance/process_content_async/process_content_async_post_request_body.py +57 -0
- msgraph/generated/security/data_security_and_governance/process_content_async/process_content_async_post_response.py +58 -0
- msgraph/generated/security/data_security_and_governance/process_content_async/process_content_async_request_builder.py +89 -0
- msgraph/generated/security/data_security_and_governance/protection_scopes/compute/compute_post_request_body.py +85 -0
- msgraph/generated/security/data_security_and_governance/protection_scopes/compute/compute_post_response.py +58 -0
- msgraph/generated/security/data_security_and_governance/protection_scopes/compute/compute_request_builder.py +89 -0
- msgraph/generated/security/data_security_and_governance/protection_scopes/protection_scopes_request_builder.py +198 -0
- msgraph/generated/security/security_request_builder.py +10 -0
- msgraph/generated/service_principals/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- msgraph/generated/service_principals/item/add_key/add_key_request_builder.py +2 -2
- msgraph/generated/service_principals/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/sites/item/lists/item/list_item_request_builder.py +4 -4
- msgraph/generated/sites/sites_request_builder.py +4 -4
- msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py +3 -3
- msgraph/generated/teams/item/schedule/shifts/item/shift_item_request_builder.py +2 -2
- msgraph/generated/teams/item/send_activity_notification/send_activity_notification_post_request_body.py +4 -0
- msgraph/generated/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_post_request_body.py +4 -0
- msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +3 -3
- msgraph/generated/users/get_available_extension_properties/get_available_extension_properties_request_builder.py +2 -2
- msgraph/generated/users/item/chats/item/send_activity_notification/send_activity_notification_post_request_body.py +4 -0
- msgraph/generated/users/item/data_security_and_governance/activities/activities_request_builder.py +198 -0
- msgraph/generated/users/item/data_security_and_governance/activities/content_activities/content_activities_request_builder.py +208 -0
- msgraph/generated/users/item/data_security_and_governance/activities/content_activities/count/count_request_builder.py +104 -0
- msgraph/generated/users/item/data_security_and_governance/activities/content_activities/item/content_activity_item_request_builder.py +188 -0
- msgraph/generated/users/item/data_security_and_governance/data_security_and_governance_request_builder.py +218 -0
- msgraph/generated/users/item/data_security_and_governance/process_content/process_content_post_request_body.py +57 -0
- msgraph/generated/users/item/data_security_and_governance/process_content/process_content_request_builder.py +90 -0
- msgraph/generated/users/item/data_security_and_governance/protection_scopes/compute/compute_post_request_body.py +85 -0
- msgraph/generated/users/item/data_security_and_governance/protection_scopes/compute/compute_post_response.py +58 -0
- msgraph/generated/users/item/data_security_and_governance/protection_scopes/compute/compute_request_builder.py +89 -0
- msgraph/generated/users/item/data_security_and_governance/protection_scopes/protection_scopes_request_builder.py +198 -0
- msgraph/generated/users/item/joined_teams/item/send_activity_notification/send_activity_notification_post_request_body.py +4 -0
- msgraph/generated/users/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/users/item/teamwork/send_activity_notification/send_activity_notification_post_request_body.py +4 -0
- msgraph/generated/users/item/user_item_request_builder.py +16 -6
- msgraph/generated/users/users_request_builder.py +5 -5
- msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +6 -6
- {msgraph_sdk-1.35.0.dist-info → msgraph_sdk-1.37.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.35.0.dist-info → msgraph_sdk-1.37.0.dist-info}/RECORD +210 -122
- {msgraph_sdk-1.35.0.dist-info → msgraph_sdk-1.37.0.dist-info}/WHEEL +0 -0
- {msgraph_sdk-1.35.0.dist-info → msgraph_sdk-1.37.0.dist-info}/licenses/LICENSE +0 -0
@@ -14,7 +14,6 @@ from typing import Any, Optional, TYPE_CHECKING, Union
|
|
14
14
|
from warnings import warn
|
15
15
|
|
16
16
|
if TYPE_CHECKING:
|
17
|
-
from ..models.org_contact import OrgContact
|
18
17
|
from ..models.org_contact_collection_response import OrgContactCollectionResponse
|
19
18
|
from ..models.o_data_errors.o_data_error import ODataError
|
20
19
|
from .count.count_request_builder import CountRequestBuilder
|
@@ -35,7 +34,7 @@ class ContactsRequestBuilder(BaseRequestBuilder):
|
|
35
34
|
param request_adapter: The request adapter to use to execute the requests.
|
36
35
|
Returns: None
|
37
36
|
"""
|
38
|
-
super().__init__(request_adapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%
|
37
|
+
super().__init__(request_adapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24top}", path_parameters)
|
39
38
|
|
40
39
|
def by_org_contact_id(self,org_contact_id: str) -> OrgContactItemRequestBuilder:
|
41
40
|
"""
|
@@ -72,29 +71,6 @@ class ContactsRequestBuilder(BaseRequestBuilder):
|
|
72
71
|
|
73
72
|
return await self.request_adapter.send_async(request_info, OrgContactCollectionResponse, error_mapping)
|
74
73
|
|
75
|
-
async def post(self,body: OrgContact, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[OrgContact]:
|
76
|
-
"""
|
77
|
-
Add new entity to contacts
|
78
|
-
param body: The request body
|
79
|
-
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
80
|
-
Returns: Optional[OrgContact]
|
81
|
-
"""
|
82
|
-
if body is None:
|
83
|
-
raise TypeError("body cannot be null.")
|
84
|
-
request_info = self.to_post_request_information(
|
85
|
-
body, request_configuration
|
86
|
-
)
|
87
|
-
from ..models.o_data_errors.o_data_error import ODataError
|
88
|
-
|
89
|
-
error_mapping: dict[str, type[ParsableFactory]] = {
|
90
|
-
"XXX": ODataError,
|
91
|
-
}
|
92
|
-
if not self.request_adapter:
|
93
|
-
raise Exception("Http core is null")
|
94
|
-
from ..models.org_contact import OrgContact
|
95
|
-
|
96
|
-
return await self.request_adapter.send_async(request_info, OrgContact, error_mapping)
|
97
|
-
|
98
74
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ContactsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
99
75
|
"""
|
100
76
|
Get the list of organizational contacts for this organization.
|
@@ -106,21 +82,6 @@ class ContactsRequestBuilder(BaseRequestBuilder):
|
|
106
82
|
request_info.headers.try_add("Accept", "application/json")
|
107
83
|
return request_info
|
108
84
|
|
109
|
-
def to_post_request_information(self,body: OrgContact, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
110
|
-
"""
|
111
|
-
Add new entity to contacts
|
112
|
-
param body: The request body
|
113
|
-
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
114
|
-
Returns: RequestInformation
|
115
|
-
"""
|
116
|
-
if body is None:
|
117
|
-
raise TypeError("body cannot be null.")
|
118
|
-
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
|
119
|
-
request_info.configure(request_configuration)
|
120
|
-
request_info.headers.try_add("Accept", "application/json")
|
121
|
-
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
|
122
|
-
return request_info
|
123
|
-
|
124
85
|
def with_url(self,raw_url: str) -> ContactsRequestBuilder:
|
125
86
|
"""
|
126
87
|
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
@@ -201,8 +162,6 @@ class ContactsRequestBuilder(BaseRequestBuilder):
|
|
201
162
|
return "%24search"
|
202
163
|
if original_name == "select":
|
203
164
|
return "%24select"
|
204
|
-
if original_name == "skip":
|
205
|
-
return "%24skip"
|
206
165
|
if original_name == "top":
|
207
166
|
return "%24top"
|
208
167
|
return original_name
|
@@ -225,9 +184,6 @@ class ContactsRequestBuilder(BaseRequestBuilder):
|
|
225
184
|
# Select properties to be returned
|
226
185
|
select: Optional[list[str]] = None
|
227
186
|
|
228
|
-
# Skip the first n items
|
229
|
-
skip: Optional[int] = None
|
230
|
-
|
231
187
|
# Show only the first n items
|
232
188
|
top: Optional[int] = None
|
233
189
|
|
@@ -239,11 +195,4 @@ class ContactsRequestBuilder(BaseRequestBuilder):
|
|
239
195
|
"""
|
240
196
|
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
241
197
|
|
242
|
-
@dataclass
|
243
|
-
class ContactsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
|
244
|
-
"""
|
245
|
-
Configuration for the request such as headers, query parameters, and middleware options.
|
246
|
-
"""
|
247
|
-
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
248
|
-
|
249
198
|
|
@@ -33,7 +33,7 @@ class GetAvailableExtensionPropertiesRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: GetAvailableExtensionPropertiesPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetAvailableExtensionPropertiesPostResponse]:
|
35
35
|
"""
|
36
|
-
Return all directory extension definitions that
|
36
|
+
Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties:
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[GetAvailableExtensionPropertiesPostResponse]
|
@@ -57,7 +57,7 @@ class GetAvailableExtensionPropertiesRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: GetAvailableExtensionPropertiesPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Return all directory extension definitions that
|
60
|
+
Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties:
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
@@ -41,24 +41,6 @@ class OrgContactItemRequestBuilder(BaseRequestBuilder):
|
|
41
41
|
"""
|
42
42
|
super().__init__(request_adapter, "{+baseurl}/contacts/{orgContact%2Did}{?%24expand,%24select}", path_parameters)
|
43
43
|
|
44
|
-
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
45
|
-
"""
|
46
|
-
Delete entity from contacts
|
47
|
-
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
48
|
-
Returns: None
|
49
|
-
"""
|
50
|
-
request_info = self.to_delete_request_information(
|
51
|
-
request_configuration
|
52
|
-
)
|
53
|
-
from ...models.o_data_errors.o_data_error import ODataError
|
54
|
-
|
55
|
-
error_mapping: dict[str, type[ParsableFactory]] = {
|
56
|
-
"XXX": ODataError,
|
57
|
-
}
|
58
|
-
if not self.request_adapter:
|
59
|
-
raise Exception("Http core is null")
|
60
|
-
return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
|
61
|
-
|
62
44
|
async def get(self,request_configuration: Optional[RequestConfiguration[OrgContactItemRequestBuilderGetQueryParameters]] = None) -> Optional[OrgContact]:
|
63
45
|
"""
|
64
46
|
Get the properties and relationships of an organizational contact.
|
@@ -80,40 +62,6 @@ class OrgContactItemRequestBuilder(BaseRequestBuilder):
|
|
80
62
|
|
81
63
|
return await self.request_adapter.send_async(request_info, OrgContact, error_mapping)
|
82
64
|
|
83
|
-
async def patch(self,body: OrgContact, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[OrgContact]:
|
84
|
-
"""
|
85
|
-
Update entity in contacts
|
86
|
-
param body: The request body
|
87
|
-
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
88
|
-
Returns: Optional[OrgContact]
|
89
|
-
"""
|
90
|
-
if body is None:
|
91
|
-
raise TypeError("body cannot be null.")
|
92
|
-
request_info = self.to_patch_request_information(
|
93
|
-
body, request_configuration
|
94
|
-
)
|
95
|
-
from ...models.o_data_errors.o_data_error import ODataError
|
96
|
-
|
97
|
-
error_mapping: dict[str, type[ParsableFactory]] = {
|
98
|
-
"XXX": ODataError,
|
99
|
-
}
|
100
|
-
if not self.request_adapter:
|
101
|
-
raise Exception("Http core is null")
|
102
|
-
from ...models.org_contact import OrgContact
|
103
|
-
|
104
|
-
return await self.request_adapter.send_async(request_info, OrgContact, error_mapping)
|
105
|
-
|
106
|
-
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
107
|
-
"""
|
108
|
-
Delete entity from contacts
|
109
|
-
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
110
|
-
Returns: RequestInformation
|
111
|
-
"""
|
112
|
-
request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters)
|
113
|
-
request_info.configure(request_configuration)
|
114
|
-
request_info.headers.try_add("Accept", "application/json")
|
115
|
-
return request_info
|
116
|
-
|
117
65
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrgContactItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
118
66
|
"""
|
119
67
|
Get the properties and relationships of an organizational contact.
|
@@ -125,21 +73,6 @@ class OrgContactItemRequestBuilder(BaseRequestBuilder):
|
|
125
73
|
request_info.headers.try_add("Accept", "application/json")
|
126
74
|
return request_info
|
127
75
|
|
128
|
-
def to_patch_request_information(self,body: OrgContact, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
129
|
-
"""
|
130
|
-
Update entity in contacts
|
131
|
-
param body: The request body
|
132
|
-
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
133
|
-
Returns: RequestInformation
|
134
|
-
"""
|
135
|
-
if body is None:
|
136
|
-
raise TypeError("body cannot be null.")
|
137
|
-
request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
|
138
|
-
request_info.configure(request_configuration)
|
139
|
-
request_info.headers.try_add("Accept", "application/json")
|
140
|
-
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
|
141
|
-
return request_info
|
142
|
-
|
143
76
|
def with_url(self,raw_url: str) -> OrgContactItemRequestBuilder:
|
144
77
|
"""
|
145
78
|
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
@@ -249,13 +182,6 @@ class OrgContactItemRequestBuilder(BaseRequestBuilder):
|
|
249
182
|
|
250
183
|
return TransitiveMemberOfRequestBuilder(self.request_adapter, self.path_parameters)
|
251
184
|
|
252
|
-
@dataclass
|
253
|
-
class OrgContactItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]):
|
254
|
-
"""
|
255
|
-
Configuration for the request such as headers, query parameters, and middleware options.
|
256
|
-
"""
|
257
|
-
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
258
|
-
|
259
185
|
@dataclass
|
260
186
|
class OrgContactItemRequestBuilderGetQueryParameters():
|
261
187
|
"""
|
@@ -289,11 +215,4 @@ class OrgContactItemRequestBuilder(BaseRequestBuilder):
|
|
289
215
|
"""
|
290
216
|
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
291
217
|
|
292
|
-
@dataclass
|
293
|
-
class OrgContactItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]):
|
294
|
-
"""
|
295
|
-
Configuration for the request such as headers, query parameters, and middleware options.
|
296
|
-
"""
|
297
|
-
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
298
|
-
|
299
218
|
|
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
|
34
34
|
"""
|
35
|
-
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items.
|
35
|
+
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
37
37
|
Returns: Optional[DirectoryObject]
|
38
38
|
Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
|
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
|
|
53
53
|
|
54
54
|
def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
55
55
|
"""
|
56
|
-
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items.
|
56
|
+
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
58
58
|
Returns: RequestInformation
|
59
59
|
"""
|
@@ -33,7 +33,7 @@ class GetAvailableExtensionPropertiesRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: GetAvailableExtensionPropertiesPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetAvailableExtensionPropertiesPostResponse]:
|
35
35
|
"""
|
36
|
-
Return all directory extension definitions that
|
36
|
+
Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties:
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[GetAvailableExtensionPropertiesPostResponse]
|
@@ -57,7 +57,7 @@ class GetAvailableExtensionPropertiesRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: GetAvailableExtensionPropertiesPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Return all directory extension definitions that
|
60
|
+
Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties:
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
|
34
34
|
"""
|
35
|
-
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items.
|
35
|
+
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
37
37
|
Returns: Optional[DirectoryObject]
|
38
38
|
Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
|
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
|
|
53
53
|
|
54
54
|
def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
55
55
|
"""
|
56
|
-
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items.
|
56
|
+
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
58
58
|
Returns: RequestInformation
|
59
59
|
"""
|
@@ -50,7 +50,7 @@ class DeviceAppManagementRequestBuilder(BaseRequestBuilder):
|
|
50
50
|
Read properties and relationships of the deviceAppManagement object.
|
51
51
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
52
52
|
Returns: Optional[DeviceAppManagement]
|
53
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-
|
53
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0
|
54
54
|
"""
|
55
55
|
request_info = self.to_get_request_information(
|
56
56
|
request_configuration
|
@@ -72,7 +72,7 @@ class DeviceAppManagementRequestBuilder(BaseRequestBuilder):
|
|
72
72
|
param body: The request body
|
73
73
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
74
74
|
Returns: Optional[DeviceAppManagement]
|
75
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-
|
75
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-update?view=graph-rest-1.0
|
76
76
|
"""
|
77
77
|
if body is None:
|
78
78
|
raise TypeError("body cannot be null.")
|
@@ -51,10 +51,10 @@ class ManagedAppPolicyItemRequestBuilder(BaseRequestBuilder):
|
|
51
51
|
|
52
52
|
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicy]:
|
53
53
|
"""
|
54
|
-
Read properties and relationships of the
|
54
|
+
Read properties and relationships of the managedAppConfiguration object.
|
55
55
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
56
56
|
Returns: Optional[ManagedAppPolicy]
|
57
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-
|
57
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0
|
58
58
|
"""
|
59
59
|
request_info = self.to_get_request_information(
|
60
60
|
request_configuration
|
@@ -106,7 +106,7 @@ class ManagedAppPolicyItemRequestBuilder(BaseRequestBuilder):
|
|
106
106
|
|
107
107
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
108
108
|
"""
|
109
|
-
Read properties and relationships of the
|
109
|
+
Read properties and relationships of the managedAppConfiguration object.
|
110
110
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
111
111
|
Returns: RequestInformation
|
112
112
|
"""
|
@@ -159,7 +159,7 @@ class ManagedAppPolicyItemRequestBuilder(BaseRequestBuilder):
|
|
159
159
|
@dataclass
|
160
160
|
class ManagedAppPolicyItemRequestBuilderGetQueryParameters():
|
161
161
|
"""
|
162
|
-
Read properties and relationships of the
|
162
|
+
Read properties and relationships of the managedAppConfiguration object.
|
163
163
|
"""
|
164
164
|
def get_query_parameter(self,original_name: str) -> str:
|
165
165
|
"""
|
msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py
CHANGED
@@ -49,10 +49,10 @@ class ManagedAppPoliciesRequestBuilder(BaseRequestBuilder):
|
|
49
49
|
|
50
50
|
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicyCollectionResponse]:
|
51
51
|
"""
|
52
|
-
List properties and relationships of the
|
52
|
+
List properties and relationships of the managedAppConfiguration objects.
|
53
53
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
54
|
Returns: Optional[ManagedAppPolicyCollectionResponse]
|
55
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-
|
55
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0
|
56
56
|
"""
|
57
57
|
request_info = self.to_get_request_information(
|
58
58
|
request_configuration
|
@@ -93,7 +93,7 @@ class ManagedAppPoliciesRequestBuilder(BaseRequestBuilder):
|
|
93
93
|
|
94
94
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
95
95
|
"""
|
96
|
-
List properties and relationships of the
|
96
|
+
List properties and relationships of the managedAppConfiguration objects.
|
97
97
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
98
98
|
Returns: RequestInformation
|
99
99
|
"""
|
@@ -139,7 +139,7 @@ class ManagedAppPoliciesRequestBuilder(BaseRequestBuilder):
|
|
139
139
|
@dataclass
|
140
140
|
class ManagedAppPoliciesRequestBuilderGetQueryParameters():
|
141
141
|
"""
|
142
|
-
List properties and relationships of the
|
142
|
+
List properties and relationships of the managedAppConfiguration objects.
|
143
143
|
"""
|
144
144
|
def get_query_parameter(self,original_name: str) -> str:
|
145
145
|
"""
|
@@ -53,10 +53,10 @@ class ManagedAppRegistrationItemRequestBuilder(BaseRequestBuilder):
|
|
53
53
|
|
54
54
|
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistration]:
|
55
55
|
"""
|
56
|
-
Read properties and relationships of the
|
56
|
+
Read properties and relationships of the androidManagedAppRegistration object.
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
58
58
|
Returns: Optional[ManagedAppRegistration]
|
59
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-
|
59
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0
|
60
60
|
"""
|
61
61
|
request_info = self.to_get_request_information(
|
62
62
|
request_configuration
|
@@ -108,7 +108,7 @@ class ManagedAppRegistrationItemRequestBuilder(BaseRequestBuilder):
|
|
108
108
|
|
109
109
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
110
110
|
"""
|
111
|
-
Read properties and relationships of the
|
111
|
+
Read properties and relationships of the androidManagedAppRegistration object.
|
112
112
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
113
113
|
Returns: RequestInformation
|
114
114
|
"""
|
@@ -179,7 +179,7 @@ class ManagedAppRegistrationItemRequestBuilder(BaseRequestBuilder):
|
|
179
179
|
@dataclass
|
180
180
|
class ManagedAppRegistrationItemRequestBuilderGetQueryParameters():
|
181
181
|
"""
|
182
|
-
Read properties and relationships of the
|
182
|
+
Read properties and relationships of the androidManagedAppRegistration object.
|
183
183
|
"""
|
184
184
|
def get_query_parameter(self,original_name: str) -> str:
|
185
185
|
"""
|
@@ -50,10 +50,10 @@ class ManagedAppRegistrationsRequestBuilder(BaseRequestBuilder):
|
|
50
50
|
|
51
51
|
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistrationCollectionResponse]:
|
52
52
|
"""
|
53
|
-
List properties and relationships of the
|
53
|
+
List properties and relationships of the androidManagedAppRegistration objects.
|
54
54
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
55
55
|
Returns: Optional[ManagedAppRegistrationCollectionResponse]
|
56
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-
|
56
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0
|
57
57
|
"""
|
58
58
|
request_info = self.to_get_request_information(
|
59
59
|
request_configuration
|
@@ -95,7 +95,7 @@ class ManagedAppRegistrationsRequestBuilder(BaseRequestBuilder):
|
|
95
95
|
|
96
96
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
97
97
|
"""
|
98
|
-
List properties and relationships of the
|
98
|
+
List properties and relationships of the androidManagedAppRegistration objects.
|
99
99
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
100
100
|
Returns: RequestInformation
|
101
101
|
"""
|
@@ -150,7 +150,7 @@ class ManagedAppRegistrationsRequestBuilder(BaseRequestBuilder):
|
|
150
150
|
@dataclass
|
151
151
|
class ManagedAppRegistrationsRequestBuilderGetQueryParameters():
|
152
152
|
"""
|
153
|
-
List properties and relationships of the
|
153
|
+
List properties and relationships of the androidManagedAppRegistration objects.
|
154
154
|
"""
|
155
155
|
def get_query_parameter(self,original_name: str) -> str:
|
156
156
|
"""
|
@@ -50,10 +50,10 @@ class ManagedAppStatusItemRequestBuilder(BaseRequestBuilder):
|
|
50
50
|
|
51
51
|
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppStatus]:
|
52
52
|
"""
|
53
|
-
Read properties and relationships of the
|
53
|
+
Read properties and relationships of the managedAppStatusRaw object.
|
54
54
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
55
55
|
Returns: Optional[ManagedAppStatus]
|
56
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-
|
56
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0
|
57
57
|
"""
|
58
58
|
request_info = self.to_get_request_information(
|
59
59
|
request_configuration
|
@@ -105,7 +105,7 @@ class ManagedAppStatusItemRequestBuilder(BaseRequestBuilder):
|
|
105
105
|
|
106
106
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
107
107
|
"""
|
108
|
-
Read properties and relationships of the
|
108
|
+
Read properties and relationships of the managedAppStatusRaw object.
|
109
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
110
110
|
Returns: RequestInformation
|
111
111
|
"""
|
@@ -149,7 +149,7 @@ class ManagedAppStatusItemRequestBuilder(BaseRequestBuilder):
|
|
149
149
|
@dataclass
|
150
150
|
class ManagedAppStatusItemRequestBuilderGetQueryParameters():
|
151
151
|
"""
|
152
|
-
Read properties and relationships of the
|
152
|
+
Read properties and relationships of the managedAppStatusRaw object.
|
153
153
|
"""
|
154
154
|
def get_query_parameter(self,original_name: str) -> str:
|
155
155
|
"""
|
msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py
CHANGED
@@ -49,10 +49,10 @@ class ManagedAppStatusesRequestBuilder(BaseRequestBuilder):
|
|
49
49
|
|
50
50
|
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppStatusCollectionResponse]:
|
51
51
|
"""
|
52
|
-
List properties and relationships of the
|
52
|
+
List properties and relationships of the managedAppStatusRaw objects.
|
53
53
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
54
|
Returns: Optional[ManagedAppStatusCollectionResponse]
|
55
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-
|
55
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0
|
56
56
|
"""
|
57
57
|
request_info = self.to_get_request_information(
|
58
58
|
request_configuration
|
@@ -93,7 +93,7 @@ class ManagedAppStatusesRequestBuilder(BaseRequestBuilder):
|
|
93
93
|
|
94
94
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
95
95
|
"""
|
96
|
-
List properties and relationships of the
|
96
|
+
List properties and relationships of the managedAppStatusRaw objects.
|
97
97
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
98
98
|
Returns: RequestInformation
|
99
99
|
"""
|
@@ -139,7 +139,7 @@ class ManagedAppStatusesRequestBuilder(BaseRequestBuilder):
|
|
139
139
|
@dataclass
|
140
140
|
class ManagedAppStatusesRequestBuilderGetQueryParameters():
|
141
141
|
"""
|
142
|
-
List properties and relationships of the
|
142
|
+
List properties and relationships of the managedAppStatusRaw objects.
|
143
143
|
"""
|
144
144
|
def get_query_parameter(self,original_name: str) -> str:
|
145
145
|
"""
|
@@ -70,11 +70,11 @@ class AssignmentsRequestBuilder(BaseRequestBuilder):
|
|
70
70
|
|
71
71
|
async def post(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]:
|
72
72
|
"""
|
73
|
-
Create a new
|
73
|
+
Create a new managedEBookAssignment 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[ManagedEBookAssignment]
|
77
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-
|
77
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-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 AssignmentsRequestBuilder(BaseRequestBuilder):
|
|
105
105
|
|
106
106
|
def to_post_request_information(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
107
107
|
"""
|
108
|
-
Create a new
|
108
|
+
Create a new managedEBookAssignment 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
|
@@ -51,10 +51,10 @@ class ManagedEBookAssignmentItemRequestBuilder(BaseRequestBuilder):
|
|
51
51
|
|
52
52
|
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBookAssignmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookAssignment]:
|
53
53
|
"""
|
54
|
-
Read properties and relationships of the
|
54
|
+
Read properties and relationships of the managedEBookAssignment object.
|
55
55
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
56
56
|
Returns: Optional[ManagedEBookAssignment]
|
57
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-
|
57
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0
|
58
58
|
"""
|
59
59
|
request_info = self.to_get_request_information(
|
60
60
|
request_configuration
|
@@ -107,7 +107,7 @@ class ManagedEBookAssignmentItemRequestBuilder(BaseRequestBuilder):
|
|
107
107
|
|
108
108
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBookAssignmentItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
109
109
|
"""
|
110
|
-
Read properties and relationships of the
|
110
|
+
Read properties and relationships of the managedEBookAssignment object.
|
111
111
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
112
112
|
Returns: RequestInformation
|
113
113
|
"""
|
@@ -151,7 +151,7 @@ class ManagedEBookAssignmentItemRequestBuilder(BaseRequestBuilder):
|
|
151
151
|
@dataclass
|
152
152
|
class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters():
|
153
153
|
"""
|
154
|
-
Read properties and relationships of the
|
154
|
+
Read properties and relationships of the managedEBookAssignment object.
|
155
155
|
"""
|
156
156
|
def get_query_parameter(self,original_name: str) -> str:
|
157
157
|
"""
|
msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py
CHANGED
@@ -56,10 +56,10 @@ class ManagedEBookItemRequestBuilder(BaseRequestBuilder):
|
|
56
56
|
|
57
57
|
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBookItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBook]:
|
58
58
|
"""
|
59
|
-
Read properties and relationships of the
|
59
|
+
Read properties and relationships of the managedEBook object.
|
60
60
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
61
61
|
Returns: Optional[ManagedEBook]
|
62
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-
|
62
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0
|
63
63
|
"""
|
64
64
|
request_info = self.to_get_request_information(
|
65
65
|
request_configuration
|
@@ -112,7 +112,7 @@ class ManagedEBookItemRequestBuilder(BaseRequestBuilder):
|
|
112
112
|
|
113
113
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBookItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
114
114
|
"""
|
115
|
-
Read properties and relationships of the
|
115
|
+
Read properties and relationships of the managedEBook object.
|
116
116
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
117
117
|
Returns: RequestInformation
|
118
118
|
"""
|
@@ -201,7 +201,7 @@ class ManagedEBookItemRequestBuilder(BaseRequestBuilder):
|
|
201
201
|
@dataclass
|
202
202
|
class ManagedEBookItemRequestBuilderGetQueryParameters():
|
203
203
|
"""
|
204
|
-
Read properties and relationships of the
|
204
|
+
Read properties and relationships of the managedEBook object.
|
205
205
|
"""
|
206
206
|
def get_query_parameter(self,original_name: str) -> str:
|
207
207
|
"""
|
@@ -57,10 +57,10 @@ class ManagedDeviceMobileAppConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedDeviceMobileAppConfiguration]:
|
59
59
|
"""
|
60
|
-
Read properties and relationships of the
|
60
|
+
Read properties and relationships of the iosMobileAppConfiguration object.
|
61
61
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
62
62
|
Returns: Optional[ManagedDeviceMobileAppConfiguration]
|
63
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-
|
63
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0
|
64
64
|
"""
|
65
65
|
request_info = self.to_get_request_information(
|
66
66
|
request_configuration
|
@@ -113,7 +113,7 @@ class ManagedDeviceMobileAppConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
113
113
|
|
114
114
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
115
115
|
"""
|
116
|
-
Read properties and relationships of the
|
116
|
+
Read properties and relationships of the iosMobileAppConfiguration object.
|
117
117
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
118
118
|
Returns: RequestInformation
|
119
119
|
"""
|
@@ -211,7 +211,7 @@ class ManagedDeviceMobileAppConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
211
211
|
@dataclass
|
212
212
|
class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters():
|
213
213
|
"""
|
214
|
-
Read properties and relationships of the
|
214
|
+
Read properties and relationships of the iosMobileAppConfiguration object.
|
215
215
|
"""
|
216
216
|
def get_query_parameter(self,original_name: str) -> str:
|
217
217
|
"""
|