From 570977fa5908a83d5aafbf1831b5a087c9800caf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Jun 2025 10:28:27 +0000 Subject: [PATCH 1/7] chore(deps-dev): bump multidict from 6.5.0 to 6.5.1 Bumps [multidict](https://github.com/aio-libs/multidict) from 6.5.0 to 6.5.1. - [Release notes](https://github.com/aio-libs/multidict/releases) - [Changelog](https://github.com/aio-libs/multidict/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/multidict/compare/v6.5.0...v6.5.1) --- updated-dependencies: - dependency-name: multidict dependency-version: 6.5.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 4b5d00f622..78bd337a98 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -43,7 +43,7 @@ microsoft-kiota-serialization-text==1.9.3 msal==1.32.3 msal-extensions==1.3.1 msgraph-core==1.3.4 -multidict==6.5.0 +multidict==6.5.1 mypy==1.16.1 mypy-extensions==1.1.0 opentelemetry-api==1.34.1 From 0435f6d58f79006718f515f07961a2ab39d36d79 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Jun 2025 06:32:25 +0000 Subject: [PATCH 2/7] chore(deps-dev): bump the kiota group with 7 updates Bumps the kiota group with 7 updates: | Package | From | To | | --- | --- | --- | | [microsoft-kiota-serialization-json](https://github.com/microsoft/kiota-python) | `1.9.3` | `1.9.4` | | [microsoft-kiota-serialization-text](https://github.com/microsoft/kiota-python) | `1.9.3` | `1.9.4` | | [microsoft-kiota-serialization-form](https://github.com/microsoft/kiota-python) | `1.9.3` | `1.9.4` | | [microsoft-kiota-serialization-multipart](https://github.com/microsoft/kiota-python) | `1.9.3` | `1.9.4` | | [microsoft-kiota-abstractions](https://github.com/microsoft/kiota-python) | `1.9.3` | `1.9.4` | | [microsoft-kiota-authentication-azure](https://github.com/microsoft/kiota-python) | `1.9.3` | `1.9.4` | | [microsoft-kiota-http](https://github.com/microsoft/kiota-python) | `1.9.3` | `1.9.4` | Updates `microsoft-kiota-serialization-json` from 1.9.3 to 1.9.4 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Changelog](https://github.com/microsoft/kiota-python/blob/main/release-please-config.json) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-json-v1.9.3...microsoft-kiota-serialization-json-v1.9.4) Updates `microsoft-kiota-serialization-text` from 1.9.3 to 1.9.4 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Changelog](https://github.com/microsoft/kiota-python/blob/main/release-please-config.json) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-text-v1.9.3...microsoft-kiota-serialization-text-v1.9.4) Updates `microsoft-kiota-serialization-form` from 1.9.3 to 1.9.4 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Changelog](https://github.com/microsoft/kiota-python/blob/main/release-please-config.json) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-form-v1.9.3...microsoft-kiota-serialization-form-v1.9.4) Updates `microsoft-kiota-serialization-multipart` from 1.9.3 to 1.9.4 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Changelog](https://github.com/microsoft/kiota-python/blob/main/release-please-config.json) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-multipart-v1.9.3...microsoft-kiota-serialization-multipart-v1.9.4) Updates `microsoft-kiota-abstractions` from 1.9.3 to 1.9.4 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Changelog](https://github.com/microsoft/kiota-python/blob/main/release-please-config.json) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-abstractions-v1.9.3...microsoft-kiota-abstractions-v1.9.4) Updates `microsoft-kiota-authentication-azure` from 1.9.3 to 1.9.4 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Changelog](https://github.com/microsoft/kiota-python/blob/main/release-please-config.json) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-authentication-azure-v1.9.3...microsoft-kiota-authentication-azure-v1.9.4) Updates `microsoft-kiota-http` from 1.9.3 to 1.9.4 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Changelog](https://github.com/microsoft/kiota-python/blob/main/release-please-config.json) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-http-v1.9.3...microsoft-kiota-http-v1.9.4) --- updated-dependencies: - dependency-name: microsoft-kiota-serialization-json dependency-version: 1.9.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: kiota - dependency-name: microsoft-kiota-serialization-text dependency-version: 1.9.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: kiota - dependency-name: microsoft-kiota-serialization-form dependency-version: 1.9.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: kiota - dependency-name: microsoft-kiota-serialization-multipart dependency-version: 1.9.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: kiota - dependency-name: microsoft-kiota-abstractions dependency-version: 1.9.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: kiota - dependency-name: microsoft-kiota-authentication-azure dependency-version: 1.9.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: kiota - dependency-name: microsoft-kiota-http dependency-version: 1.9.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: kiota ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 78bd337a98..e924443683 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -33,13 +33,13 @@ lazy-object-proxy==1.11.0 lexid==2021.1006 looseversion==1.3.0 mccabe==0.7.0 -microsoft-kiota-abstractions==1.9.3 -microsoft-kiota-authentication-azure==1.9.3 -microsoft-kiota-http==1.9.3 -microsoft-kiota-serialization-form==1.9.3 -microsoft-kiota-serialization-json==1.9.3 -microsoft-kiota-serialization-multipart==1.9.3 -microsoft-kiota-serialization-text==1.9.3 +microsoft-kiota-abstractions==1.9.4 +microsoft-kiota-authentication-azure==1.9.4 +microsoft-kiota-http==1.9.4 +microsoft-kiota-serialization-form==1.9.4 +microsoft-kiota-serialization-json==1.9.4 +microsoft-kiota-serialization-multipart==1.9.4 +microsoft-kiota-serialization-text==1.9.4 msal==1.32.3 msal-extensions==1.3.1 msgraph-core==1.3.4 From 5b7d4d881396e2f5516828a01aed016fc4d67e7e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Jun 2025 07:01:26 +0000 Subject: [PATCH 3/7] chore(deps-dev): bump msgraph-core from 1.3.4 to 1.3.5 Bumps [msgraph-core](https://github.com/microsoftgraph/msgraph-sdk-python-core) from 1.3.4 to 1.3.5. - [Release notes](https://github.com/microsoftgraph/msgraph-sdk-python-core/releases) - [Changelog](https://github.com/microsoftgraph/msgraph-sdk-python-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/microsoftgraph/msgraph-sdk-python-core/compare/v1.3.4...v1.3.5) --- updated-dependencies: - dependency-name: msgraph-core dependency-version: 1.3.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index e924443683..1575d12e4f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -42,7 +42,7 @@ microsoft-kiota-serialization-multipart==1.9.4 microsoft-kiota-serialization-text==1.9.4 msal==1.32.3 msal-extensions==1.3.1 -msgraph-core==1.3.4 +msgraph-core==1.3.5 multidict==6.5.1 mypy==1.16.1 mypy-extensions==1.1.0 From c31ffe2f2666810ba306c93ec06e807039e1355d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Jun 2025 09:09:31 +0000 Subject: [PATCH 4/7] chore(deps-dev): bump multidict from 6.5.1 to 6.6.2 Bumps [multidict](https://github.com/aio-libs/multidict) from 6.5.1 to 6.6.2. - [Release notes](https://github.com/aio-libs/multidict/releases) - [Changelog](https://github.com/aio-libs/multidict/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/multidict/compare/v6.5.1...v6.6.2) --- updated-dependencies: - dependency-name: multidict dependency-version: 6.6.2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 1575d12e4f..8ad893493c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -43,7 +43,7 @@ microsoft-kiota-serialization-text==1.9.4 msal==1.32.3 msal-extensions==1.3.1 msgraph-core==1.3.5 -multidict==6.5.1 +multidict==6.6.2 mypy==1.16.1 mypy-extensions==1.1.0 opentelemetry-api==1.34.1 From c7cd6bd5d5541835951775bd3d434966e68f081d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Jul 2025 08:38:56 +0000 Subject: [PATCH 5/7] chore(deps-dev): bump multidict from 6.6.2 to 6.6.3 Bumps [multidict](https://github.com/aio-libs/multidict) from 6.6.2 to 6.6.3. - [Release notes](https://github.com/aio-libs/multidict/releases) - [Changelog](https://github.com/aio-libs/multidict/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/multidict/compare/v6.6.2...v6.6.3) --- updated-dependencies: - dependency-name: multidict dependency-version: 6.6.3 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 8ad893493c..51c60afea4 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -43,7 +43,7 @@ microsoft-kiota-serialization-text==1.9.4 msal==1.32.3 msal-extensions==1.3.1 msgraph-core==1.3.5 -multidict==6.6.2 +multidict==6.6.3 mypy==1.16.1 mypy-extensions==1.1.0 opentelemetry-api==1.34.1 From 7f49d3654ffb554624fee4f62822fd7f19f64d4e Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 1 Jul 2025 15:35:02 +0000 Subject: [PATCH 6/7] feat(generation): update request builders and models Update generated files with build 191849 --- .../item/restore/restore_request_builder.py | 4 +- .../item/restore/restore_request_builder.py | 4 +- .../item/restore/restore_request_builder.py | 4 +- .../device_app_management_request_builder.py | 4 +- ...managed_app_policy_item_request_builder.py | 8 +- .../target_apps_request_builder.py | 2 +- .../managed_app_policies_request_builder.py | 8 +- .../target_apps_request_builder.py | 2 +- .../target_apps_request_builder.py | 2 +- ...d_app_registration_item_request_builder.py | 8 +- .../assignments_request_builder.py | 6 +- ..._e_book_assignment_item_request_builder.py | 6 +- .../managed_e_book_item_request_builder.py | 8 +- .../managed_e_books_request_builder.py | 8 +- ...bile_app_configurations_request_builder.py | 8 +- .../item/mobile_app_item_request_builder.py | 20 +- .../mobile_apps_request_builder.py | 14 +- ...ice_compliance_policies_request_builder.py | 14 +- ..._compliance_policy_item_request_builder.py | 12 +- .../device_configurations_request_builder.py | 14 +- ...vice_configuration_item_request_builder.py | 20 +- ...rollment_configurations_request_builder.py | 14 +- ...ment_configuration_item_request_builder.py | 12 +- .../device_management_request_builder.py | 4 +- .../role_definition_item_request_builder.py | 14 +- .../item/restore/restore_request_builder.py | 4 +- ...dministrative_unit_item_request_builder.py | 6 +- .../deleted_items_request_builder.py | 6 +- .../graph_group_request_builder.py | 6 +- .../directory_object_item_request_builder.py | 10 +- .../graph_group_request_builder.py | 6 +- .../item/restore/restore_request_builder.py | 4 +- ...sed_auth_configurations_request_builder.py | 12 +- ...certificate_authorities_request_builder.py | 12 +- ...e_authority_detail_item_request_builder.py | 16 +- ...ate_based_auth_pki_item_request_builder.py | 17 +- .../item/upload/upload_request_builder.py | 5 +- ...blic_key_infrastructure_request_builder.py | 6 +- .../item/restore/restore_request_builder.py | 4 +- .../item/restore/restore_request_builder.py | 4 +- .../item/restore/restore_request_builder.py | 4 +- .../retention_label_request_builder.py | 6 +- .../item/restore/restore_request_builder.py | 4 +- .../groups/groups_request_builder.py | 6 +- .../conversations_request_builder.py | 6 +- .../item/conversation_item_request_builder.py | 2 +- .../item/reply/reply_request_builder.py | 6 +- .../item/restore/restore_request_builder.py | 4 +- ...onversation_thread_item_request_builder.py | 2 +- .../item/posts/posts_request_builder.py | 8 +- .../item/reply/reply_request_builder.py | 6 +- .../named_location_item_request_builder.py | 6 +- .../access_package_item_request_builder.py | 8 +- ..._callout_extension_item_request_builder.py | 12 +- msgraph/generated/kiota-dom-export.txt | 99 +++++++++ msgraph/generated/kiota-lock.json | 2 +- .../generated/models/administrative_unit.py | 2 +- msgraph/generated/models/call_event.py | 84 ++++++++ msgraph/generated/models/call_event_type.py | 8 + .../models/certificate_authority_detail.py | 20 +- .../models/certificate_based_auth_pki.py | 10 +- msgraph/generated/models/device.py | 2 +- msgraph/generated/models/directory.py | 2 +- .../generated/models/emergency_call_event.py | 68 ++++++ .../generated/models/emergency_caller_info.py | 77 +++++++ msgraph/generated/models/entity.py | 21 ++ msgraph/generated/models/group.py | 2 +- .../billing/billing_reconciliation.py | 7 + .../billing/unbilled_reconciliation.py | 53 +++++ .../models/public_key_infrastructure_root.py | 2 +- msgraph/generated/models/user.py | 2 +- .../workbook_worksheet_protection_options.py | 22 +- .../banner_logo_request_builder.py | 6 +- .../item/organization_item_request_builder.py | 14 +- .../item/restore/restore_request_builder.py | 4 +- .../item/restore/restore_request_builder.py | 4 +- .../reconciliation_request_builder.py | 10 + .../export_post_request_body.py | 68 ++++++ ...partners_billing_export_request_builder.py | 89 ++++++++ .../unbilled/unbilled_request_builder.py | 198 ++++++++++++++++++ .../item/restore/restore_request_builder.py | 4 +- ...onversation_member_item_request_builder.py | 12 +- .../item/members/members_request_builder.py | 6 +- .../item/messages/messages_request_builder.py | 6 +- .../shifts/item/shift_item_request_builder.py | 4 +- ...lti_tenant_organization_request_builder.py | 6 +- .../item/presence/presence_request_builder.py | 8 +- .../item/restore/restore_request_builder.py | 4 +- .../users/item/user_item_request_builder.py | 14 +- .../generated/users/users_request_builder.py | 6 +- ...ith_user_principal_name_request_builder.py | 14 +- 91 files changed, 1085 insertions(+), 293 deletions(-) create mode 100644 msgraph/generated/models/call_event.py create mode 100644 msgraph/generated/models/call_event_type.py create mode 100644 msgraph/generated/models/emergency_call_event.py create mode 100644 msgraph/generated/models/emergency_caller_info.py create mode 100644 msgraph/generated/models/partners/billing/unbilled_reconciliation.py create mode 100644 msgraph/generated/reports/partners/billing/reconciliation/unbilled/microsoft_graph_partners_billing_export/export_post_request_body.py create mode 100644 msgraph/generated/reports/partners/billing/reconciliation/unbilled/microsoft_graph_partners_billing_export/microsoft_graph_partners_billing_export_request_builder.py create mode 100644 msgraph/generated/reports/partners/billing/reconciliation/unbilled/unbilled_request_builder.py diff --git a/msgraph/generated/applications/item/restore/restore_request_builder.py b/msgraph/generated/applications/item/restore/restore_request_builder.py index 3351e4caf4..5a34e662e6 100644 --- a/msgraph/generated/applications/item/restore/restore_request_builder.py +++ b/msgraph/generated/applications/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/contacts/item/restore/restore_request_builder.py b/msgraph/generated/contacts/item/restore/restore_request_builder.py index 9f1dc7a13c..8bd1eac64d 100644 --- a/msgraph/generated/contacts/item/restore/restore_request_builder.py +++ b/msgraph/generated/contacts/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/contracts/item/restore/restore_request_builder.py b/msgraph/generated/contracts/item/restore/restore_request_builder.py index 67077df8ca..46a7cf03ae 100644 --- a/msgraph/generated/contracts/item/restore/restore_request_builder.py +++ b/msgraph/generated/contracts/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/device_app_management/device_app_management_request_builder.py b/msgraph/generated/device_app_management/device_app_management_request_builder.py index c479b3a048..86f8c1ed2f 100644 --- a/msgraph/generated/device_app_management/device_app_management_request_builder.py +++ b/msgraph/generated/device_app_management/device_app_management_request_builder.py @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceAp Read properties and relationships of the deviceAppManagement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -72,7 +72,7 @@ async def patch(self,body: DeviceAppManagement, request_configuration: Optional[ param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py index 92a99602e2..199aca9678 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicy]: """ - Read properties and relationships of the targetedManagedAppProtection object. + Read properties and relationships of the windowsInformationProtection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppPolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the targetedManagedAppProtection object. + Read properties and relationships of the windowsInformationProtection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -159,7 +159,7 @@ class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ManagedAppPolicyItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the targetedManagedAppProtection object. + Read properties and relationships of the windowsInformationProtection object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py index af58826db2..a56c4442e4 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py @@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py index 96f0898f81..600c6b108c 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py @@ -49,10 +49,10 @@ def by_managed_app_policy_id(self,managed_app_policy_id: str) -> ManagedAppPolic async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicyCollectionResponse]: """ - List properties and relationships of the managedAppProtection objects. + List properties and relationships of the windowsInformationProtection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppPolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: ManagedAppPolicy, request_configuration: Optional[Requ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedAppProtection objects. + List properties and relationships of the windowsInformationProtection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagedAppPoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedAppProtection objects. + List properties and relationships of the windowsInformationProtection objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py index 81be8129c8..a46a2067ef 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py @@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py index 4bb2e293a8..60810ab4af 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py @@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py index c73b5f449a..12f7d9bb87 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py @@ -53,10 +53,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistration]: """ - Read properties and relationships of the iosManagedAppRegistration object. + Read properties and relationships of the managedAppRegistration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppRegistration] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosManagedAppRegistration object. + Read properties and relationships of the managedAppRegistration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -179,7 +179,7 @@ class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class ManagedAppRegistrationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosManagedAppRegistration object. + Read properties and relationships of the managedAppRegistration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py index be0cd9fd36..16195dd7ba 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assignme async def post(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]: """ - Create a new iosVppEBookAssignment object. + Create a new managedEBookAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignment] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new iosVppEBookAssignment object. + Create a new managedEBookAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py index 5b2cf052b0..d8a77ffd73 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ManagedE async def patch(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]: """ - Update the properties of a managedEBookAssignment object. + Update the properties of a iosVppEBookAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignment] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a managedEBookAssignment object. + Update the properties of a iosVppEBookAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py index 21344a1e6d..67931bfed6 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py @@ -56,10 +56,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBookItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBook]: """ - Read properties and relationships of the iosVppEBook object. + Read properties and relationships of the managedEBook object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBook] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBookItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosVppEBook object. + Read properties and relationships of the managedEBook object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -201,7 +201,7 @@ class ManagedEBookItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class ManagedEBookItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosVppEBook object. + Read properties and relationships of the managedEBook object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py index f994aa3771..b3b82e60b4 100644 --- a/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py @@ -49,10 +49,10 @@ def by_managed_e_book_id(self,managed_e_book_id: str) -> ManagedEBookItemRequest async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookCollectionResponse]: """ - List properties and relationships of the iosVppEBook objects. + List properties and relationships of the managedEBook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def post(self,body: ManagedEBook, request_configuration: Optional[RequestC def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the iosVppEBook objects. + List properties and relationships of the managedEBook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagedEBooksRequestBuilderGetQueryParameters(): """ - List properties and relationships of the iosVppEBook objects. + List properties and relationships of the managedEBook objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py b/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py index a9bab0b78c..95f1fb3ba0 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py @@ -49,10 +49,10 @@ def by_managed_device_mobile_app_configuration_id(self,managed_device_mobile_app async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedDeviceMobileAppConfigurationCollectionResponse]: """ - List properties and relationships of the iosMobileAppConfiguration objects. + List properties and relationships of the managedDeviceMobileAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedDeviceMobileAppConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def post(self,body: ManagedDeviceMobileAppConfiguration, request_configura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the iosMobileAppConfiguration objects. + List properties and relationships of the managedDeviceMobileAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MobileAppConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the iosMobileAppConfiguration objects. + List properties and relationships of the managedDeviceMobileAppConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py index 923376c463..e8e80714be 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py @@ -51,10 +51,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a windowsMicrosoftEdgeApp. + Deletes a managedIOSStoreApp. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-managediosstoreapp-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -70,10 +70,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileApp]: """ - Read properties and relationships of the windowsAppX object. + Read properties and relationships of the windowsMobileMSI object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsappx-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,11 +91,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MobileAp async def patch(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]: """ - Update the properties of a managedIOSLobApp object. + Update the properties of a windowsWebApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-managedioslobapp-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowswebapp-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ async def patch(self,body: MobileApp, request_configuration: Optional[RequestCon def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a windowsMicrosoftEdgeApp. + Deletes a managedIOSStoreApp. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the windowsAppX object. + Read properties and relationships of the windowsMobileMSI object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a managedIOSLobApp object. + Update the properties of a windowsWebApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -341,7 +341,7 @@ class MobileAppItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class MobileAppItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the windowsAppX object. + Read properties and relationships of the windowsMobileMSI object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py index ca506278fd..a7a76c2c6d 100644 --- a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py @@ -65,10 +65,10 @@ def by_mobile_app_id(self,mobile_app_id: str) -> MobileAppItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppCollectionResponse]: """ - List properties and relationships of the windowsMicrosoftEdgeApp objects. + List properties and relationships of the managedAndroidStoreApp objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-managedandroidstoreapp-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -86,11 +86,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MobileAp async def post(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]: """ - Create a new windowsUniversalAppX object. + Create a new managedAndroidLobApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsuniversalappx-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-managedandroidlobapp-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -110,7 +110,7 @@ async def post(self,body: MobileApp, request_configuration: Optional[RequestConf def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the windowsMicrosoftEdgeApp objects. + List properties and relationships of the managedAndroidStoreApp objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new windowsUniversalAppX object. + Create a new managedAndroidLobApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -300,7 +300,7 @@ def graph_windows_web_app(self) -> GraphWindowsWebAppRequestBuilder: @dataclass class MobileAppsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the windowsMicrosoftEdgeApp objects. + List properties and relationships of the managedAndroidStoreApp objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py index 2a43b9e46e..3130b8f33b 100644 --- a/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py @@ -49,10 +49,10 @@ def by_device_compliance_policy_id(self,device_compliance_policy_id: str) -> Dev async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicyCollectionResponse]: """ - List properties and relationships of the macOSCompliancePolicy objects. + List properties and relationships of the androidWorkProfileCompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Create a new iosCompliancePolicy object. + Create a new windows81CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -94,7 +94,7 @@ async def post(self,body: DeviceCompliancePolicy, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the macOSCompliancePolicy objects. + List properties and relationships of the androidWorkProfileCompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new iosCompliancePolicy object. + Create a new windows81CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceCompliancePoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the macOSCompliancePolicy objects. + List properties and relationships of the androidWorkProfileCompliancePolicy objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py index 48846f4229..e9a686e0bf 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py @@ -41,10 +41,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a androidWorkProfileCompliancePolicy. + Deletes a iosCompliancePolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -81,11 +81,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def patch(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Update the properties of a iosCompliancePolicy object. + Update the properties of a windows81CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ async def patch(self,body: DeviceCompliancePolicy, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a androidWorkProfileCompliancePolicy. + Deletes a iosCompliancePolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a iosCompliancePolicy object. + Update the properties of a windows81CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py index 1671f21e2d..317d8d6ffa 100644 --- a/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py @@ -49,10 +49,10 @@ def by_device_configuration_id(self,device_configuration_id: str) -> DeviceConfi async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfigurationCollectionResponse]: """ - List properties and relationships of the iosDeviceFeaturesConfiguration objects. + List properties and relationships of the windows10GeneralConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Create a new androidWorkProfileCustomConfiguration object. + Create a new windowsPhone81CustomConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecustomconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81customconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -94,7 +94,7 @@ async def post(self,body: DeviceConfiguration, request_configuration: Optional[R def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the iosDeviceFeaturesConfiguration objects. + List properties and relationships of the windows10GeneralConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new androidWorkProfileCustomConfiguration object. + Create a new windowsPhone81CustomConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the iosDeviceFeaturesConfiguration objects. + List properties and relationships of the windows10GeneralConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py index c84d6dbdee..0845239209 100644 --- a/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py @@ -40,10 +40,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a iosDeviceFeaturesConfiguration. + Deletes a windows10GeneralConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -59,10 +59,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Read properties and relationships of the androidWorkProfileGeneralDeviceConfiguration object. + Read properties and relationships of the iosCustomConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscustomconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,11 +92,11 @@ def get_oma_setting_plain_text_value_with_secret_reference_value_id(self,secret_ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Update the properties of a windowsUpdateForBusinessConfiguration object. + Update the properties of a windows10GeneralConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -116,7 +116,7 @@ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[ def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a iosDeviceFeaturesConfiguration. + Deletes a windows10GeneralConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the androidWorkProfileGeneralDeviceConfiguration object. + Read properties and relationships of the iosCustomConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a windowsUpdateForBusinessConfiguration object. + Update the properties of a windows10GeneralConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -234,7 +234,7 @@ class DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration(RequestCon @dataclass class DeviceConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the androidWorkProfileGeneralDeviceConfiguration object. + Read properties and relationships of the iosCustomConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py index 6dc9aca86b..44f166ba59 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py @@ -49,10 +49,10 @@ def by_device_enrollment_configuration_id(self,device_enrollment_configuration_i async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceEnrollmentConfigurationCollectionResponse]: """ - List properties and relationships of the deviceEnrollmentLimitConfiguration objects. + List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEn async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Create a new deviceEnrollmentLimitConfiguration object. + Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -94,7 +94,7 @@ async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the deviceEnrollmentLimitConfiguration objects. + List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new deviceEnrollmentLimitConfiguration object. + Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceEnrollmentLimitConfiguration objects. + List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py index 8f0cd433b8..86292ad829 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py @@ -35,10 +35,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -75,11 +75,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEn async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -99,7 +99,7 @@ async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/device_management/device_management_request_builder.py b/msgraph/generated/device_management/device_management_request_builder.py index 571e4fe98e..3596143633 100644 --- a/msgraph/generated/device_management/device_management_request_builder.py +++ b/msgraph/generated/device_management/device_management_request_builder.py @@ -96,7 +96,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceMa Read properties and relationships of the deviceManagement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-raimportcerts-devicemanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -130,7 +130,7 @@ async def patch(self,body: DeviceManagement, request_configuration: Optional[Req param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-tem-devicemanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py index 53577934fe..021a97208a 100644 --- a/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +++ b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py @@ -33,10 +33,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a roleDefinition. + Deletes a deviceAndAppManagementRoleDefinition. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinition]: """ - Read properties and relationships of the roleDefinition object. + Read properties and relationships of the deviceAndAppManagementRoleDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinition] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -97,7 +97,7 @@ async def patch(self,body: RoleDefinition, request_configuration: Optional[Reque def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a roleDefinition. + Deletes a deviceAndAppManagementRoleDefinition. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the roleDefinition object. + Read properties and relationships of the deviceAndAppManagementRoleDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -161,7 +161,7 @@ class RoleDefinitionItemRequestBuilderDeleteRequestConfiguration(RequestConfigur @dataclass class RoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the roleDefinition object. + Read properties and relationships of the deviceAndAppManagementRoleDefinition object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/devices/item/restore/restore_request_builder.py b/msgraph/generated/devices/item/restore/restore_request_builder.py index 76f38bd6a8..2e4e3b78ac 100644 --- a/msgraph/generated/devices/item/restore/restore_request_builder.py +++ b/msgraph/generated/devices/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/directory/administrative_units/item/administrative_unit_item_request_builder.py b/msgraph/generated/directory/administrative_units/item/administrative_unit_item_request_builder.py index f7adf36096..1dcb5e6f0b 100644 --- a/msgraph/generated/directory/administrative_units/item/administrative_unit_item_request_builder.py +++ b/msgraph/generated/directory/administrative_units/item/administrative_unit_item_request_builder.py @@ -54,7 +54,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AdministrativeUnitItemRequestBuilderGetQueryParameters]] = None) -> Optional[AdministrativeUnit]: """ - Retrieve the properties and relationships of an administrativeUnit object. + Retrieve the properties and relationships of an administrativeUnit object. The administrativeUnit resource supports extensions, which also allows you to use the GET operation to get custom properties and extension data in an administrativeUnit instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdministrativeUnit] Find more info here: https://learn.microsoft.com/graph/api/administrativeunit-get?view=graph-rest-1.0 @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AdministrativeUnitItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an administrativeUnit object. + Retrieve the properties and relationships of an administrativeUnit object. The administrativeUnit resource supports extensions, which also allows you to use the GET operation to get custom properties and extension data in an administrativeUnit instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -181,7 +181,7 @@ class AdministrativeUnitItemRequestBuilderDeleteRequestConfiguration(RequestConf @dataclass class AdministrativeUnitItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an administrativeUnit object. + Retrieve the properties and relationships of an administrativeUnit object. The administrativeUnit resource supports extensions, which also allows you to use the GET operation to get custom properties and extension data in an administrativeUnit instance. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/directory/deleted_items/deleted_items_request_builder.py b/msgraph/generated/directory/deleted_items/deleted_items_request_builder.py index 31c154b9ae..5e50c04dd0 100644 --- a/msgraph/generated/directory/deleted_items/deleted_items_request_builder.py +++ b/msgraph/generated/directory/deleted_items/deleted_items_request_builder.py @@ -57,7 +57,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[RequestConfiguration[DeletedItemsRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. + Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ @@ -77,7 +77,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeletedI def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeletedItemsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. + Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -189,7 +189,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class DeletedItemsRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. + Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/directory/deleted_items/graph_group/graph_group_request_builder.py b/msgraph/generated/directory/deleted_items/graph_group/graph_group_request_builder.py index e9048cf6a0..1804beefa5 100644 --- a/msgraph/generated/directory/deleted_items/graph_group/graph_group_request_builder.py +++ b/msgraph/generated/directory/deleted_items/graph_group/graph_group_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[GraphGroupRequestBuilderGetQueryParameters]] = None) -> Optional[GroupCollectionResponse]: """ - Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. + Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-list?view=graph-rest-1.0 @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphGro def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphGroupRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. + Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -85,7 +85,7 @@ def count(self) -> CountRequestBuilder: @dataclass class GraphGroupRequestBuilderGetQueryParameters(): """ - Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. + Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/directory/deleted_items/item/directory_object_item_request_builder.py b/msgraph/generated/directory/deleted_items/item/directory_object_item_request_builder.py index d7d9e3855f..074dcb9103 100644 --- a/msgraph/generated/directory/deleted_items/item/directory_object_item_request_builder.py +++ b/msgraph/generated/directory/deleted_items/item/directory_object_item_request_builder.py @@ -43,7 +43,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. + Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Permanently delete a recently deleted directory object from deleted items. The following types are supported:- certificateBasedAuthPki- certificateAuthorityDetail After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-delete?view=graph-rest-1.0 @@ -62,7 +62,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DirectoryObjectItemRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObject]: """ - Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. + Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-get?view=graph-rest-1.0 @@ -83,7 +83,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. + Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Permanently delete a recently deleted directory object from deleted items. The following types are supported:- certificateBasedAuthPki- certificateAuthorityDetail After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -94,7 +94,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DirectoryObjectItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. + Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -222,7 +222,7 @@ class DirectoryObjectItemRequestBuilderDeleteRequestConfiguration(RequestConfigu @dataclass class DirectoryObjectItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. + Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/directory/deleted_items/item/graph_group/graph_group_request_builder.py b/msgraph/generated/directory/deleted_items/item/graph_group/graph_group_request_builder.py index 88c0541dfe..f0c273cf8e 100644 --- a/msgraph/generated/directory/deleted_items/item/graph_group/graph_group_request_builder.py +++ b/msgraph/generated/directory/deleted_items/item/graph_group/graph_group_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[GraphGroupRequestBuilderGetQueryParameters]] = None) -> Optional[Group]: """ - Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. + Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-list?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphGro def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphGroupRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. + Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> GraphGroupRequestBuilder: @dataclass class GraphGroupRequestBuilderGetQueryParameters(): """ - Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. + Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/directory/deleted_items/item/restore/restore_request_builder.py b/msgraph/generated/directory/deleted_items/item/restore/restore_request_builder.py index 51257fa7a7..d0aae3c4ce 100644 --- a/msgraph/generated/directory/deleted_items/item/restore/restore_request_builder.py +++ b/msgraph/generated/directory/deleted_items/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/certificate_based_auth_configurations_request_builder.py b/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/certificate_based_auth_configurations_request_builder.py index 58ab661cdb..9972c4accf 100644 --- a/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/certificate_based_auth_configurations_request_builder.py +++ b/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/certificate_based_auth_configurations_request_builder.py @@ -49,9 +49,10 @@ def by_certificate_based_auth_pki_id(self,certificate_based_auth_pki_id: str) -> async def get(self,request_configuration: Optional[RequestConfiguration[CertificateBasedAuthConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[CertificateBasedAuthPkiCollectionResponse]: """ - Get certificateBasedAuthConfigurations from directory + Get a list of the certificateBasedAuthPki objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CertificateBasedAuthPkiCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/publickeyinfrastructureroot-list-certificatebasedauthconfigurations?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,10 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Certific async def post(self,body: CertificateBasedAuthPki, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CertificateBasedAuthPki]: """ - Create new navigation property to certificateBasedAuthConfigurations for directory + Create a new certificateBasedAuthPki object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CertificateBasedAuthPki] + Find more info here: https://learn.microsoft.com/graph/api/publickeyinfrastructureroot-post-certificatebasedauthconfigurations?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -92,7 +94,7 @@ async def post(self,body: CertificateBasedAuthPki, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CertificateBasedAuthConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get certificateBasedAuthConfigurations from directory + Get a list of the certificateBasedAuthPki objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: CertificateBasedAuthPki, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create new navigation property to certificateBasedAuthConfigurations for directory + Create a new certificateBasedAuthPki object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -138,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CertificateBasedAuthConfigurationsRequestBuilderGetQueryParameters(): """ - Get certificateBasedAuthConfigurations from directory + Get a list of the certificateBasedAuthPki objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/certificate_authorities_request_builder.py b/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/certificate_authorities_request_builder.py index dbf5fa5018..79a8678498 100644 --- a/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/certificate_authorities_request_builder.py +++ b/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/certificate_authorities_request_builder.py @@ -49,9 +49,10 @@ def by_certificate_authority_detail_id(self,certificate_authority_detail_id: str async def get(self,request_configuration: Optional[RequestConfiguration[CertificateAuthoritiesRequestBuilderGetQueryParameters]] = None) -> Optional[CertificateAuthorityDetailCollectionResponse]: """ - Get certificateAuthorities from directory + Get a list of the certificateAuthorityDetail objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CertificateAuthorityDetailCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/certificatebasedauthpki-list-certificateauthorities?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,10 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Certific async def post(self,body: CertificateAuthorityDetail, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CertificateAuthorityDetail]: """ - Create new navigation property to certificateAuthorities for directory + Create a new certificateAuthorityDetail object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CertificateAuthorityDetail] + Find more info here: https://learn.microsoft.com/graph/api/certificatebasedauthpki-post-certificateauthorities?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -92,7 +94,7 @@ async def post(self,body: CertificateAuthorityDetail, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CertificateAuthoritiesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get certificateAuthorities from directory + Get a list of the certificateAuthorityDetail objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: CertificateAuthorityDetail, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create new navigation property to certificateAuthorities for directory + Create a new certificateAuthorityDetail object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -138,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CertificateAuthoritiesRequestBuilderGetQueryParameters(): """ - Get certificateAuthorities from directory + Get a list of the certificateAuthorityDetail objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/item/certificate_authority_detail_item_request_builder.py b/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/item/certificate_authority_detail_item_request_builder.py index 3760162e2d..0c0810f13c 100644 --- a/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/item/certificate_authority_detail_item_request_builder.py +++ b/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/item/certificate_authority_detail_item_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete navigation property certificateAuthorities for directory + Delete a certificateAuthorityDetail object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None + Find more info here: https://learn.microsoft.com/graph/api/certificatebasedauthpki-delete-certificateauthorities?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -50,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[CertificateAuthorityDetailItemRequestBuilderGetQueryParameters]] = None) -> Optional[CertificateAuthorityDetail]: """ - Get certificateAuthorities from directory + The collection of certificate authorities contained in this public key infrastructure resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CertificateAuthorityDetail] """ @@ -70,10 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Certific async def patch(self,body: CertificateAuthorityDetail, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CertificateAuthorityDetail]: """ - Update the navigation property certificateAuthorities in directory + Update certificateAuthorityDetail param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CertificateAuthorityDetail] + Find more info here: https://learn.microsoft.com/graph/api/certificateauthoritydetail-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -93,7 +95,7 @@ async def patch(self,body: CertificateAuthorityDetail, request_configuration: Op def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete navigation property certificateAuthorities for directory + Delete a certificateAuthorityDetail object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CertificateAuthorityDetailItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get certificateAuthorities from directory + The collection of certificate authorities contained in this public key infrastructure resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: CertificateAuthorityDetail, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the navigation property certificateAuthorities in directory + Update certificateAuthorityDetail param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -148,7 +150,7 @@ class CertificateAuthorityDetailItemRequestBuilderDeleteRequestConfiguration(Req @dataclass class CertificateAuthorityDetailItemRequestBuilderGetQueryParameters(): """ - Get certificateAuthorities from directory + The collection of certificate authorities contained in this public key infrastructure resource. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_based_auth_pki_item_request_builder.py b/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_based_auth_pki_item_request_builder.py index b85ad257c9..247b9c60c2 100644 --- a/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_based_auth_pki_item_request_builder.py +++ b/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_based_auth_pki_item_request_builder.py @@ -34,9 +34,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete navigation property certificateBasedAuthConfigurations for directory + Delete a certificateBasedAuthPki object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None + Find more info here: https://learn.microsoft.com/graph/api/publickeyinfrastructureroot-delete-certificatebasedauthconfigurations?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -52,9 +53,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[CertificateBasedAuthPkiItemRequestBuilderGetQueryParameters]] = None) -> Optional[CertificateBasedAuthPki]: """ - Get certificateBasedAuthConfigurations from directory + Read the properties and relationships of a certificateBasedAuthPki object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CertificateBasedAuthPki] + Find more info here: https://learn.microsoft.com/graph/api/certificatebasedauthpki-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -72,10 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Certific async def patch(self,body: CertificateBasedAuthPki, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CertificateBasedAuthPki]: """ - Update the navigation property certificateBasedAuthConfigurations in directory + Update the properties of a certificateBasedAuthPki object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CertificateBasedAuthPki] + Find more info here: https://learn.microsoft.com/graph/api/certificatebasedauthpki-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -95,7 +98,7 @@ async def patch(self,body: CertificateBasedAuthPki, request_configuration: Optio def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete navigation property certificateBasedAuthConfigurations for directory + Delete a certificateBasedAuthPki object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CertificateBasedAuthPkiItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get certificateBasedAuthConfigurations from directory + Read the properties and relationships of a certificateBasedAuthPki object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: CertificateBasedAuthPki, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the navigation property certificateBasedAuthConfigurations in directory + Update the properties of a certificateBasedAuthPki object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -168,7 +171,7 @@ class CertificateBasedAuthPkiItemRequestBuilderDeleteRequestConfiguration(Reques @dataclass class CertificateBasedAuthPkiItemRequestBuilderGetQueryParameters(): """ - Get certificateBasedAuthConfigurations from directory + Read the properties and relationships of a certificateBasedAuthPki object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/upload/upload_request_builder.py b/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/upload/upload_request_builder.py index 9f2c425a99..93fe99dff6 100644 --- a/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/upload/upload_request_builder.py +++ b/msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/upload/upload_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: UploadPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action upload + Append additional certificate authority details to a certificateBasedAuthPki resource. Only one operation can run at a time and this operation can take up to 30 minutes to complete. To know whether another upload is in progress, call the Get certificateBasedAuthPki. The status property will have the value running. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None + Find more info here: https://learn.microsoft.com/graph/api/certificatebasedauthpki-upload?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: UploadPostRequestBody, request_configuration: Optional def to_post_request_information(self,body: UploadPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action upload + Append additional certificate authority details to a certificateBasedAuthPki resource. Only one operation can run at a time and this operation can take up to 30 minutes to complete. To know whether another upload is in progress, call the Get certificateBasedAuthPki. The status property will have the value running. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/directory/public_key_infrastructure/public_key_infrastructure_request_builder.py b/msgraph/generated/directory/public_key_infrastructure/public_key_infrastructure_request_builder.py index 97dce839a3..7c510943d9 100644 --- a/msgraph/generated/directory/public_key_infrastructure/public_key_infrastructure_request_builder.py +++ b/msgraph/generated/directory/public_key_infrastructure/public_key_infrastructure_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[PublicKeyInfrastructureRequestBuilderGetQueryParameters]] = None) -> Optional[PublicKeyInfrastructureRoot]: """ - Get publicKeyInfrastructure from directory + The collection of public key infrastructure instances for the certificate-based authentication feature for users in a Microsoft Entra tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PublicKeyInfrastructureRoot] """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PublicKeyInfrastructureRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get publicKeyInfrastructure from directory + The collection of public key infrastructure instances for the certificate-based authentication feature for users in a Microsoft Entra tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ class PublicKeyInfrastructureRequestBuilderDeleteRequestConfiguration(RequestCon @dataclass class PublicKeyInfrastructureRequestBuilderGetQueryParameters(): """ - Get publicKeyInfrastructure from directory + The collection of public key infrastructure instances for the certificate-based authentication feature for users in a Microsoft Entra tenant. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/directory_objects/item/restore/restore_request_builder.py b/msgraph/generated/directory_objects/item/restore/restore_request_builder.py index e29cd47332..f86ef77dc1 100644 --- a/msgraph/generated/directory_objects/item/restore/restore_request_builder.py +++ b/msgraph/generated/directory_objects/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/directory_role_templates/item/restore/restore_request_builder.py b/msgraph/generated/directory_role_templates/item/restore/restore_request_builder.py index 2781129f32..207e32664b 100644 --- a/msgraph/generated/directory_role_templates/item/restore/restore_request_builder.py +++ b/msgraph/generated/directory_role_templates/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/directory_roles/item/restore/restore_request_builder.py b/msgraph/generated/directory_roles/item/restore/restore_request_builder.py index 65b8bc387d..0a8c4cd8f7 100644 --- a/msgraph/generated/directory_roles/item/restore/restore_request_builder.py +++ b/msgraph/generated/directory_roles/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py b/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py index 0a12979814..bcd7c06310 100644 --- a/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +++ b/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Retentio async def patch(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ItemRetentionLabel]: """ - 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. + Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemRetentionLabel] - Find more info here: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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. + Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/group_setting_templates/item/restore/restore_request_builder.py b/msgraph/generated/group_setting_templates/item/restore/restore_request_builder.py index d9cac7c7ce..4ea45563a9 100644 --- a/msgraph/generated/group_setting_templates/item/restore/restore_request_builder.py +++ b/msgraph/generated/group_setting_templates/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/groups/groups_request_builder.py b/msgraph/generated/groups/groups_request_builder.py index 8adfb9faca..cb99a472d3 100644 --- a/msgraph/generated/groups/groups_request_builder.py +++ b/msgraph/generated/groups/groups_request_builder.py @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupsRe async def post(self,body: Group, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Group]: """ - Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] - Find more info here: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -109,7 +109,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Group, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/groups/item/conversations/conversations_request_builder.py b/msgraph/generated/groups/item/conversations/conversations_request_builder.py index cb5d6c61d5..ccfa63a5ba 100644 --- a/msgraph/generated/groups/item/conversations/conversations_request_builder.py +++ b/msgraph/generated/groups/item/conversations/conversations_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa async def post(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Conversation]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Use reply thread or reply post to further post to that conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Use reply thread or reply post to further post to that conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py index 1a9dc0b981..ddd48e0876 100644 --- a/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +++ b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py @@ -36,7 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Delete conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration diff --git a/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py b/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py index e0550c02dc..e3c6457c9c 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +++ b/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -54,7 +54,7 @@ async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[ def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/groups/item/restore/restore_request_builder.py b/msgraph/generated/groups/item/restore/restore_request_builder.py index 865915b878..f2dd89c4e7 100644 --- a/msgraph/generated/groups/item/restore/restore_request_builder.py +++ b/msgraph/generated/groups/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py b/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py index 03414d8364..ba03a0c734 100644 --- a/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py @@ -37,7 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Delete conversationThread. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration diff --git a/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py index 3350700aed..132fb64d85 100644 --- a/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py @@ -48,10 +48,10 @@ def by_post_id(self,post_id: str) -> PostItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> Optional[PostCollectionResponse]: """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PostCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PostsReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -100,7 +100,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PostsRequestBuilderGetQueryParameters(): """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py b/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py index f4aa3c2036..6f10d812c9 100644 --- a/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -54,7 +54,7 @@ async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[ def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index 9ecf363c07..0e60cbfcd6 100644 --- a/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a countryNamedLocation object. + Delete a namedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -96,7 +96,7 @@ async def patch(self,body: NamedLocation, request_configuration: Optional[Reques def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a countryNamedLocation object. + Delete a namedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py index 7f70f243e6..14d5ce5187 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py @@ -58,10 +58,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> Optional[AccessPackage]: """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] - Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-resourcerolescopes?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -114,7 +114,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -221,7 +221,7 @@ class AccessPackageItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class AccessPackageItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py index 824403091f..32a18b6530 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomCa async def patch(self,body: CustomCalloutExtension, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CustomCalloutExtension]: """ - Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + Update the properties of an accessPackageAssignmentWorkflowExtension object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -96,7 +96,7 @@ async def patch(self,body: CustomCalloutExtension, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: CustomCalloutExtension, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + Update the properties of an accessPackageAssignmentWorkflowExtension object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/kiota-dom-export.txt b/msgraph/generated/kiota-dom-export.txt index a999398737..2bc3e63a68 100644 --- a/msgraph/generated/kiota-dom-export.txt +++ b/msgraph/generated/kiota-dom-export.txt @@ -97299,6 +97299,22 @@ msgraph.generated.models.CallEndedEventMessageDetail::|public|initiator(value:Id msgraph.generated.models.CallEndedEventMessageDetail::|public|odata_type:str msgraph.generated.models.CallEndedEventMessageDetail::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.CallEndedEventMessageDetail::|static|public|create_from_discriminator_value(parse_node:ParseNode):CallEndedEventMessageDetail +msgraph.generated.models.CallEvent-->Entity +msgraph.generated.models.CallEvent::|public|call_event_type():CallEventType +msgraph.generated.models.CallEvent::|public|call_event_type(value:CallEventType):None +msgraph.generated.models.CallEvent::|public|constructor():None +msgraph.generated.models.CallEvent::|public|event_date_time():datetime.datetime +msgraph.generated.models.CallEvent::|public|event_date_time(value:datetime.datetime):None +msgraph.generated.models.CallEvent::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.CallEvent::|public|odata_type:str +msgraph.generated.models.CallEvent::|public|participants():list[Participant] +msgraph.generated.models.CallEvent::|public|participants(value:list[Participant]):None +msgraph.generated.models.CallEvent::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.CallEvent::|static|public|create_from_discriminator_value(parse_node:ParseNode):CallEvent +msgraph.generated.models.CallEventType::0000-CallStarted +msgraph.generated.models.CallEventType::0001-CallEnded +msgraph.generated.models.CallEventType::0002-UnknownFutureValue +msgraph.generated.models.CallEventType::0003-RosterUpdated msgraph.generated.models.CallMediaState::|public|additional_data():dict[str, Any] msgraph.generated.models.CallMediaState::|public|additional_data(value:dict[str, Any]):None msgraph.generated.models.CallMediaState::|public|audio():MediaState @@ -105506,6 +105522,38 @@ msgraph.generated.models.EmailSettings::|public|use_company_branding():bool msgraph.generated.models.EmailSettings::|public|use_company_branding(value:bool):None msgraph.generated.models.EmailSettings::|static|public|create_from_discriminator_value(parse_node:ParseNode):EmailSettings msgraph.generated.models.EmailSettings~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.EmergencyCallerInfo::|public|additional_data():dict[str, Any] +msgraph.generated.models.EmergencyCallerInfo::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.EmergencyCallerInfo::|public|backing_store:BackingStore +msgraph.generated.models.EmergencyCallerInfo::|public|constructor():None +msgraph.generated.models.EmergencyCallerInfo::|public|display_name():str +msgraph.generated.models.EmergencyCallerInfo::|public|display_name(value:str):None +msgraph.generated.models.EmergencyCallerInfo::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.EmergencyCallerInfo::|public|location():Location +msgraph.generated.models.EmergencyCallerInfo::|public|location(value:Location):None +msgraph.generated.models.EmergencyCallerInfo::|public|odata_type():str +msgraph.generated.models.EmergencyCallerInfo::|public|odata_type(value:str):None +msgraph.generated.models.EmergencyCallerInfo::|public|phone_number():str +msgraph.generated.models.EmergencyCallerInfo::|public|phone_number(value:str):None +msgraph.generated.models.EmergencyCallerInfo::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.EmergencyCallerInfo::|public|tenant_id():str +msgraph.generated.models.EmergencyCallerInfo::|public|tenant_id(value:str):None +msgraph.generated.models.EmergencyCallerInfo::|public|upn():str +msgraph.generated.models.EmergencyCallerInfo::|public|upn(value:str):None +msgraph.generated.models.EmergencyCallerInfo::|static|public|create_from_discriminator_value(parse_node:ParseNode):EmergencyCallerInfo +msgraph.generated.models.EmergencyCallerInfo~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.EmergencyCallEvent-->CallEvent +msgraph.generated.models.EmergencyCallEvent::|public|caller_info():EmergencyCallerInfo +msgraph.generated.models.EmergencyCallEvent::|public|caller_info(value:EmergencyCallerInfo):None +msgraph.generated.models.EmergencyCallEvent::|public|constructor():None +msgraph.generated.models.EmergencyCallEvent::|public|emergency_number_dialed():str +msgraph.generated.models.EmergencyCallEvent::|public|emergency_number_dialed(value:str):None +msgraph.generated.models.EmergencyCallEvent::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.EmergencyCallEvent::|public|odata_type:str +msgraph.generated.models.EmergencyCallEvent::|public|policy_name():str +msgraph.generated.models.EmergencyCallEvent::|public|policy_name(value:str):None +msgraph.generated.models.EmergencyCallEvent::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.EmergencyCallEvent::|static|public|create_from_discriminator_value(parse_node:ParseNode):EmergencyCallEvent msgraph.generated.models.EmployeeExperience::|public|additional_data():dict[str, Any] msgraph.generated.models.EmployeeExperience::|public|additional_data(value:dict[str, Any]):None msgraph.generated.models.EmployeeExperience::|public|backing_store:BackingStore @@ -115402,6 +115450,8 @@ msgraph.generated.models.partners.billing.BillingReconciliation::|public|constru msgraph.generated.models.partners.billing.BillingReconciliation::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.partners.billing.BillingReconciliation::|public|odata_type:str msgraph.generated.models.partners.billing.BillingReconciliation::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.partners.billing.BillingReconciliation::|public|unbilled():UnbilledReconciliation +msgraph.generated.models.partners.billing.BillingReconciliation::|public|unbilled(value:UnbilledReconciliation):None msgraph.generated.models.partners.billing.BillingReconciliation::|static|public|create_from_discriminator_value(parse_node:ParseNode):BillingReconciliation msgraph.generated.models.partners.billing.Blob::|public|additional_data():dict[str, Any] msgraph.generated.models.partners.billing.Blob::|public|additional_data(value:dict[str, Any]):None @@ -115491,6 +115541,12 @@ msgraph.generated.models.partners.billing.RunningOperation::|public|get_field_de msgraph.generated.models.partners.billing.RunningOperation::|public|odata_type:str msgraph.generated.models.partners.billing.RunningOperation::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.partners.billing.RunningOperation::|static|public|create_from_discriminator_value(parse_node:ParseNode):RunningOperation +msgraph.generated.models.partners.billing.UnbilledReconciliation-->Entity +msgraph.generated.models.partners.billing.UnbilledReconciliation::|public|constructor():None +msgraph.generated.models.partners.billing.UnbilledReconciliation::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.partners.billing.UnbilledReconciliation::|public|odata_type:str +msgraph.generated.models.partners.billing.UnbilledReconciliation::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.partners.billing.UnbilledReconciliation::|static|public|create_from_discriminator_value(parse_node:ParseNode):UnbilledReconciliation msgraph.generated.models.partners.billing.UnbilledUsage-->Entity msgraph.generated.models.partners.billing.UnbilledUsage::|public|constructor():None msgraph.generated.models.partners.billing.UnbilledUsage::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -143708,8 +143764,51 @@ msgraph.generated.reports.partners.billing.reconciliation.ReconciliationRequestB msgraph.generated.reports.partners.billing.reconciliation.ReconciliationRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.reports.partners.billing.reconciliation.ReconciliationRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ReconciliationRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.reports.partners.billing.reconciliation.ReconciliationRequestBuilder::|public|to_patch_request_information(body:BillingReconciliation; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.reports.partners.billing.reconciliation.ReconciliationRequestBuilder::|public|unbilled:UnbilledRequestBuilder msgraph.generated.reports.partners.billing.reconciliation.ReconciliationRequestBuilder::|public|url_template:str msgraph.generated.reports.partners.billing.reconciliation.ReconciliationRequestBuilder::|public|with_url(raw_url:str):ReconciliationRequestBuilder +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody::|public|additional_data():dict[str, Any] +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody::|public|attribute_set():AttributeSet +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody::|public|attribute_set(value:AttributeSet):None +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody::|public|backing_store:BackingStore +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody::|public|billing_period():BillingPeriod +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody::|public|billing_period(value:BillingPeriod):None +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody::|public|constructor():None +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody::|public|currency_code():str +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody::|public|currency_code(value:str):None +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ExportPostRequestBody +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.ExportPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder-->BaseRequestBuilder +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder.MicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|post(body:ExportPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):Operation +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|to_post_request_information(body:ExportPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|url_template:str +msgraph.generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphPartnersBillingExportRequestBuilder +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder-->BaseRequestBuilder +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder.UnbilledRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder.UnbilledRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder.UnbilledRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder.UnbilledRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder.UnbilledRequestBuilderGetRequestConfiguration-->RequestConfiguration[UnbilledRequestBuilderGetQueryParameters] +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder.UnbilledRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|get(request_configuration?:RequestConfiguration[UnbilledRequestBuilderGetQueryParameters]):UnbilledReconciliation +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|microsoft_graph_partners_billing_export:MicrosoftGraphPartnersBillingExportRequestBuilder +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|patch(body:UnbilledReconciliation; request_configuration?:RequestConfiguration[QueryParameters]):UnbilledReconciliation +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UnbilledRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|to_patch_request_information(body:UnbilledReconciliation; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|url_template:str +msgraph.generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|with_url(raw_url:str):UnbilledRequestBuilder msgraph.generated.reports.partners.billing.usage.billed.BilledRequestBuilder-->BaseRequestBuilder msgraph.generated.reports.partners.billing.usage.billed.BilledRequestBuilder.BilledRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph.generated.reports.partners.billing.usage.billed.BilledRequestBuilder.BilledRequestBuilderGetQueryParameters::|public|expand:list[str] diff --git a/msgraph/generated/kiota-lock.json b/msgraph/generated/kiota-lock.json index 4cb5430304..a6dd17d6ca 100644 --- a/msgraph/generated/kiota-lock.json +++ b/msgraph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "B06ED628E27AAD8F8ED2E3AA49DEE5FF10E6F211237E90896666FA008F5885D429DD2685B8462C401CA04D6A3B5EE90DB71E7AD795881A9E1DCF7E3E76C64270", + "descriptionHash": "D30AE728B02B4955989D20416397BFCF71ACE641A7F6394AB926849E078B3ADAC03C2E4AC6219CDBAD366474CD6FE047BAA29452865D993B65AE503698935A13", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.28.0", diff --git a/msgraph/generated/models/administrative_unit.py b/msgraph/generated/models/administrative_unit.py index 2d66a051bc..76a6fda580 100644 --- a/msgraph/generated/models/administrative_unit.py +++ b/msgraph/generated/models/administrative_unit.py @@ -21,7 +21,7 @@ class AdministrativeUnit(DirectoryObject, Parsable): display_name: Optional[str] = None # The collection of open extensions defined for this administrative unit. Nullable. extensions: Optional[list[Extension]] = None - # The isMemberManagementRestricted property + # true if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. If not set, the default value is null and the default behavior is false. Use this property to define administrative units with roles that don't inherit from tenant-level administrators, and where the management of individual member objects is limited to administrators scoped to a restricted management administrative unit. This property is immutable and can't be changed later. For more information on how to work with restricted management administrative units, see Restricted management administrative units in Microsoft Entra ID. is_member_management_restricted: Optional[bool] = None # Users and groups that are members of this administrative unit. Supports $expand. members: Optional[list[DirectoryObject]] = None diff --git a/msgraph/generated/models/call_event.py b/msgraph/generated/models/call_event.py new file mode 100644 index 0000000000..9665ae7b7a --- /dev/null +++ b/msgraph/generated/models/call_event.py @@ -0,0 +1,84 @@ +from __future__ import annotations +import datetime +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .call_event_type import CallEventType + from .emergency_call_event import EmergencyCallEvent + from .entity import Entity + from .participant import Participant + +from .entity import Entity + +@dataclass +class CallEvent(Entity, Parsable): + # The callEventType property + call_event_type: Optional[CallEventType] = None + # The eventDateTime property + event_date_time: Optional[datetime.datetime] = None + # The OdataType property + odata_type: Optional[str] = None + # The participants property + participants: Optional[list[Participant]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CallEvent: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: CallEvent + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.emergencyCallEvent".casefold(): + from .emergency_call_event import EmergencyCallEvent + + return EmergencyCallEvent() + return CallEvent() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .call_event_type import CallEventType + from .emergency_call_event import EmergencyCallEvent + from .entity import Entity + from .participant import Participant + + from .call_event_type import CallEventType + from .emergency_call_event import EmergencyCallEvent + from .entity import Entity + from .participant import Participant + + fields: dict[str, Callable[[Any], None]] = { + "callEventType": lambda n : setattr(self, 'call_event_type', n.get_enum_value(CallEventType)), + "eventDateTime": lambda n : setattr(self, 'event_date_time', n.get_datetime_value()), + "participants": lambda n : setattr(self, 'participants', n.get_collection_of_object_values(Participant)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_enum_value("callEventType", self.call_event_type) + writer.write_datetime_value("eventDateTime", self.event_date_time) + writer.write_collection_of_object_values("participants", self.participants) + + diff --git a/msgraph/generated/models/call_event_type.py b/msgraph/generated/models/call_event_type.py new file mode 100644 index 0000000000..3879bc75f6 --- /dev/null +++ b/msgraph/generated/models/call_event_type.py @@ -0,0 +1,8 @@ +from enum import Enum + +class CallEventType(str, Enum): + CallStarted = "callStarted", + CallEnded = "callEnded", + UnknownFutureValue = "unknownFutureValue", + RosterUpdated = "rosterUpdated", + diff --git a/msgraph/generated/models/certificate_authority_detail.py b/msgraph/generated/models/certificate_authority_detail.py index e5f52aa60d..ae1dece5a2 100644 --- a/msgraph/generated/models/certificate_authority_detail.py +++ b/msgraph/generated/models/certificate_authority_detail.py @@ -15,27 +15,27 @@ class CertificateAuthorityDetail(DirectoryObject, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.certificateAuthorityDetail" - # The certificate property + # The public key of the certificate authority. certificate: Optional[bytes] = None - # The certificateAuthorityType property + # The type of certificate authority. The possible values are: root, intermediate, unknownFutureValue. Supports $filter (eq). certificate_authority_type: Optional[CertificateAuthorityType] = None - # The certificateRevocationListUrl property + # The URL to check if the certificate is revoked. certificate_revocation_list_url: Optional[str] = None - # The createdDateTime property + # The date and time when the certificate authority was created. created_date_time: Optional[datetime.datetime] = None # The deltaCertificateRevocationListUrl property delta_certificate_revocation_list_url: Optional[str] = None - # The displayName property + # The display name of the certificate authority. display_name: Optional[str] = None - # The expirationDateTime property + # The date and time when the certificate authority expires. Supports $filter (eq) and $orderby. expiration_date_time: Optional[datetime.datetime] = None - # The isIssuerHintEnabled property + # Indicates whether the certificate picker presents the certificate authority to the user to use for authentication. Default value is false. Optional. is_issuer_hint_enabled: Optional[bool] = None - # The issuer property + # The issuer of the certificate authority. issuer: Optional[str] = None - # The issuerSubjectKeyIdentifier property + # The subject key identifier of certificate authority. issuer_subject_key_identifier: Optional[str] = None - # The thumbprint property + # The thumbprint of certificate authority certificate. Supports $filter (eq, startswith). thumbprint: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/certificate_based_auth_pki.py b/msgraph/generated/models/certificate_based_auth_pki.py index c80cb6c76e..0e7f5f5f95 100644 --- a/msgraph/generated/models/certificate_based_auth_pki.py +++ b/msgraph/generated/models/certificate_based_auth_pki.py @@ -15,15 +15,15 @@ class CertificateBasedAuthPki(DirectoryObject, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.certificateBasedAuthPki" - # The certificateAuthorities property + # The collection of certificate authorities contained in this public key infrastructure resource. certificate_authorities: Optional[list[CertificateAuthorityDetail]] = None - # The displayName property + # The name of the object. Maximum length is 256 characters. display_name: Optional[str] = None - # The lastModifiedDateTime property + # The date and time when the object was created or last modified. last_modified_date_time: Optional[datetime.datetime] = None - # The status property + # The status of any asynchronous jobs runs on the object which can be upload or delete. status: Optional[str] = None - # The statusDetails property + # The status details of the upload/deleted operation of PKI (Public Key Infrastructure). status_details: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/device.py b/msgraph/generated/models/device.py index 0f9e44f3a4..dc4a1fc86b 100644 --- a/msgraph/generated/models/device.py +++ b/msgraph/generated/models/device.py @@ -46,7 +46,7 @@ class Device(DirectoryObject, Parsable): is_compliant: Optional[bool] = None # true if the device is managed by a Mobile Device Management (MDM) app; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. Supports $filter (eq, ne, not). is_managed: Optional[bool] = None - # The isManagementRestricted property + # Indicates whether the device is a member of a restricted management administrative unit. If not set, the default value is null and the default behavior is false. Read-only. To manage a device that's a member of a restricted management administrative unit, the administrator or calling app must be assigned a Microsoft Entra role at the scope of the restricted management administrative unit. Returned only on $select. is_management_restricted: Optional[bool] = None # true if the device is rooted or jail-broken. This property can only be updated by Intune. is_rooted: Optional[bool] = None diff --git a/msgraph/generated/models/directory.py b/msgraph/generated/models/directory.py index 1b97d4fd14..af335014ac 100644 --- a/msgraph/generated/models/directory.py +++ b/msgraph/generated/models/directory.py @@ -36,7 +36,7 @@ class Directory(Entity, Parsable): odata_type: Optional[str] = None # A container for on-premises directory synchronization functionalities that are available for the organization. on_premises_synchronization: Optional[list[OnPremisesDirectorySynchronization]] = None - # The publicKeyInfrastructure property + # The collection of public key infrastructure instances for the certificate-based authentication feature for users in a Microsoft Entra tenant. public_key_infrastructure: Optional[PublicKeyInfrastructureRoot] = None # List of commercial subscriptions that an organization acquired. subscriptions: Optional[list[CompanySubscription]] = None diff --git a/msgraph/generated/models/emergency_call_event.py b/msgraph/generated/models/emergency_call_event.py new file mode 100644 index 0000000000..d735e9a753 --- /dev/null +++ b/msgraph/generated/models/emergency_call_event.py @@ -0,0 +1,68 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .call_event import CallEvent + from .emergency_caller_info import EmergencyCallerInfo + +from .call_event import CallEvent + +@dataclass +class EmergencyCallEvent(CallEvent, Parsable): + # The callerInfo property + caller_info: Optional[EmergencyCallerInfo] = None + # The emergencyNumberDialed property + emergency_number_dialed: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The policyName property + policy_name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> EmergencyCallEvent: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: EmergencyCallEvent + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return EmergencyCallEvent() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .call_event import CallEvent + from .emergency_caller_info import EmergencyCallerInfo + + from .call_event import CallEvent + from .emergency_caller_info import EmergencyCallerInfo + + fields: dict[str, Callable[[Any], None]] = { + "callerInfo": lambda n : setattr(self, 'caller_info', n.get_object_value(EmergencyCallerInfo)), + "emergencyNumberDialed": lambda n : setattr(self, 'emergency_number_dialed', n.get_str_value()), + "policyName": lambda n : setattr(self, 'policy_name', n.get_str_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("callerInfo", self.caller_info) + writer.write_str_value("emergencyNumberDialed", self.emergency_number_dialed) + writer.write_str_value("policyName", self.policy_name) + + diff --git a/msgraph/generated/models/emergency_caller_info.py b/msgraph/generated/models/emergency_caller_info.py new file mode 100644 index 0000000000..fe76b590af --- /dev/null +++ b/msgraph/generated/models/emergency_caller_info.py @@ -0,0 +1,77 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .location import Location + +@dataclass +class EmergencyCallerInfo(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The displayName property + display_name: Optional[str] = None + # The location property + location: Optional[Location] = None + # The OdataType property + odata_type: Optional[str] = None + # The phoneNumber property + phone_number: Optional[str] = None + # The tenantId property + tenant_id: Optional[str] = None + # The upn property + upn: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> EmergencyCallerInfo: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: EmergencyCallerInfo + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return EmergencyCallerInfo() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .location import Location + + from .location import Location + + fields: dict[str, Callable[[Any], None]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "location": lambda n : setattr(self, 'location', n.get_object_value(Location)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "phoneNumber": lambda n : setattr(self, 'phone_number', n.get_str_value()), + "tenantId": lambda n : setattr(self, 'tenant_id', n.get_str_value()), + "upn": lambda n : setattr(self, 'upn', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("displayName", self.display_name) + writer.write_object_value("location", self.location) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("phoneNumber", self.phone_number) + writer.write_str_value("tenantId", self.tenant_id) + writer.write_str_value("upn", self.upn) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/entity.py b/msgraph/generated/models/entity.py index a3bbf76095..76b9b4b850 100644 --- a/msgraph/generated/models/entity.py +++ b/msgraph/generated/models/entity.py @@ -130,6 +130,7 @@ from .calendar_permission import CalendarPermission from .calendar_sharing_message import CalendarSharingMessage from .call import Call + from .call_event import CallEvent from .call_recording import CallRecording from .call_records.call_record import CallRecord from .call_records.organizer import Organizer @@ -293,6 +294,7 @@ from .email_authentication_method import EmailAuthenticationMethod from .email_authentication_method_configuration import EmailAuthenticationMethodConfiguration from .email_file_assessment_request import EmailFileAssessmentRequest + from .emergency_call_event import EmergencyCallEvent from .employee_experience_user import EmployeeExperienceUser from .endpoint import Endpoint from .end_user_notification import EndUserNotification @@ -536,6 +538,7 @@ from .partners.billing.manifest import Manifest from .partners.billing.operation import Operation from .partners.billing.running_operation import RunningOperation + from .partners.billing.unbilled_reconciliation import UnbilledReconciliation from .partners.billing.unbilled_usage import UnbilledUsage from .partners.partners import Partners from .password_authentication_method import PasswordAuthenticationMethod @@ -1516,6 +1519,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .call import Call return Call() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.callEvent".casefold(): + from .call_event import CallEvent + + return CallEvent() if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecording".casefold(): from .call_recording import CallRecording @@ -2173,6 +2180,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .email_file_assessment_request import EmailFileAssessmentRequest return EmailFileAssessmentRequest() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.emergencyCallEvent".casefold(): + from .emergency_call_event import EmergencyCallEvent + + return EmergencyCallEvent() if mapping_value and mapping_value.casefold() == "#microsoft.graph.employeeExperienceUser".casefold(): from .employee_experience_user import EmployeeExperienceUser @@ -3150,6 +3161,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .partners.billing.running_operation import RunningOperation return RunningOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.partners.billing.unbilledReconciliation".casefold(): + from .partners.billing.unbilled_reconciliation import UnbilledReconciliation + + return UnbilledReconciliation() if mapping_value and mapping_value.casefold() == "#microsoft.graph.partners.billing.unbilledUsage".casefold(): from .partners.billing.unbilled_usage import UnbilledUsage @@ -5104,6 +5119,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .calendar_permission import CalendarPermission from .calendar_sharing_message import CalendarSharingMessage from .call import Call + from .call_event import CallEvent from .call_recording import CallRecording from .call_records.call_record import CallRecord from .call_records.organizer import Organizer @@ -5267,6 +5283,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .email_authentication_method import EmailAuthenticationMethod from .email_authentication_method_configuration import EmailAuthenticationMethodConfiguration from .email_file_assessment_request import EmailFileAssessmentRequest + from .emergency_call_event import EmergencyCallEvent from .employee_experience_user import EmployeeExperienceUser from .endpoint import Endpoint from .end_user_notification import EndUserNotification @@ -5510,6 +5527,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .partners.billing.manifest import Manifest from .partners.billing.operation import Operation from .partners.billing.running_operation import RunningOperation + from .partners.billing.unbilled_reconciliation import UnbilledReconciliation from .partners.billing.unbilled_usage import UnbilledUsage from .partners.partners import Partners from .password_authentication_method import PasswordAuthenticationMethod @@ -6091,6 +6109,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .calendar_permission import CalendarPermission from .calendar_sharing_message import CalendarSharingMessage from .call import Call + from .call_event import CallEvent from .call_recording import CallRecording from .call_records.call_record import CallRecord from .call_records.organizer import Organizer @@ -6254,6 +6273,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .email_authentication_method import EmailAuthenticationMethod from .email_authentication_method_configuration import EmailAuthenticationMethodConfiguration from .email_file_assessment_request import EmailFileAssessmentRequest + from .emergency_call_event import EmergencyCallEvent from .employee_experience_user import EmployeeExperienceUser from .endpoint import Endpoint from .end_user_notification import EndUserNotification @@ -6497,6 +6517,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .partners.billing.manifest import Manifest from .partners.billing.operation import Operation from .partners.billing.running_operation import RunningOperation + from .partners.billing.unbilled_reconciliation import UnbilledReconciliation from .partners.billing.unbilled_usage import UnbilledUsage from .partners.partners import Partners from .password_authentication_method import PasswordAuthenticationMethod diff --git a/msgraph/generated/models/group.py b/msgraph/generated/models/group.py index 6167627835..183479b1de 100644 --- a/msgraph/generated/models/group.py +++ b/msgraph/generated/models/group.py @@ -89,7 +89,7 @@ class Group(DirectoryObject, Parsable): is_archived: Optional[bool] = None # Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group can't be a dynamic group (that is, groupTypes can't contain DynamicMembership). Only callers with at least the Privileged Role Administrator role can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license. Returned by default. Supports $filter (eq, ne, not). is_assignable_to_role: Optional[bool] = None - # The isManagementRestricted property + # Indicates whether the group is a member of a restricted management administrative unit. If not set, the default value is null and the default behavior is false. Read-only. To manage a group member of a restricted management administrative unit, the administrator or calling app must be assigned a Microsoft Entra role at the scope of the restricted management administrative unit. Returned only on $select. is_management_restricted: Optional[bool] = None # Indicates whether the signed-in user is subscribed to receive email conversations. The default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). is_subscribed_by_mail: Optional[bool] = None diff --git a/msgraph/generated/models/partners/billing/billing_reconciliation.py b/msgraph/generated/models/partners/billing/billing_reconciliation.py index 4867cb54a1..c9ed2aa641 100644 --- a/msgraph/generated/models/partners/billing/billing_reconciliation.py +++ b/msgraph/generated/models/partners/billing/billing_reconciliation.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from ...entity import Entity from .billed_reconciliation import BilledReconciliation + from .unbilled_reconciliation import UnbilledReconciliation from ...entity import Entity @@ -16,6 +17,8 @@ class BillingReconciliation(Entity, Parsable): billed: Optional[BilledReconciliation] = None # The OdataType property odata_type: Optional[str] = None + # The unbilled property + unbilled: Optional[UnbilledReconciliation] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> BillingReconciliation: @@ -35,12 +38,15 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ from ...entity import Entity from .billed_reconciliation import BilledReconciliation + from .unbilled_reconciliation import UnbilledReconciliation from ...entity import Entity from .billed_reconciliation import BilledReconciliation + from .unbilled_reconciliation import UnbilledReconciliation fields: dict[str, Callable[[Any], None]] = { "billed": lambda n : setattr(self, 'billed', n.get_object_value(BilledReconciliation)), + "unbilled": lambda n : setattr(self, 'unbilled', n.get_object_value(UnbilledReconciliation)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -56,5 +62,6 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_object_value("billed", self.billed) + writer.write_object_value("unbilled", self.unbilled) diff --git a/msgraph/generated/models/partners/billing/unbilled_reconciliation.py b/msgraph/generated/models/partners/billing/unbilled_reconciliation.py new file mode 100644 index 0000000000..03391d49fb --- /dev/null +++ b/msgraph/generated/models/partners/billing/unbilled_reconciliation.py @@ -0,0 +1,53 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...entity import Entity + +from ...entity import Entity + +@dataclass +class UnbilledReconciliation(Entity, Parsable): + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UnbilledReconciliation: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: UnbilledReconciliation + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return UnbilledReconciliation() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ...entity import Entity + + from ...entity import Entity + + fields: dict[str, Callable[[Any], None]] = { + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph/generated/models/public_key_infrastructure_root.py b/msgraph/generated/models/public_key_infrastructure_root.py index d5bc1fd3b9..d60fa15578 100644 --- a/msgraph/generated/models/public_key_infrastructure_root.py +++ b/msgraph/generated/models/public_key_infrastructure_root.py @@ -12,7 +12,7 @@ @dataclass class PublicKeyInfrastructureRoot(Entity, Parsable): - # The certificateBasedAuthConfigurations property + # The collection of public key infrastructure instances for the certificate-based authentication feature for users. certificate_based_auth_configurations: Optional[list[CertificateBasedAuthPki]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/user.py b/msgraph/generated/models/user.py index 49161e8a08..6ddcc60077 100644 --- a/msgraph/generated/models/user.py +++ b/msgraph/generated/models/user.py @@ -178,7 +178,7 @@ class User(DirectoryObject, Parsable): insights: Optional[ItemInsights] = None # A list for the user to describe their interests. Returned only on $select. interests: Optional[list[str]] = None - # The isManagementRestricted property + # true if the user is a member of a restricted management administrative unit. If not set, the default value is null and the default behavior is false. Read-only. To manage a user who is a member of a restricted management administrative unit, the administrator or calling app must be assigned a Microsoft Entra role at the scope of the restricted management administrative unit. Returned only on $select. is_management_restricted: Optional[bool] = None # Don't use – reserved for future use. is_resource_account: Optional[bool] = None diff --git a/msgraph/generated/models/workbook_worksheet_protection_options.py b/msgraph/generated/models/workbook_worksheet_protection_options.py index 339d65fac1..91b3b61219 100644 --- a/msgraph/generated/models/workbook_worksheet_protection_options.py +++ b/msgraph/generated/models/workbook_worksheet_protection_options.py @@ -12,27 +12,27 @@ class WorkbookWorksheetProtectionOptions(AdditionalDataHolder, BackedModel, Pars # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. + # Represents the worksheet protection option of allowing using auto filter feature. allow_auto_filter: Optional[bool] = None - # Indicates whether the worksheet protection option to allow deleting columns is enabled. + # Represents the worksheet protection option of allowing deleting columns. allow_delete_columns: Optional[bool] = None - # Indicates whether the worksheet protection option to allow deleting rows is enabled. + # Represents the worksheet protection option of allowing deleting rows. allow_delete_rows: Optional[bool] = None - # Indicates whether the worksheet protection option to allow formatting cells is enabled. + # Represents the worksheet protection option of allowing formatting cells. allow_format_cells: Optional[bool] = None - # Indicates whether the worksheet protection option to allow formatting columns is enabled. + # Represents the worksheet protection option of allowing formatting columns. allow_format_columns: Optional[bool] = None - # Indicates whether the worksheet protection option to allow formatting rows is enabled. + # Represents the worksheet protection option of allowing formatting rows. allow_format_rows: Optional[bool] = None - # Indicates whether the worksheet protection option to allow inserting columns is enabled. + # Represents the worksheet protection option of allowing inserting columns. allow_insert_columns: Optional[bool] = None - # Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. + # Represents the worksheet protection option of allowing inserting hyperlinks. allow_insert_hyperlinks: Optional[bool] = None - # Indicates whether the worksheet protection option to allow inserting rows is enabled. + # Represents the worksheet protection option of allowing inserting rows. allow_insert_rows: Optional[bool] = None - # Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. + # Represents the worksheet protection option of allowing using pivot table feature. allow_pivot_tables: Optional[bool] = None - # Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. + # Represents the worksheet protection option of allowing using sort feature. allow_sort: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py b/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py index ca0d753e77..e4b3518351 100644 --- a/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +++ b/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py @@ -49,10 +49,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: """ - Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes - Find more info here: https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/organization/item/organization_item_request_builder.py b/msgraph/generated/organization/item/organization_item_request_builder.py index 9c1a2da31c..70fb2fe462 100644 --- a/msgraph/generated/organization/item/organization_item_request_builder.py +++ b/msgraph/generated/organization/item/organization_item_request_builder.py @@ -59,10 +59,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Organization]: """ - Read properties and relationships of the organization object. + Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Organization] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -80,11 +80,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Organiza async def patch(self,body: Organization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Organization]: """ - Update the properties of a organization object. + Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Organization] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/organization-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the organization object. + Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Organization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a organization object. + Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -240,7 +240,7 @@ class OrganizationItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class OrganizationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the organization object. + Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/organization/item/restore/restore_request_builder.py b/msgraph/generated/organization/item/restore/restore_request_builder.py index 5aefa84abd..b2cf400787 100644 --- a/msgraph/generated/organization/item/restore/restore_request_builder.py +++ b/msgraph/generated/organization/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/permission_grants/item/restore/restore_request_builder.py b/msgraph/generated/permission_grants/item/restore/restore_request_builder.py index ce217e56f3..8c01cd2e9c 100644 --- a/msgraph/generated/permission_grants/item/restore/restore_request_builder.py +++ b/msgraph/generated/permission_grants/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/reports/partners/billing/reconciliation/reconciliation_request_builder.py b/msgraph/generated/reports/partners/billing/reconciliation/reconciliation_request_builder.py index 6ab87f055d..6942b00cb9 100644 --- a/msgraph/generated/reports/partners/billing/reconciliation/reconciliation_request_builder.py +++ b/msgraph/generated/reports/partners/billing/reconciliation/reconciliation_request_builder.py @@ -17,6 +17,7 @@ from .....models.o_data_errors.o_data_error import ODataError from .....models.partners.billing.billing_reconciliation import BillingReconciliation from .billed.billed_request_builder import BilledRequestBuilder + from .unbilled.unbilled_request_builder import UnbilledRequestBuilder class ReconciliationRequestBuilder(BaseRequestBuilder): """ @@ -148,6 +149,15 @@ def billed(self) -> BilledRequestBuilder: return BilledRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unbilled(self) -> UnbilledRequestBuilder: + """ + Provides operations to manage the unbilled property of the microsoft.graph.partners.billing.billingReconciliation entity. + """ + from .unbilled.unbilled_request_builder import UnbilledRequestBuilder + + return UnbilledRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ReconciliationRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph/generated/reports/partners/billing/reconciliation/unbilled/microsoft_graph_partners_billing_export/export_post_request_body.py b/msgraph/generated/reports/partners/billing/reconciliation/unbilled/microsoft_graph_partners_billing_export/export_post_request_body.py new file mode 100644 index 0000000000..1fee199125 --- /dev/null +++ b/msgraph/generated/reports/partners/billing/reconciliation/unbilled/microsoft_graph_partners_billing_export/export_post_request_body.py @@ -0,0 +1,68 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.partners.billing.attribute_set import AttributeSet + from .......models.partners.billing.billing_period import BillingPeriod + +@dataclass +class ExportPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The attributeSet property + attribute_set: Optional[AttributeSet] = None + # The billingPeriod property + billing_period: Optional[BillingPeriod] = None + # The currencyCode property + currency_code: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ExportPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ExportPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ExportPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .......models.partners.billing.attribute_set import AttributeSet + from .......models.partners.billing.billing_period import BillingPeriod + + from .......models.partners.billing.attribute_set import AttributeSet + from .......models.partners.billing.billing_period import BillingPeriod + + fields: dict[str, Callable[[Any], None]] = { + "attributeSet": lambda n : setattr(self, 'attribute_set', n.get_enum_value(AttributeSet)), + "billingPeriod": lambda n : setattr(self, 'billing_period', n.get_enum_value(BillingPeriod)), + "currencyCode": lambda n : setattr(self, 'currency_code', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_enum_value("attributeSet", self.attribute_set) + writer.write_enum_value("billingPeriod", self.billing_period) + writer.write_str_value("currencyCode", self.currency_code) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/reports/partners/billing/reconciliation/unbilled/microsoft_graph_partners_billing_export/microsoft_graph_partners_billing_export_request_builder.py b/msgraph/generated/reports/partners/billing/reconciliation/unbilled/microsoft_graph_partners_billing_export/microsoft_graph_partners_billing_export_request_builder.py new file mode 100644 index 0000000000..6047d0f664 --- /dev/null +++ b/msgraph/generated/reports/partners/billing/reconciliation/unbilled/microsoft_graph_partners_billing_export/microsoft_graph_partners_billing_export_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.partners.billing.operation import Operation + from .export_post_request_body import ExportPostRequestBody + +class MicrosoftGraphPartnersBillingExportRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the export method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new MicrosoftGraphPartnersBillingExportRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/reports/partners/billing/reconciliation/unbilled/microsoft.graph.partners.billing.export", path_parameters) + + async def post(self,body: ExportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Operation]: + """ + Invoke action export + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Operation] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.partners.billing.operation import Operation + + return await self.request_adapter.send_async(request_info, Operation, error_mapping) + + def to_post_request_information(self,body: ExportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action export + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> MicrosoftGraphPartnersBillingExportRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MicrosoftGraphPartnersBillingExportRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphPartnersBillingExportRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/reports/partners/billing/reconciliation/unbilled/unbilled_request_builder.py b/msgraph/generated/reports/partners/billing/reconciliation/unbilled/unbilled_request_builder.py new file mode 100644 index 0000000000..dbd66acf44 --- /dev/null +++ b/msgraph/generated/reports/partners/billing/reconciliation/unbilled/unbilled_request_builder.py @@ -0,0 +1,198 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.partners.billing.unbilled_reconciliation import UnbilledReconciliation + from .microsoft_graph_partners_billing_export.microsoft_graph_partners_billing_export_request_builder import MicrosoftGraphPartnersBillingExportRequestBuilder + +class UnbilledRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the unbilled property of the microsoft.graph.partners.billing.billingReconciliation entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new UnbilledRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/reports/partners/billing/reconciliation/unbilled{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property unbilled for reports + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[UnbilledRequestBuilderGetQueryParameters]] = None) -> Optional[UnbilledReconciliation]: + """ + Get unbilled from reports + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[UnbilledReconciliation] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.partners.billing.unbilled_reconciliation import UnbilledReconciliation + + return await self.request_adapter.send_async(request_info, UnbilledReconciliation, error_mapping) + + async def patch(self,body: UnbilledReconciliation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[UnbilledReconciliation]: + """ + Update the navigation property unbilled in reports + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[UnbilledReconciliation] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.partners.billing.unbilled_reconciliation import UnbilledReconciliation + + return await self.request_adapter.send_async(request_info, UnbilledReconciliation, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property unbilled for reports + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UnbilledRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get unbilled from reports + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: UnbilledReconciliation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property unbilled in reports + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> UnbilledRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: UnbilledRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return UnbilledRequestBuilder(self.request_adapter, raw_url) + + @property + def microsoft_graph_partners_billing_export(self) -> MicrosoftGraphPartnersBillingExportRequestBuilder: + """ + Provides operations to call the export method. + """ + from .microsoft_graph_partners_billing_export.microsoft_graph_partners_billing_export_request_builder import MicrosoftGraphPartnersBillingExportRequestBuilder + + return MicrosoftGraphPartnersBillingExportRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class UnbilledRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class UnbilledRequestBuilderGetQueryParameters(): + """ + Get unbilled from reports + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class UnbilledRequestBuilderGetRequestConfiguration(RequestConfiguration[UnbilledRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class UnbilledRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/service_principals/item/restore/restore_request_builder.py b/msgraph/generated/service_principals/item/restore/restore_request_builder.py index 811d776438..fba1b2cc5a 100644 --- a/msgraph/generated/service_principals/item/restore/restore_request_builder.py +++ b/msgraph/generated/service_principals/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py index bd501a59da..56242d4183 100644 --- a/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a conversationMember from a channel. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -96,7 +96,7 @@ async def patch(self,body: ConversationMember, request_configuration: Optional[R def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a conversationMember from a channel. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/teams/item/channels/item/members/members_request_builder.py b/msgraph/generated/teams/item/channels/item/members/members_request_builder.py index 94557c919d..a7c95ccd2e 100644 --- a/msgraph/generated/teams/item/channels/item/members/members_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/members/members_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MembersR async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Add a conversationMember to a channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Add a conversationMember to a channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py b/msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py index ea2e3b9890..8ef273746a 100644 --- a/msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/teams/item/schedule/shifts/item/shift_item_request_builder.py b/msgraph/generated/teams/item/schedule/shifts/item/shift_item_request_builder.py index 6ac8dd536f..8b23a4df21 100644 --- a/msgraph/generated/teams/item/schedule/shifts/item/shift_item_request_builder.py +++ b/msgraph/generated/teams/item/schedule/shifts/item/shift_item_request_builder.py @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ShiftIte async def patch(self,body: Shift, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Shift]: """ - Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. + Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than one minute or longer than 24 hours. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Shift] @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Shift, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. + Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than one minute or longer than 24 hours. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py b/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py index e7a7de2e99..0e452ac20d 100644 --- a/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +++ b/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py @@ -55,11 +55,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MultiTen async def patch(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MultiTenantOrganization]: """ - Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + Update the properties of a multitenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganization] - Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -90,7 +90,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + Update the properties of a multitenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/users/item/presence/presence_request_builder.py b/msgraph/generated/users/item/presence/presence_request_builder.py index ed34299e61..06b15b9be0 100644 --- a/msgraph/generated/users/item/presence/presence_request_builder.py +++ b/msgraph/generated/users/item/presence/presence_request_builder.py @@ -55,10 +55,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> Optional[Presence]: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Presence] - Find more info here: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -199,7 +199,7 @@ class PresenceRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class PresenceRequestBuilderGetQueryParameters(): """ - Set a presence status message for a user. An optional expiration date and time can be supplied. + Get a user's presence information. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/item/restore/restore_request_builder.py b/msgraph/generated/users/item/restore/restore_request_builder.py index 7cc69c37e6..9b5f08ecc3 100644 --- a/msgraph/generated/users/item/restore/restore_request_builder.py +++ b/msgraph/generated/users/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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 param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/users/item/user_item_request_builder.py b/msgraph/generated/users/item/user_item_request_builder.py index bb3434e4c1..cde917837f 100644 --- a/msgraph/generated/users/item/user_item_request_builder.py +++ b/msgraph/generated/users/item/user_item_request_builder.py @@ -108,10 +108,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a user. + Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -142,10 +142,10 @@ def export_device_and_app_management_data_with_skip_with_top(self,skip: int, top async def get(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> Optional[User]: """ - Read properties and relationships of the user object. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -202,7 +202,7 @@ def reminder_view_with_start_date_time_with_end_date_time(self,end_date_time: st def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a user. + Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -213,7 +213,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the user object. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -923,7 +923,7 @@ class UserItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class UserItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the user object. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/users_request_builder.py b/msgraph/generated/users/users_request_builder.py index 6da264ed90..b06a3358f1 100644 --- a/msgraph/generated/users/users_request_builder.py +++ b/msgraph/generated/users/users_request_builder.py @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UsersReq async def post(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[User]: """ - Create a new user object. + Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -109,7 +109,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new user object. + Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py b/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py index 2fdf9e970d..75cf2d7278 100644 --- a/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +++ b/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py @@ -35,10 +35,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a user. + Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -54,10 +54,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: """ - Read properties and relationships of the user object. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -99,7 +99,7 @@ async def patch(self,body: User, request_configuration: Optional[RequestConfigur def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a user. + Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the user object. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -154,7 +154,7 @@ class UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration(Request @dataclass class UsersWithUserPrincipalNameRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the user object. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. """ def get_query_parameter(self,original_name: str) -> str: """ From f6bb98db2c79271cd6bfb38032e1f68ba9e68cd8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 1 Jul 2025 16:54:48 +0000 Subject: [PATCH 7/7] chore(main): release 1.36.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ msgraph/_version.py | 2 +- pyproject.toml | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6ad1dea788..4b3678d63d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.35.0" + ".": "1.36.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 668b672034..3943a53371 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. +## [1.36.0](https://github.com/microsoftgraph/msgraph-sdk-python/compare/v1.35.0...v1.36.0) (2025-07-01) + + +### Features + +* **generation:** update request builders and models ([7f49d36](https://github.com/microsoftgraph/msgraph-sdk-python/commit/7f49d3654ffb554624fee4f62822fd7f19f64d4e)) + ## [1.35.0](https://github.com/microsoftgraph/msgraph-sdk-python/compare/v1.34.0...v1.35.0) (2025-06-24) diff --git a/msgraph/_version.py b/msgraph/_version.py index d4c8dc6998..b356323a47 100644 --- a/msgraph/_version.py +++ b/msgraph/_version.py @@ -1,4 +1,4 @@ # The SDK version # x-release-please-start-version -VERSION: str = '1.35.0' +VERSION: str = '1.36.0' # x-release-please-end diff --git a/pyproject.toml b/pyproject.toml index 3dde903c99..a9bc5ef463 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi" name = "msgraph-sdk" # The SDK version # x-release-please-start-version -version = "1.35.0" +version = "1.36.0" # x-release-please-end authors = [{name = "Microsoft", email = "graphtooling+python@microsoft.com"}] description = "The Microsoft Graph Python SDK"