msgraph-sdk 1.13.0__py3-none-any.whl → 1.15.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/app_catalogs/teams_apps/teams_apps_request_builder.py +3 -3
- msgraph/generated/chats/item/messages/messages_request_builder.py +3 -3
- msgraph/generated/device_app_management/device_app_management_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_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/managed_app_registrations_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 +7 -7
- msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +7 -7
- msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_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 +7 -7
- 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 +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 +6 -6
- msgraph/generated/device_management/device_management_request_builder.py +2 -2
- msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +10 -10
- msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +7 -7
- msgraph/generated/drives/item/items/item/discard_checkout/discard_checkout_request_builder.py +78 -0
- msgraph/generated/drives/item/items/item/drive_item_item_request_builder.py +10 -0
- msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +3 -3
- msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +3 -3
- msgraph/generated/groups/item/assign_license/assign_license_request_builder.py +2 -2
- msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +4 -4
- msgraph/generated/groups/item/group_item_request_builder.py +2 -2
- msgraph/generated/groups/item/renew/renew_request_builder.py +2 -2
- msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +4 -4
- msgraph/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py +2 -2
- msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +4 -4
- msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +6 -6
- msgraph/generated/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py +3 -3
- msgraph/generated/kiota-dom-export.txt +1259 -0
- msgraph/generated/kiota-lock.json +2 -2
- msgraph/generated/models/administrative_unit.py +1 -1
- msgraph/generated/models/app_management_restriction_state.py +7 -0
- msgraph/generated/models/app_role_assignment.py +2 -2
- msgraph/generated/models/application.py +1 -1
- msgraph/generated/models/base_item.py +16 -0
- msgraph/generated/models/conditional_access_authentication_flows.py +62 -0
- msgraph/generated/models/conditional_access_client_applications.py +1 -1
- msgraph/generated/models/conditional_access_condition_set.py +9 -1
- msgraph/generated/models/conditional_access_transfer_methods.py +8 -0
- msgraph/generated/models/device.py +1 -1
- msgraph/generated/models/eligibility_filtering_enabled_entities.py +9 -0
- msgraph/generated/models/entity.py +32 -0
- msgraph/generated/models/file_storage.py +4 -0
- msgraph/generated/models/file_storage_container.py +16 -0
- msgraph/generated/models/file_storage_container_settings.py +8 -0
- msgraph/generated/models/internal_domain_federation.py +4 -0
- msgraph/generated/models/key_credential_configuration.py +8 -0
- msgraph/generated/models/open_shift.py +7 -3
- msgraph/generated/models/org_contact.py +1 -1
- msgraph/generated/models/password_credential_configuration.py +8 -0
- msgraph/generated/models/recycle_bin.py +70 -0
- msgraph/generated/models/recycle_bin_item.py +67 -0
- msgraph/generated/models/recycle_bin_item_collection_response.py +60 -0
- msgraph/generated/models/recycle_bin_settings.py +53 -0
- msgraph/generated/models/security/data_set.py +4 -0
- msgraph/generated/models/security/deployment_access_key_type.py +53 -0
- msgraph/generated/models/security/deployment_status.py +14 -0
- msgraph/generated/models/security/evidence_remediation_status.py +6 -0
- msgraph/generated/models/security/identity_container.py +8 -0
- msgraph/generated/models/security/network_adapter.py +62 -0
- msgraph/generated/models/security/sensor.py +115 -0
- msgraph/generated/models/security/sensor_collection_response.py +60 -0
- msgraph/generated/models/security/sensor_deployment_package.py +57 -0
- msgraph/generated/models/security/sensor_health_status.py +9 -0
- msgraph/generated/models/security/sensor_settings.py +74 -0
- msgraph/generated/models/security/sensor_type.py +10 -0
- msgraph/generated/models/service_principal.py +1 -1
- msgraph/generated/models/shift.py +4 -0
- msgraph/generated/models/shift_activity.py +2 -2
- msgraph/generated/models/site_lock_state.py +9 -0
- msgraph/generated/models/time_off.py +5 -1
- msgraph/generated/models/user.py +1 -1
- msgraph/generated/models/workforce_integration.py +9 -1
- msgraph/generated/models/workforce_integration_supported_entities.py +3 -0
- msgraph/generated/models/x509_certificate_authentication_method_configuration.py +8 -0
- msgraph/generated/models/x509_certificate_c_r_l_validation_configuration.py +66 -0
- msgraph/generated/models/x509_certificate_c_r_l_validation_configuration_state.py +7 -0
- msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +3 -3
- msgraph/generated/organization/organization_request_builder.py +4 -4
- msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
- msgraph/generated/security/attack_simulation/payloads/item/payload_item_request_builder.py +4 -3
- msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py +2 -2
- msgraph/generated/security/identities/identities_request_builder.py +10 -0
- msgraph/generated/security/identities/sensors/count/count_request_builder.py +103 -0
- msgraph/generated/security/identities/sensors/item/health_issues/count/count_request_builder.py +103 -0
- msgraph/generated/security/identities/sensors/item/health_issues/health_issues_request_builder.py +161 -0
- msgraph/generated/security/identities/sensors/item/health_issues/item/health_issue_item_request_builder.py +106 -0
- msgraph/generated/security/identities/sensors/item/sensor_item_request_builder.py +200 -0
- msgraph/generated/security/identities/sensors/microsoft_graph_security_get_deployment_access_key/microsoft_graph_security_get_deployment_access_key_request_builder.py +80 -0
- msgraph/generated/security/identities/sensors/microsoft_graph_security_get_deployment_package_uri/microsoft_graph_security_get_deployment_package_uri_request_builder.py +80 -0
- msgraph/generated/security/identities/sensors/microsoft_graph_security_regenerate_deployment_access_key/microsoft_graph_security_regenerate_deployment_access_key_request_builder.py +80 -0
- msgraph/generated/security/identities/sensors/sensors_request_builder.py +238 -0
- msgraph/generated/solutions/virtual_events/townhalls/item/virtual_event_townhall_item_request_builder.py +5 -5
- msgraph/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py +3 -3
- msgraph/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py +5 -5
- msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py +40 -0
- msgraph/generated/storage/file_storage/containers/item/lock/lock_post_request_body.py +58 -0
- msgraph/generated/storage/file_storage/containers/item/lock/lock_request_builder.py +85 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/created_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py +207 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/items_request_builder.py +207 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/recycle_bin_request_builder.py +217 -0
- msgraph/generated/storage/file_storage/containers/item/restore/restore_request_builder.py +80 -0
- msgraph/generated/storage/file_storage/containers/item/unlock/unlock_request_builder.py +77 -0
- msgraph/generated/storage/file_storage/deleted_containers/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/deleted_containers_request_builder.py +207 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/activate/activate_request_builder.py +77 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/drive/drive_request_builder.py +106 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py +267 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/lock/lock_post_request_body.py +58 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/lock/lock_request_builder.py +85 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permanent_delete/permanent_delete_request_builder.py +77 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permissions/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_request_body.py +62 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_response.py +60 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_request_builder.py +89 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/permission_item_request_builder.py +197 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permissions/permissions_request_builder.py +207 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/created_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py +207 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/items_request_builder.py +207 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/recycle_bin_request_builder.py +217 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/restore/restore_request_builder.py +80 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/unlock/unlock_request_builder.py +77 -0
- msgraph/generated/storage/file_storage/file_storage_request_builder.py +10 -0
- 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/users/item/authentication/email_methods/email_methods_request_builder.py +2 -2
- msgraph/generated/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.py +2 -2
- msgraph/generated/users/item/authentication/microsoft_authenticator_methods/item/microsoft_authenticator_authentication_method_item_request_builder.py +2 -2
- msgraph/generated/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.py +2 -2
- msgraph/generated/users/item/user_item_request_builder.py +8 -8
- msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +8 -8
- {msgraph_sdk-1.13.0.dist-info → msgraph_sdk-1.15.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.13.0.dist-info → msgraph_sdk-1.15.0.dist-info}/RECORD +179 -89
- {msgraph_sdk-1.13.0.dist-info → msgraph_sdk-1.15.0.dist-info}/LICENSE +0 -0
- {msgraph_sdk-1.13.0.dist-info → msgraph_sdk-1.15.0.dist-info}/WHEEL +0 -0
msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py
CHANGED
@@ -48,10 +48,10 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
48
48
|
|
49
49
|
async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfigurationCollectionResponse]:
|
50
50
|
"""
|
51
|
-
List properties and relationships of the
|
51
|
+
List properties and relationships of the androidGeneralDeviceConfiguration objects.
|
52
52
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
53
53
|
Returns: Optional[DeviceConfigurationCollectionResponse]
|
54
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
54
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidgeneraldeviceconfiguration-list?view=graph-rest-1.0
|
55
55
|
"""
|
56
56
|
request_info = self.to_get_request_information(
|
57
57
|
request_configuration
|
@@ -69,11 +69,11 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
69
69
|
|
70
70
|
async def post(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]:
|
71
71
|
"""
|
72
|
-
Create a new
|
72
|
+
Create a new windows81GeneralConfiguration object.
|
73
73
|
param body: The request body
|
74
74
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
75
75
|
Returns: Optional[DeviceConfiguration]
|
76
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
76
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-create?view=graph-rest-1.0
|
77
77
|
"""
|
78
78
|
if body is None:
|
79
79
|
raise TypeError("body cannot be null.")
|
@@ -93,7 +93,7 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
93
93
|
|
94
94
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
95
95
|
"""
|
96
|
-
List properties and relationships of the
|
96
|
+
List properties and relationships of the androidGeneralDeviceConfiguration objects.
|
97
97
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
98
98
|
Returns: RequestInformation
|
99
99
|
"""
|
@@ -104,7 +104,7 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
104
104
|
|
105
105
|
def to_post_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
106
106
|
"""
|
107
|
-
Create a new
|
107
|
+
Create a new windows81GeneralConfiguration object.
|
108
108
|
param body: The request body
|
109
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
110
110
|
Returns: RequestInformation
|
@@ -139,7 +139,7 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
139
139
|
@dataclass
|
140
140
|
class DeviceConfigurationsRequestBuilderGetQueryParameters():
|
141
141
|
"""
|
142
|
-
List properties and relationships of the
|
142
|
+
List properties and relationships of the androidGeneralDeviceConfiguration objects.
|
143
143
|
"""
|
144
144
|
def get_query_parameter(self,original_name: str) -> str:
|
145
145
|
"""
|
@@ -39,10 +39,10 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
39
39
|
|
40
40
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
41
41
|
"""
|
42
|
-
Deletes a
|
42
|
+
Deletes a iosDeviceFeaturesConfiguration.
|
43
43
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
44
44
|
Returns: None
|
45
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
45
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-delete?view=graph-rest-1.0
|
46
46
|
"""
|
47
47
|
request_info = self.to_delete_request_information(
|
48
48
|
request_configuration
|
@@ -58,10 +58,10 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
58
58
|
|
59
59
|
async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfiguration]:
|
60
60
|
"""
|
61
|
-
Read properties and relationships of the
|
61
|
+
Read properties and relationships of the androidCustomConfiguration object.
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: Optional[DeviceConfiguration]
|
64
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
64
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-get?view=graph-rest-1.0
|
65
65
|
"""
|
66
66
|
request_info = self.to_get_request_information(
|
67
67
|
request_configuration
|
@@ -91,11 +91,11 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
91
91
|
|
92
92
|
async def patch(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]:
|
93
93
|
"""
|
94
|
-
Update the properties of a
|
94
|
+
Update the properties of a windows10SecureAssessmentConfiguration 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[DeviceConfiguration]
|
98
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
98
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-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 DeviceConfigurationItemRequestBuilder(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 iosDeviceFeaturesConfiguration.
|
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 DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
126
126
|
|
127
127
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
128
128
|
"""
|
129
|
-
Read properties and relationships of the
|
129
|
+
Read properties and relationships of the androidCustomConfiguration 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 DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
137
137
|
|
138
138
|
def to_patch_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
139
139
|
"""
|
140
|
-
Update the properties of a
|
140
|
+
Update the properties of a windows10SecureAssessmentConfiguration 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
|
@@ -233,7 +233,7 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
233
233
|
@dataclass
|
234
234
|
class DeviceConfigurationItemRequestBuilderGetQueryParameters():
|
235
235
|
"""
|
236
|
-
Read properties and relationships of the
|
236
|
+
Read properties and relationships of the androidCustomConfiguration object.
|
237
237
|
"""
|
238
238
|
def get_query_parameter(self,original_name: str) -> str:
|
239
239
|
"""
|
@@ -48,10 +48,10 @@ class DeviceEnrollmentConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
48
48
|
|
49
49
|
async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceEnrollmentConfigurationCollectionResponse]:
|
50
50
|
"""
|
51
|
-
List properties and relationships of the
|
51
|
+
List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
|
52
52
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
53
53
|
Returns: Optional[DeviceEnrollmentConfigurationCollectionResponse]
|
54
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-
|
54
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-list?view=graph-rest-1.0
|
55
55
|
"""
|
56
56
|
request_info = self.to_get_request_information(
|
57
57
|
request_configuration
|
@@ -69,11 +69,11 @@ class DeviceEnrollmentConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
69
69
|
|
70
70
|
async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]:
|
71
71
|
"""
|
72
|
-
Create a new
|
72
|
+
Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.
|
73
73
|
param body: The request body
|
74
74
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
75
75
|
Returns: Optional[DeviceEnrollmentConfiguration]
|
76
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-
|
76
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0
|
77
77
|
"""
|
78
78
|
if body is None:
|
79
79
|
raise TypeError("body cannot be null.")
|
@@ -93,7 +93,7 @@ class DeviceEnrollmentConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
93
93
|
|
94
94
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
95
95
|
"""
|
96
|
-
List properties and relationships of the
|
96
|
+
List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
|
97
97
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
98
98
|
Returns: RequestInformation
|
99
99
|
"""
|
@@ -104,7 +104,7 @@ class DeviceEnrollmentConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
104
104
|
|
105
105
|
def to_post_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
106
106
|
"""
|
107
|
-
Create a new
|
107
|
+
Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.
|
108
108
|
param body: The request body
|
109
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
110
110
|
Returns: RequestInformation
|
@@ -139,7 +139,7 @@ class DeviceEnrollmentConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
139
139
|
@dataclass
|
140
140
|
class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters():
|
141
141
|
"""
|
142
|
-
List properties and relationships of the
|
142
|
+
List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
|
143
143
|
"""
|
144
144
|
def get_query_parameter(self,original_name: str) -> str:
|
145
145
|
"""
|
@@ -34,10 +34,10 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
34
34
|
|
35
35
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
36
36
|
"""
|
37
|
-
Deletes a
|
37
|
+
Deletes a deviceEnrollmentLimitConfiguration.
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: None
|
40
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-
|
40
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0
|
41
41
|
"""
|
42
42
|
request_info = self.to_delete_request_information(
|
43
43
|
request_configuration
|
@@ -74,11 +74,11 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
74
74
|
|
75
75
|
async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]:
|
76
76
|
"""
|
77
|
-
Update the properties of a
|
77
|
+
Update the properties of a deviceEnrollmentLimitConfiguration object.
|
78
78
|
param body: The request body
|
79
79
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
80
80
|
Returns: Optional[DeviceEnrollmentConfiguration]
|
81
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-
|
81
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0
|
82
82
|
"""
|
83
83
|
if body is None:
|
84
84
|
raise TypeError("body cannot be null.")
|
@@ -98,7 +98,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
98
98
|
|
99
99
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
100
100
|
"""
|
101
|
-
Deletes a
|
101
|
+
Deletes a deviceEnrollmentLimitConfiguration.
|
102
102
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
103
103
|
Returns: RequestInformation
|
104
104
|
"""
|
@@ -120,7 +120,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
120
120
|
|
121
121
|
def to_patch_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
122
122
|
"""
|
123
|
-
Update the properties of a
|
123
|
+
Update the properties of a deviceEnrollmentLimitConfiguration object.
|
124
124
|
param body: The request body
|
125
125
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
126
126
|
Returns: RequestInformation
|
@@ -95,7 +95,7 @@ class DeviceManagementRequestBuilder(BaseRequestBuilder):
|
|
95
95
|
Read properties and relationships of the deviceManagement object.
|
96
96
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
97
97
|
Returns: Optional[DeviceManagement]
|
98
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-
|
98
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-auditing-devicemanagement-get?view=graph-rest-1.0
|
99
99
|
"""
|
100
100
|
request_info = self.to_get_request_information(
|
101
101
|
request_configuration
|
@@ -129,7 +129,7 @@ class DeviceManagementRequestBuilder(BaseRequestBuilder):
|
|
129
129
|
param body: The request body
|
130
130
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
131
131
|
Returns: Optional[DeviceManagement]
|
132
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-
|
132
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-devices-devicemanagement-update?view=graph-rest-1.0
|
133
133
|
"""
|
134
134
|
if body is None:
|
135
135
|
raise TypeError("body cannot be null.")
|
msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py
CHANGED
@@ -32,10 +32,10 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
34
34
|
"""
|
35
|
-
Deletes a
|
35
|
+
Deletes a deviceAndAppManagementRoleDefinition.
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
37
37
|
Returns: None
|
38
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-
|
38
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0
|
39
39
|
"""
|
40
40
|
request_info = self.to_delete_request_information(
|
41
41
|
request_configuration
|
@@ -51,10 +51,10 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
51
51
|
|
52
52
|
async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinition]:
|
53
53
|
"""
|
54
|
-
Read properties and relationships of the
|
54
|
+
Read properties and relationships of the roleDefinition object.
|
55
55
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
56
56
|
Returns: Optional[RoleDefinition]
|
57
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-
|
57
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0
|
58
58
|
"""
|
59
59
|
request_info = self.to_get_request_information(
|
60
60
|
request_configuration
|
@@ -72,11 +72,11 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
72
72
|
|
73
73
|
async def patch(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]:
|
74
74
|
"""
|
75
|
-
Update the properties of a
|
75
|
+
Update the properties of a roleDefinition object.
|
76
76
|
param body: The request body
|
77
77
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
78
78
|
Returns: Optional[RoleDefinition]
|
79
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-
|
79
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0
|
80
80
|
"""
|
81
81
|
if body is None:
|
82
82
|
raise TypeError("body cannot be null.")
|
@@ -96,7 +96,7 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
96
96
|
|
97
97
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
98
98
|
"""
|
99
|
-
Deletes a
|
99
|
+
Deletes a deviceAndAppManagementRoleDefinition.
|
100
100
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
101
101
|
Returns: RequestInformation
|
102
102
|
"""
|
@@ -107,7 +107,7 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
107
107
|
|
108
108
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
109
109
|
"""
|
110
|
-
Read properties and relationships of the
|
110
|
+
Read properties and relationships of the roleDefinition object.
|
111
111
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
112
112
|
Returns: RequestInformation
|
113
113
|
"""
|
@@ -118,7 +118,7 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
118
118
|
|
119
119
|
def to_patch_request_information(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
120
120
|
"""
|
121
|
-
Update the properties of a
|
121
|
+
Update the properties of a roleDefinition object.
|
122
122
|
param body: The request body
|
123
123
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
124
124
|
Returns: RequestInformation
|
@@ -160,7 +160,7 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
160
160
|
@dataclass
|
161
161
|
class RoleDefinitionItemRequestBuilderGetQueryParameters():
|
162
162
|
"""
|
163
|
-
Read properties and relationships of the
|
163
|
+
Read properties and relationships of the roleDefinition object.
|
164
164
|
"""
|
165
165
|
def get_query_parameter(self,original_name: str) -> str:
|
166
166
|
"""
|
@@ -48,10 +48,10 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
|
|
48
48
|
|
49
49
|
async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinitionCollectionResponse]:
|
50
50
|
"""
|
51
|
-
List properties and relationships of the
|
51
|
+
List properties and relationships of the roleDefinition objects.
|
52
52
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
53
53
|
Returns: Optional[RoleDefinitionCollectionResponse]
|
54
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-
|
54
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0
|
55
55
|
"""
|
56
56
|
request_info = self.to_get_request_information(
|
57
57
|
request_configuration
|
@@ -69,11 +69,11 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
|
|
69
69
|
|
70
70
|
async def post(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]:
|
71
71
|
"""
|
72
|
-
Create a new
|
72
|
+
Create a new roleDefinition object.
|
73
73
|
param body: The request body
|
74
74
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
75
75
|
Returns: Optional[RoleDefinition]
|
76
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-
|
76
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-create?view=graph-rest-1.0
|
77
77
|
"""
|
78
78
|
if body is None:
|
79
79
|
raise TypeError("body cannot be null.")
|
@@ -93,7 +93,7 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
|
|
93
93
|
|
94
94
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
95
95
|
"""
|
96
|
-
List properties and relationships of the
|
96
|
+
List properties and relationships of the roleDefinition objects.
|
97
97
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
98
98
|
Returns: RequestInformation
|
99
99
|
"""
|
@@ -104,7 +104,7 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
|
|
104
104
|
|
105
105
|
def to_post_request_information(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
106
106
|
"""
|
107
|
-
Create a new
|
107
|
+
Create a new roleDefinition object.
|
108
108
|
param body: The request body
|
109
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
110
110
|
Returns: RequestInformation
|
@@ -139,7 +139,7 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
|
|
139
139
|
@dataclass
|
140
140
|
class RoleDefinitionsRequestBuilderGetQueryParameters():
|
141
141
|
"""
|
142
|
-
List properties and relationships of the
|
142
|
+
List properties and relationships of the roleDefinition objects.
|
143
143
|
"""
|
144
144
|
def get_query_parameter(self,original_name: str) -> str:
|
145
145
|
"""
|
@@ -0,0 +1,78 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
from dataclasses import dataclass, field
|
3
|
+
from kiota_abstractions.base_request_builder import BaseRequestBuilder
|
4
|
+
from kiota_abstractions.base_request_configuration import RequestConfiguration
|
5
|
+
from kiota_abstractions.default_query_parameters import QueryParameters
|
6
|
+
from kiota_abstractions.get_path_parameters import get_path_parameters
|
7
|
+
from kiota_abstractions.method import Method
|
8
|
+
from kiota_abstractions.request_adapter import RequestAdapter
|
9
|
+
from kiota_abstractions.request_information import RequestInformation
|
10
|
+
from kiota_abstractions.request_option import RequestOption
|
11
|
+
from kiota_abstractions.serialization import Parsable, ParsableFactory
|
12
|
+
from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union
|
13
|
+
from warnings import warn
|
14
|
+
|
15
|
+
if TYPE_CHECKING:
|
16
|
+
from ......models.o_data_errors.o_data_error import ODataError
|
17
|
+
|
18
|
+
class DiscardCheckoutRequestBuilder(BaseRequestBuilder):
|
19
|
+
"""
|
20
|
+
Provides operations to call the discardCheckout method.
|
21
|
+
"""
|
22
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None:
|
23
|
+
"""
|
24
|
+
Instantiates a new DiscardCheckoutRequestBuilder and sets the default values.
|
25
|
+
param path_parameters: The raw url or the url-template parameters for the request.
|
26
|
+
param request_adapter: The request adapter to use to execute the requests.
|
27
|
+
Returns: None
|
28
|
+
"""
|
29
|
+
super().__init__(request_adapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/discardCheckout", path_parameters)
|
30
|
+
|
31
|
+
async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
32
|
+
"""
|
33
|
+
Discard the check out of a driveItem. This action releases a driveItem resource that was previously checked out. Any changes made to the item while it was checked out are discarded. The same user that performed the checkout must discard it. Another alternative is to use application permissions.
|
34
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
35
|
+
Returns: None
|
36
|
+
Find more info here: https://learn.microsoft.com/graph/api/driveitem-discardcheckout?view=graph-rest-1.0
|
37
|
+
"""
|
38
|
+
request_info = self.to_post_request_information(
|
39
|
+
request_configuration
|
40
|
+
)
|
41
|
+
from ......models.o_data_errors.o_data_error import ODataError
|
42
|
+
|
43
|
+
error_mapping: Dict[str, type[ParsableFactory]] = {
|
44
|
+
"XXX": ODataError,
|
45
|
+
}
|
46
|
+
if not self.request_adapter:
|
47
|
+
raise Exception("Http core is null")
|
48
|
+
return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
|
49
|
+
|
50
|
+
def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
51
|
+
"""
|
52
|
+
Discard the check out of a driveItem. This action releases a driveItem resource that was previously checked out. Any changes made to the item while it was checked out are discarded. The same user that performed the checkout must discard it. Another alternative is to use application permissions.
|
53
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
|
+
Returns: RequestInformation
|
55
|
+
"""
|
56
|
+
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
|
57
|
+
request_info.configure(request_configuration)
|
58
|
+
request_info.headers.try_add("Accept", "application/json")
|
59
|
+
return request_info
|
60
|
+
|
61
|
+
def with_url(self,raw_url: str) -> DiscardCheckoutRequestBuilder:
|
62
|
+
"""
|
63
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
64
|
+
param raw_url: The raw URL to use for the request builder.
|
65
|
+
Returns: DiscardCheckoutRequestBuilder
|
66
|
+
"""
|
67
|
+
if raw_url is None:
|
68
|
+
raise TypeError("raw_url cannot be null.")
|
69
|
+
return DiscardCheckoutRequestBuilder(self.request_adapter, raw_url)
|
70
|
+
|
71
|
+
@dataclass
|
72
|
+
class DiscardCheckoutRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
|
73
|
+
"""
|
74
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
75
|
+
"""
|
76
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
77
|
+
|
78
|
+
|
@@ -27,6 +27,7 @@ if TYPE_CHECKING:
|
|
27
27
|
from .create_upload_session.create_upload_session_request_builder import CreateUploadSessionRequestBuilder
|
28
28
|
from .delta.delta_request_builder import DeltaRequestBuilder
|
29
29
|
from .delta_with_token.delta_with_token_request_builder import DeltaWithTokenRequestBuilder
|
30
|
+
from .discard_checkout.discard_checkout_request_builder import DiscardCheckoutRequestBuilder
|
30
31
|
from .extract_sensitivity_labels.extract_sensitivity_labels_request_builder import ExtractSensitivityLabelsRequestBuilder
|
31
32
|
from .follow.follow_request_builder import FollowRequestBuilder
|
32
33
|
from .get_activities_by_interval.get_activities_by_interval_request_builder import GetActivitiesByIntervalRequestBuilder
|
@@ -309,6 +310,15 @@ class DriveItemItemRequestBuilder(BaseRequestBuilder):
|
|
309
310
|
|
310
311
|
return DeltaRequestBuilder(self.request_adapter, self.path_parameters)
|
311
312
|
|
313
|
+
@property
|
314
|
+
def discard_checkout(self) -> DiscardCheckoutRequestBuilder:
|
315
|
+
"""
|
316
|
+
Provides operations to call the discardCheckout method.
|
317
|
+
"""
|
318
|
+
from .discard_checkout.discard_checkout_request_builder import DiscardCheckoutRequestBuilder
|
319
|
+
|
320
|
+
return DiscardCheckoutRequestBuilder(self.request_adapter, self.path_parameters)
|
321
|
+
|
312
322
|
@property
|
313
323
|
def extract_sensitivity_labels(self) -> ExtractSensitivityLabelsRequestBuilder:
|
314
324
|
"""
|
@@ -70,11 +70,11 @@ class RetentionLabelRequestBuilder(BaseRequestBuilder):
|
|
70
70
|
|
71
71
|
async def patch(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ItemRetentionLabel]:
|
72
72
|
"""
|
73
|
-
|
73
|
+
Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
|
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[ItemRetentionLabel]
|
77
|
-
Find more info here: https://learn.microsoft.com/graph/api/driveitem-
|
77
|
+
Find more info here: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0
|
78
78
|
"""
|
79
79
|
if body is None:
|
80
80
|
raise TypeError("body cannot be null.")
|
@@ -116,7 +116,7 @@ class RetentionLabelRequestBuilder(BaseRequestBuilder):
|
|
116
116
|
|
117
117
|
def to_patch_request_information(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
118
118
|
"""
|
119
|
-
|
119
|
+
Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
|
120
120
|
param body: The request body
|
121
121
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
122
122
|
Returns: RequestInformation
|
msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py
CHANGED
@@ -73,11 +73,11 @@ class ExternalItemItemRequestBuilder(BaseRequestBuilder):
|
|
73
73
|
|
74
74
|
async def put(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExternalItem]:
|
75
75
|
"""
|
76
|
-
|
76
|
+
Create a new externalItem object.
|
77
77
|
param body: The request body
|
78
78
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
79
79
|
Returns: Optional[ExternalItem]
|
80
|
-
Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-
|
80
|
+
Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0
|
81
81
|
"""
|
82
82
|
if body is None:
|
83
83
|
raise TypeError("body cannot be null.")
|
@@ -119,7 +119,7 @@ class ExternalItemItemRequestBuilder(BaseRequestBuilder):
|
|
119
119
|
|
120
120
|
def to_put_request_information(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
121
121
|
"""
|
122
|
-
|
122
|
+
Create a new externalItem object.
|
123
123
|
param body: The request body
|
124
124
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
125
125
|
Returns: RequestInformation
|
@@ -32,7 +32,7 @@ class AssignLicenseRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def post(self,body: AssignLicensePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Group]:
|
34
34
|
"""
|
35
|
-
Add or remove licenses on
|
35
|
+
Add or remove licenses on a group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request.
|
36
36
|
param body: The request body
|
37
37
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
38
38
|
Returns: Optional[Group]
|
@@ -56,7 +56,7 @@ class AssignLicenseRequestBuilder(BaseRequestBuilder):
|
|
56
56
|
|
57
57
|
def to_post_request_information(self,body: AssignLicensePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
58
58
|
"""
|
59
|
-
Add or remove licenses on
|
59
|
+
Add or remove licenses on a group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request.
|
60
60
|
param body: The request body
|
61
61
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
62
62
|
Returns: RequestInformation
|
@@ -51,10 +51,10 @@ class ConversationItemRequestBuilder(BaseRequestBuilder):
|
|
51
51
|
|
52
52
|
async def get(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Conversation]:
|
53
53
|
"""
|
54
|
-
|
54
|
+
The group's conversations.
|
55
55
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
56
56
|
Returns: Optional[Conversation]
|
57
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
57
|
+
Find more info here: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0
|
58
58
|
"""
|
59
59
|
request_info = self.to_get_request_information(
|
60
60
|
request_configuration
|
@@ -83,7 +83,7 @@ class ConversationItemRequestBuilder(BaseRequestBuilder):
|
|
83
83
|
|
84
84
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
85
85
|
"""
|
86
|
-
|
86
|
+
The group's conversations.
|
87
87
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
88
88
|
Returns: RequestInformation
|
89
89
|
"""
|
@@ -121,7 +121,7 @@ class ConversationItemRequestBuilder(BaseRequestBuilder):
|
|
121
121
|
@dataclass
|
122
122
|
class ConversationItemRequestBuilderGetQueryParameters():
|
123
123
|
"""
|
124
|
-
|
124
|
+
The group's conversations.
|
125
125
|
"""
|
126
126
|
def get_query_parameter(self,original_name: str) -> str:
|
127
127
|
"""
|
@@ -74,7 +74,7 @@ class GroupItemRequestBuilder(BaseRequestBuilder):
|
|
74
74
|
|
75
75
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
76
76
|
"""
|
77
|
-
Delete group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems.
|
77
|
+
Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems.
|
78
78
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
79
79
|
Returns: None
|
80
80
|
Find more info here: https://learn.microsoft.com/graph/api/group-delete?view=graph-rest-1.0
|
@@ -138,7 +138,7 @@ class GroupItemRequestBuilder(BaseRequestBuilder):
|
|
138
138
|
|
139
139
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
140
140
|
"""
|
141
|
-
Delete group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems.
|
141
|
+
Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems.
|
142
142
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
143
143
|
Returns: RequestInformation
|
144
144
|
"""
|
@@ -30,7 +30,7 @@ class RenewRequestBuilder(BaseRequestBuilder):
|
|
30
30
|
|
31
31
|
async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
32
32
|
"""
|
33
|
-
|
33
|
+
Renew a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy.
|
34
34
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
35
35
|
Returns: None
|
36
36
|
Find more info here: https://learn.microsoft.com/graph/api/group-renew?view=graph-rest-1.0
|
@@ -49,7 +49,7 @@ class RenewRequestBuilder(BaseRequestBuilder):
|
|
49
49
|
|
50
50
|
def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
51
51
|
"""
|
52
|
-
|
52
|
+
Renew a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy.
|
53
53
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
54
|
Returns: RequestInformation
|
55
55
|
"""
|