From 0f348789160b6a919f2155584d251c69dc69883e Mon Sep 17 00:00:00 2001 From: "Jingjing Jia (from Dev Box)" Date: Thu, 7 May 2026 12:49:08 -0700 Subject: [PATCH 1/9] chore(deps): consolidate dependabot dependency updates Combines 12 open dependabot PRs into a single update: requirements-dev.txt: - anyio: 4.10.0 -> 4.12.1 (#1458) - attrs: 25.3.0 -> 26.1.0 (#1460) - azure-core: 1.38.0 -> 1.39.0 (#1438) - azure-identity: 1.25.1 -> 1.25.3 (#1438) - msal: 1.33.0 -> 1.36.0 (#1457) - multidict: 6.7.0 -> 6.7.1 (#1452) - PyJWT: 2.12.0 -> 2.12.1 (#1459) - tomli: 2.3.0 -> 2.4.1 (#1453) - tomlkit: 0.13.3 -> 0.14.0 (#1454) - tzdata: 2025.2 -> 2026.1 (#1455) - zipp: 3.23.0 -> 3.23.1 (#1456) GitHub Actions: - googleapis/release-please-action: v4 -> v5 (#1463) - dependabot/fetch-metadata: v3.0.0 -> v3.1.0 (#1451) Note: msal bump to 1.36.0 resolves the dependency conflict that caused PR #1438 to fail (azure-identity 1.25.3 requires msal>=1.35.1). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/auto-merge-dependabot.yml | 2 +- .github/workflows/release-please-gha.yml | 2 +- requirements-dev.txt | 22 ++++++++++----------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/auto-merge-dependabot.yml b/.github/workflows/auto-merge-dependabot.yml index dc346e53b3..86539adf32 100644 --- a/.github/workflows/auto-merge-dependabot.yml +++ b/.github/workflows/auto-merge-dependabot.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v3.0.0 + uses: dependabot/fetch-metadata@v3.1.0 with: github-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/release-please-gha.yml b/.github/workflows/release-please-gha.yml index 195010cc82..0b19b78d52 100644 --- a/.github/workflows/release-please-gha.yml +++ b/.github/workflows/release-please-gha.yml @@ -29,7 +29,7 @@ jobs: private-key: ${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM }} - name: Release Please - uses: googleapis/release-please-action@v4 + uses: googleapis/release-please-action@v5 with: token: ${{ steps.app-token.outputs.token }} config-file: release-please-config.json diff --git a/requirements-dev.txt b/requirements-dev.txt index 6687d0920a..51693a144f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,11 +1,11 @@ aiohttp==3.13.5 aiosignal==1.4.0 -anyio==4.10.0 +anyio==4.12.1 astroid==3.3.11 async-timeout==5.0.1 -attrs==25.3.0 -azure-core==1.38.0 -azure-identity==1.25.1 +attrs==26.1.0 +azure-core==1.39.0 +azure-identity==1.25.3 build==1.4.3 bumpver==2025.1131 certifi==2025.8.3 @@ -40,10 +40,10 @@ microsoft-kiota-serialization-form==1.9.10 microsoft-kiota-serialization-json==1.9.10 microsoft-kiota-serialization-multipart==1.9.10 microsoft-kiota-serialization-text==1.9.10 -msal==1.33.0 +msal==1.36.0 msal-extensions==1.3.1 msgraph-core==1.3.8 -multidict==6.7.0 +multidict==6.7.1 mypy==1.19.1 mypy-extensions==1.1.0 opentelemetry-api==1.41.0 @@ -54,7 +54,7 @@ pathlib2==2.3.7.post1 platformdirs==4.4.0 portalocker==2.10.1 pycparser==2.23 -PyJWT==2.12.0 +PyJWT==2.12.1 pylint==3.3.9 pyproject_hooks==1.2.0 python-dateutil==2.9.0.post0 @@ -64,14 +64,14 @@ sniffio==1.3.1 std-uritemplate>=2.0.0 time-machine==2.19.0 toml==0.10.2 -tomli==2.3.0 +tomli==2.4.1 tomli_w==1.2.0 -tomlkit==0.13.3 +tomlkit==0.14.0 typing_extensions==4.15.0 -tzdata==2025.2 +tzdata==2026.1 uritemplate==4.2.0 urllib3==2.6.3 wrapt==1.17.3 yapf==0.43.0 yarl==1.22.0 -zipp==3.23.0 +zipp==3.23.1 From f932dbdd2ba0db84425f6412d3f4278feee5cd32 Mon Sep 17 00:00:00 2001 From: Ramses Sanchez-Hernandez <63934382+ramsessanchez@users.noreply.github.com> Date: Fri, 15 May 2026 14:29:08 -0700 Subject: [PATCH 2/9] chore: add DevOps build pipeline for S360 security vulnerability scanning (#1478) * chore: add DevOps build pipeline for S360 security vulnerability scanning Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: update build pipeline schedule to daily Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: enable SDL security scanning in build pipeline Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .azurepipelines/build.yml | 56 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .azurepipelines/build.yml diff --git a/.azurepipelines/build.yml b/.azurepipelines/build.yml new file mode 100644 index 0000000000..6287819893 --- /dev/null +++ b/.azurepipelines/build.yml @@ -0,0 +1,56 @@ +trigger: none +pr: none + +schedules: + - cron: '0 0 * * *' + displayName: Daily builds + branches: + include: + - main + always: true + +resources: + repositories: + - repository: 1ESPipelineTemplates + type: git + name: 1ESPipelineTemplates/1ESPipelineTemplates + ref: refs/tags/release + +extends: + template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates + parameters: + pool: + name: Azure-Pipelines-1ESPT-ExDShared + os: linux + sdl: + sourceAnalysisPool: + name: Azure-Pipelines-1ESPT-ExDShared + image: windows-2022 + os: windows + credscan: + enabled: true + policheck: + enabled: true + binskim: + enabled: true + stages: + - stage: Build + jobs: + - job: Build + displayName: Build Python SDK + steps: + - checkout: self + submodules: recursive + + - task: UsePythonVersion@0 + displayName: Set up Python + inputs: + versionSpec: '3.12' + + - script: python -m pip install --upgrade pip + displayName: Upgrade pip + workingDirectory: $(Build.SourcesDirectory) + + - script: pip install -e ".[dev]" + displayName: Install dependencies + workingDirectory: $(Build.SourcesDirectory) From 69b89362616e59814702619ddcc8ccf2fed70e3a Mon Sep 17 00:00:00 2001 From: Ramses Sanchez-Hernandez <63934382+ramsessanchez@users.noreply.github.com> Date: Fri, 15 May 2026 15:56:54 -0700 Subject: [PATCH 3/9] Merge pull request #1479 from microsoftgraph/chore/rename-daily-ci-pipeline chore: rename daily ci pipeline file and folder to standard --- .azurepipelines/build.yml => .azure-pipelines/daily-ci-build.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .azurepipelines/build.yml => .azure-pipelines/daily-ci-build.yml (100%) diff --git a/.azurepipelines/build.yml b/.azure-pipelines/daily-ci-build.yml similarity index 100% rename from .azurepipelines/build.yml rename to .azure-pipelines/daily-ci-build.yml From c8fd694c7efcd1394c5e14591f5cd6d0799d84ee Mon Sep 17 00:00:00 2001 From: "microsoft-graph-devx-bot[bot]" <197055783+microsoft-graph-devx-bot[bot]@users.noreply.github.com> Date: Tue, 19 May 2026 10:38:46 -0700 Subject: [PATCH 4/9] feat(generation): update request builders and models (#1483) Update generated files with build 219281 Co-authored-by: Microsoft Graph DevX Tooling --- .../create_import_session_request_builder.py | 5 +- .../export_items_request_builder.py | 5 +- .../folders/delta/delta_request_builder.py | 7 +- .../item/folders/folders_request_builder.py | 7 +- .../child_folders_request_builder.py | 7 +- .../delta/delta_request_builder.py | 7 +- .../item/items/delta/delta_request_builder.py | 6 +- .../item/mailbox_item_item_request_builder.py | 6 +- .../item/items/items_request_builder.py | 6 +- .../mailbox_folder_item_request_builder.py | 6 +- .../item/items/delta/delta_request_builder.py | 7 +- .../item/mailbox_item_item_request_builder.py | 7 +- .../item/items/items_request_builder.py | 7 +- .../mailbox_folder_item_request_builder.py | 7 +- .../item/mailbox_item_request_builder.py | 6 +- .../mailboxes/mailboxes_request_builder.py | 6 +- .../complete_migration_request_builder.py | 5 +- .../start_migration_request_builder.py | 5 +- .../complete_migration_request_builder.py | 4 +- .../start_migration_request_builder.py | 5 +- .../complete_migration_request_builder.py | 4 +- .../start_migration_request_builder.py | 5 +- msgraph/generated/kiota-dom-export.txt | 130 ++++++++++++++++++ msgraph/generated/kiota-lock.json | 2 +- ...pp_management_application_configuration.py | 7 + .../app_management_policy_actor_exemptions.py | 61 ++++++++ .../authentication_method_configuration.py | 7 + .../models/authentication_method_target.py | 7 + .../generated/models/backup_restore_root.py | 6 +- .../models/browse_query_response_item.py | 10 +- .../generated/models/browse_session_base.py | 10 +- msgraph/generated/models/channel.py | 4 +- msgraph/generated/models/chat.py | 4 +- ...pp_management_application_configuration.py | 61 ++++++++ .../custom_app_management_configuration.py | 7 + ..._security_attribute_comparison_operator.py | 6 + .../custom_security_attribute_exemption.py | 74 ++++++++++ ...curity_attribute_string_value_exemption.py | 57 ++++++++ msgraph/generated/models/email_details.py | 6 +- msgraph/generated/models/entity.py | 14 ++ msgraph/generated/models/exchange_admin.py | 2 +- msgraph/generated/models/exchange_settings.py | 2 +- .../generated/models/export_item_response.py | 8 +- .../models/granular_drive_restore_artifact.py | 2 +- .../models/granular_restore_artifact_base.py | 16 +-- .../models/granular_site_restore_artifact.py | 2 +- msgraph/generated/models/group.py | 4 + .../models/identifier_uri_configuration.py | 65 +++++++++ .../models/identifier_uri_restriction.py | 84 +++++++++++ .../task_processing_result.py | 6 +- msgraph/generated/models/include_target.py | 2 +- .../models/key_credential_configuration.py | 9 +- msgraph/generated/models/mailbox.py | 2 +- msgraph/generated/models/mailbox_folder.py | 18 +-- msgraph/generated/models/mailbox_item.py | 8 +- .../models/mailbox_item_import_session.py | 4 +- ...mises_directory_synchronization_feature.py | 4 + .../one_drive_for_business_browse_session.py | 2 +- .../one_drive_for_business_restore_session.py | 2 +- .../models/ownerless_group_policy.py | 10 +- .../password_credential_configuration.py | 7 + msgraph/generated/models/policy_root.py | 2 +- .../generated/models/schedule_entity_theme.py | 23 ++++ msgraph/generated/models/security/alert.py | 4 +- .../generated/models/security/dns_evidence.py | 8 +- .../models/security/file_hash_evidence.py | 2 +- .../security/git_hub_organization_evidence.py | 12 +- .../models/security/git_hub_repo_evidence.py | 10 +- .../models/security/git_hub_user_evidence.py | 10 +- .../security/host_logon_session_evidence.py | 10 +- .../models/security/io_t_device_evidence.py | 2 +- .../models/security/malware_evidence.py | 8 +- .../security/network_connection_evidence.py | 10 +- .../models/security/sas_token_evidence.py | 20 +-- .../security/service_principal_evidence.py | 12 +- .../security/submission_mail_evidence.py | 18 +-- .../models/share_point_browse_session.py | 2 +- .../models/share_point_restore_session.py | 2 +- msgraph/generated/models/target_owners.py | 2 +- msgraph/generated/models/user_settings.py | 2 +- ...credential_authentication_method_target.py | 58 ++++++++ ...als_authentication_method_configuration.py | 60 ++++++++ ...ate_authentication_method_configuration.py | 4 +- .../x509_certificate_authority_scope.py | 6 +- ..._certificate_issuer_hints_configuration.py | 2 +- .../ownerless_group_policy_request_builder.py | 12 +- .../browse_sessions_request_builder.py | 7 +- ...rowse_session_base_item_request_builder.py | 6 +- ...ess_browse_session_item_request_builder.py | 7 +- ...usiness_browse_sessions_request_builder.py | 12 +- ...drive_restore_artifacts_request_builder.py | 7 +- ...e_restore_artifact_item_request_builder.py | 6 +- ...siness_restore_sessions_request_builder.py | 4 +- ...int_browse_session_item_request_builder.py | 7 +- ...e_point_browse_sessions_request_builder.py | 12 +- ..._site_restore_artifacts_request_builder.py | 7 +- ...e_restore_artifact_item_request_builder.py | 6 +- ...nt_restore_session_item_request_builder.py | 5 +- ..._point_restore_sessions_request_builder.py | 4 +- .../complete_migration_request_builder.py | 4 +- .../start_migration_request_builder.py | 5 +- .../complete_migration_request_builder.py | 4 +- .../start_migration_request_builder.py | 5 +- .../complete_migration_request_builder.py | 4 +- .../start_migration_request_builder.py | 5 +- .../complete_migration_request_builder.py | 5 +- .../start_migration_request_builder.py | 5 +- .../complete_migration_request_builder.py | 4 +- .../start_migration_request_builder.py | 5 +- .../complete_migration_request_builder.py | 4 +- .../start_migration_request_builder.py | 5 +- .../exchange/exchange_request_builder.py | 7 +- 112 files changed, 1046 insertions(+), 269 deletions(-) create mode 100644 msgraph/generated/models/app_management_policy_actor_exemptions.py create mode 100644 msgraph/generated/models/custom_app_management_application_configuration.py create mode 100644 msgraph/generated/models/custom_security_attribute_comparison_operator.py create mode 100644 msgraph/generated/models/custom_security_attribute_exemption.py create mode 100644 msgraph/generated/models/custom_security_attribute_string_value_exemption.py create mode 100644 msgraph/generated/models/identifier_uri_configuration.py create mode 100644 msgraph/generated/models/identifier_uri_restriction.py create mode 100644 msgraph/generated/models/verifiable_credential_authentication_method_target.py create mode 100644 msgraph/generated/models/verifiable_credentials_authentication_method_configuration.py diff --git a/msgraph/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py index 01882bad49..8a887d412c 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxItemImportSession]: """ - Invoke action createImportSession + Create a session to import an Exchange mailbox item that was exported using the exportItems API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxItemImportSession] + Find more info here: https://learn.microsoft.com/graph/api/mailbox-createimportsession?view=graph-rest-1.0 """ request_info = self.to_post_request_information( request_configuration @@ -52,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: """ - Invoke action createImportSession + Create a session to import an Exchange mailbox item that was exported using the exportItems API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py index 449596635b..d0ef243ff8 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ExportItemsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExportItemsPostResponse]: """ - Invoke action exportItems + Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExportItemsPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailbox-exportitems?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ExportItemsPostRequestBody, request_configuration: Opt def to_post_request_information(self,body: ExportItemsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action exportItems + Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request. 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/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py index 99a32f6b10..905471ab69 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Invoke function delta + Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function delta + Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Invoke function delta + Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py index 5f8e52a14e..b988359ca2 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py @@ -49,9 +49,10 @@ def by_mailbox_folder_id(self,mailbox_folder_id: str) -> MailboxFolderItemReques async def get(self,request_configuration: Optional[RequestConfiguration[FoldersRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxFolderCollectionResponse]: """ - Get folders from admin + Get all the mailboxFolder objects in the specified mailbox, including any search folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxFolderCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailbox-list-folders?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FoldersR def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[FoldersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get folders from admin + Get all the mailboxFolder objects in the specified mailbox, including any search folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,7 +110,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class FoldersRequestBuilderGetQueryParameters(): """ - Get folders from admin + Get all the mailboxFolder objects in the specified mailbox, including any search folders. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py index 20e5c62f24..e33c049a36 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py @@ -49,9 +49,10 @@ def by_mailbox_folder_id1(self,mailbox_folder_id1: str) -> MailboxFolderItemRequ async def get(self,request_configuration: Optional[RequestConfiguration[ChildFoldersRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxFolderCollectionResponse]: """ - Get childFolders from admin + Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxFolderCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-list-childfolders?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ChildFol def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ChildFoldersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get childFolders from admin + Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,7 +110,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ChildFoldersRequestBuilderGetQueryParameters(): """ - Get childFolders from admin + Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py index 90597b7326..79745a9e00 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Invoke function delta + Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function delta + Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Invoke function delta + Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/delta/delta_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/delta/delta_request_builder.py index dd05ea964c..7cf3c4a7c9 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/delta/delta_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/delta/delta_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[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Invoke function delta + Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] """ @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function delta + Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Invoke function delta + Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/item/mailbox_item_item_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/item/mailbox_item_item_request_builder.py index 2a3c68ce75..ecccea656b 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/item/mailbox_item_item_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/item/mailbox_item_item_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[MailboxItemItemRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxItem]: """ - Get items from admin + The collection of items in this folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxItem] """ @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxI def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxItemItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get items from admin + The collection of items in this folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> MailboxItemItemRequestBuilder: @dataclass class MailboxItemItemRequestBuilderGetQueryParameters(): """ - Get items from admin + The collection of items in this folder. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/items_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/items_request_builder.py index 2878035d91..5de1bafb60 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/items_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/items_request_builder.py @@ -49,7 +49,7 @@ def by_mailbox_item_id(self,mailbox_item_id: str) -> MailboxItemItemRequestBuild async def get(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxItemCollectionResponse]: """ - Get items from admin + The collection of items in this folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxItemCollectionResponse] """ @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ItemsReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get items from admin + The collection of items in this folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,7 +109,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get items from admin + The collection of items in this folder. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/mailbox_folder_item_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/mailbox_folder_item_request_builder.py index d189c01bd3..adc6227357 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/mailbox_folder_item_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/mailbox_folder_item_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[MailboxFolderItemRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxFolder]: """ - Get childFolders from admin + The collection of child folders in this folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxFolder] """ @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxF def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxFolderItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get childFolders from admin + The collection of child folders in this folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -84,7 +84,7 @@ def items(self) -> ItemsRequestBuilder: @dataclass class MailboxFolderItemRequestBuilderGetQueryParameters(): """ - Get childFolders from admin + The collection of child folders in this folder. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/delta/delta_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/delta/delta_request_builder.py index 032207e7fc..1f7ae51299 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/delta/delta_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/delta/delta_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Invoke function delta + Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailboxitem-delta?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function delta + Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Invoke function delta + Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/item/mailbox_item_item_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/item/mailbox_item_item_request_builder.py index d99da6e710..c64d51e84a 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/item/mailbox_item_item_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/item/mailbox_item_item_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[MailboxItemItemRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxItem]: """ - Get items from admin + Read the properties and relationships of a mailboxItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxItem] + Find more info here: https://learn.microsoft.com/graph/api/mailboxitem-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxI def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxItemItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get items from admin + Read the properties and relationships of a mailboxItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> MailboxItemItemRequestBuilder: @dataclass class MailboxItemItemRequestBuilderGetQueryParameters(): """ - Get items from admin + Read the properties and relationships of a mailboxItem object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/items_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/items_request_builder.py index 720239f3c2..31f8066262 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/items_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/items_request_builder.py @@ -49,9 +49,10 @@ def by_mailbox_item_id(self,mailbox_item_id: str) -> MailboxItemItemRequestBuild async def get(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxItemCollectionResponse]: """ - Get items from admin + Get the mailboxItem collection within a specified mailboxFolder in a mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxItemCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-list-items?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ItemsReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get items from admin + Get the mailboxItem collection within a specified mailboxFolder in a mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,7 +110,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get items from admin + Get the mailboxItem collection within a specified mailboxFolder in a mailbox. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/mailbox_folder_item_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/mailbox_folder_item_request_builder.py index d998d83174..6994cce198 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/mailbox_folder_item_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/mailbox_folder_item_request_builder.py @@ -34,9 +34,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[MailboxFolderItemRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxFolder]: """ - Get folders from admin + Read the properties and relationships of a mailboxFolder object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxFolder] + Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -54,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxF def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxFolderItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get folders from admin + Read the properties and relationships of a mailboxFolder object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -94,7 +95,7 @@ def items(self) -> ItemsRequestBuilder: @dataclass class MailboxFolderItemRequestBuilderGetQueryParameters(): """ - Get folders from admin + Read the properties and relationships of a mailboxFolder object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/mailbox_item_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/mailbox_item_request_builder.py index 4343557c86..c3a36f7c4f 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/mailbox_item_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/mailbox_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MailboxItemRequestBuilderGetQueryParameters]] = None) -> Optional[Mailbox]: """ - Get mailboxes from admin + Represents a user's mailboxes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Mailbox] """ @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get mailboxes from admin + Represents a user's mailboxes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -178,7 +178,7 @@ class MailboxItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Q @dataclass class MailboxItemRequestBuilderGetQueryParameters(): """ - Get mailboxes from admin + Represents a user's mailboxes. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/mailboxes_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/mailboxes_request_builder.py index 537eb79432..70aff48b23 100644 --- a/msgraph/generated/admin/exchange/mailboxes/mailboxes_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/mailboxes_request_builder.py @@ -49,7 +49,7 @@ def by_mailbox_id(self,mailbox_id: str) -> MailboxItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[MailboxesRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxCollectionResponse]: """ - Get mailboxes from admin + Represents a user's mailboxes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: Mailbox, request_configuration: Optional[RequestConfig def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get mailboxes from admin + Represents a user's mailboxes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MailboxesRequestBuilderGetQueryParameters(): """ - Get mailboxes from admin + Represents a user's mailboxes. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/chats/item/complete_migration/complete_migration_request_builder.py b/msgraph/generated/chats/item/complete_migration/complete_migration_request_builder.py index 4b59fbeda9..9c81e0307a 100644 --- a/msgraph/generated/chats/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/chats/item/complete_migration/complete_migration_request_builder.py @@ -31,9 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action completeMigration + Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types. 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/chat-completemigration?view=graph-rest-1.0 """ request_info = self.to_post_request_information( request_configuration @@ -49,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action completeMigration + Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/chats/item/start_migration/start_migration_request_builder.py b/msgraph/generated/chats/item/start_migration/start_migration_request_builder.py index e70e27f783..c96d245d87 100644 --- a/msgraph/generated/chats/item/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/chats/item/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. 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/chat-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. 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/team/channels/item/complete_migration/complete_migration_request_builder.py b/msgraph/generated/groups/item/team/channels/item/complete_migration/complete_migration_request_builder.py index 16b722e3c3..0ac7874fea 100644 --- a/msgraph/generated/groups/item/team/channels/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/groups/item/team/channels/item/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/groups/item/team/channels/item/start_migration/start_migration_request_builder.py b/msgraph/generated/groups/item/team/channels/item/start_migration/start_migration_request_builder.py index bd6928e01b..9d997d70fc 100644 --- a/msgraph/generated/groups/item/team/channels/item/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/groups/item/team/channels/item/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/team/primary_channel/complete_migration/complete_migration_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/complete_migration/complete_migration_request_builder.py index 6693d9aed4..ed093e8627 100644 --- a/msgraph/generated/groups/item/team/primary_channel/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/groups/item/team/primary_channel/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/groups/item/team/primary_channel/start_migration/start_migration_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/start_migration/start_migration_request_builder.py index 52532b9692..ec980295ac 100644 --- a/msgraph/generated/groups/item/team/primary_channel/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/groups/item/team/primary_channel/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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 a4cb41cf88..efe6f71dbf 100644 --- a/msgraph/generated/kiota-dom-export.txt +++ b/msgraph/generated/kiota-dom-export.txt @@ -99346,6 +99346,8 @@ msgraph.generated.models.AppLogUploadState::0003-UnknownFutureValue msgraph.generated.models.AppManagementApplicationConfiguration-->AppManagementConfiguration msgraph.generated.models.AppManagementApplicationConfiguration::|public|constructor():None msgraph.generated.models.AppManagementApplicationConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.AppManagementApplicationConfiguration::|public|identifier_uris():IdentifierUriConfiguration +msgraph.generated.models.AppManagementApplicationConfiguration::|public|identifier_uris(value:IdentifierUriConfiguration):None msgraph.generated.models.AppManagementApplicationConfiguration::|public|odata_type:str msgraph.generated.models.AppManagementApplicationConfiguration::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.AppManagementApplicationConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):AppManagementApplicationConfiguration @@ -99375,6 +99377,18 @@ msgraph.generated.models.AppManagementPolicy::|public|restrictions():CustomAppMa msgraph.generated.models.AppManagementPolicy::|public|restrictions(value:CustomAppManagementConfiguration):None msgraph.generated.models.AppManagementPolicy::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.AppManagementPolicy::|static|public|create_from_discriminator_value(parse_node:ParseNode):AppManagementPolicy +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|additional_data():dict[str, Any] +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|backing_store:BackingStore +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|constructor():None +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|custom_security_attributes():list[CustomSecurityAttributeExemption] +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|custom_security_attributes(value:list[CustomSecurityAttributeExemption]):None +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|odata_type():str +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|odata_type(value:str):None +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.AppManagementPolicyActorExemptions::|static|public|create_from_discriminator_value(parse_node:ParseNode):AppManagementPolicyActorExemptions +msgraph.generated.models.AppManagementPolicyActorExemptions~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.AppManagementPolicyCollectionResponse-->BaseCollectionPaginationCountResponse msgraph.generated.models.AppManagementPolicyCollectionResponse::|public|constructor():None msgraph.generated.models.AppManagementPolicyCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -107256,7 +107270,21 @@ msgraph.generated.models.CurrencyColumn::|public|odata_type(value:str):None msgraph.generated.models.CurrencyColumn::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.CurrencyColumn::|static|public|create_from_discriminator_value(parse_node:ParseNode):CurrencyColumn msgraph.generated.models.CurrencyColumn~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|additional_data():dict[str, Any] +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|backing_store:BackingStore +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|constructor():None +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|identifier_uris():IdentifierUriConfiguration +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|identifier_uris(value:IdentifierUriConfiguration):None +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|odata_type():str +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|odata_type(value:str):None +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomAppManagementApplicationConfiguration +msgraph.generated.models.CustomAppManagementApplicationConfiguration~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.CustomAppManagementConfiguration-->AppManagementConfiguration +msgraph.generated.models.CustomAppManagementConfiguration::|public|application_restrictions():CustomAppManagementApplicationConfiguration +msgraph.generated.models.CustomAppManagementConfiguration::|public|application_restrictions(value:CustomAppManagementApplicationConfiguration):None msgraph.generated.models.CustomAppManagementConfiguration::|public|constructor():None msgraph.generated.models.CustomAppManagementConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.CustomAppManagementConfiguration::|public|odata_type:str @@ -107429,6 +107457,8 @@ msgraph.generated.models.CustomMetadataDictionary::|public|get_field_deserialize msgraph.generated.models.CustomMetadataDictionary::|public|odata_type:str msgraph.generated.models.CustomMetadataDictionary::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.CustomMetadataDictionary::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomMetadataDictionary +msgraph.generated.models.CustomSecurityAttributeComparisonOperator::0000-Equals +msgraph.generated.models.CustomSecurityAttributeComparisonOperator::0001-UnknownFutureValue msgraph.generated.models.CustomSecurityAttributeDefinition-->Entity msgraph.generated.models.CustomSecurityAttributeDefinition::|public|allowed_values():list[AllowedValue] msgraph.generated.models.CustomSecurityAttributeDefinition::|public|allowed_values(value:list[AllowedValue]):None @@ -107460,6 +107490,23 @@ msgraph.generated.models.CustomSecurityAttributeDefinitionCollectionResponse::|p msgraph.generated.models.CustomSecurityAttributeDefinitionCollectionResponse::|public|value():list[CustomSecurityAttributeDefinition] msgraph.generated.models.CustomSecurityAttributeDefinitionCollectionResponse::|public|value(value:list[CustomSecurityAttributeDefinition]):None msgraph.generated.models.CustomSecurityAttributeDefinitionCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomSecurityAttributeDefinitionCollectionResponse +msgraph.generated.models.CustomSecurityAttributeExemption-->Entity +msgraph.generated.models.CustomSecurityAttributeExemption::|public|constructor():None +msgraph.generated.models.CustomSecurityAttributeExemption::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.CustomSecurityAttributeExemption::|public|id:str +msgraph.generated.models.CustomSecurityAttributeExemption::|public|odata_type:str +msgraph.generated.models.CustomSecurityAttributeExemption::|public|operator():CustomSecurityAttributeComparisonOperator +msgraph.generated.models.CustomSecurityAttributeExemption::|public|operator(value:CustomSecurityAttributeComparisonOperator):None +msgraph.generated.models.CustomSecurityAttributeExemption::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.CustomSecurityAttributeExemption::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomSecurityAttributeExemption +msgraph.generated.models.CustomSecurityAttributeStringValueExemption-->CustomSecurityAttributeExemption +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|public|constructor():None +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|public|odata_type:str +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|public|value():str +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|public|value(value:str):None +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomSecurityAttributeStringValueExemption msgraph.generated.models.CustomSecurityAttributeValue::|public|additional_data():dict[str, Any] msgraph.generated.models.CustomSecurityAttributeValue::|public|additional_data(value:dict[str, Any]):None msgraph.generated.models.CustomSecurityAttributeValue::|public|backing_store:BackingStore @@ -114410,6 +114457,8 @@ msgraph.generated.models.Group::|public|hide_from_address_lists():bool msgraph.generated.models.Group::|public|hide_from_address_lists(value:bool):None msgraph.generated.models.Group::|public|hide_from_outlook_clients():bool msgraph.generated.models.Group::|public|hide_from_outlook_clients(value:bool):None +msgraph.generated.models.Group::|public|info_catalogs():list[str] +msgraph.generated.models.Group::|public|info_catalogs(value:list[str]):None msgraph.generated.models.Group::|public|is_archived():bool msgraph.generated.models.Group::|public|is_archived(value:bool):None msgraph.generated.models.Group::|public|is_assignable_to_role():bool @@ -114751,6 +114800,42 @@ msgraph.generated.models.HyperlinkOrPictureColumn::|public|odata_type(value:str) msgraph.generated.models.HyperlinkOrPictureColumn::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.HyperlinkOrPictureColumn::|static|public|create_from_discriminator_value(parse_node:ParseNode):HyperlinkOrPictureColumn msgraph.generated.models.HyperlinkOrPictureColumn~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.IdentifierUriConfiguration::|public|additional_data():dict[str, Any] +msgraph.generated.models.IdentifierUriConfiguration::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.IdentifierUriConfiguration::|public|backing_store:BackingStore +msgraph.generated.models.IdentifierUriConfiguration::|public|constructor():None +msgraph.generated.models.IdentifierUriConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.IdentifierUriConfiguration::|public|non_default_uri_addition():IdentifierUriRestriction +msgraph.generated.models.IdentifierUriConfiguration::|public|non_default_uri_addition(value:IdentifierUriRestriction):None +msgraph.generated.models.IdentifierUriConfiguration::|public|odata_type():str +msgraph.generated.models.IdentifierUriConfiguration::|public|odata_type(value:str):None +msgraph.generated.models.IdentifierUriConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.IdentifierUriConfiguration::|public|uri_addition_without_unique_tenant_identifier():IdentifierUriRestriction +msgraph.generated.models.IdentifierUriConfiguration::|public|uri_addition_without_unique_tenant_identifier(value:IdentifierUriRestriction):None +msgraph.generated.models.IdentifierUriConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):IdentifierUriConfiguration +msgraph.generated.models.IdentifierUriConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.IdentifierUriRestriction::|public|additional_data():dict[str, Any] +msgraph.generated.models.IdentifierUriRestriction::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.IdentifierUriRestriction::|public|backing_store:BackingStore +msgraph.generated.models.IdentifierUriRestriction::|public|constructor():None +msgraph.generated.models.IdentifierUriRestriction::|public|exclude_actors():AppManagementPolicyActorExemptions +msgraph.generated.models.IdentifierUriRestriction::|public|exclude_actors(value:AppManagementPolicyActorExemptions):None +msgraph.generated.models.IdentifierUriRestriction::|public|exclude_apps_receiving_v2_tokens():bool +msgraph.generated.models.IdentifierUriRestriction::|public|exclude_apps_receiving_v2_tokens(value:bool):None +msgraph.generated.models.IdentifierUriRestriction::|public|exclude_saml():bool +msgraph.generated.models.IdentifierUriRestriction::|public|exclude_saml(value:bool):None +msgraph.generated.models.IdentifierUriRestriction::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.IdentifierUriRestriction::|public|is_state_set_by_microsoft():bool +msgraph.generated.models.IdentifierUriRestriction::|public|is_state_set_by_microsoft(value:bool):None +msgraph.generated.models.IdentifierUriRestriction::|public|odata_type():str +msgraph.generated.models.IdentifierUriRestriction::|public|odata_type(value:str):None +msgraph.generated.models.IdentifierUriRestriction::|public|restrict_for_apps_created_after_date_time():datetime.datetime +msgraph.generated.models.IdentifierUriRestriction::|public|restrict_for_apps_created_after_date_time(value:datetime.datetime):None +msgraph.generated.models.IdentifierUriRestriction::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.IdentifierUriRestriction::|public|state():AppManagementRestrictionState +msgraph.generated.models.IdentifierUriRestriction::|public|state(value:AppManagementRestrictionState):None +msgraph.generated.models.IdentifierUriRestriction::|static|public|create_from_discriminator_value(parse_node:ParseNode):IdentifierUriRestriction +msgraph.generated.models.IdentifierUriRestriction~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.Identity::|public|additional_data():dict[str, Any] msgraph.generated.models.Identity::|public|additional_data(value:dict[str, Any]):None msgraph.generated.models.Identity::|public|backing_store:BackingStore @@ -117425,6 +117510,8 @@ msgraph.generated.models.KeyCredentialConfiguration::|public|additional_data():d msgraph.generated.models.KeyCredentialConfiguration::|public|additional_data(value:dict[str, Any]):None msgraph.generated.models.KeyCredentialConfiguration::|public|backing_store:BackingStore msgraph.generated.models.KeyCredentialConfiguration::|public|constructor():None +msgraph.generated.models.KeyCredentialConfiguration::|public|exclude_actors():AppManagementPolicyActorExemptions +msgraph.generated.models.KeyCredentialConfiguration::|public|exclude_actors(value:AppManagementPolicyActorExemptions):None msgraph.generated.models.KeyCredentialConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.KeyCredentialConfiguration::|public|max_lifetime():datetime.timedelta msgraph.generated.models.KeyCredentialConfiguration::|public|max_lifetime(value:datetime.timedelta):None @@ -122443,6 +122530,8 @@ msgraph.generated.models.OnPremisesDirectorySynchronizationDeletionPreventionTyp msgraph.generated.models.OnPremisesDirectorySynchronizationDeletionPreventionType::0003-UnknownFutureValue msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|additional_data():dict[str, Any] msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|allow_on_prem_update_of_on_premises_object_identifier_enabled():bool +msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|allow_on_prem_update_of_on_premises_object_identifier_enabled(value:bool):None msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|backing_store:BackingStore msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|block_cloud_object_takeover_through_hard_match_enabled():bool msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|block_cloud_object_takeover_through_hard_match_enabled(value:bool):None @@ -123556,6 +123645,8 @@ msgraph.generated.models.PasswordCredentialConfiguration::|public|additional_dat msgraph.generated.models.PasswordCredentialConfiguration::|public|additional_data(value:dict[str, Any]):None msgraph.generated.models.PasswordCredentialConfiguration::|public|backing_store:BackingStore msgraph.generated.models.PasswordCredentialConfiguration::|public|constructor():None +msgraph.generated.models.PasswordCredentialConfiguration::|public|exclude_actors():AppManagementPolicyActorExemptions +msgraph.generated.models.PasswordCredentialConfiguration::|public|exclude_actors(value:AppManagementPolicyActorExemptions):None msgraph.generated.models.PasswordCredentialConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.PasswordCredentialConfiguration::|public|max_lifetime():datetime.timedelta msgraph.generated.models.PasswordCredentialConfiguration::|public|max_lifetime(value:datetime.timedelta):None @@ -129832,6 +129923,29 @@ msgraph.generated.models.ScheduleEntityTheme::0009-DarkPurple msgraph.generated.models.ScheduleEntityTheme::0010-DarkPink msgraph.generated.models.ScheduleEntityTheme::0011-DarkYellow msgraph.generated.models.ScheduleEntityTheme::0012-UnknownFutureValue +msgraph.generated.models.ScheduleEntityTheme::0013-DarkRed +msgraph.generated.models.ScheduleEntityTheme::0014-Cranberry +msgraph.generated.models.ScheduleEntityTheme::0015-DarkOrange +msgraph.generated.models.ScheduleEntityTheme::0016-Bronze +msgraph.generated.models.ScheduleEntityTheme::0017-Peach +msgraph.generated.models.ScheduleEntityTheme::0018-Gold +msgraph.generated.models.ScheduleEntityTheme::0019-Lime +msgraph.generated.models.ScheduleEntityTheme::0020-Forest +msgraph.generated.models.ScheduleEntityTheme::0021-LightGreen +msgraph.generated.models.ScheduleEntityTheme::0022-Jade +msgraph.generated.models.ScheduleEntityTheme::0023-LightTeal +msgraph.generated.models.ScheduleEntityTheme::0024-DarkTeal +msgraph.generated.models.ScheduleEntityTheme::0025-Steel +msgraph.generated.models.ScheduleEntityTheme::0026-SkyBlue +msgraph.generated.models.ScheduleEntityTheme::0027-BlueGray +msgraph.generated.models.ScheduleEntityTheme::0028-Lavender +msgraph.generated.models.ScheduleEntityTheme::0029-Lilac +msgraph.generated.models.ScheduleEntityTheme::0030-Plum +msgraph.generated.models.ScheduleEntityTheme::0031-Magenta +msgraph.generated.models.ScheduleEntityTheme::0032-DarkBrown +msgraph.generated.models.ScheduleEntityTheme::0033-Beige +msgraph.generated.models.ScheduleEntityTheme::0034-Charcoal +msgraph.generated.models.ScheduleEntityTheme::0035-Silver msgraph.generated.models.ScheduleEntity~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.ScheduleInformation::|public|additional_data():dict[str, Any] msgraph.generated.models.ScheduleInformation::|public|additional_data(value:dict[str, Any]):None @@ -142764,6 +142878,22 @@ msgraph.generated.models.UserWorkLocation::|public|work_location_type():WorkLoca msgraph.generated.models.UserWorkLocation::|public|work_location_type(value:WorkLocationType):None msgraph.generated.models.UserWorkLocation::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserWorkLocation msgraph.generated.models.UserWorkLocation~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget-->AuthenticationMethodTarget +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|public|constructor():None +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|public|odata_type:str +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|public|verified_id_profiles():list[UUID] +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|public|verified_id_profiles(value:list[UUID]):None +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|static|public|create_from_discriminator_value(parse_node:ParseNode):VerifiableCredentialAuthenticationMethodTarget +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration-->AuthenticationMethodConfiguration +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|public|constructor():None +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|public|include_targets():list[VerifiableCredentialAuthenticationMethodTarget] +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|public|include_targets(value:list[VerifiableCredentialAuthenticationMethodTarget]):None +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|public|odata_type:str +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):VerifiableCredentialsAuthenticationMethodConfiguration msgraph.generated.models.VerifiedDomain::|public|additional_data():dict[str, Any] msgraph.generated.models.VerifiedDomain::|public|additional_data(value:dict[str, Any]):None msgraph.generated.models.VerifiedDomain::|public|backing_store:BackingStore diff --git a/msgraph/generated/kiota-lock.json b/msgraph/generated/kiota-lock.json index 8ab44790cf..67e1cf1e43 100644 --- a/msgraph/generated/kiota-lock.json +++ b/msgraph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "B0174C0FF35E104EE6846D7A9ED44062903FB3CD8CEAD669E6AB392DFAC6C17788F8E650539758EB965F9708BC48B0F590D49FBF8C3260BD1FF1B8BC893AB5D8", + "descriptionHash": "48D4568E795524402BA925BE4278BDF4BE0E64BE4060901024C3C949958FDD2992656314200D8B82B6E6406BD2E032C187F3FA9E0C48D513C527F1942ABA66F1", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.31.1", diff --git a/msgraph/generated/models/app_management_application_configuration.py b/msgraph/generated/models/app_management_application_configuration.py index b6e89b7db0..65ca9191d4 100644 --- a/msgraph/generated/models/app_management_application_configuration.py +++ b/msgraph/generated/models/app_management_application_configuration.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .app_management_configuration import AppManagementConfiguration + from .identifier_uri_configuration import IdentifierUriConfiguration from .app_management_configuration import AppManagementConfiguration @@ -13,6 +14,8 @@ class AppManagementApplicationConfiguration(AppManagementConfiguration, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.appManagementApplicationConfiguration" + # Configuration object for restrictions on identifierUris property for an application. + identifier_uris: Optional[IdentifierUriConfiguration] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> AppManagementApplicationConfiguration: @@ -31,10 +34,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .app_management_configuration import AppManagementConfiguration + from .identifier_uri_configuration import IdentifierUriConfiguration from .app_management_configuration import AppManagementConfiguration + from .identifier_uri_configuration import IdentifierUriConfiguration fields: dict[str, Callable[[Any], None]] = { + "identifierUris": lambda n : setattr(self, 'identifier_uris', n.get_object_value(IdentifierUriConfiguration)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -49,5 +55,6 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("identifierUris", self.identifier_uris) diff --git a/msgraph/generated/models/app_management_policy_actor_exemptions.py b/msgraph/generated/models/app_management_policy_actor_exemptions.py new file mode 100644 index 0000000000..290cb07ece --- /dev/null +++ b/msgraph/generated/models/app_management_policy_actor_exemptions.py @@ -0,0 +1,61 @@ +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 .custom_security_attribute_exemption import CustomSecurityAttributeExemption + +@dataclass +class AppManagementPolicyActorExemptions(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 collection of customSecurityAttributeExemption to exempt from the policy enforcement. Limit of 5. + custom_security_attributes: Optional[list[CustomSecurityAttributeExemption]] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AppManagementPolicyActorExemptions: + """ + 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: AppManagementPolicyActorExemptions + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AppManagementPolicyActorExemptions() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + fields: dict[str, Callable[[Any], None]] = { + "customSecurityAttributes": lambda n : setattr(self, 'custom_security_attributes', n.get_collection_of_object_values(CustomSecurityAttributeExemption)), + "@odata.type": lambda n : setattr(self, 'odata_type', 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_collection_of_object_values("customSecurityAttributes", self.custom_security_attributes) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/authentication_method_configuration.py b/msgraph/generated/models/authentication_method_configuration.py index 5ec96c9d34..dcbfe5d0b2 100644 --- a/msgraph/generated/models/authentication_method_configuration.py +++ b/msgraph/generated/models/authentication_method_configuration.py @@ -16,6 +16,7 @@ from .sms_authentication_method_configuration import SmsAuthenticationMethodConfiguration from .software_oath_authentication_method_configuration import SoftwareOathAuthenticationMethodConfiguration from .temporary_access_pass_authentication_method_configuration import TemporaryAccessPassAuthenticationMethodConfiguration + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration from .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration from .x509_certificate_authentication_method_configuration import X509CertificateAuthenticationMethodConfiguration @@ -76,6 +77,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationMeth from .temporary_access_pass_authentication_method_configuration import TemporaryAccessPassAuthenticationMethodConfiguration return TemporaryAccessPassAuthenticationMethodConfiguration() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.verifiableCredentialsAuthenticationMethodConfiguration".casefold(): + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration + + return VerifiableCredentialsAuthenticationMethodConfiguration() if mapping_value and mapping_value.casefold() == "#microsoft.graph.voiceAuthenticationMethodConfiguration".casefold(): from .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration @@ -102,6 +107,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .sms_authentication_method_configuration import SmsAuthenticationMethodConfiguration from .software_oath_authentication_method_configuration import SoftwareOathAuthenticationMethodConfiguration from .temporary_access_pass_authentication_method_configuration import TemporaryAccessPassAuthenticationMethodConfiguration + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration from .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration from .x509_certificate_authentication_method_configuration import X509CertificateAuthenticationMethodConfiguration @@ -116,6 +122,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .sms_authentication_method_configuration import SmsAuthenticationMethodConfiguration from .software_oath_authentication_method_configuration import SoftwareOathAuthenticationMethodConfiguration from .temporary_access_pass_authentication_method_configuration import TemporaryAccessPassAuthenticationMethodConfiguration + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration from .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration from .x509_certificate_authentication_method_configuration import X509CertificateAuthenticationMethodConfiguration diff --git a/msgraph/generated/models/authentication_method_target.py b/msgraph/generated/models/authentication_method_target.py index f969f4401c..5b94bd3765 100644 --- a/msgraph/generated/models/authentication_method_target.py +++ b/msgraph/generated/models/authentication_method_target.py @@ -10,6 +10,7 @@ from .microsoft_authenticator_authentication_method_target import MicrosoftAuthenticatorAuthenticationMethodTarget from .passkey_authentication_method_target import PasskeyAuthenticationMethodTarget from .sms_authentication_method_target import SmsAuthenticationMethodTarget + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget from .entity import Entity @@ -48,6 +49,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationMeth from .sms_authentication_method_target import SmsAuthenticationMethodTarget return SmsAuthenticationMethodTarget() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.verifiableCredentialAuthenticationMethodTarget".casefold(): + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget + + return VerifiableCredentialAuthenticationMethodTarget() return AuthenticationMethodTarget() def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: @@ -60,12 +65,14 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .microsoft_authenticator_authentication_method_target import MicrosoftAuthenticatorAuthenticationMethodTarget from .passkey_authentication_method_target import PasskeyAuthenticationMethodTarget from .sms_authentication_method_target import SmsAuthenticationMethodTarget + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget from .authentication_method_target_type import AuthenticationMethodTargetType from .entity import Entity from .microsoft_authenticator_authentication_method_target import MicrosoftAuthenticatorAuthenticationMethodTarget from .passkey_authentication_method_target import PasskeyAuthenticationMethodTarget from .sms_authentication_method_target import SmsAuthenticationMethodTarget + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget fields: dict[str, Callable[[Any], None]] = { "isRegistrationRequired": lambda n : setattr(self, 'is_registration_required', n.get_bool_value()), diff --git a/msgraph/generated/models/backup_restore_root.py b/msgraph/generated/models/backup_restore_root.py index dbbaea7f51..5cd9940271 100644 --- a/msgraph/generated/models/backup_restore_root.py +++ b/msgraph/generated/models/backup_restore_root.py @@ -35,7 +35,7 @@ @dataclass class BackupRestoreRoot(Entity, Parsable): - # The browseSessions property + # The list of browse sessions in the tenant. browse_sessions: Optional[list[BrowseSessionBase]] = None # The list of drive inclusion rules applied to the tenant. drive_inclusion_rules: Optional[list[DriveProtectionRule]] = None @@ -55,7 +55,7 @@ class BackupRestoreRoot(Entity, Parsable): mailbox_protection_units_bulk_addition_jobs: Optional[list[MailboxProtectionUnitsBulkAdditionJob]] = None # The OdataType property odata_type: Optional[str] = None - # The oneDriveForBusinessBrowseSessions property + # The list of OneDrive for Business browse sessions in the tenant. one_drive_for_business_browse_sessions: Optional[list[OneDriveForBusinessBrowseSession]] = None # The list of OneDrive for Business protection policies in the tenant. one_drive_for_business_protection_policies: Optional[list[OneDriveForBusinessProtectionPolicy]] = None @@ -73,7 +73,7 @@ class BackupRestoreRoot(Entity, Parsable): service_apps: Optional[list[ServiceApp]] = None # Represents the tenant-level status of the Backup Storage service. service_status: Optional[ServiceStatus] = None - # The sharePointBrowseSessions property + # The list of SharePoint browse sessions in the tenant. share_point_browse_sessions: Optional[list[SharePointBrowseSession]] = None # The list of SharePoint protection policies in the tenant. share_point_protection_policies: Optional[list[SharePointProtectionPolicy]] = None diff --git a/msgraph/generated/models/browse_query_response_item.py b/msgraph/generated/models/browse_query_response_item.py index 900a937f00..91f557b23b 100644 --- a/msgraph/generated/models/browse_query_response_item.py +++ b/msgraph/generated/models/browse_query_response_item.py @@ -15,19 +15,19 @@ class BrowseQueryResponseItem(AdditionalDataHolder, BackedModel, Parsable): # 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 itemKey property + # Unique identifier of the returned item. item_key: Optional[str] = None - # The itemsCount property + # The count of items present within the items; for example, the count of files in a folder. items_count: Optional[int] = None - # The name property + # The name of the item. name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The sizeInBytes property + # The size of the item in bytes. size_in_bytes: Optional[str] = None # The type property type: Optional[BrowseQueryResponseItemType] = None - # The webUrl property + # The web URL of the item. web_url: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/browse_session_base.py b/msgraph/generated/models/browse_session_base.py index 5841c68316..b654aa6a94 100644 --- a/msgraph/generated/models/browse_session_base.py +++ b/msgraph/generated/models/browse_session_base.py @@ -16,17 +16,17 @@ @dataclass class BrowseSessionBase(Entity, Parsable): - # The backupSizeInBytes property + # The size of the backup in bytes. backup_size_in_bytes: Optional[str] = None - # The createdDateTime property + # The date and time when the browse session was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. created_date_time: Optional[datetime.datetime] = None - # The error property + # Contains the error details if the browse session creation fails. error: Optional[PublicError] = None - # The expirationDateTime property + # The date and time after which the browse session is deleted automatically. expiration_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The restorePointDateTime property + # The date and time of the restore point on which the browse session is created. restore_point_date_time: Optional[datetime.datetime] = None # The restorePointId property restore_point_id: Optional[str] = None diff --git a/msgraph/generated/models/channel.py b/msgraph/generated/models/channel.py index 624452948d..faf2f47eb5 100644 --- a/msgraph/generated/models/channel.py +++ b/msgraph/generated/models/channel.py @@ -48,11 +48,11 @@ class Channel(Entity, Parsable): membership_type: Optional[ChannelMembershipType] = None # A collection of all the messages in the channel. A navigation property. Nullable. messages: Optional[list[ChatMessage]] = None - # The migrationMode property + # Indicates whether a channel is in migration mode. This value is null for channels that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. migration_mode: Optional[MigrationMode] = None # The OdataType property odata_type: Optional[str] = None - # The originalCreatedDateTime property + # Timestamp of the original creation time for the channel. The value is null if the channel never entered migration mode. original_created_date_time: Optional[datetime.datetime] = None # A collection of teams with which a channel is shared. shared_with_teams: Optional[list[SharedWithChannelTeamInfo]] = None diff --git a/msgraph/generated/models/chat.py b/msgraph/generated/models/chat.py index 563c47d526..746d940a4b 100644 --- a/msgraph/generated/models/chat.py +++ b/msgraph/generated/models/chat.py @@ -39,13 +39,13 @@ class Chat(Entity, Parsable): members: Optional[list[ConversationMember]] = None # A collection of all the messages in the chat. Nullable. messages: Optional[list[ChatMessage]] = None - # The migrationMode property + # Indicates whether a chat is in migration mode. This value is null for chats that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. migration_mode: Optional[MigrationMode] = None # The OdataType property odata_type: Optional[str] = None # Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only. online_meeting_info: Optional[TeamworkOnlineMeetingInfo] = None - # The originalCreatedDateTime property + # Timestamp of the original creation time for the chat. The value is null if the chat never entered migration mode. original_created_date_time: Optional[datetime.datetime] = None # A collection of permissions granted to apps for the chat. permission_grants: Optional[list[ResourceSpecificPermissionGrant]] = None diff --git a/msgraph/generated/models/custom_app_management_application_configuration.py b/msgraph/generated/models/custom_app_management_application_configuration.py new file mode 100644 index 0000000000..8b4a11dd33 --- /dev/null +++ b/msgraph/generated/models/custom_app_management_application_configuration.py @@ -0,0 +1,61 @@ +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 .identifier_uri_configuration import IdentifierUriConfiguration + +@dataclass +class CustomAppManagementApplicationConfiguration(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) + # Configuration for identifierUris restrictions. + identifier_uris: Optional[IdentifierUriConfiguration] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CustomAppManagementApplicationConfiguration: + """ + 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: CustomAppManagementApplicationConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CustomAppManagementApplicationConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .identifier_uri_configuration import IdentifierUriConfiguration + + from .identifier_uri_configuration import IdentifierUriConfiguration + + fields: dict[str, Callable[[Any], None]] = { + "identifierUris": lambda n : setattr(self, 'identifier_uris', n.get_object_value(IdentifierUriConfiguration)), + "@odata.type": lambda n : setattr(self, 'odata_type', 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_object_value("identifierUris", self.identifier_uris) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/custom_app_management_configuration.py b/msgraph/generated/models/custom_app_management_configuration.py index 248c03ac3a..4b18bedc3b 100644 --- a/msgraph/generated/models/custom_app_management_configuration.py +++ b/msgraph/generated/models/custom_app_management_configuration.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .app_management_configuration import AppManagementConfiguration + from .custom_app_management_application_configuration import CustomAppManagementApplicationConfiguration from .app_management_configuration import AppManagementConfiguration @@ -13,6 +14,8 @@ class CustomAppManagementConfiguration(AppManagementConfiguration, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.customAppManagementConfiguration" + # Restrictions that are applicable only to application objects to which the policy is attached. + application_restrictions: Optional[CustomAppManagementApplicationConfiguration] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> CustomAppManagementConfiguration: @@ -31,10 +34,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .app_management_configuration import AppManagementConfiguration + from .custom_app_management_application_configuration import CustomAppManagementApplicationConfiguration from .app_management_configuration import AppManagementConfiguration + from .custom_app_management_application_configuration import CustomAppManagementApplicationConfiguration fields: dict[str, Callable[[Any], None]] = { + "applicationRestrictions": lambda n : setattr(self, 'application_restrictions', n.get_object_value(CustomAppManagementApplicationConfiguration)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -49,5 +55,6 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("applicationRestrictions", self.application_restrictions) diff --git a/msgraph/generated/models/custom_security_attribute_comparison_operator.py b/msgraph/generated/models/custom_security_attribute_comparison_operator.py new file mode 100644 index 0000000000..64d899d384 --- /dev/null +++ b/msgraph/generated/models/custom_security_attribute_comparison_operator.py @@ -0,0 +1,6 @@ +from enum import Enum + +class CustomSecurityAttributeComparisonOperator(str, Enum): + Equals = "equals", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph/generated/models/custom_security_attribute_exemption.py b/msgraph/generated/models/custom_security_attribute_exemption.py new file mode 100644 index 0000000000..a794d47ea4 --- /dev/null +++ b/msgraph/generated/models/custom_security_attribute_exemption.py @@ -0,0 +1,74 @@ +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 .custom_security_attribute_comparison_operator import CustomSecurityAttributeComparisonOperator + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + from .entity import Entity + +from .entity import Entity + +@dataclass +class CustomSecurityAttributeExemption(Entity, Parsable): + # The id property + id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The operator property + operator: Optional[CustomSecurityAttributeComparisonOperator] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CustomSecurityAttributeExemption: + """ + 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: CustomSecurityAttributeExemption + """ + 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.customSecurityAttributeStringValueExemption".casefold(): + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + + return CustomSecurityAttributeStringValueExemption() + return CustomSecurityAttributeExemption() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .custom_security_attribute_comparison_operator import CustomSecurityAttributeComparisonOperator + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + from .entity import Entity + + from .custom_security_attribute_comparison_operator import CustomSecurityAttributeComparisonOperator + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + from .entity import Entity + + fields: dict[str, Callable[[Any], None]] = { + "operator": lambda n : setattr(self, 'operator', n.get_enum_value(CustomSecurityAttributeComparisonOperator)), + } + 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("operator", self.operator) + + diff --git a/msgraph/generated/models/custom_security_attribute_string_value_exemption.py b/msgraph/generated/models/custom_security_attribute_string_value_exemption.py new file mode 100644 index 0000000000..fb13ba7eea --- /dev/null +++ b/msgraph/generated/models/custom_security_attribute_string_value_exemption.py @@ -0,0 +1,57 @@ +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 .custom_security_attribute_exemption import CustomSecurityAttributeExemption + +from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + +@dataclass +class CustomSecurityAttributeStringValueExemption(CustomSecurityAttributeExemption, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.customSecurityAttributeStringValueExemption" + # Value representing custom security attribute value to compare against while evaluating the exemption. + value: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CustomSecurityAttributeStringValueExemption: + """ + 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: CustomSecurityAttributeStringValueExemption + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CustomSecurityAttributeStringValueExemption() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', 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_str_value("value", self.value) + + diff --git a/msgraph/generated/models/email_details.py b/msgraph/generated/models/email_details.py index f5aa2312a7..4295536c5a 100644 --- a/msgraph/generated/models/email_details.py +++ b/msgraph/generated/models/email_details.py @@ -12,13 +12,13 @@ class EmailDetails(AdditionalDataHolder, BackedModel, Parsable): # 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 body property + # The body content of the notification email in plain text format. body: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The senderEmailAddress property + # The email address of the sender for notification emails. Shared mailboxes aren't supported. sender_email_address: Optional[str] = None - # The subject property + # The subject line of the notification email. subject: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/entity.py b/msgraph/generated/models/entity.py index cbe1de71fd..f7d9fc14b1 100644 --- a/msgraph/generated/models/entity.py +++ b/msgraph/generated/models/entity.py @@ -1010,6 +1010,8 @@ from .user_solution_root import UserSolutionRoot from .user_storage import UserStorage from .user_teamwork import UserTeamwork + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget from .verified_id_profile import VerifiedIdProfile from .vertical_section import VerticalSection from .virtual_endpoint import VirtualEndpoint @@ -5177,6 +5179,14 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .user_teamwork import UserTeamwork return UserTeamwork() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.verifiableCredentialAuthenticationMethodTarget".casefold(): + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget + + return VerifiableCredentialAuthenticationMethodTarget() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.verifiableCredentialsAuthenticationMethodConfiguration".casefold(): + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration + + return VerifiableCredentialsAuthenticationMethodConfiguration() if mapping_value and mapping_value.casefold() == "#microsoft.graph.verifiedIdProfile".casefold(): from .verified_id_profile import VerifiedIdProfile @@ -6636,6 +6646,8 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .user_solution_root import UserSolutionRoot from .user_storage import UserStorage from .user_teamwork import UserTeamwork + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget from .verified_id_profile import VerifiedIdProfile from .vertical_section import VerticalSection from .virtual_endpoint import VirtualEndpoint @@ -7753,6 +7765,8 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .user_solution_root import UserSolutionRoot from .user_storage import UserStorage from .user_teamwork import UserTeamwork + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget from .verified_id_profile import VerifiedIdProfile from .vertical_section import VerticalSection from .virtual_endpoint import VirtualEndpoint diff --git a/msgraph/generated/models/exchange_admin.py b/msgraph/generated/models/exchange_admin.py index 96b278ba1e..a0e1cfcecd 100644 --- a/msgraph/generated/models/exchange_admin.py +++ b/msgraph/generated/models/exchange_admin.py @@ -13,7 +13,7 @@ @dataclass class ExchangeAdmin(Entity, Parsable): - # The mailboxes property + # Represents a user's mailboxes. mailboxes: Optional[list[Mailbox]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/exchange_settings.py b/msgraph/generated/models/exchange_settings.py index 4efabf572b..063ea72779 100644 --- a/msgraph/generated/models/exchange_settings.py +++ b/msgraph/generated/models/exchange_settings.py @@ -13,7 +13,7 @@ class ExchangeSettings(Entity, Parsable): # The OdataType property odata_type: Optional[str] = None - # The primaryMailboxId property + # The unique identifier for the user's primary mailbox. primary_mailbox_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/export_item_response.py b/msgraph/generated/models/export_item_response.py index b6a1b09b96..e1f2e8dd0e 100644 --- a/msgraph/generated/models/export_item_response.py +++ b/msgraph/generated/models/export_item_response.py @@ -15,13 +15,13 @@ class ExportItemResponse(AdditionalDataHolder, BackedModel, Parsable): # 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 changeKey property + # The version of the item. change_key: Optional[str] = None - # The data property + # Data that represents an item in a Base64-encoded opaque stream. data: Optional[bytes] = None - # The error property + # An error that occurs during an action. error: Optional[MailTipsError] = None - # The itemId property + # The unique identifier of the item. item_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/granular_drive_restore_artifact.py b/msgraph/generated/models/granular_drive_restore_artifact.py index 393f4f9993..8e4a71dedf 100644 --- a/msgraph/generated/models/granular_drive_restore_artifact.py +++ b/msgraph/generated/models/granular_drive_restore_artifact.py @@ -11,7 +11,7 @@ @dataclass class GranularDriveRestoreArtifact(GranularRestoreArtifactBase, Parsable): - # The directoryObjectId property + # Id of the drive in which artifact is present. directory_object_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/granular_restore_artifact_base.py b/msgraph/generated/models/granular_restore_artifact_base.py index a61e9273a2..4c2eaa76bb 100644 --- a/msgraph/generated/models/granular_restore_artifact_base.py +++ b/msgraph/generated/models/granular_restore_artifact_base.py @@ -15,25 +15,25 @@ @dataclass class GranularRestoreArtifactBase(Entity, Parsable): - # The browseSessionId property + # The unique identifier of the browseSession browse_session_id: Optional[str] = None - # The completionDateTime property + # Date time when the artifact's restoration completes. completion_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The restorePointDateTime property + # The restore point date time to which the artifact is restored. restore_point_date_time: Optional[datetime.datetime] = None - # The restoredItemKey property + # The unique identifier for the restored artifact. restored_item_key: Optional[str] = None - # The restoredItemPath property + # The path of the restored artifact. It's the path of the folder where all the artifacts are restored within a granular restore session. restored_item_path: Optional[str] = None - # The restoredItemWebUrl property + # The web url of the restored artifact. restored_item_web_url: Optional[str] = None - # The startDateTime property + # The start time of the restoration. start_date_time: Optional[datetime.datetime] = None # The status property status: Optional[ArtifactRestoreStatus] = None - # The webUrl property + # The original web url of the artifact being restored. web_url: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/granular_site_restore_artifact.py b/msgraph/generated/models/granular_site_restore_artifact.py index 143a112298..1ab1901a05 100644 --- a/msgraph/generated/models/granular_site_restore_artifact.py +++ b/msgraph/generated/models/granular_site_restore_artifact.py @@ -13,7 +13,7 @@ class GranularSiteRestoreArtifact(GranularRestoreArtifactBase, Parsable): # The OdataType property odata_type: Optional[str] = None - # The siteId property + # Id of the site in which artifact is present. site_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/group.py b/msgraph/generated/models/group.py index 8e724824c6..0c3c38f023 100644 --- a/msgraph/generated/models/group.py +++ b/msgraph/generated/models/group.py @@ -86,6 +86,8 @@ class Group(DirectoryObject, Parsable): hide_from_address_lists: Optional[bool] = None # True if the group isn't displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). hide_from_outlook_clients: Optional[bool] = None + # The infoCatalogs property + info_catalogs: Optional[list[str]] = None # When a group is associated with a team, this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. 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). @@ -270,6 +272,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "hasMembersWithLicenseErrors": lambda n : setattr(self, 'has_members_with_license_errors', n.get_bool_value()), "hideFromAddressLists": lambda n : setattr(self, 'hide_from_address_lists', n.get_bool_value()), "hideFromOutlookClients": lambda n : setattr(self, 'hide_from_outlook_clients', n.get_bool_value()), + "infoCatalogs": lambda n : setattr(self, 'info_catalogs', n.get_collection_of_primitive_values(str)), "isArchived": lambda n : setattr(self, 'is_archived', n.get_bool_value()), "isAssignableToRole": lambda n : setattr(self, 'is_assignable_to_role', n.get_bool_value()), "isManagementRestricted": lambda n : setattr(self, 'is_management_restricted', n.get_bool_value()), @@ -356,6 +359,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("hasMembersWithLicenseErrors", self.has_members_with_license_errors) writer.write_bool_value("hideFromAddressLists", self.hide_from_address_lists) writer.write_bool_value("hideFromOutlookClients", self.hide_from_outlook_clients) + writer.write_collection_of_primitive_values("infoCatalogs", self.info_catalogs) writer.write_bool_value("isArchived", self.is_archived) writer.write_bool_value("isAssignableToRole", self.is_assignable_to_role) writer.write_bool_value("isManagementRestricted", self.is_management_restricted) diff --git a/msgraph/generated/models/identifier_uri_configuration.py b/msgraph/generated/models/identifier_uri_configuration.py new file mode 100644 index 0000000000..73f79e8a7c --- /dev/null +++ b/msgraph/generated/models/identifier_uri_configuration.py @@ -0,0 +1,65 @@ +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 .identifier_uri_restriction import IdentifierUriRestriction + +@dataclass +class IdentifierUriConfiguration(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) + # Block new identifier URIs for applications, unless they are the 'default' URI of the format api://{appId} or api://{tenantId}/{appId}. + non_default_uri_addition: Optional[IdentifierUriRestriction] = None + # The OdataType property + odata_type: Optional[str] = None + # Block new identifier URIs for applications, unless they contain a unique tenant identifier like the tenant ID, appId (client ID), or verified domain. For example, api://{tenantId}/string, api://{appId}/string, {scheme}://string/{tenantId}, {scheme}://string/{appId}, https://{verified-domain.com}/path, {scheme}://{subdomain}.{verified-domain.com}/path. + uri_addition_without_unique_tenant_identifier: Optional[IdentifierUriRestriction] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> IdentifierUriConfiguration: + """ + 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: IdentifierUriConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return IdentifierUriConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .identifier_uri_restriction import IdentifierUriRestriction + + from .identifier_uri_restriction import IdentifierUriRestriction + + fields: dict[str, Callable[[Any], None]] = { + "nonDefaultUriAddition": lambda n : setattr(self, 'non_default_uri_addition', n.get_object_value(IdentifierUriRestriction)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "uriAdditionWithoutUniqueTenantIdentifier": lambda n : setattr(self, 'uri_addition_without_unique_tenant_identifier', n.get_object_value(IdentifierUriRestriction)), + } + 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_object_value("nonDefaultUriAddition", self.non_default_uri_addition) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_object_value("uriAdditionWithoutUniqueTenantIdentifier", self.uri_addition_without_unique_tenant_identifier) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/identifier_uri_restriction.py b/msgraph/generated/models/identifier_uri_restriction.py new file mode 100644 index 0000000000..98812a2000 --- /dev/null +++ b/msgraph/generated/models/identifier_uri_restriction.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 AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions + from .app_management_restriction_state import AppManagementRestrictionState + +@dataclass +class IdentifierUriRestriction(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) + # Collection of custom security attribute exemptions. If an actor user or service principal has the custom security attribute defined in this section, they're exempted from the restriction. This means that calls the user or service principal makes to create or update apps are exempt from this policy enforcement. + exclude_actors: Optional[AppManagementPolicyActorExemptions] = None + # If true, the restriction isn't enforced for applications that are configured to receive V2 tokens in Microsoft Entra ID; else, the restriction is enforced for those applications. + exclude_apps_receiving_v2_tokens: Optional[bool] = None + # If true, the restriction isn't enforced for SAML applications in Microsoft Entra ID; else, the restriction is enforced for those applications. + exclude_saml: Optional[bool] = None + # If true, Microsoft sets the identifierUriRestriction state. If false, the tenant modifies the identifierUriRestriction state. Read-only. + is_state_set_by_microsoft: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + # Specifies the date from which the policy restriction applies to newly created applications. For existing applications, the enforcement date can be retroactively applied. + restrict_for_apps_created_after_date_time: Optional[datetime.datetime] = None + # The state property + state: Optional[AppManagementRestrictionState] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> IdentifierUriRestriction: + """ + 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: IdentifierUriRestriction + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return IdentifierUriRestriction() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions + from .app_management_restriction_state import AppManagementRestrictionState + + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions + from .app_management_restriction_state import AppManagementRestrictionState + + fields: dict[str, Callable[[Any], None]] = { + "excludeActors": lambda n : setattr(self, 'exclude_actors', n.get_object_value(AppManagementPolicyActorExemptions)), + "excludeAppsReceivingV2Tokens": lambda n : setattr(self, 'exclude_apps_receiving_v2_tokens', n.get_bool_value()), + "excludeSaml": lambda n : setattr(self, 'exclude_saml', n.get_bool_value()), + "isStateSetByMicrosoft": lambda n : setattr(self, 'is_state_set_by_microsoft', n.get_bool_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "restrictForAppsCreatedAfterDateTime": lambda n : setattr(self, 'restrict_for_apps_created_after_date_time', n.get_datetime_value()), + "state": lambda n : setattr(self, 'state', n.get_enum_value(AppManagementRestrictionState)), + } + 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_object_value("excludeActors", self.exclude_actors) + writer.write_bool_value("excludeAppsReceivingV2Tokens", self.exclude_apps_receiving_v2_tokens) + writer.write_bool_value("excludeSaml", self.exclude_saml) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_datetime_value("restrictForAppsCreatedAfterDateTime", self.restrict_for_apps_created_after_date_time) + writer.write_enum_value("state", self.state) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/identity_governance/task_processing_result.py b/msgraph/generated/models/identity_governance/task_processing_result.py index d836996a59..bec418df54 100644 --- a/msgraph/generated/models/identity_governance/task_processing_result.py +++ b/msgraph/generated/models/identity_governance/task_processing_result.py @@ -19,15 +19,15 @@ class TaskProcessingResult(Entity, Parsable): completed_date_time: Optional[datetime.datetime] = None # The date time when the taskProcessingResult was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. created_date_time: Optional[datetime.datetime] = None - # Describes why the taskProcessingResult has failed. + # Describes why the taskProcessingResult failed. failure_reason: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The processingInfo property + # Additional human-readable context about the task processing outcome. This property contains information about edge cases where the task completed successfully but the expected action wasn't performed because the target was already in the desired state, such as when the user was already a member of the specified group. Returns null when no additional context is needed. Nullable. processing_info: Optional[str] = None # The processingStatus property processing_status: Optional[LifecycleWorkflowProcessingStatus] = None - # The date time when taskProcessingResult execution started. Value is null if task execution has not yet started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. + # The date time when taskProcessingResult execution started. Value is null if task execution hasn't started yet.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. started_date_time: Optional[datetime.datetime] = None # The subject property subject: Optional[User] = None diff --git a/msgraph/generated/models/include_target.py b/msgraph/generated/models/include_target.py index 1d87e249d0..e0b5e409a9 100644 --- a/msgraph/generated/models/include_target.py +++ b/msgraph/generated/models/include_target.py @@ -15,7 +15,7 @@ class IncludeTarget(AdditionalDataHolder, BackedModel, Parsable): # 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 id property + # The ID of the entity targeted. id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/key_credential_configuration.py b/msgraph/generated/models/key_credential_configuration.py index 77f79cc494..d3c2b1bd11 100644 --- a/msgraph/generated/models/key_credential_configuration.py +++ b/msgraph/generated/models/key_credential_configuration.py @@ -8,6 +8,7 @@ if TYPE_CHECKING: from .app_key_credential_restriction_type import AppKeyCredentialRestrictionType + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState @dataclass @@ -17,7 +18,9 @@ class KeyCredentialConfiguration(AdditionalDataHolder, BackedModel, Parsable): # 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) - # String value that indicates the maximum lifetime for key expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to keyLifetime. + # Collection of custom security attribute exemptions. If an actor user or service principal has the custom security attribute defined in this section, they're exempted from the restriction. This means that calls the user or service principal makes to create or update apps are exempt from this policy enforcement. + exclude_actors: Optional[AppManagementPolicyActorExemptions] = None + # String value that indicates the maximum lifetime for key expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to asymmetricKeyLifetime. max_lifetime: Optional[datetime.timedelta] = None # The OdataType property odata_type: Optional[str] = None @@ -45,12 +48,15 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .app_key_credential_restriction_type import AppKeyCredentialRestrictionType + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState from .app_key_credential_restriction_type import AppKeyCredentialRestrictionType + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState fields: dict[str, Callable[[Any], None]] = { + "excludeActors": lambda n : setattr(self, 'exclude_actors', n.get_object_value(AppManagementPolicyActorExemptions)), "maxLifetime": lambda n : setattr(self, 'max_lifetime', n.get_timedelta_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "restrictForAppsCreatedAfterDateTime": lambda n : setattr(self, 'restrict_for_apps_created_after_date_time', n.get_datetime_value()), @@ -67,6 +73,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + writer.write_object_value("excludeActors", self.exclude_actors) writer.write_timedelta_value("maxLifetime", self.max_lifetime) writer.write_str_value("@odata.type", self.odata_type) writer.write_datetime_value("restrictForAppsCreatedAfterDateTime", self.restrict_for_apps_created_after_date_time) diff --git a/msgraph/generated/models/mailbox.py b/msgraph/generated/models/mailbox.py index abfd709e3c..a93725f113 100644 --- a/msgraph/generated/models/mailbox.py +++ b/msgraph/generated/models/mailbox.py @@ -14,7 +14,7 @@ class Mailbox(DirectoryObject, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.mailbox" - # The folders property + # The collection of folders in the mailbox. folders: Optional[list[MailboxFolder]] = None @staticmethod diff --git a/msgraph/generated/models/mailbox_folder.py b/msgraph/generated/models/mailbox_folder.py index 16533aa269..3c40268d0e 100644 --- a/msgraph/generated/models/mailbox_folder.py +++ b/msgraph/generated/models/mailbox_folder.py @@ -14,25 +14,25 @@ @dataclass class MailboxFolder(Entity, Parsable): - # The childFolderCount property + # The number of immediate child folders in the current folder. child_folder_count: Optional[int] = None - # The childFolders property + # The collection of child folders in this folder. child_folders: Optional[list[MailboxFolder]] = None - # The displayName property + # The display name of the folder. display_name: Optional[str] = None - # The items property + # The collection of items in this folder. items: Optional[list[MailboxItem]] = None - # The multiValueExtendedProperties property + # The collection of multi-value extended properties defined for the mailboxFolder. multi_value_extended_properties: Optional[list[MultiValueLegacyExtendedProperty]] = None # The OdataType property odata_type: Optional[str] = None - # The parentFolderId property + # The unique identifier for the parent folder of this folder. parent_folder_id: Optional[str] = None - # The singleValueExtendedProperties property + # The collection of single-value extended properties defined for the mailboxFolder. single_value_extended_properties: Optional[list[SingleValueLegacyExtendedProperty]] = None - # The totalItemCount property + # The number of items in the folder. total_item_count: Optional[int] = None - # The type property + # Describes the folder class type. type: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/mailbox_item.py b/msgraph/generated/models/mailbox_item.py index 21ed8fc6ad..ac1517a431 100644 --- a/msgraph/generated/models/mailbox_item.py +++ b/msgraph/generated/models/mailbox_item.py @@ -15,13 +15,13 @@ class MailboxItem(OutlookItem, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.mailboxItem" - # The multiValueExtendedProperties property + # The collection of multi-value extended properties defined for the mailboxItem. multi_value_extended_properties: Optional[list[MultiValueLegacyExtendedProperty]] = None - # The singleValueExtendedProperties property + # The collection of single-value extended properties defined for the mailboxItem. single_value_extended_properties: Optional[list[SingleValueLegacyExtendedProperty]] = None - # The size property + # The length of the item in bytes. size: Optional[int] = None - # The type property + # The message class ID of the item. type: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/mailbox_item_import_session.py b/msgraph/generated/models/mailbox_item_import_session.py index 4c87626331..e710bdf977 100644 --- a/msgraph/generated/models/mailbox_item_import_session.py +++ b/msgraph/generated/models/mailbox_item_import_session.py @@ -13,9 +13,9 @@ class MailboxItemImportSession(AdditionalDataHolder, BackedModel, Parsable): # 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 expirationDateTime property + # The date and time in UTC when the import session expires. The date and time information uses ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. expiration_date_time: Optional[datetime.datetime] = None - # The importUrl property + # The URL endpoint that accepts POST requests for uploading a mailbox item exported using exportItems. import_url: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/on_premises_directory_synchronization_feature.py b/msgraph/generated/models/on_premises_directory_synchronization_feature.py index 80e7699ccc..80cc0e6af9 100644 --- a/msgraph/generated/models/on_premises_directory_synchronization_feature.py +++ b/msgraph/generated/models/on_premises_directory_synchronization_feature.py @@ -12,6 +12,8 @@ class OnPremisesDirectorySynchronizationFeature(AdditionalDataHolder, BackedMode # 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 allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled property + allow_on_prem_update_of_on_premises_object_identifier_enabled: Optional[bool] = None # Used to block cloud object takeover via source anchor hard match if enabled. block_cloud_object_takeover_through_hard_match_enabled: Optional[bool] = None # Use to block soft match for all objects if enabled for the tenant. Customers are encouraged to enable this feature and keep it enabled until soft matching is required again for their tenancy. This flag should be enabled again after any soft matching has been completed and is no longer needed. @@ -70,6 +72,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ fields: dict[str, Callable[[Any], None]] = { + "allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled": lambda n : setattr(self, 'allow_on_prem_update_of_on_premises_object_identifier_enabled', n.get_bool_value()), "blockCloudObjectTakeoverThroughHardMatchEnabled": lambda n : setattr(self, 'block_cloud_object_takeover_through_hard_match_enabled', n.get_bool_value()), "blockSoftMatchEnabled": lambda n : setattr(self, 'block_soft_match_enabled', n.get_bool_value()), "bypassDirSyncOverridesEnabled": lambda n : setattr(self, 'bypass_dir_sync_overrides_enabled', n.get_bool_value()), @@ -101,6 +104,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + writer.write_bool_value("allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled", self.allow_on_prem_update_of_on_premises_object_identifier_enabled) writer.write_bool_value("blockCloudObjectTakeoverThroughHardMatchEnabled", self.block_cloud_object_takeover_through_hard_match_enabled) writer.write_bool_value("blockSoftMatchEnabled", self.block_soft_match_enabled) writer.write_bool_value("bypassDirSyncOverridesEnabled", self.bypass_dir_sync_overrides_enabled) diff --git a/msgraph/generated/models/one_drive_for_business_browse_session.py b/msgraph/generated/models/one_drive_for_business_browse_session.py index 2711f7b844..3c4d52d7f0 100644 --- a/msgraph/generated/models/one_drive_for_business_browse_session.py +++ b/msgraph/generated/models/one_drive_for_business_browse_session.py @@ -13,7 +13,7 @@ class OneDriveForBusinessBrowseSession(BrowseSessionBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.oneDriveForBusinessBrowseSession" - # The directoryObjectId property + # Id of the backed-up OneDrive. directory_object_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/one_drive_for_business_restore_session.py b/msgraph/generated/models/one_drive_for_business_restore_session.py index 44a7591551..84b18e0f19 100644 --- a/msgraph/generated/models/one_drive_for_business_restore_session.py +++ b/msgraph/generated/models/one_drive_for_business_restore_session.py @@ -20,7 +20,7 @@ class OneDriveForBusinessRestoreSession(RestoreSessionBase, Parsable): drive_restore_artifacts: Optional[list[DriveRestoreArtifact]] = None # A collection of user mailboxes and destination details that can be used to restore a OneDrive for work or school drive. drive_restore_artifacts_bulk_addition_requests: Optional[list[DriveRestoreArtifactsBulkAdditionRequest]] = None - # The granularDriveRestoreArtifacts property + # A collection of browse session ID and item key details that can be used to restore OneDrive for work or school files and folders. granular_drive_restore_artifacts: Optional[list[GranularDriveRestoreArtifact]] = None @staticmethod diff --git a/msgraph/generated/models/ownerless_group_policy.py b/msgraph/generated/models/ownerless_group_policy.py index 3228bd5b1c..ef607b3f86 100644 --- a/msgraph/generated/models/ownerless_group_policy.py +++ b/msgraph/generated/models/ownerless_group_policy.py @@ -15,17 +15,17 @@ class OwnerlessGroupPolicy(Entity, Parsable): # The emailInfo property email_info: Optional[EmailDetails] = None - # The enabledGroupIds property + # The collection of IDs for groups to which the policy is enabled. If empty, the policy is enabled for all groups in the tenant. enabled_group_ids: Optional[list[str]] = None - # The isEnabled property + # Indicates whether the ownerless group policy is enabled in the tenant. Setting this property to false clears the values of all other policy parameters. is_enabled: Optional[bool] = None - # The maxMembersToNotify property + # The maximum number of members to notify. Value range is 0-90. Members are prioritized by recent group activity (most active first). If there aren't enough active members to fill the limit, remaining slots are filled with other eligible group members from the directory. max_members_to_notify: Optional[int] = None - # The notificationDurationInWeeks property + # The number of weeks for the notification duration. Value range is 1-7. notification_duration_in_weeks: Optional[int] = None # The OdataType property odata_type: Optional[str] = None - # The policyWebUrl property + # The URL to the policy documentation. policy_web_url: Optional[str] = None # The targetOwners property target_owners: Optional[TargetOwners] = None diff --git a/msgraph/generated/models/password_credential_configuration.py b/msgraph/generated/models/password_credential_configuration.py index d7fdb3403b..66d00b9891 100644 --- a/msgraph/generated/models/password_credential_configuration.py +++ b/msgraph/generated/models/password_credential_configuration.py @@ -8,6 +8,7 @@ if TYPE_CHECKING: from .app_credential_restriction_type import AppCredentialRestrictionType + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState @dataclass @@ -17,6 +18,8 @@ class PasswordCredentialConfiguration(AdditionalDataHolder, BackedModel, Parsabl # 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) + # Collection of custom security attribute exemptions. If an actor user or service principal has the custom security attribute defined in this section, they're exempted from the restriction. This means that calls the user or service principal makes to create or update apps are exempt from this policy enforcement. + exclude_actors: Optional[AppManagementPolicyActorExemptions] = None # String value that indicates the maximum lifetime for password expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to passwordLifetime. max_lifetime: Optional[datetime.timedelta] = None # The OdataType property @@ -45,12 +48,15 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .app_credential_restriction_type import AppCredentialRestrictionType + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState from .app_credential_restriction_type import AppCredentialRestrictionType + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState fields: dict[str, Callable[[Any], None]] = { + "excludeActors": lambda n : setattr(self, 'exclude_actors', n.get_object_value(AppManagementPolicyActorExemptions)), "maxLifetime": lambda n : setattr(self, 'max_lifetime', n.get_timedelta_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "restrictForAppsCreatedAfterDateTime": lambda n : setattr(self, 'restrict_for_apps_created_after_date_time', n.get_datetime_value()), @@ -67,6 +73,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + writer.write_object_value("excludeActors", self.exclude_actors) writer.write_timedelta_value("maxLifetime", self.max_lifetime) writer.write_str_value("@odata.type", self.odata_type) writer.write_datetime_value("restrictForAppsCreatedAfterDateTime", self.restrict_for_apps_created_after_date_time) diff --git a/msgraph/generated/models/policy_root.py b/msgraph/generated/models/policy_root.py index b04bffb25c..e3be59590c 100644 --- a/msgraph/generated/models/policy_root.py +++ b/msgraph/generated/models/policy_root.py @@ -64,7 +64,7 @@ class PolicyRoot(Entity, Parsable): identity_security_defaults_enforcement_policy: Optional[IdentitySecurityDefaultsEnforcementPolicy] = None # The OdataType property odata_type: Optional[str] = None - # The ownerlessGroupPolicy property + # The policy configuration for managing groups that have lost their sole owner. ownerless_group_policy: Optional[OwnerlessGroupPolicy] = None # The policy that specifies the conditions under which consent can be granted. permission_grant_policies: Optional[list[PermissionGrantPolicy]] = None diff --git a/msgraph/generated/models/schedule_entity_theme.py b/msgraph/generated/models/schedule_entity_theme.py index 861eed891e..a8ae6b8831 100644 --- a/msgraph/generated/models/schedule_entity_theme.py +++ b/msgraph/generated/models/schedule_entity_theme.py @@ -14,4 +14,27 @@ class ScheduleEntityTheme(str, Enum): DarkPink = "darkPink", DarkYellow = "darkYellow", UnknownFutureValue = "unknownFutureValue", + DarkRed = "darkRed", + Cranberry = "cranberry", + DarkOrange = "darkOrange", + Bronze = "bronze", + Peach = "peach", + Gold = "gold", + Lime = "lime", + Forest = "forest", + LightGreen = "lightGreen", + Jade = "jade", + LightTeal = "lightTeal", + DarkTeal = "darkTeal", + Steel = "steel", + SkyBlue = "skyBlue", + BlueGray = "blueGray", + Lavender = "lavender", + Lilac = "lilac", + Plum = "plum", + Magenta = "magenta", + DarkBrown = "darkBrown", + Beige = "beige", + Charcoal = "charcoal", + Silver = "silver", diff --git a/msgraph/generated/models/security/alert.py b/msgraph/generated/models/security/alert.py index 2d47ec7b89..ce5cb513c9 100644 --- a/msgraph/generated/models/security/alert.py +++ b/msgraph/generated/models/security/alert.py @@ -32,9 +32,9 @@ class Alert(Entity, Parsable): alert_web_url: Optional[str] = None # Owner of the alert, or null if no owner is assigned. assigned_to: Optional[str] = None - # The categories property + # The attack kill-chain categories that the alert belongs to. Aligned with the MITRE ATT&CK framework. categories: Optional[list[str]] = None - # The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework. + # The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework. This property is in the process of being deprecated. Use the categories property instead. category: Optional[str] = None # Specifies whether the alert represents a true threat. The possible values are: unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue. classification: Optional[AlertClassification] = None diff --git a/msgraph/generated/models/security/dns_evidence.py b/msgraph/generated/models/security/dns_evidence.py index 30293e0c06..13c435e6b7 100644 --- a/msgraph/generated/models/security/dns_evidence.py +++ b/msgraph/generated/models/security/dns_evidence.py @@ -14,13 +14,13 @@ class DnsEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.dnsEvidence" - # The dnsServerIp property + # An IP entity that represents the DNS server that resolves the request. dns_server_ip: Optional[IpEvidence] = None - # The domainName property + # The name of the DNS record associated with the alert. domain_name: Optional[str] = None - # The hostIpAddress property + # An IP entity that represents the DNS request client. host_ip_address: Optional[IpEvidence] = None - # The ipAddresses property + # IP entities that represent the resolved IP addresses. ip_addresses: Optional[list[IpEvidence]] = None @staticmethod diff --git a/msgraph/generated/models/security/file_hash_evidence.py b/msgraph/generated/models/security/file_hash_evidence.py index c5c1a88040..5b873b2b5a 100644 --- a/msgraph/generated/models/security/file_hash_evidence.py +++ b/msgraph/generated/models/security/file_hash_evidence.py @@ -16,7 +16,7 @@ class FileHashEvidence(AlertEvidence, Parsable): odata_type: Optional[str] = "#microsoft.graph.security.fileHashEvidence" # The algorithm property algorithm: Optional[FileHashAlgorithm] = None - # The value property + # The hash value. value: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/security/git_hub_organization_evidence.py b/msgraph/generated/models/security/git_hub_organization_evidence.py index b5df9ecb67..3b3474a3e4 100644 --- a/msgraph/generated/models/security/git_hub_organization_evidence.py +++ b/msgraph/generated/models/security/git_hub_organization_evidence.py @@ -13,17 +13,17 @@ class GitHubOrganizationEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.gitHubOrganizationEvidence" - # The company property + # The name of the company that owns the organization. company: Optional[str] = None - # The displayName property + # The display name of the organization. display_name: Optional[str] = None - # The email property + # The email address of the organization. email: Optional[str] = None - # The login property + # The login (name) of the organization. login: Optional[str] = None - # The orgId property + # The unique and immutable ID of the organization. org_id: Optional[str] = None - # The webUrl property + # The URL of the web page for the organization. web_url: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/security/git_hub_repo_evidence.py b/msgraph/generated/models/security/git_hub_repo_evidence.py index 6fae349d6c..b4e3b09aa5 100644 --- a/msgraph/generated/models/security/git_hub_repo_evidence.py +++ b/msgraph/generated/models/security/git_hub_repo_evidence.py @@ -13,15 +13,15 @@ class GitHubRepoEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.gitHubRepoEvidence" - # The baseUrl property + # The base URL of the web page for the repository. base_url: Optional[str] = None - # The login property + # The login (name) of the repository. login: Optional[str] = None - # The owner property + # The login of the owner of the repository. owner: Optional[str] = None - # The ownerType property + # The type of owner of the repository, for example, User or Organization. owner_type: Optional[str] = None - # The repoId property + # The unique and immutable ID of the GitHub repository. repo_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/security/git_hub_user_evidence.py b/msgraph/generated/models/security/git_hub_user_evidence.py index 8138b60ae2..073b330e64 100644 --- a/msgraph/generated/models/security/git_hub_user_evidence.py +++ b/msgraph/generated/models/security/git_hub_user_evidence.py @@ -13,15 +13,15 @@ class GitHubUserEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.gitHubUserEvidence" - # The email property + # The email address of the user account. email: Optional[str] = None - # The login property + # The user's login (GitHub handle). login: Optional[str] = None - # The name property + # The user's name. name: Optional[str] = None - # The userId property + # The unique and immutable ID of the user account. user_id: Optional[str] = None - # The webUrl property + # The URL of the user's profile web page. For example, https://github.com/my-login. web_url: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/security/host_logon_session_evidence.py b/msgraph/generated/models/security/host_logon_session_evidence.py index cd09bcdc4f..e843edd0b7 100644 --- a/msgraph/generated/models/security/host_logon_session_evidence.py +++ b/msgraph/generated/models/security/host_logon_session_evidence.py @@ -16,15 +16,15 @@ class HostLogonSessionEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.hostLogonSessionEvidence" - # The account property + # The account that is associated with the sign-in session ID. account: Optional[UserEvidence] = None - # The endUtcDateTime property + # The session end time, if known. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024 is 2024-01-01T00:00:00Z. end_utc_date_time: Optional[datetime.datetime] = None - # The host property + # The host for the session. host: Optional[DeviceEvidence] = None - # The sessionId property + # The session ID for the account reported in the alert, for example, 0x3e7. session_id: Optional[str] = None - # The startUtcDateTime property + # The session start time, if known. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024 is 2024-01-01T00:00:00Z. start_utc_date_time: Optional[datetime.datetime] = None @staticmethod diff --git a/msgraph/generated/models/security/io_t_device_evidence.py b/msgraph/generated/models/security/io_t_device_evidence.py index a9f098965e..516a63f725 100644 --- a/msgraph/generated/models/security/io_t_device_evidence.py +++ b/msgraph/generated/models/security/io_t_device_evidence.py @@ -28,7 +28,7 @@ class IoTDeviceEvidence(AlertEvidence, Parsable): device_sub_type: Optional[str] = None # The type of the device. For example, 'temperature sensor,' 'freezer,' 'wind turbine,' and so on. device_type: Optional[str] = None - # The importance level for the IoT device. Possible values are low, normal, high, and unknownFutureValue. + # The importance level for the IoT device. The possible values are: unknown, low, normal, high, unknownFutureValue. importance: Optional[IoTDeviceImportanceType] = None # The azureResourceEvidence entity that represents the IoT Hub that the device belongs to. io_t_hub: Optional[AzureResourceEvidence] = None diff --git a/msgraph/generated/models/security/malware_evidence.py b/msgraph/generated/models/security/malware_evidence.py index bdfebca496..a5400a806d 100644 --- a/msgraph/generated/models/security/malware_evidence.py +++ b/msgraph/generated/models/security/malware_evidence.py @@ -15,13 +15,13 @@ class MalwareEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.malwareEvidence" - # The category property + # The malware category by the vendor, for example, Trojan. category: Optional[str] = None - # The files property + # A list of the linked file entities on which the malware was found. Can contain the file entities inline or as reference. For more information, see fileEvidence. files: Optional[list[FileEvidence]] = None - # The name property + # The malware name by the vendor, for example, Win32/Toga. name: Optional[str] = None - # The processes property + # A list of the linked process entities on which the malware was found. Use this property, for example, when the alert was triggered on fileless activity. For more information, see processEvidence. processes: Optional[list[ProcessEvidence]] = None @staticmethod diff --git a/msgraph/generated/models/security/network_connection_evidence.py b/msgraph/generated/models/security/network_connection_evidence.py index 887494bc83..403677a31d 100644 --- a/msgraph/generated/models/security/network_connection_evidence.py +++ b/msgraph/generated/models/security/network_connection_evidence.py @@ -15,15 +15,15 @@ class NetworkConnectionEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.networkConnectionEvidence" - # The destinationAddress property + # An entity of type IP that is the destination for this connection. destination_address: Optional[IpEvidence] = None - # The destinationPort property + # The destination port number. For example, 80. destination_port: Optional[int] = None - # The protocol property + # The protocol type. Possible values are tcp, udp, unknownFutureValue. protocol: Optional[ProtocolType] = None - # The sourceAddress property + # An entity of type IP that is the source for this connection. source_address: Optional[IpEvidence] = None - # The sourcePort property + # The source port number. For example, 80. source_port: Optional[int] = None @staticmethod diff --git a/msgraph/generated/models/security/sas_token_evidence.py b/msgraph/generated/models/security/sas_token_evidence.py index 198598b71c..55e2d64da3 100644 --- a/msgraph/generated/models/security/sas_token_evidence.py +++ b/msgraph/generated/models/security/sas_token_evidence.py @@ -15,25 +15,25 @@ class SasTokenEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.sasTokenEvidence" - # The allowedIpAddresses property + # All IP addresses accessible with this SAS. The default value is Allows all IP addresses. allowed_ip_addresses: Optional[str] = None - # The allowedResourceTypes property + # All resource types accessible with this SAS. allowed_resource_types: Optional[list[str]] = None - # The allowedServices property + # All services accessible with this SAS. allowed_services: Optional[list[str]] = None - # The expiryDateTime property + # The SAS expiration time. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024 is 2024-01-01T00:00:00Z. expiry_date_time: Optional[datetime.datetime] = None - # The permissions property + # All permissions granted to this SAS. permissions: Optional[list[str]] = None - # The protocol property + # The protocol that is allowed with this SAS. protocol: Optional[str] = None - # The signatureHash property + # The SAS signature hash, which is a unique identifier for each SAS. signature_hash: Optional[str] = None - # The signedWith property + # The storage key that was used to generate the SAS. signed_with: Optional[str] = None - # The startDateTime property + # The SAS activation time. This property can be null. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024 is 2024-01-01T00:00:00Z. start_date_time: Optional[datetime.datetime] = None - # The storageResource property + # A link to the storage resource for this SAS. storage_resource: Optional[AzureResourceEvidence] = None @staticmethod diff --git a/msgraph/generated/models/security/service_principal_evidence.py b/msgraph/generated/models/security/service_principal_evidence.py index d88121e1a7..13c7455053 100644 --- a/msgraph/generated/models/security/service_principal_evidence.py +++ b/msgraph/generated/models/security/service_principal_evidence.py @@ -14,17 +14,17 @@ class ServicePrincipalEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.servicePrincipalEvidence" - # The appId property + # The unique identifier for the associated application, represented by its appId property. app_id: Optional[str] = None - # The appOwnerTenantId property + # The tenant ID where the application is registered. app_owner_tenant_id: Optional[str] = None - # The servicePrincipalName property + # The display name for the service principal. service_principal_name: Optional[str] = None - # The servicePrincipalObjectId property + # The unique identifier for the service principal. service_principal_object_id: Optional[str] = None - # The servicePrincipalType property + # The service principal type. Possible values are: unknown, application, managedIdentity, legacy, unknownFutureValue. service_principal_type: Optional[ServicePrincipalType] = None - # The tenantId property + # The Microsoft Entra tenant ID of the service principal. tenant_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/security/submission_mail_evidence.py b/msgraph/generated/models/security/submission_mail_evidence.py index 713d02cc51..005b51f2fa 100644 --- a/msgraph/generated/models/security/submission_mail_evidence.py +++ b/msgraph/generated/models/security/submission_mail_evidence.py @@ -14,23 +14,23 @@ class SubmissionMailEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.submissionMailEvidence" - # The networkMessageId property + # The network message ID of the email to which the submission belongs. network_message_id: Optional[str] = None - # The recipient property + # The recipient of the email. recipient: Optional[str] = None - # The reportType property + # The submission type for the specified instance that maps to Junk, Phish, Malware, or NotJunk. report_type: Optional[str] = None - # The sender property + # The sender of the email. sender: Optional[str] = None - # The senderIp property + # The sender's IP. sender_ip: Optional[str] = None - # The subject property + # The subject of the submission mail. subject: Optional[str] = None - # The submissionDateTime property + # The reported date and time of this submission. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024 is 2024-01-01T00:00:00Z. submission_date_time: Optional[datetime.datetime] = None - # The submissionId property + # The submission ID. submission_id: Optional[str] = None - # The submitter property + # The submitter's email address. submitter: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/share_point_browse_session.py b/msgraph/generated/models/share_point_browse_session.py index b78463f83b..ff95271c65 100644 --- a/msgraph/generated/models/share_point_browse_session.py +++ b/msgraph/generated/models/share_point_browse_session.py @@ -13,7 +13,7 @@ class SharePointBrowseSession(BrowseSessionBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.sharePointBrowseSession" - # The siteId property + # Id of the backed-up SharePoint site. site_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/share_point_restore_session.py b/msgraph/generated/models/share_point_restore_session.py index 0ab21f00d7..0069a3df81 100644 --- a/msgraph/generated/models/share_point_restore_session.py +++ b/msgraph/generated/models/share_point_restore_session.py @@ -16,7 +16,7 @@ class SharePointRestoreSession(RestoreSessionBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.sharePointRestoreSession" - # The granularSiteRestoreArtifacts property + # A collection of browse session ID and item key details that can be used to restore SharePoint files and folders. granular_site_restore_artifacts: Optional[list[GranularSiteRestoreArtifact]] = None # A collection of restore points and destination details that can be used to restore SharePoint sites. site_restore_artifacts: Optional[list[SiteRestoreArtifact]] = None diff --git a/msgraph/generated/models/target_owners.py b/msgraph/generated/models/target_owners.py index 6ad280b839..82fbfc8227 100644 --- a/msgraph/generated/models/target_owners.py +++ b/msgraph/generated/models/target_owners.py @@ -19,7 +19,7 @@ class TargetOwners(AdditionalDataHolder, BackedModel, Parsable): notify_members: Optional[NotifyMembers] = None # The OdataType property odata_type: Optional[str] = None - # The securityGroups property + # The collection of IDs for security groups used for allowing or blocking filtering. When notifyMembers is all, all members are eligible for ownership and this collection can be empty. When notifyMembers is allowSelected, only members in these security groups are eligible. When notifyMembers is blockSelected, members in these security groups are excluded. security_groups: Optional[list[str]] = None @staticmethod diff --git a/msgraph/generated/models/user_settings.py b/msgraph/generated/models/user_settings.py index ab838de43a..9ed7a5b36b 100644 --- a/msgraph/generated/models/user_settings.py +++ b/msgraph/generated/models/user_settings.py @@ -21,7 +21,7 @@ class UserSettings(Entity, Parsable): contribution_to_content_discovery_as_organization_disabled: Optional[bool] = None # When set to true, the delegate access to the user's trending API is disabled. When set to true, documents in the user's Office Delve are disabled. When set to true, the relevancy of the content displayed in Microsoft 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for work or school is affected. Users can control this setting in Office Delve. contribution_to_content_discovery_disabled: Optional[bool] = None - # The exchange property + # The Exchange settings for mailbox discovery. exchange: Optional[ExchangeSettings] = None # The user's settings for the visibility of meeting hour insights, and insights derived between a user and other items in Microsoft 365, such as documents or sites. Get userInsightsSettings through this navigation property. item_insights: Optional[UserInsightsSettings] = None diff --git a/msgraph/generated/models/verifiable_credential_authentication_method_target.py b/msgraph/generated/models/verifiable_credential_authentication_method_target.py new file mode 100644 index 0000000000..b9805fb0b9 --- /dev/null +++ b/msgraph/generated/models/verifiable_credential_authentication_method_target.py @@ -0,0 +1,58 @@ +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 +from uuid import UUID + +if TYPE_CHECKING: + from .authentication_method_target import AuthenticationMethodTarget + +from .authentication_method_target import AuthenticationMethodTarget + +@dataclass +class VerifiableCredentialAuthenticationMethodTarget(AuthenticationMethodTarget, Parsable): + # The OdataType property + odata_type: Optional[str] = None + # A collection of Verified ID profile IDs. The profiles define the credentials that users can present to prove their id when signing in, onboarding, or recovering. Verified ID profiles are managed through the Verified ID APIs. + verified_id_profiles: Optional[list[UUID]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> VerifiableCredentialAuthenticationMethodTarget: + """ + 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: VerifiableCredentialAuthenticationMethodTarget + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return VerifiableCredentialAuthenticationMethodTarget() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .authentication_method_target import AuthenticationMethodTarget + + from .authentication_method_target import AuthenticationMethodTarget + + fields: dict[str, Callable[[Any], None]] = { + "verifiedIdProfiles": lambda n : setattr(self, 'verified_id_profiles', n.get_collection_of_primitive_values(UUID)), + } + 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_collection_of_primitive_values("verifiedIdProfiles", self.verified_id_profiles) + + diff --git a/msgraph/generated/models/verifiable_credentials_authentication_method_configuration.py b/msgraph/generated/models/verifiable_credentials_authentication_method_configuration.py new file mode 100644 index 0000000000..3084059b22 --- /dev/null +++ b/msgraph/generated/models/verifiable_credentials_authentication_method_configuration.py @@ -0,0 +1,60 @@ +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 .authentication_method_configuration import AuthenticationMethodConfiguration + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget + +from .authentication_method_configuration import AuthenticationMethodConfiguration + +@dataclass +class VerifiableCredentialsAuthenticationMethodConfiguration(AuthenticationMethodConfiguration, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.verifiableCredentialsAuthenticationMethodConfiguration" + # A collection of groups that are enabled to use the authentication method. + include_targets: Optional[list[VerifiableCredentialAuthenticationMethodTarget]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> VerifiableCredentialsAuthenticationMethodConfiguration: + """ + 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: VerifiableCredentialsAuthenticationMethodConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return VerifiableCredentialsAuthenticationMethodConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget + + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget + + fields: dict[str, Callable[[Any], None]] = { + "includeTargets": lambda n : setattr(self, 'include_targets', n.get_collection_of_object_values(VerifiableCredentialAuthenticationMethodTarget)), + } + 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_collection_of_object_values("includeTargets", self.include_targets) + + diff --git a/msgraph/generated/models/x509_certificate_authentication_method_configuration.py b/msgraph/generated/models/x509_certificate_authentication_method_configuration.py index 9d3bc3bd58..7912018e48 100644 --- a/msgraph/generated/models/x509_certificate_authentication_method_configuration.py +++ b/msgraph/generated/models/x509_certificate_authentication_method_configuration.py @@ -21,7 +21,7 @@ class X509CertificateAuthenticationMethodConfiguration(AuthenticationMethodConfi odata_type: Optional[str] = "#microsoft.graph.x509CertificateAuthenticationMethodConfiguration" # Defines strong authentication configurations. This configuration includes the default authentication mode and the different rules for strong authentication bindings. authentication_mode_configuration: Optional[X509CertificateAuthenticationModeConfiguration] = None - # The certificateAuthorityScopes property + # Defines configuration to allow a group of users to use certificates from specific issuing certificate authorities to successfully authenticate. certificate_authority_scopes: Optional[list[X509CertificateAuthorityScope]] = None # Defines fields in the X.509 certificate that map to attributes of the Microsoft Entra user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored. certificate_user_bindings: Optional[list[X509CertificateUserBinding]] = None @@ -29,7 +29,7 @@ class X509CertificateAuthenticationMethodConfiguration(AuthenticationMethodConfi crl_validation_configuration: Optional[X509CertificateCRLValidationConfiguration] = None # A collection of groups that are enabled to use the authentication method. include_targets: Optional[list[AuthenticationMethodTarget]] = None - # The issuerHintsConfiguration property + # Determines whether issuer(CA) hints are sent back to the client side to filter the certificates shown in certificate picker. issuer_hints_configuration: Optional[X509CertificateIssuerHintsConfiguration] = None @staticmethod diff --git a/msgraph/generated/models/x509_certificate_authority_scope.py b/msgraph/generated/models/x509_certificate_authority_scope.py index 3539c33510..9a8231bf47 100644 --- a/msgraph/generated/models/x509_certificate_authority_scope.py +++ b/msgraph/generated/models/x509_certificate_authority_scope.py @@ -15,13 +15,13 @@ class X509CertificateAuthorityScope(AdditionalDataHolder, BackedModel, Parsable) # 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 includeTargets property + # A collection of groups that are enabled to be in scope to use certificates issued by specific certificate authority. include_targets: Optional[list[IncludeTarget]] = None # The OdataType property odata_type: Optional[str] = None - # The publicKeyInfrastructureIdentifier property + # Public Key Infrastructure container object under which the certificate authorities are stored in the Entra PKI based trust store. public_key_infrastructure_identifier: Optional[str] = None - # The subjectKeyIdentifier property + # Subject Key Identifier that identifies the certificate authority uniquely. subject_key_identifier: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/x509_certificate_issuer_hints_configuration.py b/msgraph/generated/models/x509_certificate_issuer_hints_configuration.py index f9bdfd391a..97285db1f2 100644 --- a/msgraph/generated/models/x509_certificate_issuer_hints_configuration.py +++ b/msgraph/generated/models/x509_certificate_issuer_hints_configuration.py @@ -17,7 +17,7 @@ class X509CertificateIssuerHintsConfiguration(AdditionalDataHolder, BackedModel, additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # The state property + # The possible values are: disabled, enabled, unknownFutureValue. state: Optional[X509CertificateIssuerHintsState] = None @staticmethod diff --git a/msgraph/generated/policies/ownerless_group_policy/ownerless_group_policy_request_builder.py b/msgraph/generated/policies/ownerless_group_policy/ownerless_group_policy_request_builder.py index b7875c7da7..856c33e326 100644 --- a/msgraph/generated/policies/ownerless_group_policy/ownerless_group_policy_request_builder.py +++ b/msgraph/generated/policies/ownerless_group_policy/ownerless_group_policy_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[OwnerlessGroupPolicyRequestBuilderGetQueryParameters]] = None) -> Optional[OwnerlessGroupPolicy]: """ - Get ownerlessGroupPolicy from policies + Read the properties of an ownerlessGroupPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OwnerlessGroupPolicy] + Find more info here: https://learn.microsoft.com/graph/api/ownerlessgrouppolicy-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,10 +53,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Ownerles async def patch(self,body: OwnerlessGroupPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[OwnerlessGroupPolicy]: """ - Update the navigation property ownerlessGroupPolicy in policies + Create or update the ownerlessGroupPolicy for the tenant. If the policy doesn't exist, it creates a new one; if the policy exists, it updates the existing policy. To disable the policy, set isEnabled to false. Setting isEnabled to false clears the values of all other policy parameters. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OwnerlessGroupPolicy] + Find more info here: https://learn.microsoft.com/graph/api/ownerlessgrouppolicy-upsert?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -75,7 +77,7 @@ async def patch(self,body: OwnerlessGroupPolicy, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OwnerlessGroupPolicyRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get ownerlessGroupPolicy from policies + Read the properties of an ownerlessGroupPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,7 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: OwnerlessGroupPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the navigation property ownerlessGroupPolicy in policies + Create or update the ownerlessGroupPolicy for the tenant. If the policy doesn't exist, it creates a new one; if the policy exists, it updates the existing policy. To disable the policy, set isEnabled to false. Setting isEnabled to false clears the values of all other policy parameters. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -112,7 +114,7 @@ def with_url(self,raw_url: str) -> OwnerlessGroupPolicyRequestBuilder: @dataclass class OwnerlessGroupPolicyRequestBuilderGetQueryParameters(): """ - Get ownerlessGroupPolicy from policies + Read the properties of an ownerlessGroupPolicy object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/browse_sessions/browse_sessions_request_builder.py b/msgraph/generated/solutions/backup_restore/browse_sessions/browse_sessions_request_builder.py index e97d00af29..c80f76d72e 100644 --- a/msgraph/generated/solutions/backup_restore/browse_sessions/browse_sessions_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/browse_sessions/browse_sessions_request_builder.py @@ -49,9 +49,10 @@ def by_browse_session_base_id(self,browse_session_base_id: str) -> BrowseSession async def get(self,request_configuration: Optional[RequestConfiguration[BrowseSessionsRequestBuilderGetQueryParameters]] = None) -> Optional[BrowseSessionBaseCollectionResponse]: """ - Get browseSessions from solutions + Get a list of the browseSessionBase objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowseSessionBaseCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-browsesessions?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +93,7 @@ async def post(self,body: BrowseSessionBase, request_configuration: Optional[Req def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[BrowseSessionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get browseSessions from solutions + Get a list of the browseSessionBase objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class BrowseSessionsRequestBuilderGetQueryParameters(): """ - Get browseSessions from solutions + Get a list of the browseSessionBase objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/browse_sessions/item/browse_session_base_item_request_builder.py b/msgraph/generated/solutions/backup_restore/browse_sessions/item/browse_session_base_item_request_builder.py index 4ef9ec428d..5860b1eac6 100644 --- a/msgraph/generated/solutions/backup_restore/browse_sessions/item/browse_session_base_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/browse_sessions/item/browse_session_base_item_request_builder.py @@ -64,7 +64,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[BrowseSessionBaseItemRequestBuilderGetQueryParameters]] = None) -> Optional[BrowseSessionBase]: """ - Get browseSessions from solutions + The list of browse sessions in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowseSessionBase] """ @@ -118,7 +118,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[BrowseSessionBaseItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get browseSessions from solutions + The list of browse sessions in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -171,7 +171,7 @@ class BrowseSessionBaseItemRequestBuilderDeleteRequestConfiguration(RequestConfi @dataclass class BrowseSessionBaseItemRequestBuilderGetQueryParameters(): """ - Get browseSessions from solutions + The list of browse sessions in the tenant. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/item/one_drive_for_business_browse_session_item_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/item/one_drive_for_business_browse_session_item_request_builder.py index 5d2edbd501..cb75d996e3 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/item/one_drive_for_business_browse_session_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/item/one_drive_for_business_browse_session_item_request_builder.py @@ -50,9 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters]] = None) -> Optional[OneDriveForBusinessBrowseSession]: """ - Get oneDriveForBusinessBrowseSessions from solutions + Read the properties and relationships of oneDriveForBusinessBrowseSession object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessBrowseSession] + Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessbrowsesession-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -104,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get oneDriveForBusinessBrowseSessions from solutions + Read the properties and relationships of oneDriveForBusinessBrowseSession object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +149,7 @@ class OneDriveForBusinessBrowseSessionItemRequestBuilderDeleteRequestConfigurati @dataclass class OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters(): """ - Get oneDriveForBusinessBrowseSessions from solutions + Read the properties and relationships of oneDriveForBusinessBrowseSession object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/one_drive_for_business_browse_sessions_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/one_drive_for_business_browse_sessions_request_builder.py index 6bb624f60a..009d01ccff 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/one_drive_for_business_browse_sessions_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/one_drive_for_business_browse_sessions_request_builder.py @@ -49,9 +49,10 @@ def by_one_drive_for_business_browse_session_id(self,one_drive_for_business_brow async def get(self,request_configuration: Optional[RequestConfiguration[OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters]] = None) -> Optional[OneDriveForBusinessBrowseSessionCollectionResponse]: """ - Get oneDriveForBusinessBrowseSessions from solutions + Get a list of the oneDriveForBusinessBrowseSession objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessBrowseSessionCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-onedriveforbusinessbrowsesessions?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[OneDrive async def post(self,body: OneDriveForBusinessBrowseSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[OneDriveForBusinessBrowseSession]: """ - Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + Create a new oneDriveForBusinessBrowseSession object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessBrowseSession] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-post-onedriveforbusinessbrowsesessions?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -92,7 +94,7 @@ async def post(self,body: OneDriveForBusinessBrowseSession, request_configuratio def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get oneDriveForBusinessBrowseSessions from solutions + Get a list of the oneDriveForBusinessBrowseSession 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: OneDriveForBusinessBrowseSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + Create a new oneDriveForBusinessBrowseSession 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 OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters(): """ - Get oneDriveForBusinessBrowseSessions from solutions + Get a list of the oneDriveForBusinessBrowseSession objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/granular_drive_restore_artifacts_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/granular_drive_restore_artifacts_request_builder.py index 258195c560..e52f4b20cf 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/granular_drive_restore_artifacts_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/granular_drive_restore_artifacts_request_builder.py @@ -49,9 +49,10 @@ def by_granular_drive_restore_artifact_id(self,granular_drive_restore_artifact_i async def get(self,request_configuration: Optional[RequestConfiguration[GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters]] = None) -> Optional[GranularDriveRestoreArtifactCollectionResponse]: """ - Get granularDriveRestoreArtifacts from solutions + Get a list of the granularDriveRestoreArtifact objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularDriveRestoreArtifactCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessrestoresession-list-granulardriverestoreartifacts?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +93,7 @@ async def post(self,body: GranularDriveRestoreArtifact, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get granularDriveRestoreArtifacts from solutions + Get a list of the granularDriveRestoreArtifact objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters(): """ - Get granularDriveRestoreArtifacts from solutions + Get a list of the granularDriveRestoreArtifact objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/item/granular_drive_restore_artifact_item_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/item/granular_drive_restore_artifact_item_request_builder.py index c8c0075bd8..1841edb9a7 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/item/granular_drive_restore_artifact_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/item/granular_drive_restore_artifact_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters]] = None) -> Optional[GranularDriveRestoreArtifact]: """ - Get granularDriveRestoreArtifacts from solutions + A collection of browse session ID and item key details that can be used to restore OneDrive for work or school files and folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularDriveRestoreArtifact] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get granularDriveRestoreArtifacts from solutions + A collection of browse session ID and item key details that can be used to restore OneDrive for work or school files and folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class GranularDriveRestoreArtifactItemRequestBuilderDeleteRequestConfiguration(R @dataclass class GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters(): """ - Get granularDriveRestoreArtifacts from solutions + A collection of browse session ID and item key details that can be used to restore OneDrive for work or school files and folders. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/one_drive_for_business_restore_sessions_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/one_drive_for_business_restore_sessions_request_builder.py index d1b28c15f6..54314e2d82 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/one_drive_for_business_restore_sessions_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/one_drive_for_business_restore_sessions_request_builder.py @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OneDrive async def post(self,body: OneDriveForBusinessRestoreSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[OneDriveForBusinessRestoreSession]: """ - Create a new oneDriveForBusinessRestoreSession object. + Create a new oneDriveForBusinessRestoreSession object. To create a granular restore session, granular drive restore artifacts must be present in the payload. A request can't include both granularDriveRestoreArtifact and driveRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessRestoreSession] @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: OneDriveForBusinessRestoreSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new oneDriveForBusinessRestoreSession object. + Create a new oneDriveForBusinessRestoreSession object. To create a granular restore session, granular drive restore artifacts must be present in the payload. A request can't include both granularDriveRestoreArtifact and driveRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. 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/solutions/backup_restore/share_point_browse_sessions/item/share_point_browse_session_item_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/item/share_point_browse_session_item_request_builder.py index 46c64f6f25..06c5f16b5b 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/item/share_point_browse_session_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/item/share_point_browse_session_item_request_builder.py @@ -50,9 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[SharePointBrowseSessionItemRequestBuilderGetQueryParameters]] = None) -> Optional[SharePointBrowseSession]: """ - Get sharePointBrowseSessions from solutions + Read the properties and relationships of sharePointBrowseSession object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointBrowseSession] + Find more info here: https://learn.microsoft.com/graph/api/sharepointbrowsesession-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -104,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SharePointBrowseSessionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get sharePointBrowseSessions from solutions + Read the properties and relationships of sharePointBrowseSession object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +149,7 @@ class SharePointBrowseSessionItemRequestBuilderDeleteRequestConfiguration(Reques @dataclass class SharePointBrowseSessionItemRequestBuilderGetQueryParameters(): """ - Get sharePointBrowseSessions from solutions + Read the properties and relationships of sharePointBrowseSession object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/share_point_browse_sessions_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/share_point_browse_sessions_request_builder.py index 9cc5f0d460..90a5e81e12 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/share_point_browse_sessions_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/share_point_browse_sessions_request_builder.py @@ -49,9 +49,10 @@ def by_share_point_browse_session_id(self,share_point_browse_session_id: str) -> async def get(self,request_configuration: Optional[RequestConfiguration[SharePointBrowseSessionsRequestBuilderGetQueryParameters]] = None) -> Optional[SharePointBrowseSessionCollectionResponse]: """ - Get sharePointBrowseSessions from solutions + Get a list of the sharePointBrowseSession objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointBrowseSessionCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-sharepointbrowsesessions?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[SharePoi async def post(self,body: SharePointBrowseSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SharePointBrowseSession]: """ - Create new navigation property to sharePointBrowseSessions for solutions + Create a new sharePointBrowseSession object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointBrowseSession] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-post-sharepointbrowsesessions?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -92,7 +94,7 @@ async def post(self,body: SharePointBrowseSession, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SharePointBrowseSessionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get sharePointBrowseSessions from solutions + Get a list of the sharePointBrowseSession 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: SharePointBrowseSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create new navigation property to sharePointBrowseSessions for solutions + Create a new sharePointBrowseSession 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 SharePointBrowseSessionsRequestBuilderGetQueryParameters(): """ - Get sharePointBrowseSessions from solutions + Get a list of the sharePointBrowseSession objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/granular_site_restore_artifacts_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/granular_site_restore_artifacts_request_builder.py index f169f53317..84426a6f64 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/granular_site_restore_artifacts_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/granular_site_restore_artifacts_request_builder.py @@ -49,9 +49,10 @@ def by_granular_site_restore_artifact_id(self,granular_site_restore_artifact_id: async def get(self,request_configuration: Optional[RequestConfiguration[GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters]] = None) -> Optional[GranularSiteRestoreArtifactCollectionResponse]: """ - Get granularSiteRestoreArtifacts from solutions + Get a list of the granularSiteRestoreArtifact objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularSiteRestoreArtifactCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/sharepointrestoresession-list-granularsiterestoreartifacts?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +93,7 @@ async def post(self,body: GranularSiteRestoreArtifact, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get granularSiteRestoreArtifacts from solutions + Get a list of the granularSiteRestoreArtifact objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters(): """ - Get granularSiteRestoreArtifacts from solutions + Get a list of the granularSiteRestoreArtifact objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/item/granular_site_restore_artifact_item_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/item/granular_site_restore_artifact_item_request_builder.py index b3d7dc3bf6..4c2413753d 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/item/granular_site_restore_artifact_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/item/granular_site_restore_artifact_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters]] = None) -> Optional[GranularSiteRestoreArtifact]: """ - Get granularSiteRestoreArtifacts from solutions + A collection of browse session ID and item key details that can be used to restore SharePoint files and folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularSiteRestoreArtifact] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get granularSiteRestoreArtifacts from solutions + A collection of browse session ID and item key details that can be used to restore SharePoint files and folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class GranularSiteRestoreArtifactItemRequestBuilderDeleteRequestConfiguration(Re @dataclass class GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters(): """ - Get granularSiteRestoreArtifacts from solutions + A collection of browse session ID and item key details that can be used to restore SharePoint files and folders. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py index e87f560260..30f5dcc92a 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py @@ -73,10 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi async def patch(self,body: SharePointRestoreSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SharePointRestoreSession]: """ - Update the navigation property sharePointRestoreSessions in solutions + Update the properties of a sharePointRestoreSession object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointRestoreSession] + Find more info here: https://learn.microsoft.com/graph/api/sharepointrestoresession-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -118,7 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: SharePointRestoreSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the navigation property sharePointRestoreSessions in solutions + Update the properties of a sharePointRestoreSession 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/solutions/backup_restore/share_point_restore_sessions/share_point_restore_sessions_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/share_point_restore_sessions_request_builder.py index 4bd20adc42..3ac9afaeff 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/share_point_restore_sessions_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/share_point_restore_sessions_request_builder.py @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi async def post(self,body: SharePointRestoreSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SharePointRestoreSession]: """ - Create a new sharePointRestoreSession object. + Create a new sharePointRestoreSession object. To create a granular restore session, granular site restore artifacts must be present in the payload. A request can't include both granularSiteRestoreArtifact and siteRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointRestoreSession] @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: SharePointRestoreSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new sharePointRestoreSession object. + Create a new sharePointRestoreSession object. To create a granular restore session, granular site restore artifacts must be present in the payload. A request can't include both granularSiteRestoreArtifact and siteRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. 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/complete_migration/complete_migration_request_builder.py b/msgraph/generated/teams/item/channels/item/complete_migration/complete_migration_request_builder.py index 1e6018989b..4ff7c8c045 100644 --- a/msgraph/generated/teams/item/channels/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/start_migration/start_migration_request_builder.py b/msgraph/generated/teams/item/channels/item/start_migration/start_migration_request_builder.py index c8e803352c..ee409c6132 100644 --- a/msgraph/generated/teams/item/channels/item/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/primary_channel/complete_migration/complete_migration_request_builder.py b/msgraph/generated/teams/item/primary_channel/complete_migration/complete_migration_request_builder.py index fa46ab48fc..bd8e4a63dd 100644 --- a/msgraph/generated/teams/item/primary_channel/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/teams/item/primary_channel/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/teams/item/primary_channel/start_migration/start_migration_request_builder.py b/msgraph/generated/teams/item/primary_channel/start_migration/start_migration_request_builder.py index 57c6e64c27..55400bb116 100644 --- a/msgraph/generated/teams/item/primary_channel/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/teams/item/primary_channel/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/teamwork/deleted_teams/item/channels/item/complete_migration/complete_migration_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/complete_migration/complete_migration_request_builder.py index db98ab65e4..34cfd62263 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/teamwork/deleted_teams/item/channels/item/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/teamwork/deleted_teams/item/channels/item/start_migration/start_migration_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/start_migration/start_migration_request_builder.py index 88acf1337f..b65075a1a2 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/teamwork/deleted_teams/item/channels/item/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/chats/item/complete_migration/complete_migration_request_builder.py b/msgraph/generated/users/item/chats/item/complete_migration/complete_migration_request_builder.py index a642adbf9b..f97220f3af 100644 --- a/msgraph/generated/users/item/chats/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/users/item/chats/item/complete_migration/complete_migration_request_builder.py @@ -31,9 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action completeMigration + Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types. 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/chat-completemigration?view=graph-rest-1.0 """ request_info = self.to_post_request_information( request_configuration @@ -49,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action completeMigration + Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/users/item/chats/item/start_migration/start_migration_request_builder.py b/msgraph/generated/users/item/chats/item/start_migration/start_migration_request_builder.py index 1c76560f9b..0ce71f5124 100644 --- a/msgraph/generated/users/item/chats/item/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/users/item/chats/item/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. 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/chat-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. 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/joined_teams/item/channels/item/complete_migration/complete_migration_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/complete_migration/complete_migration_request_builder.py index 7d5ff02517..7249f1a141 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/users/item/joined_teams/item/channels/item/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/users/item/joined_teams/item/channels/item/start_migration/start_migration_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/start_migration/start_migration_request_builder.py index 953dc30511..3a341c6297 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/users/item/joined_teams/item/channels/item/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/joined_teams/item/primary_channel/complete_migration/complete_migration_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/complete_migration/complete_migration_request_builder.py index 78d54ecc96..8f797cea89 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/users/item/joined_teams/item/primary_channel/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/users/item/joined_teams/item/primary_channel/start_migration/start_migration_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/start_migration/start_migration_request_builder.py index 12523e8ac6..df6c02f85a 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/users/item/joined_teams/item/primary_channel/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/settings/exchange/exchange_request_builder.py b/msgraph/generated/users/item/settings/exchange/exchange_request_builder.py index 528395d027..31b8f1f264 100644 --- a/msgraph/generated/users/item/settings/exchange/exchange_request_builder.py +++ b/msgraph/generated/users/item/settings/exchange/exchange_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[ExchangeRequestBuilderGetQueryParameters]] = None) -> Optional[ExchangeSettings]: """ - Get exchange from users + Get a list of Exchange mailboxes that belong to a user. Currently, the mailbox types supported are the user's primary mailbox and shared mailboxes. To learn how to get a list of users in a tenant, see List users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExchangeSettings] + Find more info here: https://learn.microsoft.com/graph/api/usersettings-list-exchange?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Exchange def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ExchangeRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get exchange from users + Get a list of Exchange mailboxes that belong to a user. Currently, the mailbox types supported are the user's primary mailbox and shared mailboxes. To learn how to get a list of users in a tenant, see List users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> ExchangeRequestBuilder: @dataclass class ExchangeRequestBuilderGetQueryParameters(): """ - Get exchange from users + Get a list of Exchange mailboxes that belong to a user. Currently, the mailbox types supported are the user's primary mailbox and shared mailboxes. To learn how to get a list of users in a tenant, see List users. """ def get_query_parameter(self,original_name: str) -> str: """ From 9d3a8c83e6ffc44ae44b0131de212b47b7980809 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Tue, 19 May 2026 18:24:22 +0000 Subject: [PATCH 5/9] feat: drop Python 3.9 and add Python 3.14 support across packaging, CI, and docs (#1481) * Initial plan * feat: drop Python 3.9 support metadata and CI matrix Agent-Logs-Url: https://github.com/microsoftgraph/msgraph-sdk-python/sessions/b149b291-3ae9-47a9-9cdd-311077bdd577 Co-authored-by: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> * feat: add Python 3.14 support in metadata and workflows Agent-Logs-Url: https://github.com/microsoftgraph/msgraph-sdk-python/sessions/f0db838f-31e8-4ad7-b9ba-e9f18571910d Co-authored-by: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> * chore: set devcontainer python image to 3.14 Agent-Logs-Url: https://github.com/microsoftgraph/msgraph-sdk-python/sessions/9d2334e8-1034-4309-925b-95d702a548bb Co-authored-by: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> --- .devcontainer/devcontainer.json | 5 ++--- .github/workflows/build.yml | 3 +-- .github/workflows/publish.yml | 2 +- README.md | 1 + pyproject.toml | 4 ++-- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 910000f8d7..8df3ab61ab 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,13 +3,12 @@ { "name": "Python 3", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - // "image": "mcr.microsoft.com/devcontainers/python:3.9-bookworm", // "image": "mcr.microsoft.com/devcontainers/python:3.10-bookworm", // "image": "mcr.microsoft.com/devcontainers/python:3.11-bookworm", // "image": "mcr.microsoft.com/devcontainers/python:3.12-bookworm", // "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye", - //"image": "mcr.microsoft.com/devcontainers/python:3.13-bookworm", - "image": "mcr.microsoft.com/devcontainers/python:3.13-bullseye", + //"image": "mcr.microsoft.com/devcontainers/python:3.14-bookworm", + "image": "mcr.microsoft.com/devcontainers/python:3.14-bullseye", "features": { "ghcr.io/hspaans/devcontainer-features/pytest:1": {}, diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e7327dae35..48715f401d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: strategy: max-parallel: 5 matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} @@ -42,4 +42,3 @@ jobs: - name: One or more build matrix options failed if: ${{ contains(needs.*.result, 'failure') }} run: exit 1 - diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 086867049f..a82b5360cc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: 3.13 + python-version: 3.14 - name: Install flit run: | pip install flit diff --git a/README.md b/README.md index 53742b30dc..6e20980cbd 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ pip install msgraph-sdk > **Note:** > +> * This library supports Python 3.10+. > * The Microsoft Graph SDK for Python is a fairly large package. It may take a few minutes for the initial installation to complete. > * Enable long paths in your environment if you receive a `Could not install packages due to an OSError`. For details, see [Enable Long Paths in Windows 10, Version 1607, and Later](https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell#enable-long-paths-in-windows-10-version-1607-and-later). diff --git a/pyproject.toml b/pyproject.toml index 9a5d80edfa..86fdae293f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,18 +19,18 @@ dependencies = [ "msgraph_core >=1.3.1" ] -requires-python = ">=3.9" +requires-python = ">=3.10" license = "MIT" license-files = ["LICENSE"] readme = "README.md" keywords = ["msgraph", "openAPI", "Microsoft", "Graph"] classifiers = [ "Development Status :: 5 - Production/Stable", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] [project.optional-dependencies] From 3f999a361e81463df1c00dd0f56e29dbba3c95bd Mon Sep 17 00:00:00 2001 From: Gavin Barron Date: Wed, 20 May 2026 09:30:39 -0700 Subject: [PATCH 6/9] chore(deps-dev): consolidate dependabot dependency updates (#1491) * chore(deps-dev): bump idna from 3.11 to 3.15 Bumps [idna](https://github.com/kjd/idna) from 3.11 to 3.15. - [Release notes](https://github.com/kjd/idna/releases) - [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md) - [Commits](https://github.com/kjd/idna/compare/v3.11...v3.15) --- updated-dependencies: - dependency-name: idna dependency-version: '3.15' dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * chore(deps-dev): bump importlib-metadata from 8.5.0 to 9.0.0 Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 8.5.0 to 9.0.0. - [Release notes](https://github.com/python/importlib_metadata/releases) - [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst) - [Commits](https://github.com/python/importlib_metadata/compare/v8.5.0...v9.0.0) --- updated-dependencies: - dependency-name: importlib-metadata dependency-version: 8.7.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * chore(deps-dev): bump the open-telemetry group across 1 directory with 3 updates Bumps the open-telemetry group with 3 updates in the / directory: [opentelemetry-api](https://github.com/open-telemetry/opentelemetry-python), [opentelemetry-sdk](https://github.com/open-telemetry/opentelemetry-python) and [opentelemetry-semantic-conventions](https://github.com/open-telemetry/opentelemetry-python). Updates `opentelemetry-api` from 1.41.0 to 1.42.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-python/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-python/blob/v1.42.0/CHANGELOG.md) - [Commits](https://github.com/open-telemetry/opentelemetry-python/compare/v1.41.0...v1.42.0) Updates `opentelemetry-sdk` from 1.41.0 to 1.42.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-python/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-python/blob/v1.42.0/CHANGELOG.md) - [Commits](https://github.com/open-telemetry/opentelemetry-python/compare/v1.41.0...v1.42.0) Updates `opentelemetry-semantic-conventions` from 0.62b0 to 0.63b0 - [Release notes](https://github.com/open-telemetry/opentelemetry-python/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/open-telemetry/opentelemetry-python/commits) --- updated-dependencies: - dependency-name: opentelemetry-api dependency-version: 1.41.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: open-telemetry - dependency-name: opentelemetry-sdk dependency-version: 1.41.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: open-telemetry - dependency-name: opentelemetry-semantic-conventions dependency-version: 0.62b1 dependency-type: direct:development dependency-group: open-telemetry ... Signed-off-by: dependabot[bot] * chore(deps-dev): bump requests from 2.32.5 to 2.33.0 Bumps [requests](https://github.com/psf/requests) from 2.32.5 to 2.33.0. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.32.5...v2.33.0) --- updated-dependencies: - dependency-name: requests dependency-version: 2.33.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] * chore(deps-dev): bump urllib3 from 2.6.3 to 2.7.0 Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.6.3 to 2.7.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/2.6.3...2.7.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.7.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-dev.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 51693a144f..63d0d97c73 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -26,8 +26,8 @@ hpack==4.1.0 httpcore==1.0.9 httpx==0.28.1 hyperframe==6.1.0 -idna==3.11 -importlib-metadata==8.5.0 +idna==3.15 +importlib-metadata==9.0.0 isort==6.1.0 lazy-object-proxy==1.12.0 lexid==2021.1006 @@ -46,9 +46,9 @@ msgraph-core==1.3.8 multidict==6.7.1 mypy==1.19.1 mypy-extensions==1.1.0 -opentelemetry-api==1.41.0 -opentelemetry-sdk==1.41.0 -opentelemetry-semantic-conventions==0.62b0 +opentelemetry-api==1.42.0 +opentelemetry-sdk==1.42.0 +opentelemetry-semantic-conventions==0.63b0 packaging==26.1 pathlib2==2.3.7.post1 platformdirs==4.4.0 @@ -58,7 +58,7 @@ PyJWT==2.12.1 pylint==3.3.9 pyproject_hooks==1.2.0 python-dateutil==2.9.0.post0 -requests==2.32.5 +requests==2.33.0 six==1.17.0 sniffio==1.3.1 std-uritemplate>=2.0.0 @@ -70,7 +70,7 @@ tomlkit==0.14.0 typing_extensions==4.15.0 tzdata==2026.1 uritemplate==4.2.0 -urllib3==2.6.3 +urllib3==2.7.0 wrapt==1.17.3 yapf==0.43.0 yarl==1.22.0 From e13b24ac56a4accda4efb8ee082f46cb0ca9658c Mon Sep 17 00:00:00 2001 From: Gavin Barron Date: Wed, 20 May 2026 11:00:49 -0700 Subject: [PATCH 7/9] chore(deps): consolidate dependabot dependency updates (#1499) * chore(deps-dev): bump pycparser from 2.23 to 3.0 Bumps [pycparser](https://github.com/eliben/pycparser) from 2.23 to 3.0. - [Release notes](https://github.com/eliben/pycparser/releases) - [Commits](https://github.com/eliben/pycparser/compare/release_v2.23...release_v3.00) --- updated-dependencies: - dependency-name: pycparser dependency-version: '3.0' dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore(deps-dev): bump requests from 2.33.0 to 2.34.2 Bumps [requests](https://github.com/psf/requests) from 2.33.0 to 2.34.2. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.33.0...v2.34.2) --- updated-dependencies: - dependency-name: requests dependency-version: 2.34.2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * chore(deps): bump the kiota group across 1 directory with 7 updates Bumps the kiota group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [microsoft-kiota-serialization-json](https://github.com/microsoft/kiota-python) | `1.9.10` | `1.10.1` | | [microsoft-kiota-serialization-text](https://github.com/microsoft/kiota-python) | `1.9.10` | `1.10.1` | | [microsoft-kiota-serialization-form](https://github.com/microsoft/kiota-python) | `1.9.10` | `1.10.1` | | [microsoft-kiota-serialization-multipart](https://github.com/microsoft/kiota-python) | `1.9.10` | `1.10.1` | | [microsoft-kiota-abstractions](https://github.com/microsoft/kiota-python) | `1.9.10` | `1.10.1` | | [microsoft-kiota-authentication-azure](https://github.com/microsoft/kiota-python) | `1.9.10` | `1.10.1` | | [microsoft-kiota-http](https://github.com/microsoft/kiota-python) | `1.9.10` | `1.10.1` | Updates `microsoft-kiota-serialization-json` from 1.9.10 to 1.10.1 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-json-v1.9.10...microsoft-kiota-serialization-json-v1.10.1) Updates `microsoft-kiota-serialization-text` from 1.9.10 to 1.10.1 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-text-v1.9.10...microsoft-kiota-serialization-text-v1.10.1) Updates `microsoft-kiota-serialization-form` from 1.9.10 to 1.10.1 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-form-v1.9.10...microsoft-kiota-serialization-form-v1.10.1) Updates `microsoft-kiota-serialization-multipart` from 1.9.10 to 1.10.1 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-multipart-v1.9.10...microsoft-kiota-serialization-multipart-v1.10.1) Updates `microsoft-kiota-abstractions` from 1.9.10 to 1.10.1 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-abstractions-v1.9.10...microsoft-kiota-abstractions-v1.10.1) Updates `microsoft-kiota-authentication-azure` from 1.9.10 to 1.10.1 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-authentication-azure-v1.9.10...microsoft-kiota-authentication-azure-v1.10.1) Updates `microsoft-kiota-http` from 1.9.10 to 1.10.1 - [Release notes](https://github.com/microsoft/kiota-python/releases) - [Commits](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-http-v1.9.10...microsoft-kiota-http-v1.10.1) --- updated-dependencies: - dependency-name: microsoft-kiota-abstractions dependency-version: 1.10.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: kiota - dependency-name: microsoft-kiota-authentication-azure dependency-version: 1.10.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: kiota - dependency-name: microsoft-kiota-http dependency-version: 1.10.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: kiota - dependency-name: microsoft-kiota-serialization-form dependency-version: 1.10.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kiota - dependency-name: microsoft-kiota-serialization-json dependency-version: 1.10.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kiota - dependency-name: microsoft-kiota-serialization-multipart dependency-version: 1.10.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kiota - dependency-name: microsoft-kiota-serialization-text dependency-version: 1.10.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kiota ... Signed-off-by: dependabot[bot] * chore(deps-dev): bump azure-core Bumps the azure-identity group with 1 update in the / directory: [azure-core](https://github.com/Azure/azure-sdk-for-python). Updates `azure-core` from 1.39.0 to 1.41.0 - [Release notes](https://github.com/Azure/azure-sdk-for-python/releases) - [Commits](https://github.com/Azure/azure-sdk-for-python/compare/azure-core_1.39.0...azure-core_1.41.0) --- updated-dependencies: - dependency-name: azure-core dependency-version: 1.41.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: azure-identity ... Signed-off-by: dependabot[bot] * chore(deps-dev): bump pylint from 3.3.9 to 4.0.5 (without astroid update) * chore(deps-dev): bump astroid from 3.3.11 to 4.0.2 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-dev.txt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 63d0d97c73..c4bfa10819 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,10 +1,10 @@ aiohttp==3.13.5 aiosignal==1.4.0 anyio==4.12.1 -astroid==3.3.11 +astroid==4.0.2 async-timeout==5.0.1 attrs==26.1.0 -azure-core==1.39.0 +azure-core==1.41.0 azure-identity==1.25.3 build==1.4.3 bumpver==2025.1131 @@ -33,13 +33,13 @@ lazy-object-proxy==1.12.0 lexid==2021.1006 looseversion==1.3.0 mccabe==0.7.0 -microsoft-kiota-abstractions==1.9.10 -microsoft-kiota-authentication-azure==1.9.10 -microsoft-kiota-http==1.9.10 -microsoft-kiota-serialization-form==1.9.10 -microsoft-kiota-serialization-json==1.9.10 -microsoft-kiota-serialization-multipart==1.9.10 -microsoft-kiota-serialization-text==1.9.10 +microsoft-kiota-abstractions==1.10.1 +microsoft-kiota-authentication-azure==1.10.1 +microsoft-kiota-http==1.10.1 +microsoft-kiota-serialization-form==1.10.1 +microsoft-kiota-serialization-json==1.10.1 +microsoft-kiota-serialization-multipart==1.10.1 +microsoft-kiota-serialization-text==1.10.1 msal==1.36.0 msal-extensions==1.3.1 msgraph-core==1.3.8 @@ -53,12 +53,12 @@ packaging==26.1 pathlib2==2.3.7.post1 platformdirs==4.4.0 portalocker==2.10.1 -pycparser==2.23 +pycparser==3.0 PyJWT==2.12.1 -pylint==3.3.9 +pylint==4.0.5 pyproject_hooks==1.2.0 python-dateutil==2.9.0.post0 -requests==2.33.0 +requests==2.34.2 six==1.17.0 sniffio==1.3.1 std-uritemplate>=2.0.0 From 3381e7de94f51f90bad796e37c2a4f35eb2e78fb Mon Sep 17 00:00:00 2001 From: Ramses Sanchez-Hernandez <63934382+ramsessanchez@users.noreply.github.com> Date: Wed, 20 May 2026 13:55:01 -0700 Subject: [PATCH 8/9] chore(deps): Update msgraph-core version to 1.4.0 (#1501) --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index c4bfa10819..4e8f402c05 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -42,7 +42,7 @@ microsoft-kiota-serialization-multipart==1.10.1 microsoft-kiota-serialization-text==1.10.1 msal==1.36.0 msal-extensions==1.3.1 -msgraph-core==1.3.8 +msgraph-core==1.4.0 multidict==6.7.1 mypy==1.19.1 mypy-extensions==1.1.0 From c83cc2f50970bb59403c2337cdfea93f3dcfa81b Mon Sep 17 00:00:00 2001 From: "release-please-token-provider[bot]" <225477224+release-please-token-provider[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 22:28:33 +0000 Subject: [PATCH 9/9] chore(main): release 1.58.0 (#1484) Co-authored-by: release-please-token-provider[bot] <225477224+release-please-token-provider[bot]@users.noreply.github.com> Co-authored-by: Ramses Sanchez-Hernandez <63934382+ramsessanchez@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ msgraph/_version.py | 2 +- pyproject.toml | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 40ab7b0d12..7c1b086285 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.57.0" + ".": "1.58.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 0002cb6493..37fa9b79a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. +## [1.58.0](https://github.com/microsoftgraph/msgraph-sdk-python/compare/v1.57.0...v1.58.0) (2026-05-20) + + +### Features + +* drop Python 3.9 and add Python 3.14 support across packaging, CI, and docs ([#1481](https://github.com/microsoftgraph/msgraph-sdk-python/issues/1481)) ([9d3a8c8](https://github.com/microsoftgraph/msgraph-sdk-python/commit/9d3a8c83e6ffc44ae44b0131de212b47b7980809)) +* **generation:** update request builders and models ([#1483](https://github.com/microsoftgraph/msgraph-sdk-python/issues/1483)) ([c8fd694](https://github.com/microsoftgraph/msgraph-sdk-python/commit/c8fd694c7efcd1394c5e14591f5cd6d0799d84ee)) + ## [1.57.0](https://github.com/microsoftgraph/msgraph-sdk-python/compare/v1.56.0...v1.57.0) (2026-05-05) diff --git a/msgraph/_version.py b/msgraph/_version.py index 3b1516cce0..b91bca9ad2 100644 --- a/msgraph/_version.py +++ b/msgraph/_version.py @@ -1,4 +1,4 @@ # The SDK version # x-release-please-start-version -VERSION: str = '1.57.0' +VERSION: str = '1.58.0' # x-release-please-end diff --git a/pyproject.toml b/pyproject.toml index 86fdae293f..3c7208ccb2 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.57.0" +version = "1.58.0" # x-release-please-end authors = [{name = "Microsoft", email = "graphtooling+python@microsoft.com"}] description = "The Microsoft Graph Python SDK"