diff --git a/.azure-pipelines/ci-build.yml b/.azure-pipelines/ci-build.yml index 8f06f838906..cb2182cab3e 100644 --- a/.azure-pipelines/ci-build.yml +++ b/.azure-pipelines/ci-build.yml @@ -2,9 +2,6 @@ # Licensed under the MIT License. name: $(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r) trigger: - branches: - include: - - main paths: include: - src/* @@ -24,10 +21,7 @@ resources: extends: template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates parameters: - pool: - name: Azure-Pipelines-1ESPT-ExDShared - image: windows-latest - os: windows + pool: 1es-windows-ps-compute-m sdl: git: # Customize checkout to enable longpaths in git for the paralled sdl https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/sdlanalysis/sourceanalysisstage longpaths: true @@ -55,16 +49,19 @@ extends: - pwsh: git config --system core.longpaths true displayName: 'Enable long paths in git' - checkout: self + - task: UseDotNet@2 - displayName: 'Use .NET 8.x sdk' + displayName: 'Use .NET 8 sdk' inputs: packageType: sdk version: 8.x + - task: UseDotNet@2 - displayName: 'Use .NET 6.x (for code signing tasks)' + displayName: 'Use .NET 10 sdk' inputs: packageType: sdk - version: 6.x + version: 10.x + - task: DotNetCoreCLI@2 displayName: 'dotnet restore' inputs: @@ -89,21 +86,42 @@ extends: Write-Host "Updated the .csproj files so that we can sign the built assemblies." workingDirectory: src displayName: 'Set project ready to sign' + + # Build each TFM sequentially to avoid OOM kills on the build agent. + # Building all TFMs in parallel exhausts memory on standard runners (exit code 137). - task: DotNetCoreCLI@2 - displayName: 'Build project' + displayName: 'dotnet build netstandard2.0' inputs: projects: '$(Build.SourcesDirectory)\src\Microsoft.Graph\Microsoft.Graph.csproj' - arguments: '-c $(BuildConfiguration) --no-incremental --no-restore' + arguments: '-c $(BuildConfiguration) --no-incremental -f netstandard2.0 --no-restore' - task: DotNetCoreCLI@2 - displayName: 'Build test project' + displayName: 'dotnet build netstandard2.1' + inputs: + projects: '$(Build.SourcesDirectory)\src\Microsoft.Graph\Microsoft.Graph.csproj' + arguments: '-c $(BuildConfiguration) --no-incremental -f netstandard2.1 --no-restore' + - task: DotNetCoreCLI@2 + displayName: 'dotnet build net8.0' + inputs: + projects: '$(Build.SourcesDirectory)\src\Microsoft.Graph\Microsoft.Graph.csproj' + arguments: '-c $(BuildConfiguration) --no-incremental -f net8.0 --no-restore' + - task: DotNetCoreCLI@2 + displayName: 'dotnet build net10.0' + inputs: + projects: '$(Build.SourcesDirectory)\src\Microsoft.Graph\Microsoft.Graph.csproj' + arguments: '-c $(BuildConfiguration) --no-incremental -f net10.0 --no-restore' + + - task: DotNetCoreCLI@2 + displayName: 'dotnet build test project' inputs: projects: '$(Build.SourcesDirectory)\tests\Microsoft.Graph.DotnetCore.Test\Microsoft.Graph.DotnetCore.Test.csproj' arguments: '-c $(BuildConfiguration) --no-incremental --no-restore' + - task: DotNetCoreCLI@2 displayName: 'run tests' inputs: command: 'test' arguments: '--configuration $(BuildConfiguration) --verbosity normal --no-build' + - task: PowerShell@2 displayName: 'Validate updated version' condition: and(contains(variables['build.sourceBranch'], 'refs/heads/main'), succeeded()) diff --git a/.azure-pipelines/daily-ci-build.yml b/.azure-pipelines/daily-ci-build.yml new file mode 100644 index 00000000000..4628059a651 --- /dev/null +++ b/.azure-pipelines/daily-ci-build.yml @@ -0,0 +1,61 @@ +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 .NET SDK + steps: + - checkout: self + submodules: recursive + + - task: UseDotNet@2 + displayName: Set up .NET + inputs: + packageType: 'sdk' + version: '8.x' + + - script: dotnet restore Microsoft.Graph.sln + displayName: Restore dependencies + workingDirectory: $(Build.SourcesDirectory) + + - script: dotnet build Microsoft.Graph.sln --no-restore + displayName: Build SDK + workingDirectory: $(Build.SourcesDirectory) + + - script: dotnet test Microsoft.Graph.sln --no-build + displayName: Run unit tests + workingDirectory: $(Build.SourcesDirectory) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index aa437fcc995..984837b5dcf 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -1 +1,29 @@ This repository is used to capture generated code files. The code files are generated using microsoft/kiota. The primary purpose of the copilot reviewer is to identify any changes that can cause a regressions for an application that uses this library. You are required to create a comment anytime a code change occurs that changes an APIs signature in a way that is not additive. + +- Use only tools, commands, and workflows that are available in this repository's context. +- Do not instruct contributors or users to enable external tools that are not defined or documented in this repository. +- When reviewing changes, prioritize identifying regressions and non-additive API signature changes in generated code. + +## Commit Messages + +Always use conventional commit format: +- Format: `(): ` +- Types: feat, fix, build, chore, ci, docs, style, refactor, perf, test +- Keep subject line under 72 characters +- Use imperative mood ("add" not "added") + +Use conventional commits with these types: +- `feat:` - New features or capabilities +- `fix:` - Bug fixes +- `build:` - Build system or dependency changes +- `ci:` - CI/CD pipeline changes +- `docs:` - Documentation only changes +- `refactor:` - Code changes that neither fix bugs nor add features +- `test:` - Adding or updating tests +- `chore:` - Maintenance tasks + +Examples: +- `feat(users): add user profile endpoint` +- `fix(auth): resolve token refresh bug` +- `build: update .NET SDK to version 10.x` +- `docs: clarify authentication requirements` \ No newline at end of file diff --git a/.github/workflows/validatePullRequest.yml b/.github/workflows/validatePullRequest.yml index f17f218cf6a..f3304396cad 100644 --- a/.github/workflows/validatePullRequest.yml +++ b/.github/workflows/validatePullRequest.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v6 - name: Setup .NET - uses: actions/setup-dotnet@v5.2.0 + uses: actions/setup-dotnet@v5.3.0 with: dotnet-version: 8.x - name: Initialize CodeQL diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e6d9130b17b..448d89e017b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.105.0" + ".": "6.2.0" } diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000000..a33887447e4 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "azure-pipelines.1ESPipelineTemplatesSchemaFile": true +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 65f86fc0e00..e1f41bd3a06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,64 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [6.2.0](https://github.com/microsoftgraph/msgraph-sdk-dotnet/compare/6.1.0...6.2.0) (2026-06-05) + + +### Features + +* **generation:** update request builders and models ([802d755](https://github.com/microsoftgraph/msgraph-sdk-dotnet/commit/802d755dbd55b34493e219c417e52cae2c0b3d06)) + +## [6.1.0](https://github.com/microsoftgraph/msgraph-sdk-dotnet/compare/6.0.3...6.1.0) (2026-05-20) + + +### Features + +* **generation:** update request builders and models ([#3128](https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/3128)) ([11bd3af](https://github.com/microsoftgraph/msgraph-sdk-dotnet/commit/11bd3afa8736af747339fb3157e057dd668cadd2)) + + +### Bug Fixes + +* ItemWithPath now throws instead of generating malformed URLs with nullish path values ([#3072](https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/3072)) ([a22256b](https://github.com/microsoftgraph/msgraph-sdk-dotnet/commit/a22256bed3cc3ccc4e16d0d6bcf493403c936afc)) + +## [6.0.3](https://github.com/microsoftgraph/msgraph-sdk-dotnet/compare/6.0.2...6.0.3) (2026-05-14) + + +### Build System + +* pool with larger mem sku ([#3124](https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/3124)) ([a9881e4](https://github.com/microsoftgraph/msgraph-sdk-dotnet/commit/a9881e4719db4d562e7c63ed08768a4cd0030fe8)) + +## [6.0.2](https://github.com/microsoftgraph/msgraph-sdk-dotnet/compare/6.0.1...6.0.2) (2026-05-14) + + +### Build System + +* TFM sequentially ([#3119](https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/3119)) ([52e30a4](https://github.com/microsoftgraph/msgraph-sdk-dotnet/commit/52e30a46477cda75bc696716505becbd09b67c94)) + +## [6.0.1](https://github.com/microsoftgraph/msgraph-sdk-dotnet/compare/6.0.0...6.0.1) (2026-05-13) + + +### Build System + +* update azure pipeline ([#3117](https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/3117)) ([d388a63](https://github.com/microsoftgraph/msgraph-sdk-dotnet/commit/d388a63c8eb36b2fa6a3d549feba89ae8331f92d)) + +## [6.0.0](https://github.com/microsoftgraph/msgraph-sdk-dotnet/compare/5.105.0...6.0.0) (2026-05-12) + + +### ⚠ BREAKING CHANGES + +* **deps:** update microsoft-graph-core to 4.x +* Dropped net5.0 target framework. The SDK now targets netstandard2.0, netstandard2.1, net8.0, and net10.0. Consumers targeting net5.0 must upgrade to net8.0 or later. + +### Features + +* **generation:** update request builders and models ([295bde7](https://github.com/microsoftgraph/msgraph-sdk-dotnet/commit/295bde7ec2da0173192f99390ddb3a8b5272d55d)) +* update target frameworks to net8.0 and net10.0, drop net5.0 ([#3096](https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/3096)) ([a383774](https://github.com/microsoftgraph/msgraph-sdk-dotnet/commit/a383774098485229a3ca2952cdf0c736f61785d1)) + + +### Miscellaneous Chores + +* **deps:** update microsoft-graph-core to 4.x ([f05de16](https://github.com/microsoftgraph/msgraph-sdk-dotnet/commit/f05de161059d9af2a19537cb4a46287790789353)) + ## [5.105.0](https://github.com/microsoftgraph/msgraph-sdk-dotnet/compare/5.104.0...5.105.0) (2026-04-24) diff --git a/src/Microsoft.Graph/Extensions/DriveItemRequestBuilderExtensions.cs b/src/Microsoft.Graph/Extensions/DriveItemRequestBuilderExtensions.cs index 4dec45ad515..874e8a267ec 100644 --- a/src/Microsoft.Graph/Extensions/DriveItemRequestBuilderExtensions.cs +++ b/src/Microsoft.Graph/Extensions/DriveItemRequestBuilderExtensions.cs @@ -44,14 +44,7 @@ public static class DriveItemRequestBuilderExtensions /// public static CustomDriveItemItemRequestBuilder ItemWithPath(this Microsoft.Graph.Drives.Item.Root.RootRequestBuilder rootRequestBuilder, string path) { - if (!string.IsNullOrEmpty(path)) - { - if (!path.StartsWith("/")) - { - path = string.Format("/{0}", path); - } - } - + path = NormalizePathOrThrow(path); var requestInformation = rootRequestBuilder.ToGetRequestInformation(); // Encode the path in accordance with the one drive spec // https://docs.microsoft.com/en-us/onedrive/developer/rest-api/concepts/addressing-driveitems @@ -67,14 +60,7 @@ public static CustomDriveItemItemRequestBuilder ItemWithPath(this Microsoft.Grap /// public static CustomDriveItemItemRequestBuilder ItemWithPath(this Microsoft.Graph.Drives.Item.Items.Item.DriveItemItemRequestBuilder rootRequestBuilder, string path) { - if (!string.IsNullOrEmpty(path)) - { - if (!path.StartsWith("/")) - { - path = string.Format("/{0}", path); - } - } - + path = NormalizePathOrThrow(path); var requestInformation = rootRequestBuilder.ToGetRequestInformation(); // Encode the path in accordance with the one drive spec // https://docs.microsoft.com/en-us/onedrive/developer/rest-api/concepts/addressing-driveitems @@ -84,6 +70,17 @@ public static CustomDriveItemItemRequestBuilder ItemWithPath(this Microsoft.Grap return new CustomDriveItemItemRequestBuilder(rootRequestBuilder.GetPathParameters(), rootRequestBuilder.GetRequestAdapter(),rootRequestBuilder.GetUrlTemplate().Replace("{driveItem%2Did}",$"{{driveItem%2Did}}:{parameter}:")); } + private static string NormalizePathOrThrow(string path) + { + if (path is null) + throw new ArgumentNullException(nameof(path)); + if (string.IsNullOrWhiteSpace(path)) + throw new ArgumentException("path cannot be empty or whitespace.", nameof(path)); + if (!path.StartsWith("/", StringComparison.Ordinal)) + path = string.Format("/{0}", path); + return path; + } + private static IRequestAdapter GetRequestAdapter(this object obj) { var field = obj.GetType() .BaseType! diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/CreateImportSession/CreateImportSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/CreateImportSession/CreateImportSessionRequestBuilder.cs index 8024f092d73..de33fae17d1 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/CreateImportSession/CreateImportSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/CreateImportSession/CreateImportSessionRequestBuilder.cs @@ -35,7 +35,8 @@ public CreateImportSessionRequestBuilder(string rawUrl, IRequestAdapter requestA { } /// - /// Invoke action createImportSession + /// Create a session to import an Exchange mailbox item that was exported using the exportItems API. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public CreateImportSessionRequestBuilder(string rawUrl, IRequestAdapter requestA return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxItemImportSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action createImportSession + /// Create a session to import an Exchange mailbox item that was exported using the exportItems API. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsRequestBuilder.cs index dce15edfc31..8d68bc7c100 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsRequestBuilder.cs @@ -34,7 +34,8 @@ public ExportItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// 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. + /// Find more info here /// /// A /// The request body @@ -59,7 +60,8 @@ public ExportItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// Find more info here /// /// A /// The request body @@ -85,7 +87,7 @@ public ExportItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaRequestBuilder.cs index 64741c76005..aa100b40d7a 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// 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. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -57,7 +58,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -81,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -109,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs index 0c4529a1708..80444b242b9 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs @@ -60,7 +60,8 @@ public FoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Get folders from admin + /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -83,7 +84,7 @@ public FoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get folders from admin + /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +112,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get folders from admin + /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FoldersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index e946dd9cddc..6d914facbc1 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -60,7 +60,8 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get childFolders from admin + /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -83,7 +84,7 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get childFolders from admin + /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +112,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get childFolders from admin + /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ChildFoldersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs index 77a9803434d..330dae49405 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// 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. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -57,7 +58,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -81,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -109,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaRequestBuilder.cs index 5e107d3726e..29bf07478a8 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// 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. /// /// A /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Cancellation token to use when cancelling requests @@ -81,7 +81,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -109,7 +109,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilder.cs index 708513ab850..35605a56583 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilder.cs @@ -35,7 +35,7 @@ public MailboxItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Get items from admin + /// The collection of items in this folder. /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +58,7 @@ public MailboxItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get items from admin + /// The collection of items in this folder. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get items from admin + /// The collection of items in this folder. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MailboxItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/ItemsRequestBuilder.cs index 3a67afe5c8d..0e85de292f7 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/ItemsRequestBuilder.cs @@ -60,7 +60,7 @@ public ItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get items from admin + /// The collection of items in this folder. /// /// A /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public ItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get items from admin + /// The collection of items in this folder. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get items from admin + /// The collection of items in this folder. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/MailboxFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/MailboxFolderItemRequestBuilder.cs index a47f06de55a..e0b4e14d143 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/MailboxFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/MailboxFolderItemRequestBuilder.cs @@ -41,7 +41,7 @@ public MailboxFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Get childFolders from admin + /// The collection of child folders in this folder. /// /// A /// Cancellation token to use when cancelling requests @@ -64,7 +64,7 @@ public MailboxFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get childFolders from admin + /// The collection of child folders in this folder. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -92,7 +92,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get childFolders from admin + /// The collection of child folders in this folder. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MailboxFolderItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaRequestBuilder.cs index 9636c257f1d..03f5ae3a7ce 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// 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. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -57,7 +58,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -81,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -109,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilder.cs index 059ff53f044..81402232042 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilder.cs @@ -35,7 +35,8 @@ public MailboxItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Get items from admin + /// Read the properties and relationships of a mailboxItem object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public MailboxItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get items from admin + /// Read the properties and relationships of a mailboxItem object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +87,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get items from admin + /// Read the properties and relationships of a mailboxItem object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MailboxItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/ItemsRequestBuilder.cs index 05cb66f2dc6..bc49c29152e 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/ItemsRequestBuilder.cs @@ -60,7 +60,8 @@ public ItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get items from admin + /// Get the mailboxItem collection within a specified mailboxFolder in a mailbox. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -83,7 +84,7 @@ public ItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get items from admin + /// Get the mailboxItem collection within a specified mailboxFolder in a mailbox. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +112,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get items from admin + /// Get the mailboxItem collection within a specified mailboxFolder in a mailbox. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/MailboxFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/MailboxFolderItemRequestBuilder.cs index 8578dcaa2bc..c665d20c09f 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/MailboxFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/MailboxFolderItemRequestBuilder.cs @@ -47,7 +47,8 @@ public MailboxFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Get folders from admin + /// Read the properties and relationships of a mailboxFolder object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -70,7 +71,7 @@ public MailboxFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get folders from admin + /// Read the properties and relationships of a mailboxFolder object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -98,7 +99,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get folders from admin + /// Read the properties and relationships of a mailboxFolder object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MailboxFolderItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/MailboxItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/MailboxItemRequestBuilder.cs index c76513e676c..1ca3fd010c2 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/MailboxItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/MailboxItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action - /// Get mailboxes from admin + /// Represents a user's mailboxes. /// /// A /// Cancellation token to use when cancelling requests @@ -142,7 +142,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get mailboxes from admin + /// Represents a user's mailboxes. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -200,7 +200,7 @@ public partial class MailboxItemRequestBuilderDeleteRequestConfiguration : Reque { } /// - /// Get mailboxes from admin + /// Represents a user's mailboxes. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MailboxItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/MailboxesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/MailboxesRequestBuilder.cs index b94def50cd4..800500599e1 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/MailboxesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/MailboxesRequestBuilder.cs @@ -54,7 +54,7 @@ public MailboxesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Get mailboxes from admin + /// Represents a user's mailboxes. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public MailboxesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Mailbox.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get mailboxes from admin + /// Represents a user's mailboxes. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.MailboxesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get mailboxes from admin + /// Represents a user's mailboxes. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MailboxesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs index 535a72ad964..e19797c829f 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs @@ -34,6 +34,7 @@ public ArchivePostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs index 29b132f7674..570563049a6 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs @@ -34,6 +34,7 @@ public FavoritePostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs index 236070f90f6..3077932c26d 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs @@ -34,6 +34,7 @@ public MarkReadPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs index c4dbd5f3500..92fb8b019a4 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs @@ -34,6 +34,7 @@ public MarkUnreadPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs index b58a4e11193..4fda2126160 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs @@ -34,6 +34,7 @@ public UnarchivePostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs index ce9ef43d8f7..c5d52ace9b3 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs @@ -34,6 +34,7 @@ public UnfavoritePostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs index 8fde2896c53..d1b1d6a26a8 100644 --- a/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs @@ -54,7 +54,7 @@ public ApplicationTemplatesRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. + /// Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response. /// Find more info here /// /// A @@ -78,7 +78,7 @@ public ApplicationTemplatesRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ApplicationTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. + /// Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. + /// Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ApplicationTemplatesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs index b3f96c488cb..8faca48cf0a 100644 --- a/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs @@ -41,7 +41,7 @@ public ApplicationTemplateItemRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// Retrieve the properties of an applicationTemplate object. + /// Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. /// Find more info here /// /// A @@ -65,7 +65,7 @@ public ApplicationTemplateItemRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ApplicationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties of an applicationTemplate object. + /// Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -93,7 +93,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve the properties of an applicationTemplate object. + /// Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ApplicationTemplateItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 1492344e692..44914112958 100644 --- a/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs index 2e6fa4f5e1a..8f87f9130a1 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index da96837c4b3..840e52f225b 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 9483f84df63..3effa511445 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs index 9c683c3f44c..5761780917b 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/applications/{application%2Did}/owners/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs index a4397f7f24e..525d4bd9cb4 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs index ad245dd2445..52b708a3aed 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs @@ -83,6 +83,7 @@ public ValidateCredentialsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + UseSavedCredentials = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs index 4e333d671c8..08233fa7ae3 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs @@ -83,6 +83,7 @@ public ValidateCredentialsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + UseSavedCredentials = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs index f66eab9207c..23369c90e71 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs index 6f2f78f0cd2..ee123607ca3 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs index ac7cc83e837..972920e0b0c 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Chats.Item.SendActivityNotification; using Microsoft.Graph.Chats.Item.StartMigration; using Microsoft.Graph.Chats.Item.Tabs; +using Microsoft.Graph.Chats.Item.TargetedMessages; using Microsoft.Graph.Chats.Item.UnhideForUser; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -103,6 +104,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Chats.Item.Tabs.TabsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder TargetedMessages + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unhideForUser method. public global::Microsoft.Graph.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder UnhideForUser { diff --git a/src/Microsoft.Graph/Generated/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 7ad205661c6..7609275003f 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -56,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs index d186fc7c12c..595a9ccd877 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Chats.Item.StartMigration.St await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..51675e4ca18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..18034070d1e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs new file mode 100644 index 00000000000..e8113f45b38 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// The unique identifier of chatMessageHostedContent + /// A + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("chatMessageHostedContent%2Did", position); + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to hostedContents for chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs new file mode 100644 index 00000000000..d43924f24fd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the chat entity. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hostedContents for chats + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for chats + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property hostedContents in chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 00000000000..32d2a3d2b78 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value +{ + /// + /// Provides operations to manage the media for the chat entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) + { + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..2c46ae9aadb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..b26505ed280 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..6b88ce823da --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..365f971147f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs new file mode 100644 index 00000000000..751573da885 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -0,0 +1,259 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item +{ + /// + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the softDelete method. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the undoSoftDelete method. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property replies for chats + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property replies in chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property replies for chats + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property replies in chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..0dc766ba7eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs new file mode 100644 index 00000000000..e6fdcdcf901 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// The unique identifier of chatMessageHostedContent + /// A + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("chatMessageHostedContent%2Did", position); + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to hostedContents for chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs new file mode 100644 index 00000000000..07d91ed5881 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the chat entity. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hostedContents for chats + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for chats + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property hostedContents in chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 00000000000..a49699a344b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value +{ + /// + /// Provides operations to manage the media for the chat entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) + { + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 00000000000..decf6a73b5a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The reactionType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#nullable restore +#else + public string ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SetReactionPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("reactionType", ReactionType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 00000000000..79209fa306d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction +{ + /// + /// Provides operations to call the setReaction method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetReactionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Invoke action setReaction + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action setReaction + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs new file mode 100644 index 00000000000..77645e9c198 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete +{ + /// + /// Provides operations to call the softDelete method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SoftDeleteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", rawUrl) + { + } + /// + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs new file mode 100644 index 00000000000..9a822112564 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete +{ + /// + /// Provides operations to call the undoSoftDelete method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UndoSoftDeleteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", rawUrl) + { + } + /// + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UndoSoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 00000000000..9b00bd8c417 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The reactionType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#nullable restore +#else + public string ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UnsetReactionPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("reactionType", ReactionType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 00000000000..0054a17bde3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction +{ + /// + /// Provides operations to call the unsetReaction method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnsetReactionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnsetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UnsetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Invoke action unsetReaction + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action unsetReaction + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnsetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs new file mode 100644 index 00000000000..7e24b09ef5f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies +{ + /// + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + /// The unique identifier of chatMessage + /// A + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("chatMessage%2Did", position); + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RepliesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RepliesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to replies for chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to replies for chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..92df8fa9a7a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..8a44e847133 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs new file mode 100644 index 00000000000..b0931931692 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item +{ + /// + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder Replies + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TargetedChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TargetedChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property targetedMessages for chats + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get targetedMessages from chats + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property targetedMessages in chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property targetedMessages for chats + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get targetedMessages from chats + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property targetedMessages in chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get targetedMessages from chats + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs new file mode 100644 index 00000000000..a0adf51cfe8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Chats.Item.TargetedMessages.Count; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages +{ + /// + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedMessagesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + /// The unique identifier of targetedChatMessage + /// A + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("targetedChatMessage%2Did", position); + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TargetedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get targetedMessages from chats + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to targetedMessages for chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get targetedMessages from chats + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to targetedMessages for chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get targetedMessages from chats + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedMessagesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedMessagesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/RecordResponse/RecordResponsePostRequestBody.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/RecordResponse/RecordResponsePostRequestBody.cs index cf7c7080f8f..9b8e0634c0b 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/RecordResponse/RecordResponsePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/RecordResponse/RecordResponsePostRequestBody.cs @@ -107,6 +107,8 @@ public RecordResponsePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + BargeInAllowed = false; + PlayBeep = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 06ef4ea68e7..264d04287fe 100644 --- a/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index b0cfce81265..ca7af2443fe 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index ffc88d4dfe6..8cefdc341a5 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs index 522cccc98a2..68606421da8 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 4c3648c1ef4..3d8b2f3167d 100644 --- a/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index c0ed5be9a22..bc15bfc0e78 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index d4eee813a2e..ad2309c177b 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs index d8e8c76c847..bd2489f8855 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs index 26f4bc62b5e..c453c002842 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs @@ -34,6 +34,7 @@ public CleanWindowsDevicePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + KeepUserData = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs index 41430424240..737025dd084 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs @@ -34,6 +34,7 @@ public WindowsDefenderScanPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + QuickScan = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipePostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipePostRequestBody.cs index ae172fe5a6c..9ba76c2e42e 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipePostRequestBody.cs @@ -62,6 +62,9 @@ public WipePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + KeepEnrollmentData = false; + KeepUserData = false; + PersistEsimDataPlan = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse.cs index 50f2314a937..2eac651fd8f 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse.cs @@ -34,6 +34,7 @@ public VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordRequestBuilder.cs index b137a043ce1..7ca11eecf54 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordRequestBuilder.cs @@ -34,7 +34,8 @@ public UpdateAdDomainPasswordRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Invoke action updateAdDomainPassword + /// Update the Active Directory domain password for a successful cloudPcOnPremisesConnection. This API is supported when the type of the cloudPcOnPremisesConnection object is hybridAzureADJoin. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.DeviceManagement.VirtualEndp await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action updateAdDomainPassword + /// Update the Active Directory domain password for a successful cloudPcOnPremisesConnection. This API is supported when the type of the cloudPcOnPremisesConnection object is hybridAzureADJoin. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index b9d9e0a2ae2..c95a3e5f73b 100644 --- a/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 930cba52f96..68782befa44 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index b8072c67860..318a624e962 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs index 4222eb04477..0b5f3d2af43 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs index b60cecf7b58..49acbce69d0 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs index c0204d93fee..09ed3e2f1bf 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs index 943db517ede..c0303deaa10 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs index dd9c28c2f0e..f3952b7fd8e 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs @@ -108,7 +108,7 @@ public DeletedItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Cancellation token to use when cancelling requests @@ -131,7 +131,7 @@ public DeletedItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +159,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeletedItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index fd3fa08e5b0..9529e61d49d 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs index 0fc7b006aa2..34425c2bf84 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs @@ -41,7 +41,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// Find more info here /// /// A @@ -65,7 +65,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -93,7 +93,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphGroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs index 197ba909418..a19c886d278 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs @@ -101,7 +101,7 @@ public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestA { } /// - /// Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Permanently delete a recently deleted directory object from deleted items. The following types are supported:- certificateBasedAuthPki- certificateAuthorityDetail After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. + /// Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public async Task DeleteAsync(Action - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// Find more info here /// /// A @@ -148,7 +148,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Permanently delete a recently deleted directory object from deleted items. The following types are supported:- certificateBasedAuthPki- certificateAuthorityDetail After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. + /// Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -167,7 +167,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -203,7 +203,7 @@ public partial class DirectoryObjectItemRequestBuilderDeleteRequestConfiguration { } /// - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DirectoryObjectItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index ef25fc75d82..56a40b65b17 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index ff4d36821aa..5c95356fd2b 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs index a5c5ec26b25..636ca19749a 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -35,7 +35,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// Find more info here /// /// A @@ -59,7 +59,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -87,7 +87,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphGroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs index 9c47ce1a124..e9ce0df9036 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 2203c626015..8b32306d2a2 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 197c235a6d2..bce2c576158 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index cc214970c3f..dfc5edf6e99 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs index 0f2daa5df85..08bf1f85565 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index b65611828eb..fc6cc752d1f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 79df749ff21..ea53abc984f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 86e9be18747..82e478d6d0c 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs index f84a4df45c5..78c832d8deb 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 1645759f497..ce0e341c74b 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 7a750259903..224d6d3e684 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 10537668b0b..2c6333cd2f9 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs index f4e4a151b4f..d48906f6f1f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs index 057ec53f6d9..9ea4ab648bc 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Domains/Item/ForceDelete/ForceDeletePostRequestBody.cs b/src/Microsoft.Graph/Generated/Domains/Item/ForceDelete/ForceDeletePostRequestBody.cs index f62a4b1afb8..bdbe649d358 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/ForceDelete/ForceDeletePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/ForceDelete/ForceDeletePostRequestBody.cs @@ -34,6 +34,7 @@ public ForceDeletePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + DisableUserAccounts = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Domains/Item/Promote/PromotePostResponse.cs b/src/Microsoft.Graph/Generated/Domains/Item/Promote/PromotePostResponse.cs index 118900e6a3f..9db51222e2e 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/Promote/PromotePostResponse.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/Promote/PromotePostResponse.cs @@ -34,6 +34,7 @@ public PromotePostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyPostRequestBody.cs index 21a7fd3de5b..90e14beacb8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyPostRequestBody.cs @@ -73,6 +73,8 @@ public CopyPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ChildrenOnly = false; + IncludeAllVersionHistory = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs index 3fa8b0f3d8d..a7eb6e7245b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs @@ -127,6 +127,8 @@ public CreateLinkPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + RetainInheritedPermissions = false; + SendNotification = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Invite/InvitePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Invite/InvitePostRequestBody.cs index e293c7d9b48..a07ac5e2e32 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Invite/InvitePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Invite/InvitePostRequestBody.cs @@ -127,6 +127,9 @@ public InvitePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + RequireSignIn = false; + RetainInheritedPermissions = false; + SendInvitation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs index 0cb4fbaae63..382ede19566 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs @@ -35,7 +35,7 @@ public RetentionLabelRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + /// Remove the retention label from a driveItem. This operation clears the retention label and all associated retention settings enforced on the item. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ItemRetentionLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + /// Remove the retention label from a driveItem. This operation clears the retention label and all associated retention settings enforced on the item. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.cs index 7df92885507..ebb81b7d2f0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.cs @@ -34,6 +34,7 @@ public CreateSessionPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PersistChanges = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs index c4c73c1a975..2bab301d9f8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddPostRequestBody.cs index 95152e45c93..41d999ad93f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddPostRequestBody.cs @@ -50,6 +50,7 @@ public AddPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + HasHeaders = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs index a6253918c5d..b24de7608d9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs index ca1fa4707cd..ec47ab0bd29 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs index 209eb10b6be..0a8ed24644c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs index 2864aedae1b..2754c7e3393 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs index 254e71d3212..f8914578d02 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs index b625ca8a8e6..69fd26cd791 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs index c6a709b6862..dcaf26aed31 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs index cc8031973a5..bf47cd0df00 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs index b3dd8a0ea90..32787476590 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs @@ -67,6 +67,7 @@ public ApplyPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + MatchCase = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs index bbc3d74adb5..b6cbde00b2a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/Merge/MergePostRequestBody.cs index a4770619dbd..5bf075a846b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs index 94f1ace86bf..5cc27e5b961 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/Merge/MergePostRequestBody.cs index c7089af18f3..86ffb6f4a9c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/Merge/MergePostRequestBody.cs index ae30abb901c..0c3ec55dda2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.cs index c4af8814b01..a8c225d31d0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.cs @@ -50,6 +50,7 @@ public AddPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + HasHeaders = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs index a0613c19654..29c62cce6ad 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs index 54f9091095e..f31ee03fd5c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs index afd07aa77cf..906c6b96346 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs index bd27532ac0d..d34eeee8f7f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs index e8f8293ee8c..8c3d1502da9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs index 04593687512..485e64257c3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs index cdba73596e4..24a91a52944 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs index e7eb40361d8..5a39dc0968f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs index 52cce8cfbf2..ded847657c5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs @@ -67,6 +67,7 @@ public ApplyPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + MatchCase = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs index 8203366eed5..7c1ac7bb93d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/Merge/MergePostRequestBody.cs index f45ed22c639..879e2eb36d7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/Merge/MergePostRequestBody.cs index 86f8cbbf517..2a6a44332d2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index 01de65b2c18..99a5ef9bf33 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -50,6 +50,7 @@ public AssociateWithHubSitesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PropagateToExistingLists = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index 4b08da4a583..40a087d90b2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -34,6 +34,7 @@ public IsPublishedGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs index 354892672b2..e4e4558aaeb 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs @@ -127,6 +127,8 @@ public CreateLinkPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + RetainInheritedPermissions = false; + SendNotification = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs index bfb2084a7a8..1955db70e93 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs index 6b175714ed0..4427115bff1 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs index a45a9cb0f20..6da8a96763d 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs index 3f033ab1605..2447c6e53fd 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -136,7 +136,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -157,7 +157,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs index 3d578ec9cdb..653c52d5c9b 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs index ad959846d12..10354a062de 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs index 31366b2d56d..dd86ef40b0b 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -136,7 +136,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -157,7 +157,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs index 23a80ea658d..18dcf856a08 100644 --- a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs +++ b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs @@ -34,6 +34,7 @@ public AddGroupPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs index fb43e563fd6..37651d557dc 100644 --- a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs +++ b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs @@ -34,6 +34,7 @@ public RemoveGroupPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 362b6568b3a..19439e8254e 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 0ead36f0a59..0b1f07a4b9a 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index a02b3a44ba0..3442f2a673f 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs index adcd15f1f81..2ad292c5c7a 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index e706c28b0a3..6f9aa495e97 100644 --- a/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs index f714fd154bc..0505380d679 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs index 90b73ceb240..597decdce10 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs index 516fd14fa05..a0bea2daded 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 3a467f5333e..7da41f99f66 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs index c5664c6cd07..1a3b6aea04b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -34,8 +34,7 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here + /// Invoke action permanentDelete /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +56,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. + /// Invoke action permanentDelete /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs index e58c990eb09..f142348a5d9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs index f985d495eaf..25bd106e2a1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 62a5388a9e9..fffc4462a64 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index cb36c4219c1..3ada8041b80 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index e50f47b520b..f12bdf25f1e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs index 8c5f689b737..6377636732b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs @@ -34,6 +34,7 @@ public AddGroupPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs index afdd24128c4..cdfcb219d91 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs @@ -34,6 +34,7 @@ public RemoveGroupPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/Ref/RefRequestBuilder.cs index fef9a31b7fa..cea6d99d957 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/groups/{group%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/groups/{group%2Did}/members/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs index 960ca4bbea4..032f9e536e7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/groups/{group%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/groups/{group%2Did}/owners/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs index 7586e081ff9..f5032f45128 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs index 11426711d2d..0b21ca17146 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index 93c626ac0ae..0d4c0dcb2c8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -50,6 +50,7 @@ public AssociateWithHubSitesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PropagateToExistingLists = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index f4c6fd253de..69eee8679ec 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -34,6 +34,7 @@ public IsPublishedGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index 23021557f8e..8e4cd6a30d6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -50,6 +50,7 @@ public AssociateWithHubSitesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PropagateToExistingLists = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index 7281d166b3f..3c4da95bc56 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -34,6 +34,7 @@ public IsPublishedGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs index 114d09063cf..0306e20faf2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs @@ -127,6 +127,8 @@ public CreateLinkPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + RetainInheritedPermissions = false; + SendNotification = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Archive/ArchivePostRequestBody.cs index db3b734acb4..3962fdfa860 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Archive/ArchivePostRequestBody.cs index b5f4cd031cc..3868872e18e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 3a82df465d6..1decb906d74 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -34,7 +34,7 @@ public CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 7106fe7486f..b3e539a8848 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs index ac49982b175..16ae46b8c09 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.It await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchivePostRequestBody.cs index a2e05e9cb04..3fbd18655d2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs index 4730873efcc..03422239196 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -34,7 +34,7 @@ public CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 7dfdeceed67..e2f2c064262 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs index 4786162b981..8164cdb80eb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChan await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Share/SharePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Share/SharePostRequestBody.cs index 44f6ddeafdf..2072d4973fe 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Share/SharePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Share/SharePostRequestBody.cs @@ -46,6 +46,7 @@ public SharePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + NotifyTeam = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs index 941b6b7ac95..30faa64534b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -67,6 +67,7 @@ public ClockInPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs index ef7656704c2..0720976a5f6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -51,6 +51,7 @@ public ClockOutPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs index 4a44fea630a..4f40d29f656 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public EndBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs index 466f35fb814..8beaa3c1952 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public StartBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/Ref/RefRequestBuilder.cs index e77b4753ff2..65faca3716a 100644 --- a/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/IdentityProviders/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/IdentityProviders/Ref/RefRequestBuilder.cs index 846b587e685..65478307249 100644 --- a/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/IdentityProviders/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/IdentityProviders/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs index 2f1b7d2ebec..2ac5be55005 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -136,7 +136,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -157,7 +157,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.cs index 85b8ef7fad7..c9630fd08dd 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.cs @@ -83,6 +83,7 @@ public EvaluatePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + AppliedPoliciesOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs index 50ae16c845a..ddaff10ad87 100644 --- a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs @@ -9,6 +9,7 @@ using Microsoft.Graph.Identity.IdentityProviders; using Microsoft.Graph.Identity.RiskPrevention; using Microsoft.Graph.Identity.UserFlowAttributes; +using Microsoft.Graph.Identity.VerifiedId; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -72,6 +73,11 @@ public partial class IdentityRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Identity.UserFlowAttributes.UserFlowAttributesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the verifiedId property of the microsoft.graph.identityContainer entity. + public global::Microsoft.Graph.Identity.VerifiedId.VerifiedIdRequestBuilder VerifiedId + { + get => new global::Microsoft.Graph.Identity.VerifiedId.VerifiedIdRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..bffc465ccf7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Identity.VerifiedId.Profiles.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId/profiles/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId/profiles/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/Item/VerifiedIdProfileItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/Item/VerifiedIdProfileItemRequestBuilder.cs new file mode 100644 index 00000000000..2e43d82af1b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/Item/VerifiedIdProfileItemRequestBuilder.cs @@ -0,0 +1,232 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Identity.VerifiedId.Profiles.Item +{ + /// + /// Provides operations to manage the profiles property of the microsoft.graph.identityVerifiedIdRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdProfileItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public VerifiedIdProfileItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId/profiles/{verifiedIdProfile%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public VerifiedIdProfileItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId/profiles/{verifiedIdProfile%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a verifiedIdProfile object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of verifiedIdProfile object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.VerifiedIdProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a verifiedIdProfile object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.VerifiedIdProfile body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.VerifiedIdProfile body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.VerifiedIdProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a verifiedIdProfile object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of verifiedIdProfile object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a verifiedIdProfile object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.VerifiedIdProfile body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.VerifiedIdProfile body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdProfileItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of verifiedIdProfile object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdProfileItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdProfileItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdProfileItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/ProfilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/ProfilesRequestBuilder.cs new file mode 100644 index 00000000000..bb6acb3b36b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/ProfilesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Identity.VerifiedId.Profiles.Count; +using Microsoft.Graph.Identity.VerifiedId.Profiles.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Identity.VerifiedId.Profiles +{ + /// + /// Provides operations to manage the profiles property of the microsoft.graph.identityVerifiedIdRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the profiles property of the microsoft.graph.identityVerifiedIdRoot entity. + /// The unique identifier of verifiedIdProfile + /// A + public global::Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("verifiedIdProfile%2Did", position); + return new global::Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProfilesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId/profiles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ProfilesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId/profiles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the verifiedIdProfile objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.VerifiedIdProfileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new verifiedIdProfile object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.VerifiedIdProfile body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.VerifiedIdProfile body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.VerifiedIdProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the verifiedIdProfile objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new verifiedIdProfile object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.VerifiedIdProfile body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.VerifiedIdProfile body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Identity.VerifiedId.Profiles.ProfilesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.VerifiedId.Profiles.ProfilesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the verifiedIdProfile objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/VerifiedId/VerifiedIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/VerifiedId/VerifiedIdRequestBuilder.cs new file mode 100644 index 00000000000..185619fd320 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/VerifiedId/VerifiedIdRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Identity.VerifiedId.Profiles; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Identity.VerifiedId +{ + /// + /// Provides operations to manage the verifiedId property of the microsoft.graph.identityContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the profiles property of the microsoft.graph.identityVerifiedIdRoot entity. + public global::Microsoft.Graph.Identity.VerifiedId.Profiles.ProfilesRequestBuilder Profiles + { + get => new global::Microsoft.Graph.Identity.VerifiedId.Profiles.ProfilesRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public VerifiedIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public VerifiedIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property verifiedId for identity + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Entry point for verified ID operations. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityVerifiedIdRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property verifiedId in identity + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.IdentityVerifiedIdRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.IdentityVerifiedIdRoot body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityVerifiedIdRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property verifiedId for identity + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Entry point for verified ID operations. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property verifiedId in identity + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.IdentityVerifiedIdRoot body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.IdentityVerifiedIdRoot body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Identity.VerifiedId.VerifiedIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.VerifiedId.VerifiedIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Entry point for verified ID operations. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs index 3499d97b95f..b69cd662e4f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs index 59ab2700487..39691cfb083 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs index 0a9eccf7d71..cf8d87fb201 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs index 01b97050301..5da20926c11 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs index d40750e5ce4..fb69524439f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs @@ -12,6 +12,8 @@ using Microsoft.Graph.IdentityGovernance.EntitlementManagement.ResourceRoleScopes; using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Resources; using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -90,6 +92,11 @@ public partial class EntitlementManagementRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.SettingsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder Subjects + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -177,6 +184,16 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.EntitlementManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// + /// Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. + /// + /// A + /// Alternate key of accessPackageSubject + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.SubjectsWithObjectIdRequestBuilder SubjectsWithObjectId(string objectId) + { + if(string.IsNullOrEmpty(objectId)) throw new ArgumentNullException(nameof(objectId)); + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.SubjectsWithObjectIdRequestBuilder(PathParameters, RequestAdapter, objectId); + } + /// /// Delete navigation property entitlementManagement for identityGovernance /// /// A diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..283851084ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs new file mode 100644 index 00000000000..3e1bb9513cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSubjectItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the connectedOrganization property of the microsoft.graph.accessPackageSubject entity. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.ConnectedOrganizationRequestBuilder ConnectedOrganization + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.ConnectedOrganizationRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AccessPackageSubjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects/{accessPackageSubject%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AccessPackageSubjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects/{accessPackageSubject%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property subjects for identityGovernance + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get subjects from identityGovernance + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property subjects in identityGovernance + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.AccessPackageSubject body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.AccessPackageSubject body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property subjects for identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get subjects from identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property subjects in identityGovernance + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AccessPackageSubject body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AccessPackageSubject body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSubjectItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get subjects from identityGovernance + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSubjectItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSubjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSubjectItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/ConnectedOrganization/ConnectedOrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/ConnectedOrganization/ConnectedOrganizationRequestBuilder.cs new file mode 100644 index 00000000000..a82f061c73a --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/ConnectedOrganization/ConnectedOrganizationRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization +{ + /// + /// Provides operations to manage the connectedOrganization property of the microsoft.graph.accessPackageSubject entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConnectedOrganizationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConnectedOrganizationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects/{accessPackageSubject%2Did}/connectedOrganization{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConnectedOrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects/{accessPackageSubject%2Did}/connectedOrganization{?%24expand,%24select}", rawUrl) + { + } + /// + /// The connected organization of the subject. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConnectedOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The connected organization of the subject. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.ConnectedOrganizationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.ConnectedOrganizationRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The connected organization of the subject. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConnectedOrganizationRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConnectedOrganizationRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs new file mode 100644 index 00000000000..cc895414b09 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. + /// The unique identifier of accessPackageSubject + /// A + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("accessPackageSubject%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SubjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get subjects from identityGovernance + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to subjects for identityGovernance + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.AccessPackageSubject body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.AccessPackageSubject body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get subjects from identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to subjects for identityGovernance + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AccessPackageSubject body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AccessPackageSubject body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get subjects from identityGovernance + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs new file mode 100644 index 00000000000..92bd6fc1770 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs @@ -0,0 +1,231 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsWithObjectIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Alternate key of accessPackageSubject + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SubjectsWithObjectIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string objectId = "") : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects(objectId='{objectId}'){?%24expand,%24select}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(objectId)) PathParameters.Add("objectId", objectId); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SubjectsWithObjectIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects(objectId='{objectId}'){?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property subjects for identityGovernance + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get subjects from identityGovernance + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property subjects in identityGovernance + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.AccessPackageSubject body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.AccessPackageSubject body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property subjects for identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get subjects from identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property subjects in identityGovernance + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AccessPackageSubject body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AccessPackageSubject body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.SubjectsWithObjectIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.SubjectsWithObjectIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsWithObjectIdRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get subjects from identityGovernance + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsWithObjectIdRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsWithObjectIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsWithObjectIdRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs new file mode 100644 index 00000000000..5a3ed5c498d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions +{ + /// + /// Provides operations to call the creationOptions method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreationOptionsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreationOptionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/fido2Methods/creationOptions()", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CreationOptionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/fido2Methods/creationOptions()", rawUrl) + { + } + /// + /// Retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. This function returns WebAuthn credential creation options that include a challenge, relying party information, and user information, which are used by the client to create a new FIDO2 credential. The challenge property and credential IDs in excludeCredentials are Base64URL-encoded without padding. All binary data in the response follows Base64URL encoding as defined in RFC 4648 Section 5. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WebauthnCredentialCreationOptions.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. This function returns WebAuthn credential creation options that include a challenge, relying party information, and user information, which are used by the client to create a new FIDO2 credential. The challenge property and credential IDs in excludeCredentials are Base64URL-encoded without padding. All binary data in the response follows Base64URL encoding as defined in RFC 4648 Section 5. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreationOptionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs index e157fa9a5b1..1fe5d087490 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Me.Authentication.Fido2Methods.Count; +using Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions; using Microsoft.Graph.Me.Authentication.Fido2Methods.Item; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -25,6 +26,11 @@ public partial class Fido2MethodsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the creationOptions method. + public global::Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder CreationOptions + { + get => new global::Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. /// The unique identifier of fido2AuthenticationMethod /// A diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs index 1c94a1004dc..5af7db2fcc4 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs index e068307b9e0..451a41dcc1d 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index be6a417a4cd..28c62efa19a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs index 5cb88c9f86c..74e3efc7496 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -34,8 +34,7 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here + /// Invoke action permanentDelete /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +56,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. + /// Invoke action permanentDelete /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs index 8f67c1becab..7dddca6bdd8 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs index bf1cadc6358..301b57c9c64 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index f3e6200e34e..3f400b3f5cf 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs index 1624a2dd97f..ac579420735 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -34,8 +34,7 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here + /// Invoke action permanentDelete /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +56,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. + /// Invoke action permanentDelete /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs index ba57f94d521..cdfb953e3b2 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs index 2d77a8cbe01..a6d5544244a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 920da9c70d9..94d80ad1cd6 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs index ada03ab919a..755ce5686a3 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -34,8 +34,7 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here + /// Invoke action permanentDelete /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +56,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. + /// Invoke action permanentDelete /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs index 9491ce2a0b1..cb20a890e89 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Me.Chats.Item.SendActivityNotification; using Microsoft.Graph.Me.Chats.Item.StartMigration; using Microsoft.Graph.Me.Chats.Item.Tabs; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages; using Microsoft.Graph.Me.Chats.Item.UnhideForUser; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -103,6 +104,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Chats.Item.Tabs.TabsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder TargetedMessages + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unhideForUser method. public global::Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder UnhideForUser { diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 9f72291eae2..ef8da277ca3 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -56,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs index 2f7d363b33d..85c462f4637 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.StartMigration await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..28e912fa13b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..5032e40beeb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs new file mode 100644 index 00000000000..7124ce423d2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// The unique identifier of chatMessageHostedContent + /// A + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("chatMessageHostedContent%2Did", position); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to hostedContents for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs new file mode 100644 index 00000000000..f6d6f01510e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the user entity. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hostedContents for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property hostedContents in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 00000000000..acee8d027fc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value +{ + /// + /// Provides operations to manage the media for the user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) + { + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..e1f89e078a4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..fd75022fe33 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..e622172103b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..68df8a5426c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs new file mode 100644 index 00000000000..3da256d95ef --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -0,0 +1,259 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item +{ + /// + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the softDelete method. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the undoSoftDelete method. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property replies for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property replies in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property replies for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property replies in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..77a721990ab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs new file mode 100644 index 00000000000..0ddecd84edd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// The unique identifier of chatMessageHostedContent + /// A + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("chatMessageHostedContent%2Did", position); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to hostedContents for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs new file mode 100644 index 00000000000..41ab29eef1a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the user entity. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hostedContents for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property hostedContents in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 00000000000..6db64d6fcc0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value +{ + /// + /// Provides operations to manage the media for the user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) + { + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 00000000000..dffd3f05875 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The reactionType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#nullable restore +#else + public string ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SetReactionPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("reactionType", ReactionType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 00000000000..b61be799250 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction +{ + /// + /// Provides operations to call the setReaction method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetReactionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Invoke action setReaction + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action setReaction + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs new file mode 100644 index 00000000000..88d8b67176d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete +{ + /// + /// Provides operations to call the softDelete method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SoftDeleteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", rawUrl) + { + } + /// + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs new file mode 100644 index 00000000000..073fe9c1b1c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete +{ + /// + /// Provides operations to call the undoSoftDelete method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UndoSoftDeleteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", rawUrl) + { + } + /// + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UndoSoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 00000000000..8294a489af1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The reactionType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#nullable restore +#else + public string ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UnsetReactionPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("reactionType", ReactionType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 00000000000..4b826cb8324 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction +{ + /// + /// Provides operations to call the unsetReaction method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnsetReactionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnsetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UnsetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Invoke action unsetReaction + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action unsetReaction + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnsetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs new file mode 100644 index 00000000000..173fd9f079e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies +{ + /// + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + /// The unique identifier of chatMessage + /// A + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("chatMessage%2Did", position); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RepliesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RepliesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to replies for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to replies for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..dd29a6cb827 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..134e5d6c25e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs new file mode 100644 index 00000000000..c1c8c4af325 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item +{ + /// + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder Replies + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TargetedChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TargetedChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property targetedMessages for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get targetedMessages from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property targetedMessages in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property targetedMessages for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get targetedMessages from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property targetedMessages in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get targetedMessages from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs new file mode 100644 index 00000000000..b0a5be1a4a7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages +{ + /// + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedMessagesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + /// The unique identifier of targetedChatMessage + /// A + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("targetedChatMessage%2Did", position); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TargetedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get targetedMessages from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to targetedMessages for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get targetedMessages from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to targetedMessages for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get targetedMessages from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedMessagesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedMessagesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs index 19902f45a31..502ac79285b 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs index 8c84924c78d..89ffb3642ef 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 83a85edb23b..6defa67291c 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs index 295f584ee8b..e3a9a7145b6 100644 --- a/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs @@ -107,6 +107,8 @@ public FindMeetingTimesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsOrganizerOptional = false; + ReturnSuggestionReasons = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index d22ac717c86..fe81778118a 100644 --- a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 523027cc455..b2eabf86277 100644 --- a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs index b94c870b48d..c9ee4cd0468 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs index 89b20893988..317803e726e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 3bdba6e40aa..3c7acf7d1fa 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -34,7 +34,7 @@ public CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index ce3fcd881df..a882c9ab193 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs index 6202564da5c..c918fc6ee61 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs index b84822f3cf9..24719fab0d7 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs index 54c1c5761b5..82e50c2272a 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -34,7 +34,7 @@ public CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 17a9510cab0..5f53b820c8d 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs index b9a2c67fffb..ee1e8b1faac 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryC await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs index 83644a6378d..1650e516481 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs @@ -46,6 +46,7 @@ public SharePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + NotifyTeam = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs index 01c66e07693..6719c343a86 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -67,6 +67,7 @@ public ClockInPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs index d6b5ea54d91..490b61b0e5e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -51,6 +51,7 @@ public ClockOutPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs index 59cd3e5b6b8..0a3e8d0355e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public EndBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs index b1fabb7025d..69c774d828e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public StartBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs index 807beea913e..7ae5597b636 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs @@ -34,6 +34,7 @@ public CleanWindowsDevicePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + KeepUserData = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs index cb80a53df35..48cb3a2353e 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs @@ -34,6 +34,7 @@ public WindowsDefenderScanPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + QuickScan = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipePostRequestBody.cs index 014744f4f50..175d155dca8 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipePostRequestBody.cs @@ -62,6 +62,9 @@ public WipePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + KeepEnrollmentData = false; + KeepUserData = false; + PersistEsimDataPlan = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs index 46a143b45ae..71eb9e96049 100644 --- a/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs b/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs index 57daa272b19..46d67bbb1e6 100644 --- a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs +++ b/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs @@ -34,6 +34,7 @@ public RevokeSignInSessionsPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs index da8a93f3502..b96b07cc76b 100644 --- a/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs @@ -51,6 +51,7 @@ public SendMailPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SaveToSentItems = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Settings/Exchange/ExchangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Exchange/ExchangeRequestBuilder.cs index 37295b60e36..cd39f9380fb 100644 --- a/src/Microsoft.Graph/Generated/Me/Settings/Exchange/ExchangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Settings/Exchange/ExchangeRequestBuilder.cs @@ -35,7 +35,7 @@ public ExchangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get exchange from me + /// The Exchange settings for mailbox discovery. /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +58,7 @@ public ExchangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExchangeSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get exchange from me + /// The Exchange settings for mailbox discovery. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get exchange from me + /// The Exchange settings for mailbox discovery. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ExchangeRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs index b7ab316cf62..8f8648059f6 100644 --- a/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -136,7 +136,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/me/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -157,7 +157,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/me/sponsors/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs new file mode 100644 index 00000000000..d2676708db2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeleteTargetedMessagePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The channelId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ChannelId + { + get { return BackingStore?.Get("channelId"); } + set { BackingStore?.Set("channelId", value); } + } +#nullable restore +#else + public string ChannelId + { + get { return BackingStore?.Get("channelId"); } + set { BackingStore?.Set("channelId", value); } + } +#endif + /// The messageId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MessageId + { + get { return BackingStore?.Get("messageId"); } + set { BackingStore?.Set("messageId", value); } + } +#nullable restore +#else + public string MessageId + { + get { return BackingStore?.Get("messageId"); } + set { BackingStore?.Set("messageId", value); } + } +#endif + /// The teamId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TeamId + { + get { return BackingStore?.Get("teamId"); } + set { BackingStore?.Set("teamId", value); } + } +#nullable restore +#else + public string TeamId + { + get { return BackingStore?.Get("teamId"); } + set { BackingStore?.Set("teamId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeleteTargetedMessagePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "channelId", n => { ChannelId = n.GetStringValue(); } }, + { "messageId", n => { MessageId = n.GetStringValue(); } }, + { "teamId", n => { TeamId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("channelId", ChannelId); + writer.WriteStringValue("messageId", MessageId); + writer.WriteStringValue("teamId", TeamId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs new file mode 100644 index 00000000000..3a670956b1a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage +{ + /// + /// Provides operations to call the deleteTargetedMessage method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteTargetedMessageRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeleteTargetedMessageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/deleteTargetedMessage", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeleteTargetedMessageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/deleteTargetedMessage", rawUrl) + { + } + /// + /// Invoke action deleteTargetedMessage + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action deleteTargetedMessage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteTargetedMessageRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs new file mode 100644 index 00000000000..e7aa708dcd0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRetainedTargetedMessagesGetResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs new file mode 100644 index 00000000000..aa401ae0c2f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages +{ + /// + /// Provides operations to call the getAllRetainedTargetedMessages method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllRetainedTargetedMessagesRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetAllRetainedTargetedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/getAllRetainedTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetAllRetainedTargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/getAllRetainedTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsGetAllRetainedTargetedMessagesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetAllRetainedTargetedMessagesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsGetAllRetainedTargetedMessagesGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesResponse.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesResponse.cs new file mode 100644 index 00000000000..a305e3064b8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages +{ + [Obsolete("This class is obsolete. Use GetAllRetainedTargetedMessagesGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRetainedTargetedMessagesResponse : global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs new file mode 100644 index 00000000000..5fff3f67394 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTargetedMessagesGetResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs new file mode 100644 index 00000000000..f16fed612bb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages +{ + /// + /// Provides operations to call the getAllTargetedMessages method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllTargetedMessagesRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetAllTargetedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/getAllTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetAllTargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/getAllTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function getAllTargetedMessages + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsGetAllTargetedMessagesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetAllTargetedMessagesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTargetedMessages + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsGetAllTargetedMessagesGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTargetedMessages + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllTargetedMessages + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllTargetedMessagesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllTargetedMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesResponse.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesResponse.cs new file mode 100644 index 00000000000..0c5304f6f0d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages +{ + [Obsolete("This class is obsolete. Use GetAllTargetedMessagesGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTargetedMessagesResponse : global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs index 8468941c3a6..03c78666243 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs @@ -1,6 +1,9 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Me.Teamwork.AssociatedTeams; +using Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage; +using Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages; +using Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages; using Microsoft.Graph.Me.Teamwork.InstalledApps; using Microsoft.Graph.Me.Teamwork.SendActivityNotification; using Microsoft.Graph.Models.ODataErrors; @@ -26,6 +29,21 @@ public partial class TeamworkRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.AssociatedTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the deleteTargetedMessage method. + public global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder DeleteTargetedMessage + { + get => new global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllRetainedTargetedMessages method. + public global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder GetAllRetainedTargetedMessages + { + get => new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllTargetedMessages method. + public global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder GetAllTargetedMessages + { + get => new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity. public global::Microsoft.Graph.Me.Teamwork.InstalledApps.InstalledAppsRequestBuilder InstalledApps { diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageSubject.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageSubject.cs index 195515e5cdf..a7076954ed7 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessPackageSubject.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageSubject.cs @@ -108,6 +108,12 @@ public string PrincipalName set { BackingStore?.Set("principalName", value); } } #endif + /// The subjectLifecycle property + public global::Microsoft.Graph.Models.AccessPackageSubjectLifecycle? SubjectLifecycle + { + get { return BackingStore?.Get("subjectLifecycle"); } + set { BackingStore?.Set("subjectLifecycle", value); } + } /// The resource type of the subject. The possible values are: notSpecified, user, servicePrincipal, unknownFutureValue. public global::Microsoft.Graph.Models.AccessPackageSubjectType? SubjectType { @@ -138,6 +144,7 @@ public override IDictionary> GetFieldDeserializers() { "objectId", n => { ObjectId = n.GetStringValue(); } }, { "onPremisesSecurityIdentifier", n => { OnPremisesSecurityIdentifier = n.GetStringValue(); } }, { "principalName", n => { PrincipalName = n.GetStringValue(); } }, + { "subjectLifecycle", n => { SubjectLifecycle = n.GetEnumValue(); } }, { "subjectType", n => { SubjectType = n.GetEnumValue(); } }, }; } @@ -155,6 +162,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("objectId", ObjectId); writer.WriteStringValue("onPremisesSecurityIdentifier", OnPremisesSecurityIdentifier); writer.WriteStringValue("principalName", PrincipalName); + writer.WriteEnumValue("subjectLifecycle", SubjectLifecycle); writer.WriteEnumValue("subjectType", SubjectType); } } diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageSubjectCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageSubjectCollectionResponse.cs new file mode 100644 index 00000000000..ec1b4641e27 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageSubjectCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AccessPackageSubjectCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.AccessPackageSubjectCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AccessPackageSubjectCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageSubjectLifecycle.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageSubjectLifecycle.cs new file mode 100644 index 00000000000..e46e016198e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageSubjectLifecycle.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AccessPackageSubjectLifecycle + #pragma warning restore CS1591 + { + [EnumMember(Value = "notDefined")] + #pragma warning disable CS1591 + NotDefined, + #pragma warning restore CS1591 + [EnumMember(Value = "notGoverned")] + #pragma warning disable CS1591 + NotGoverned, + #pragma warning restore CS1591 + [EnumMember(Value = "governed")] + #pragma warning disable CS1591 + Governed, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AiAgentInfo.cs b/src/Microsoft.Graph/Generated/Models/AiAgentInfo.cs index 9f550615154..f079ed3fc53 100644 --- a/src/Microsoft.Graph/Generated/Models/AiAgentInfo.cs +++ b/src/Microsoft.Graph/Generated/Models/AiAgentInfo.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class AiAgentInfo : global::Microsoft.Graph.Models.AiInteractionEntity, IParsable #pragma warning restore CS1591 { - /// The unique identifier of the parent agent blueprint that defines the identity and configuration of this agent instance. + /// The unique identifier of the parent agent blueprint that defines the identity and configuration of this agent instance. This identifier is provided by Microsoft Entra. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? BlueprintId diff --git a/src/Microsoft.Graph/Generated/Models/AppManagementApplicationConfiguration.cs b/src/Microsoft.Graph/Generated/Models/AppManagementApplicationConfiguration.cs index 3bbbe06a74e..b0aea1e2891 100644 --- a/src/Microsoft.Graph/Generated/Models/AppManagementApplicationConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/AppManagementApplicationConfiguration.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class AppManagementApplicationConfiguration : global::Microsoft.Graph.Models.AppManagementConfiguration, IParsable #pragma warning restore CS1591 { + /// Configuration object for restrictions on identifierUris property for an application. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentifierUriConfiguration? IdentifierUris + { + get { return BackingStore?.Get("identifierUris"); } + set { BackingStore?.Set("identifierUris", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentifierUriConfiguration IdentifierUris + { + get { return BackingStore?.Get("identifierUris"); } + set { BackingStore?.Set("identifierUris", value); } + } +#endif /// /// Instantiates a new and sets the default values. /// @@ -37,6 +53,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "identifierUris", n => { IdentifierUris = n.GetObjectValue(global::Microsoft.Graph.Models.IdentifierUriConfiguration.CreateFromDiscriminatorValue); } }, }; } /// @@ -47,6 +64,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("identifierUris", IdentifierUris); } } } diff --git a/src/Microsoft.Graph/Generated/Models/AppManagementPolicyActorExemptions.cs b/src/Microsoft.Graph/Generated/Models/AppManagementPolicyActorExemptions.cs new file mode 100644 index 00000000000..e4e3fb0ae83 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AppManagementPolicyActorExemptions.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AppManagementPolicyActorExemptions : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The collection of customSecurityAttributeExemption to exempt from the policy enforcement. Limit of 5. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CustomSecurityAttributes + { + get { return BackingStore?.Get?>("customSecurityAttributes"); } + set { BackingStore?.Set("customSecurityAttributes", value); } + } +#nullable restore +#else + public List CustomSecurityAttributes + { + get { return BackingStore?.Get>("customSecurityAttributes"); } + set { BackingStore?.Set("customSecurityAttributes", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AppManagementPolicyActorExemptions() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.AppManagementPolicyActorExemptions CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AppManagementPolicyActorExemptions(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "customSecurityAttributes", n => { CustomSecurityAttributes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CustomSecurityAttributeExemption.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("customSecurityAttributes", CustomSecurityAttributes); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationDataType.cs b/src/Microsoft.Graph/Generated/Models/ApplicationDataType.cs new file mode 100644 index 00000000000..c7dc49d2074 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationDataType.cs @@ -0,0 +1,41 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum ApplicationDataType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "codingFiles")] + #pragma warning disable CS1591 + CodingFiles = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "creditCards")] + #pragma warning disable CS1591 + CreditCards = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "databaseFiles")] + #pragma warning disable CS1591 + DatabaseFiles = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "documents")] + #pragma warning disable CS1591 + Documents = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "mediaFiles")] + #pragma warning disable CS1591 + MediaFiles = 32, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 64, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationLocation.cs b/src/Microsoft.Graph/Generated/Models/ApplicationLocation.cs new file mode 100644 index 00000000000..c686ac7a265 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationLocation.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationLocation : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Specifies the region or physical location where the application's primary data center is hosted. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DataCenter + { + get { return BackingStore?.Get("dataCenter"); } + set { BackingStore?.Set("dataCenter", value); } + } +#nullable restore +#else + public string DataCenter + { + get { return BackingStore?.Get("dataCenter"); } + set { BackingStore?.Set("dataCenter", value); } + } +#endif + /// Specifies the city, country or region where the application's owning organization is headquartered. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Headquarters + { + get { return BackingStore?.Get("headquarters"); } + set { BackingStore?.Set("headquarters", value); } + } +#nullable restore +#else + public string Headquarters + { + get { return BackingStore?.Get("headquarters"); } + set { BackingStore?.Set("headquarters", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationLocation() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationLocation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationLocation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "dataCenter", n => { DataCenter = n.GetStringValue(); } }, + { "headquarters", n => { Headquarters = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("dataCenter", DataCenter); + writer.WriteStringValue("headquarters", Headquarters); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorCertificateInfo.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorCertificateInfo.cs new file mode 100644 index 00000000000..1a66be285c5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorCertificateInfo.cs @@ -0,0 +1,153 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskFactorCertificateInfo : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether the certificate's common name doesn't match the expected domain name. + public bool? HasBadCommonName + { + get { return BackingStore?.Get("hasBadCommonName"); } + set { BackingStore?.Set("hasBadCommonName", value); } + } + /// Indicates whether the certificate uses a weak or insecure signature algorithm (for example, MD5 or SHA-1). + public bool? HasInsecureSignature + { + get { return BackingStore?.Get("hasInsecureSignature"); } + set { BackingStore?.Set("hasInsecureSignature", value); } + } + /// Indicates whether the certificate chain of trust is incomplete or invalid. + public bool? HasNoChainOfTrust + { + get { return BackingStore?.Get("hasNoChainOfTrust"); } + set { BackingStore?.Set("hasNoChainOfTrust", value); } + } + /// Indicates whether the certificate is on a known denylist or associated with compromised issuers. + public bool? IsDenylisted + { + get { return BackingStore?.Get("isDenylisted"); } + set { BackingStore?.Set("isDenylisted", value); } + } + /// Indicates whether the certificate's hostname doesn't match the domain it was issued for. + public bool? IsHostnameMismatch + { + get { return BackingStore?.Get("isHostnameMismatch"); } + set { BackingStore?.Set("isHostnameMismatch", value); } + } + /// Indicates whether the certificate is expired and no longer valid. + public bool? IsNotAfter + { + get { return BackingStore?.Get("isNotAfter"); } + set { BackingStore?.Set("isNotAfter", value); } + } + /// Indicates whether the certificate isn't yet valid based on its activation date. + public bool? IsNotBefore + { + get { return BackingStore?.Get("isNotBefore"); } + set { BackingStore?.Set("isNotBefore", value); } + } + /// Indicates whether the issuing certificate authority revoked the certificate. + public bool? IsRevoked + { + get { return BackingStore?.Get("isRevoked"); } + set { BackingStore?.Set("isRevoked", value); } + } + /// Indicates whether the certificate is self-signed rather than issued by a trusted certificate authority. + public bool? IsSelfSigned + { + get { return BackingStore?.Get("isSelfSigned"); } + set { BackingStore?.Set("isSelfSigned", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationRiskFactorCertificateInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "hasBadCommonName", n => { HasBadCommonName = n.GetBoolValue(); } }, + { "hasInsecureSignature", n => { HasInsecureSignature = n.GetBoolValue(); } }, + { "hasNoChainOfTrust", n => { HasNoChainOfTrust = n.GetBoolValue(); } }, + { "isDenylisted", n => { IsDenylisted = n.GetBoolValue(); } }, + { "isHostnameMismatch", n => { IsHostnameMismatch = n.GetBoolValue(); } }, + { "isNotAfter", n => { IsNotAfter = n.GetBoolValue(); } }, + { "isNotBefore", n => { IsNotBefore = n.GetBoolValue(); } }, + { "isRevoked", n => { IsRevoked = n.GetBoolValue(); } }, + { "isSelfSigned", n => { IsSelfSigned = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("hasBadCommonName", HasBadCommonName); + writer.WriteBoolValue("hasInsecureSignature", HasInsecureSignature); + writer.WriteBoolValue("hasNoChainOfTrust", HasNoChainOfTrust); + writer.WriteBoolValue("isDenylisted", IsDenylisted); + writer.WriteBoolValue("isHostnameMismatch", IsHostnameMismatch); + writer.WriteBoolValue("isNotAfter", IsNotAfter); + writer.WriteBoolValue("isNotBefore", IsNotBefore); + writer.WriteBoolValue("isRevoked", IsRevoked); + writer.WriteBoolValue("isSelfSigned", IsSelfSigned); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorGeneralInfo.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorGeneralInfo.cs new file mode 100644 index 00000000000..e98551e339e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorGeneralInfo.cs @@ -0,0 +1,202 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskFactorGeneralInfo : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates the relative popularity or adoption of the application based on the user or tenant usage metrics. + public int? ConsumerPopularity + { + get { return BackingStore?.Get("consumerPopularity"); } + set { BackingStore?.Set("consumerPopularity", value); } + } + /// Specifies the date when the application's primary domain was registered, used to assess domain maturity and legitimacy. + public Date? DomainRegistrationDate + { + get { return BackingStore?.Get("domainRegistrationDate"); } + set { BackingStore?.Set("domainRegistrationDate", value); } + } + /// Year the company or organization behind the application was founded. + public int? Founded + { + get { return BackingStore?.Get("founded"); } + set { BackingStore?.Set("founded", value); } + } + /// Indicates whether the application provider maintains a disaster recovery or business continuity plan. + public bool? HasDisasterRecoveryPlan + { + get { return BackingStore?.Get("hasDisasterRecoveryPlan"); } + set { BackingStore?.Set("hasDisasterRecoveryPlan", value); } + } + /// The hold property + public global::Microsoft.Graph.Models.HoldType? Hold + { + get { return BackingStore?.Get("hold"); } + set { BackingStore?.Set("hold", value); } + } + /// Specifies the name of the company or provider that hosts the application's infrastructure. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? HostingCompanyName + { + get { return BackingStore?.Get("hostingCompanyName"); } + set { BackingStore?.Set("hostingCompanyName", value); } + } +#nullable restore +#else + public string HostingCompanyName + { + get { return BackingStore?.Get("hostingCompanyName"); } + set { BackingStore?.Set("hostingCompanyName", value); } + } +#endif + /// Provides the geographical and operational location information for the application, including data center and headquarters regions. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationLocation? Location + { + get { return BackingStore?.Get("location"); } + set { BackingStore?.Set("location", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationLocation Location + { + get { return BackingStore?.Get("location"); } + set { BackingStore?.Set("location", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Specifies the URL of the application's privacy policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PrivacyPolicy + { + get { return BackingStore?.Get("privacyPolicy"); } + set { BackingStore?.Set("privacyPolicy", value); } + } +#nullable restore +#else + public string PrivacyPolicy + { + get { return BackingStore?.Get("privacyPolicy"); } + set { BackingStore?.Set("privacyPolicy", value); } + } +#endif + /// The processedDataTypes property + public global::Microsoft.Graph.Models.ApplicationDataType? ProcessedDataTypes + { + get { return BackingStore?.Get("processedDataTypes"); } + set { BackingStore?.Set("processedDataTypes", value); } + } + /// Specifies the URL of the application's terms of service. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TermsOfService + { + get { return BackingStore?.Get("termsOfService"); } + set { BackingStore?.Set("termsOfService", value); } + } +#nullable restore +#else + public string TermsOfService + { + get { return BackingStore?.Get("termsOfService"); } + set { BackingStore?.Set("termsOfService", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationRiskFactorGeneralInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "consumerPopularity", n => { ConsumerPopularity = n.GetIntValue(); } }, + { "domainRegistrationDate", n => { DomainRegistrationDate = n.GetDateValue(); } }, + { "founded", n => { Founded = n.GetIntValue(); } }, + { "hasDisasterRecoveryPlan", n => { HasDisasterRecoveryPlan = n.GetBoolValue(); } }, + { "hold", n => { Hold = n.GetEnumValue(); } }, + { "hostingCompanyName", n => { HostingCompanyName = n.GetStringValue(); } }, + { "location", n => { Location = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationLocation.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "privacyPolicy", n => { PrivacyPolicy = n.GetStringValue(); } }, + { "processedDataTypes", n => { ProcessedDataTypes = n.GetEnumValue(); } }, + { "termsOfService", n => { TermsOfService = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteIntValue("consumerPopularity", ConsumerPopularity); + writer.WriteDateValue("domainRegistrationDate", DomainRegistrationDate); + writer.WriteIntValue("founded", Founded); + writer.WriteBoolValue("hasDisasterRecoveryPlan", HasDisasterRecoveryPlan); + writer.WriteEnumValue("hold", Hold); + writer.WriteStringValue("hostingCompanyName", HostingCompanyName); + writer.WriteObjectValue("location", Location); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("privacyPolicy", PrivacyPolicy); + writer.WriteEnumValue("processedDataTypes", ProcessedDataTypes); + writer.WriteStringValue("termsOfService", TermsOfService); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorLegalInfo.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorLegalInfo.cs new file mode 100644 index 00000000000..314ac5c4e85 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorLegalInfo.cs @@ -0,0 +1,123 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskFactorLegalInfo : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The dataRetention property + public global::Microsoft.Graph.Models.DataRetentionLevel? DataRetention + { + get { return BackingStore?.Get("dataRetention"); } + set { BackingStore?.Set("dataRetention", value); } + } + /// The gdpr property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr? Gdpr + { + get { return BackingStore?.Get("gdpr"); } + set { BackingStore?.Set("gdpr", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr Gdpr + { + get { return BackingStore?.Get("gdpr"); } + set { BackingStore?.Set("gdpr", value); } + } +#endif + /// Indicates whether customers maintain ownership and control of their data processed or stored by the application. + public bool? HasDataOwnership + { + get { return BackingStore?.Get("hasDataOwnership"); } + set { BackingStore?.Set("hasDataOwnership", value); } + } + /// Indicates whether the application or organization complies with the Digital Millennium Copyright Act (DMCA) or equivalent copyright protection frameworks. + public bool? HasDmca + { + get { return BackingStore?.Get("hasDmca"); } + set { BackingStore?.Set("hasDmca", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationRiskFactorLegalInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "dataRetention", n => { DataRetention = n.GetEnumValue(); } }, + { "gdpr", n => { Gdpr = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr.CreateFromDiscriminatorValue); } }, + { "hasDataOwnership", n => { HasDataOwnership = n.GetBoolValue(); } }, + { "hasDmca", n => { HasDmca = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("dataRetention", DataRetention); + writer.WriteObjectValue("gdpr", Gdpr); + writer.WriteBoolValue("hasDataOwnership", HasDataOwnership); + writer.WriteBoolValue("hasDmca", HasDmca); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorLegalInfoGdpr.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorLegalInfoGdpr.cs new file mode 100644 index 00000000000..7fc137c31f1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorLegalInfoGdpr.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskFactorLegalInfoGdpr : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The dataProtection property + public global::Microsoft.Graph.Models.DataProtection? DataProtection + { + get { return BackingStore?.Get("dataProtection"); } + set { BackingStore?.Set("dataProtection", value); } + } + /// Indicates whether the application provides users with the ability to request deletion of their personal data (the right to be forgotten). + public bool? HasRightToErasure + { + get { return BackingStore?.Get("hasRightToErasure"); } + set { BackingStore?.Set("hasRightToErasure", value); } + } + /// Indicates whether the organization reports personal data breaches to authorities and affected users in accordance with GDPR requirements. + public bool? IsReportingDataBreaches + { + get { return BackingStore?.Get("isReportingDataBreaches"); } + set { BackingStore?.Set("isReportingDataBreaches", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Specifies the URL of the application's GDPR or privacy compliance statement, outlining how user data is handled. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? StatementUrl + { + get { return BackingStore?.Get("statementUrl"); } + set { BackingStore?.Set("statementUrl", value); } + } +#nullable restore +#else + public string StatementUrl + { + get { return BackingStore?.Get("statementUrl"); } + set { BackingStore?.Set("statementUrl", value); } + } +#endif + /// The userOwnership property + public global::Microsoft.Graph.Models.UserOwnership? UserOwnership + { + get { return BackingStore?.Get("userOwnership"); } + set { BackingStore?.Set("userOwnership", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationRiskFactorLegalInfoGdpr() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "dataProtection", n => { DataProtection = n.GetEnumValue(); } }, + { "hasRightToErasure", n => { HasRightToErasure = n.GetBoolValue(); } }, + { "isReportingDataBreaches", n => { IsReportingDataBreaches = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "statementUrl", n => { StatementUrl = n.GetStringValue(); } }, + { "userOwnership", n => { UserOwnership = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("dataProtection", DataProtection); + writer.WriteBoolValue("hasRightToErasure", HasRightToErasure); + writer.WriteBoolValue("isReportingDataBreaches", IsReportingDataBreaches); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("statementUrl", StatementUrl); + writer.WriteEnumValue("userOwnership", UserOwnership); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorSecurityInfo.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorSecurityInfo.cs new file mode 100644 index 00000000000..18310ad6f76 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorSecurityInfo.cs @@ -0,0 +1,312 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskFactorSecurityInfo : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The certificate property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo? Certificate + { + get { return BackingStore?.Get("certificate"); } + set { BackingStore?.Set("certificate", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo Certificate + { + get { return BackingStore?.Get("certificate"); } + set { BackingStore?.Set("certificate", value); } + } +#endif + /// Specifies the domain or hostname evaluated during the security assessment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DomainToCheck + { + get { return BackingStore?.Get("domainToCheck"); } + set { BackingStore?.Set("domainToCheck", value); } + } +#nullable restore +#else + public string DomainToCheck + { + get { return BackingStore?.Get("domainToCheck"); } + set { BackingStore?.Set("domainToCheck", value); } + } +#endif + /// Indicates whether the application maintains an audit trail for administrative actions. + public bool? HasAdminAuditTrail + { + get { return BackingStore?.Get("hasAdminAuditTrail"); } + set { BackingStore?.Set("hasAdminAuditTrail", value); } + } + /// Indicates whether the application allows anonymous or unauthenticated usage. + public bool? HasAnonymousUsage + { + get { return BackingStore?.Get("hasAnonymousUsage"); } + set { BackingStore?.Set("hasAnonymousUsage", value); } + } + /// Indicates whether the application logs access or modification of customer data for audit purposes. + public bool? HasDataAuditTrail + { + get { return BackingStore?.Get("hasDataAuditTrail"); } + set { BackingStore?.Set("hasDataAuditTrail", value); } + } + /// Indicates whether the application classifies and labels data based on sensitivity levels. + public bool? HasDataClassification + { + get { return BackingStore?.Get("hasDataClassification"); } + set { BackingStore?.Set("hasDataClassification", value); } + } + /// Indicates whether data at rest and in transit are encrypted using approved algorithms. + public bool? HasDataEncrypted + { + get { return BackingStore?.Get("hasDataEncrypted"); } + set { BackingStore?.Set("hasDataEncrypted", value); } + } + /// Indicates whether HTTPS or equivalent secure transport is enforced for all communication channels. + public bool? HasEnforceTransportEnc + { + get { return BackingStore?.Get("hasEnforceTransportEnc"); } + set { BackingStore?.Set("hasEnforceTransportEnc", value); } + } + /// Indicates whether access to the application can be restricted based on IP address or network range. + public bool? HasIpRestriction + { + get { return BackingStore?.Get("hasIpRestriction"); } + set { BackingStore?.Set("hasIpRestriction", value); } + } + /// Indicates whether the application supports or enforces multi-factor authentication (MFA). + public bool? HasMFA + { + get { return BackingStore?.Get("hasMFA"); } + set { BackingStore?.Set("hasMFA", value); } + } + /// Indicates whether the application undergoes periodic penetration testing or external security reviews. + public bool? HasPenTest + { + get { return BackingStore?.Get("hasPenTest"); } + set { BackingStore?.Set("hasPenTest", value); } + } + /// Indicates whether the application supports password-saving functionality, which may pose a security risk. + public bool? HasRememberPassword + { + get { return BackingStore?.Get("hasRememberPassword"); } + set { BackingStore?.Set("hasRememberPassword", value); } + } + /// Indicates whether the application supports SAML-based single sign-on (SSO). + public bool? HasSamlSupport + { + get { return BackingStore?.Get("hasSamlSupport"); } + set { BackingStore?.Set("hasSamlSupport", value); } + } + /// Indicates whether user activity is logged for security or compliance monitoring. + public bool? HasUserAuditLogs + { + get { return BackingStore?.Get("hasUserAuditLogs"); } + set { BackingStore?.Set("hasUserAuditLogs", value); } + } + /// Indicates whether users can upload or store personal or organizational data within the application. + public bool? HasUserDataUpload + { + get { return BackingStore?.Get("hasUserDataUpload"); } + set { BackingStore?.Set("hasUserDataUpload", value); } + } + /// Indicates whether the application supports role-based access control (RBAC). + public bool? HasUserRolesSupport + { + get { return BackingStore?.Get("hasUserRolesSupport"); } + set { BackingStore?.Set("hasUserRolesSupport", value); } + } + /// Indicates whether the certificate’s common name matches the application’s verified domain. + public bool? HasValidCertName + { + get { return BackingStore?.Get("hasValidCertName"); } + set { BackingStore?.Set("hasValidCertName", value); } + } + /// Lists the HTTP security headers detected for the application (for example, HSTS, X-Frame-Options, or CSP). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? HttpsSecurityHeaders + { + get { return BackingStore?.Get?>("httpsSecurityHeaders"); } + set { BackingStore?.Set("httpsSecurityHeaders", value); } + } +#nullable restore +#else + public List HttpsSecurityHeaders + { + get { return BackingStore?.Get>("httpsSecurityHeaders"); } + set { BackingStore?.Set("httpsSecurityHeaders", value); } + } +#endif + /// Indicates whether the application’s certificate is signed by a trusted certificate authority (CA). + public bool? IsCertTrusted + { + get { return BackingStore?.Get("isCertTrusted"); } + set { BackingStore?.Set("isCertTrusted", value); } + } + /// Indicates whether the application is vulnerable to the DROWN (Decrypting RSA with Obsolete and Weakened eNcryption) attack. + public bool? IsDrownVulnerable + { + get { return BackingStore?.Get("isDrownVulnerable"); } + set { BackingStore?.Set("isDrownVulnerable", value); } + } + /// Indicates whether the application’s SSL implementation is protected from the Heartbleed vulnerability. + public bool? IsHeartbleedProof + { + get { return BackingStore?.Get("isHeartbleedProof"); } + set { BackingStore?.Set("isHeartbleedProof", value); } + } + /// Specifies the date of the last publicly reported data breach or security incident related to the application, if known. + public Date? LastBreachDate + { + get { return BackingStore?.Get("lastBreachDate"); } + set { BackingStore?.Set("lastBreachDate", value); } + } + /// The latestValidSSL property + public global::Microsoft.Graph.Models.SslVersion? LatestValidSSL + { + get { return BackingStore?.Get("latestValidSSL"); } + set { BackingStore?.Set("latestValidSSL", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The passwordPolicy property + public global::Microsoft.Graph.Models.PasswordPolicy? PasswordPolicy + { + get { return BackingStore?.Get("passwordPolicy"); } + set { BackingStore?.Set("passwordPolicy", value); } + } + /// The restEncryptionType property + public global::Microsoft.Graph.Models.RestEncryptionType? RestEncryptionType + { + get { return BackingStore?.Get("restEncryptionType"); } + set { BackingStore?.Set("restEncryptionType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationRiskFactorSecurityInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "certificate", n => { Certificate = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo.CreateFromDiscriminatorValue); } }, + { "domainToCheck", n => { DomainToCheck = n.GetStringValue(); } }, + { "hasAdminAuditTrail", n => { HasAdminAuditTrail = n.GetBoolValue(); } }, + { "hasAnonymousUsage", n => { HasAnonymousUsage = n.GetBoolValue(); } }, + { "hasDataAuditTrail", n => { HasDataAuditTrail = n.GetBoolValue(); } }, + { "hasDataClassification", n => { HasDataClassification = n.GetBoolValue(); } }, + { "hasDataEncrypted", n => { HasDataEncrypted = n.GetBoolValue(); } }, + { "hasEnforceTransportEnc", n => { HasEnforceTransportEnc = n.GetBoolValue(); } }, + { "hasIpRestriction", n => { HasIpRestriction = n.GetBoolValue(); } }, + { "hasMFA", n => { HasMFA = n.GetBoolValue(); } }, + { "hasPenTest", n => { HasPenTest = n.GetBoolValue(); } }, + { "hasRememberPassword", n => { HasRememberPassword = n.GetBoolValue(); } }, + { "hasSamlSupport", n => { HasSamlSupport = n.GetBoolValue(); } }, + { "hasUserAuditLogs", n => { HasUserAuditLogs = n.GetBoolValue(); } }, + { "hasUserDataUpload", n => { HasUserDataUpload = n.GetBoolValue(); } }, + { "hasUserRolesSupport", n => { HasUserRolesSupport = n.GetBoolValue(); } }, + { "hasValidCertName", n => { HasValidCertName = n.GetBoolValue(); } }, + { "httpsSecurityHeaders", n => { HttpsSecurityHeaders = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "isCertTrusted", n => { IsCertTrusted = n.GetBoolValue(); } }, + { "isDrownVulnerable", n => { IsDrownVulnerable = n.GetBoolValue(); } }, + { "isHeartbleedProof", n => { IsHeartbleedProof = n.GetBoolValue(); } }, + { "lastBreachDate", n => { LastBreachDate = n.GetDateValue(); } }, + { "latestValidSSL", n => { LatestValidSSL = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "passwordPolicy", n => { PasswordPolicy = n.GetEnumValue(); } }, + { "restEncryptionType", n => { RestEncryptionType = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("certificate", Certificate); + writer.WriteStringValue("domainToCheck", DomainToCheck); + writer.WriteBoolValue("hasAdminAuditTrail", HasAdminAuditTrail); + writer.WriteBoolValue("hasAnonymousUsage", HasAnonymousUsage); + writer.WriteBoolValue("hasDataAuditTrail", HasDataAuditTrail); + writer.WriteBoolValue("hasDataClassification", HasDataClassification); + writer.WriteBoolValue("hasDataEncrypted", HasDataEncrypted); + writer.WriteBoolValue("hasEnforceTransportEnc", HasEnforceTransportEnc); + writer.WriteBoolValue("hasIpRestriction", HasIpRestriction); + writer.WriteBoolValue("hasMFA", HasMFA); + writer.WriteBoolValue("hasPenTest", HasPenTest); + writer.WriteBoolValue("hasRememberPassword", HasRememberPassword); + writer.WriteBoolValue("hasSamlSupport", HasSamlSupport); + writer.WriteBoolValue("hasUserAuditLogs", HasUserAuditLogs); + writer.WriteBoolValue("hasUserDataUpload", HasUserDataUpload); + writer.WriteBoolValue("hasUserRolesSupport", HasUserRolesSupport); + writer.WriteBoolValue("hasValidCertName", HasValidCertName); + writer.WriteCollectionOfPrimitiveValues("httpsSecurityHeaders", HttpsSecurityHeaders); + writer.WriteBoolValue("isCertTrusted", IsCertTrusted); + writer.WriteBoolValue("isDrownVulnerable", IsDrownVulnerable); + writer.WriteBoolValue("isHeartbleedProof", IsHeartbleedProof); + writer.WriteDateValue("lastBreachDate", LastBreachDate); + writer.WriteEnumValue("latestValidSSL", LatestValidSSL); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("passwordPolicy", PasswordPolicy); + writer.WriteEnumValue("restEncryptionType", RestEncryptionType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactors.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactors.cs new file mode 100644 index 00000000000..ac0ed181de3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactors.cs @@ -0,0 +1,153 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskFactors : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Provides information about the application's adherence to security frameworks, certifications, and industry compliance standards. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationSecurityCompliance? Compliance + { + get { return BackingStore?.Get("compliance"); } + set { BackingStore?.Set("compliance", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationSecurityCompliance Compliance + { + get { return BackingStore?.Get("compliance"); } + set { BackingStore?.Set("compliance", value); } + } +#endif + /// Contains general business, operational, and data handling details that influence the application's risk assessment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo? General + { + get { return BackingStore?.Get("general"); } + set { BackingStore?.Set("general", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo General + { + get { return BackingStore?.Get("general"); } + set { BackingStore?.Set("general", value); } + } +#endif + /// Provides legal and regulatory compliance information, including data ownership, retention, and GDPR adherence. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo? Legal + { + get { return BackingStore?.Get("legal"); } + set { BackingStore?.Set("legal", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo Legal + { + get { return BackingStore?.Get("legal"); } + set { BackingStore?.Set("legal", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Contains information related to the application's security posture, such as encryption, authentication, and vulnerability management practices. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo? Security + { + get { return BackingStore?.Get("security"); } + set { BackingStore?.Set("security", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo Security + { + get { return BackingStore?.Get("security"); } + set { BackingStore?.Set("security", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationRiskFactors() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskFactors CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskFactors(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "compliance", n => { Compliance = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationSecurityCompliance.CreateFromDiscriminatorValue); } }, + { "general", n => { General = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo.CreateFromDiscriminatorValue); } }, + { "legal", n => { Legal = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "security", n => { Security = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("compliance", Compliance); + writer.WriteObjectValue("general", General); + writer.WriteObjectValue("legal", Legal); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("security", Security); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskScore.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskScore.cs new file mode 100644 index 00000000000..3bf4b17d4ac --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskScore.cs @@ -0,0 +1,121 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskScore : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Specifies the compliance risk score based on the application's alignment with regulatory standards and industry certifications such as HIPAA, CSA, and PCI-DSS. + public float? Compliance + { + get { return BackingStore?.Get("compliance"); } + set { BackingStore?.Set("compliance", value); } + } + /// Specifies the legal risk score based on data protection practices, privacy policy transparency, and jurisdictional compliance to regulations and policies such as DMCA and data retention policy. + public float? Legal + { + get { return BackingStore?.Get("legal"); } + set { BackingStore?.Set("legal", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Specifies the provider risk score based on vendor credibility, operational maturity, and trustworthiness. + public float? Provider + { + get { return BackingStore?.Get("provider"); } + set { BackingStore?.Set("provider", value); } + } + /// Specifies the security risk score based on authentication strength, encryption, vulnerability management, and overall security hygiene. + public float? Security + { + get { return BackingStore?.Get("security"); } + set { BackingStore?.Set("security", value); } + } + /// Represents the composite risk score derived from all risk categories. + public float? Total + { + get { return BackingStore?.Get("total"); } + set { BackingStore?.Set("total", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationRiskScore() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskScore CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskScore(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "compliance", n => { Compliance = n.GetFloatValue(); } }, + { "legal", n => { Legal = n.GetFloatValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "provider", n => { Provider = n.GetFloatValue(); } }, + { "security", n => { Security = n.GetFloatValue(); } }, + { "total", n => { Total = n.GetFloatValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteFloatValue("compliance", Compliance); + writer.WriteFloatValue("legal", Legal); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteFloatValue("provider", Provider); + writer.WriteFloatValue("security", Security); + writer.WriteFloatValue("total", Total); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationSecurityCompliance.cs b/src/Microsoft.Graph/Generated/Models/ApplicationSecurityCompliance.cs new file mode 100644 index 00000000000..f47672224a6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationSecurityCompliance.cs @@ -0,0 +1,321 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationSecurityCompliance : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether the application adheres to the Control Objectives for Information and Related Technologies (COBIT) framework. + public bool? Cobit + { + get { return BackingStore?.Get("cobit"); } + set { BackingStore?.Set("cobit", value); } + } + /// Indicates whether the application complies with the Children’s Online Privacy Protection Act (COPPA). + public bool? Coppa + { + get { return BackingStore?.Get("coppa"); } + set { BackingStore?.Set("coppa", value); } + } + /// Specifies the Cloud Security Alliance (CSA) Security, Trust & Assurance Registry (STAR) certification level. The possible values are: none, attestation, certification, continuousMonitoring, cStarAssessment, selfAssessment, notSupported, unknownFutureValue. + public global::Microsoft.Graph.Models.CsaStarLevel? CsaStar + { + get { return BackingStore?.Get("csaStar"); } + set { BackingStore?.Set("csaStar", value); } + } + /// Specifies the Federal Risk and Authorization Management Program (FedRAMP) certification level. The possible values are: none, high, liSaas, low, moderate, notSupported, unknownFutureValue. + public global::Microsoft.Graph.Models.FedRampLevel? FedRamp + { + get { return BackingStore?.Get("fedRamp"); } + set { BackingStore?.Set("fedRamp", value); } + } + /// Indicates whether the application complies with the Family Educational Rights and Privacy Act (FERPA). + public bool? Ferpa + { + get { return BackingStore?.Get("ferpa"); } + set { BackingStore?.Set("ferpa", value); } + } + /// Indicates whether the application meets Federal Financial Institutions Examination Council (FFIEC) requirements. + public bool? Ffiec + { + get { return BackingStore?.Get("ffiec"); } + set { BackingStore?.Set("ffiec", value); } + } + /// Indicates whether the application complies with Financial Industry Regulatory Authority (FINRA) standards. + public bool? Finra + { + get { return BackingStore?.Get("finra"); } + set { BackingStore?.Set("finra", value); } + } + /// Indicates whether the application complies with the Federal Information Security Management Act (FISMA). + public bool? Fisma + { + get { return BackingStore?.Get("fisma"); } + set { BackingStore?.Set("fisma", value); } + } + /// Indicates whether the application provider adheres to Generally Accepted Accounting Principles (GAAP). + public bool? Gaap + { + get { return BackingStore?.Get("gaap"); } + set { BackingStore?.Set("gaap", value); } + } + /// Indicates whether the application adheres to Generally Accepted Privacy Principles (GAPP). + public bool? Gapp + { + get { return BackingStore?.Get("gapp"); } + set { BackingStore?.Set("gapp", value); } + } + /// Indicates whether the application complies with the Gramm–Leach–Bliley Act (GLBA) for financial data protection. + public bool? Glba + { + get { return BackingStore?.Get("glba"); } + set { BackingStore?.Set("glba", value); } + } + /// Indicates whether the application complies with the Health Insurance Portability and Accountability Act (HIPAA). + public bool? Hipaa + { + get { return BackingStore?.Get("hipaa"); } + set { BackingStore?.Set("hipaa", value); } + } + /// Indicates whether the application holds HITRUST certification, demonstrating alignment with healthcare and data security standards. + public bool? Hitrust + { + get { return BackingStore?.Get("hitrust"); } + set { BackingStore?.Set("hitrust", value); } + } + /// Indicates whether the application complies with International Standard on Assurance Engagements (ISAE) 3402 requirements. + public bool? Isae3402 + { + get { return BackingStore?.Get("isae3402"); } + set { BackingStore?.Set("isae3402", value); } + } + /// Indicates whether the application is certified against ISO/IEC 27001 for information security management systems (ISMS). + public bool? Iso27001 + { + get { return BackingStore?.Get("iso27001"); } + set { BackingStore?.Set("iso27001", value); } + } + /// Indicates whether the application follows ISO/IEC 27002 security control best practices. + public bool? Iso27002 + { + get { return BackingStore?.Get("iso27002"); } + set { BackingStore?.Set("iso27002", value); } + } + /// Indicates whether the application complies with ISO/IEC 27017 standards for cloud security controls. + public bool? Iso27017 + { + get { return BackingStore?.Get("iso27017"); } + set { BackingStore?.Set("iso27017", value); } + } + /// Indicates whether the application complies with ISO/IEC 27018 standards for protecting personally identifiable information (PII) in cloud environments. + public bool? Iso27018 + { + get { return BackingStore?.Get("iso27018"); } + set { BackingStore?.Set("iso27018", value); } + } + /// Indicates whether the application complies with International Traffic in Arms Regulations (ITAR). + public bool? Itar + { + get { return BackingStore?.Get("itar"); } + set { BackingStore?.Set("itar", value); } + } + /// Indicates whether the application aligns with Jericho Forum security principles for deperimeterized environments. + public bool? JerichoForumCommandments + { + get { return BackingStore?.Get("jerichoForumCommandments"); } + set { BackingStore?.Set("jerichoForumCommandments", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Specifies the Payment Card Industry (PCI) Data Security Standard (DSS) version the application complies with. The possible values are: none, v321, v4, notSupported, unknownFutureValue. + public global::Microsoft.Graph.Models.PciVersion? Pci + { + get { return BackingStore?.Get("pci"); } + set { BackingStore?.Set("pci", value); } + } + /// Indicates whether the application complies with the EU–U.S. Privacy Shield framework for cross-border data transfers. + public bool? PrivacyShield + { + get { return BackingStore?.Get("privacyShield"); } + set { BackingStore?.Set("privacyShield", value); } + } + /// Indicates whether the application previously adhered to the U.S.–EU Safe Harbor data transfer framework. + public bool? SafeHarbor + { + get { return BackingStore?.Get("safeHarbor"); } + set { BackingStore?.Set("safeHarbor", value); } + } + /// Indicates whether the application provider undergoes a Service Organization Control (SOC) one audit report. + public bool? Soc1 + { + get { return BackingStore?.Get("soc1"); } + set { BackingStore?.Set("soc1", value); } + } + /// Indicates whether the application provider undergoes a Service Organization Control (SOC) two audit report. + public bool? Soc2 + { + get { return BackingStore?.Get("soc2"); } + set { BackingStore?.Set("soc2", value); } + } + /// Indicates whether the application provider undergoes a Service Organization Control (SOC) three audit report. + public bool? Soc3 + { + get { return BackingStore?.Get("soc3"); } + set { BackingStore?.Set("soc3", value); } + } + /// Indicates whether the application complies with the Sarbanes–Oxley Act (SOX) financial reporting requirements. + public bool? Sox + { + get { return BackingStore?.Get("sox"); } + set { BackingStore?.Set("sox", value); } + } + /// Indicates whether the application aligns with National Institute of Standards and Technology (NIST) Special Publication 800-53 security and privacy controls. + public bool? Sp80053 + { + get { return BackingStore?.Get("sp800_53"); } + set { BackingStore?.Set("sp800_53", value); } + } + /// Indicates whether the application adheres to Statement on Standards for Attestation Engagements (SSAE) No. 16. + public bool? Ssae16 + { + get { return BackingStore?.Get("ssae16"); } + set { BackingStore?.Set("ssae16", value); } + } + /// Indicates whether the application complies with U.S. Trade Representative (USTR) data and trade protection requirements. + public bool? Ustr + { + get { return BackingStore?.Get("ustr"); } + set { BackingStore?.Set("ustr", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationSecurityCompliance() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationSecurityCompliance CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationSecurityCompliance(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "cobit", n => { Cobit = n.GetBoolValue(); } }, + { "coppa", n => { Coppa = n.GetBoolValue(); } }, + { "csaStar", n => { CsaStar = n.GetEnumValue(); } }, + { "fedRamp", n => { FedRamp = n.GetEnumValue(); } }, + { "ferpa", n => { Ferpa = n.GetBoolValue(); } }, + { "ffiec", n => { Ffiec = n.GetBoolValue(); } }, + { "finra", n => { Finra = n.GetBoolValue(); } }, + { "fisma", n => { Fisma = n.GetBoolValue(); } }, + { "gaap", n => { Gaap = n.GetBoolValue(); } }, + { "gapp", n => { Gapp = n.GetBoolValue(); } }, + { "glba", n => { Glba = n.GetBoolValue(); } }, + { "hipaa", n => { Hipaa = n.GetBoolValue(); } }, + { "hitrust", n => { Hitrust = n.GetBoolValue(); } }, + { "isae3402", n => { Isae3402 = n.GetBoolValue(); } }, + { "iso27001", n => { Iso27001 = n.GetBoolValue(); } }, + { "iso27002", n => { Iso27002 = n.GetBoolValue(); } }, + { "iso27017", n => { Iso27017 = n.GetBoolValue(); } }, + { "iso27018", n => { Iso27018 = n.GetBoolValue(); } }, + { "itar", n => { Itar = n.GetBoolValue(); } }, + { "jerichoForumCommandments", n => { JerichoForumCommandments = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "pci", n => { Pci = n.GetEnumValue(); } }, + { "privacyShield", n => { PrivacyShield = n.GetBoolValue(); } }, + { "safeHarbor", n => { SafeHarbor = n.GetBoolValue(); } }, + { "soc1", n => { Soc1 = n.GetBoolValue(); } }, + { "soc2", n => { Soc2 = n.GetBoolValue(); } }, + { "soc3", n => { Soc3 = n.GetBoolValue(); } }, + { "sox", n => { Sox = n.GetBoolValue(); } }, + { "sp800_53", n => { Sp80053 = n.GetBoolValue(); } }, + { "ssae16", n => { Ssae16 = n.GetBoolValue(); } }, + { "ustr", n => { Ustr = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("cobit", Cobit); + writer.WriteBoolValue("coppa", Coppa); + writer.WriteEnumValue("csaStar", CsaStar); + writer.WriteEnumValue("fedRamp", FedRamp); + writer.WriteBoolValue("ferpa", Ferpa); + writer.WriteBoolValue("ffiec", Ffiec); + writer.WriteBoolValue("finra", Finra); + writer.WriteBoolValue("fisma", Fisma); + writer.WriteBoolValue("gaap", Gaap); + writer.WriteBoolValue("gapp", Gapp); + writer.WriteBoolValue("glba", Glba); + writer.WriteBoolValue("hipaa", Hipaa); + writer.WriteBoolValue("hitrust", Hitrust); + writer.WriteBoolValue("isae3402", Isae3402); + writer.WriteBoolValue("iso27001", Iso27001); + writer.WriteBoolValue("iso27002", Iso27002); + writer.WriteBoolValue("iso27017", Iso27017); + writer.WriteBoolValue("iso27018", Iso27018); + writer.WriteBoolValue("itar", Itar); + writer.WriteBoolValue("jerichoForumCommandments", JerichoForumCommandments); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("pci", Pci); + writer.WriteBoolValue("privacyShield", PrivacyShield); + writer.WriteBoolValue("safeHarbor", SafeHarbor); + writer.WriteBoolValue("soc1", Soc1); + writer.WriteBoolValue("soc2", Soc2); + writer.WriteBoolValue("soc3", Soc3); + writer.WriteBoolValue("sox", Sox); + writer.WriteBoolValue("sp800_53", Sp80053); + writer.WriteBoolValue("ssae16", Ssae16); + writer.WriteBoolValue("ustr", Ustr); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs b/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs index 8edd84d0b62..1d596cf574e 100644 --- a/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs +++ b/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; using System.Collections.Generic; using System.IO; using System; @@ -28,6 +29,12 @@ public List Categories set { BackingStore?.Set("categories", value); } } #endif + /// Deprecation date for this application. If specified, the application will be removed from the Microsoft Entra application gallery on this date. + public Date? DeprecationDate + { + get { return BackingStore?.Get("deprecationDate"); } + set { BackingStore?.Set("deprecationDate", value); } + } /// A description of the application. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -59,6 +66,22 @@ public string DisplayName get { return BackingStore?.Get("displayName"); } set { BackingStore?.Set("displayName", value); } } +#endif + /// A collection of string URLs representing various domains that are used by this application. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Endpoints + { + get { return BackingStore?.Get?>("endpoints"); } + set { BackingStore?.Set("endpoints", value); } + } +#nullable restore +#else + public List Endpoints + { + get { return BackingStore?.Get>("endpoints"); } + set { BackingStore?.Set("endpoints", value); } + } #endif /// The home page URL of the application. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -76,6 +99,18 @@ public string HomePageUrl set { BackingStore?.Set("homePageUrl", value); } } #endif + /// Indicates whether the application is integrated with Entra ID (for example, through single sign-on or user provisioning). + public bool? IsEntraIntegrated + { + get { return BackingStore?.Get("isEntraIntegrated"); } + set { BackingStore?.Set("isEntraIntegrated", value); } + } + /// The date and time when the data for the application was last updated, represented using ISO 8601 format and always in UTC time. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } /// The URL to get the logo for this application. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -107,6 +142,38 @@ public string Publisher get { return BackingStore?.Get("publisher"); } set { BackingStore?.Set("publisher", value); } } +#endif + /// A comprehensive set of risk assessment data for the application, including general, security, compliance, and legal dimensions. Returned only when $select is used. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskFactors? RiskFactors + { + get { return BackingStore?.Get("riskFactors"); } + set { BackingStore?.Set("riskFactors", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskFactors RiskFactors + { + get { return BackingStore?.Get("riskFactors"); } + set { BackingStore?.Set("riskFactors", value); } + } +#endif + /// Represents the Microsoft-generated numerical risk score assessment for the application. Supported $orderby on total (for example, $orderby=riskScore/total desc). Returned only when $select is used. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskScore? RiskScore + { + get { return BackingStore?.Get("riskScore"); } + set { BackingStore?.Set("riskScore", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskScore RiskScore + { + get { return BackingStore?.Get("riskScore"); } + set { BackingStore?.Set("riskScore", value); } + } #endif /// The list of provisioning modes supported by this application. The only valid value is sync. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -159,11 +226,17 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "categories", n => { Categories = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "deprecationDate", n => { DeprecationDate = n.GetDateValue(); } }, { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "endpoints", n => { Endpoints = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "homePageUrl", n => { HomePageUrl = n.GetStringValue(); } }, + { "isEntraIntegrated", n => { IsEntraIntegrated = n.GetBoolValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "logoUrl", n => { LogoUrl = n.GetStringValue(); } }, { "publisher", n => { Publisher = n.GetStringValue(); } }, + { "riskFactors", n => { RiskFactors = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskFactors.CreateFromDiscriminatorValue); } }, + { "riskScore", n => { RiskScore = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskScore.CreateFromDiscriminatorValue); } }, { "supportedProvisioningTypes", n => { SupportedProvisioningTypes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "supportedSingleSignOnModes", n => { SupportedSingleSignOnModes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, }; @@ -177,11 +250,17 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfPrimitiveValues("categories", Categories); + writer.WriteDateValue("deprecationDate", DeprecationDate); writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfPrimitiveValues("endpoints", Endpoints); writer.WriteStringValue("homePageUrl", HomePageUrl); + writer.WriteBoolValue("isEntraIntegrated", IsEntraIntegrated); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); writer.WriteStringValue("logoUrl", LogoUrl); writer.WriteStringValue("publisher", Publisher); + writer.WriteObjectValue("riskFactors", RiskFactors); + writer.WriteObjectValue("riskScore", RiskScore); writer.WriteCollectionOfPrimitiveValues("supportedProvisioningTypes", SupportedProvisioningTypes); writer.WriteCollectionOfPrimitiveValues("supportedSingleSignOnModes", SupportedSingleSignOnModes); } diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs index 6b912b73cdf..8fec53f5cfb 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs @@ -81,6 +81,7 @@ public string DisplayName "#microsoft.graph.onPasswordSubmitListener" => new global::Microsoft.Graph.Models.OnPasswordSubmitListener(), "#microsoft.graph.onTokenIssuanceStartListener" => new global::Microsoft.Graph.Models.OnTokenIssuanceStartListener(), "#microsoft.graph.onUserCreateStartListener" => new global::Microsoft.Graph.Models.OnUserCreateStartListener(), + "#microsoft.graph.onVerifiedIdClaimValidationListener" => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationListener(), _ => new global::Microsoft.Graph.Models.AuthenticationEventListener(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodConfiguration.cs index f2adf0ca38f..43a5c2fde92 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodConfiguration.cs @@ -53,6 +53,7 @@ public partial class AuthenticationMethodConfiguration : global::Microsoft.Graph "#microsoft.graph.smsAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.SmsAuthenticationMethodConfiguration(), "#microsoft.graph.softwareOathAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.SoftwareOathAuthenticationMethodConfiguration(), "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethodConfiguration(), + "#microsoft.graph.verifiableCredentialsAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.VerifiableCredentialsAuthenticationMethodConfiguration(), "#microsoft.graph.voiceAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.VoiceAuthenticationMethodConfiguration(), "#microsoft.graph.x509CertificateAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.X509CertificateAuthenticationMethodConfiguration(), _ => new global::Microsoft.Graph.Models.AuthenticationMethodConfiguration(), diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodTarget.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodTarget.cs index c50889c1d4b..686918ed9d8 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodTarget.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodTarget.cs @@ -38,6 +38,7 @@ public bool? IsRegistrationRequired "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodTarget" => new global::Microsoft.Graph.Models.MicrosoftAuthenticatorAuthenticationMethodTarget(), "#microsoft.graph.passkeyAuthenticationMethodTarget" => new global::Microsoft.Graph.Models.PasskeyAuthenticationMethodTarget(), "#microsoft.graph.smsAuthenticationMethodTarget" => new global::Microsoft.Graph.Models.SmsAuthenticationMethodTarget(), + "#microsoft.graph.verifiableCredentialAuthenticationMethodTarget" => new global::Microsoft.Graph.Models.VerifiableCredentialAuthenticationMethodTarget(), _ => new global::Microsoft.Graph.Models.AuthenticationMethodTarget(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodsRegistrationCampaignIncludeTarget.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodsRegistrationCampaignIncludeTarget.cs index a769b23c4e7..b3a4dccc95a 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodsRegistrationCampaignIncludeTarget.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodsRegistrationCampaignIncludeTarget.cs @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The authentication method that the user is prompted to register. The value must be microsoftAuthenticator. + /// The authentication method that the user is prompted to register. The value can be Fido2 or microsoftAuthenticator. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TargetedAuthenticationMethod diff --git a/src/Microsoft.Graph/Generated/Models/AzureADJoinPolicy.cs b/src/Microsoft.Graph/Generated/Models/AzureADJoinPolicy.cs index 4b8389218b0..4d6e6744917 100644 --- a/src/Microsoft.Graph/Generated/Models/AzureADJoinPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/AzureADJoinPolicy.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The allowedToJoin property + /// Determines if Microsoft Entra join is allowed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.DeviceRegistrationMembership? AllowedToJoin @@ -37,13 +37,13 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isAdminConfigurable property + /// Determines if administrators can modify this policy. public bool? IsAdminConfigurable { get { return BackingStore?.Get("isAdminConfigurable"); } set { BackingStore?.Set("isAdminConfigurable", value); } } - /// The localAdmins property + /// Determines who becomes a local administrator on joined devices. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.LocalAdminSettings? LocalAdmins diff --git a/src/Microsoft.Graph/Generated/Models/AzureADRegistrationPolicy.cs b/src/Microsoft.Graph/Generated/Models/AzureADRegistrationPolicy.cs index d7b50571ddc..80bdeeca115 100644 --- a/src/Microsoft.Graph/Generated/Models/AzureADRegistrationPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/AzureADRegistrationPolicy.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The allowedToRegister property + /// Determines if Microsoft Entra registered is allowed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.DeviceRegistrationMembership? AllowedToRegister @@ -37,7 +37,7 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isAdminConfigurable property + /// Determines if administrators can modify this policy. public bool? IsAdminConfigurable { get { return BackingStore?.Get("isAdminConfigurable"); } diff --git a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs index 8dd1991bf28..68e4afbae9e 100644 --- a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class BackupRestoreRoot : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The list of browse sessions in the tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? BrowseSessions + { + get { return BackingStore?.Get?>("browseSessions"); } + set { BackingStore?.Set("browseSessions", value); } + } +#nullable restore +#else + public List BrowseSessions + { + get { return BackingStore?.Get>("browseSessions"); } + set { BackingStore?.Set("browseSessions", value); } + } +#endif /// The list of drive inclusion rules applied to the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -139,6 +155,22 @@ public partial class BackupRestoreRoot : global::Microsoft.Graph.Models.Entity, get { return BackingStore?.Get>("mailboxProtectionUnitsBulkAdditionJobs"); } set { BackingStore?.Set("mailboxProtectionUnitsBulkAdditionJobs", value); } } +#endif + /// The list of OneDrive for Business browse sessions in the tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? OneDriveForBusinessBrowseSessions + { + get { return BackingStore?.Get?>("oneDriveForBusinessBrowseSessions"); } + set { BackingStore?.Set("oneDriveForBusinessBrowseSessions", value); } + } +#nullable restore +#else + public List OneDriveForBusinessBrowseSessions + { + get { return BackingStore?.Get>("oneDriveForBusinessBrowseSessions"); } + set { BackingStore?.Set("oneDriveForBusinessBrowseSessions", value); } + } #endif /// The list of OneDrive for Business protection policies in the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -267,6 +299,22 @@ public partial class BackupRestoreRoot : global::Microsoft.Graph.Models.Entity, get { return BackingStore?.Get("serviceStatus"); } set { BackingStore?.Set("serviceStatus", value); } } +#endif + /// The list of SharePoint browse sessions in the tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SharePointBrowseSessions + { + get { return BackingStore?.Get?>("sharePointBrowseSessions"); } + set { BackingStore?.Set("sharePointBrowseSessions", value); } + } +#nullable restore +#else + public List SharePointBrowseSessions + { + get { return BackingStore?.Get>("sharePointBrowseSessions"); } + set { BackingStore?.Set("sharePointBrowseSessions", value); } + } #endif /// The list of SharePoint protection policies in the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -366,6 +414,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "browseSessions", n => { BrowseSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.BrowseSessionBase.CreateFromDiscriminatorValue)?.AsList(); } }, { "driveInclusionRules", n => { DriveInclusionRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveProtectionRule.CreateFromDiscriminatorValue)?.AsList(); } }, { "driveProtectionUnits", n => { DriveProtectionUnits = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveProtectionUnit.CreateFromDiscriminatorValue)?.AsList(); } }, { "driveProtectionUnitsBulkAdditionJobs", n => { DriveProtectionUnitsBulkAdditionJobs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveProtectionUnitsBulkAdditionJob.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -374,6 +423,7 @@ public override IDictionary> GetFieldDeserializers() { "mailboxInclusionRules", n => { MailboxInclusionRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxProtectionRule.CreateFromDiscriminatorValue)?.AsList(); } }, { "mailboxProtectionUnits", n => { MailboxProtectionUnits = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxProtectionUnit.CreateFromDiscriminatorValue)?.AsList(); } }, { "mailboxProtectionUnitsBulkAdditionJobs", n => { MailboxProtectionUnitsBulkAdditionJobs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxProtectionUnitsBulkAdditionJob.CreateFromDiscriminatorValue)?.AsList(); } }, + { "oneDriveForBusinessBrowseSessions", n => { OneDriveForBusinessBrowseSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession.CreateFromDiscriminatorValue)?.AsList(); } }, { "oneDriveForBusinessProtectionPolicies", n => { OneDriveForBusinessProtectionPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OneDriveForBusinessProtectionPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "oneDriveForBusinessRestoreSessions", n => { OneDriveForBusinessRestoreSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OneDriveForBusinessRestoreSession.CreateFromDiscriminatorValue)?.AsList(); } }, { "protectionPolicies", n => { ProtectionPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ProtectionPolicyBase.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -382,6 +432,7 @@ public override IDictionary> GetFieldDeserializers() { "restoreSessions", n => { RestoreSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.RestoreSessionBase.CreateFromDiscriminatorValue)?.AsList(); } }, { "serviceApps", n => { ServiceApps = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ServiceApp.CreateFromDiscriminatorValue)?.AsList(); } }, { "serviceStatus", n => { ServiceStatus = n.GetObjectValue(global::Microsoft.Graph.Models.ServiceStatus.CreateFromDiscriminatorValue); } }, + { "sharePointBrowseSessions", n => { SharePointBrowseSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointBrowseSession.CreateFromDiscriminatorValue)?.AsList(); } }, { "sharePointProtectionPolicies", n => { SharePointProtectionPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointProtectionPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "sharePointRestoreSessions", n => { SharePointRestoreSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointRestoreSession.CreateFromDiscriminatorValue)?.AsList(); } }, { "siteInclusionRules", n => { SiteInclusionRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SiteProtectionRule.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -397,6 +448,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("browseSessions", BrowseSessions); writer.WriteCollectionOfObjectValues("driveInclusionRules", DriveInclusionRules); writer.WriteCollectionOfObjectValues("driveProtectionUnits", DriveProtectionUnits); writer.WriteCollectionOfObjectValues("driveProtectionUnitsBulkAdditionJobs", DriveProtectionUnitsBulkAdditionJobs); @@ -405,6 +457,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("mailboxInclusionRules", MailboxInclusionRules); writer.WriteCollectionOfObjectValues("mailboxProtectionUnits", MailboxProtectionUnits); writer.WriteCollectionOfObjectValues("mailboxProtectionUnitsBulkAdditionJobs", MailboxProtectionUnitsBulkAdditionJobs); + writer.WriteCollectionOfObjectValues("oneDriveForBusinessBrowseSessions", OneDriveForBusinessBrowseSessions); writer.WriteCollectionOfObjectValues("oneDriveForBusinessProtectionPolicies", OneDriveForBusinessProtectionPolicies); writer.WriteCollectionOfObjectValues("oneDriveForBusinessRestoreSessions", OneDriveForBusinessRestoreSessions); writer.WriteCollectionOfObjectValues("protectionPolicies", ProtectionPolicies); @@ -413,6 +466,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("restoreSessions", RestoreSessions); writer.WriteCollectionOfObjectValues("serviceApps", ServiceApps); writer.WriteObjectValue("serviceStatus", ServiceStatus); + writer.WriteCollectionOfObjectValues("sharePointBrowseSessions", SharePointBrowseSessions); writer.WriteCollectionOfObjectValues("sharePointProtectionPolicies", SharePointProtectionPolicies); writer.WriteCollectionOfObjectValues("sharePointRestoreSessions", SharePointRestoreSessions); writer.WriteCollectionOfObjectValues("siteInclusionRules", SiteInclusionRules); diff --git a/src/Microsoft.Graph/Generated/Models/BrowsableResourceType.cs b/src/Microsoft.Graph/Generated/Models/BrowsableResourceType.cs new file mode 100644 index 00000000000..95cc20f9cec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowsableResourceType.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum BrowsableResourceType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "site")] + #pragma warning disable CS1591 + Site, + #pragma warning restore CS1591 + [EnumMember(Value = "documentLibrary")] + #pragma warning disable CS1591 + DocumentLibrary, + #pragma warning restore CS1591 + [EnumMember(Value = "folder")] + #pragma warning disable CS1591 + Folder, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/BrowseQueryOrder.cs b/src/Microsoft.Graph/Generated/Models/BrowseQueryOrder.cs new file mode 100644 index 00000000000..bed2ebb8133 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowseQueryOrder.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum BrowseQueryOrder + #pragma warning restore CS1591 + { + [EnumMember(Value = "pathAsc")] + #pragma warning disable CS1591 + PathAsc, + #pragma warning restore CS1591 + [EnumMember(Value = "pathDsc")] + #pragma warning disable CS1591 + PathDsc, + #pragma warning restore CS1591 + [EnumMember(Value = "nameAsc")] + #pragma warning disable CS1591 + NameAsc, + #pragma warning restore CS1591 + [EnumMember(Value = "nameDsc")] + #pragma warning disable CS1591 + NameDsc, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs b/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs new file mode 100644 index 00000000000..5c3525717ea --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs @@ -0,0 +1,169 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BrowseQueryResponseItem : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Unique identifier of the returned item. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ItemKey + { + get { return BackingStore?.Get("itemKey"); } + set { BackingStore?.Set("itemKey", value); } + } +#nullable restore +#else + public string ItemKey + { + get { return BackingStore?.Get("itemKey"); } + set { BackingStore?.Set("itemKey", value); } + } +#endif + /// The count of items present within the items; for example, the count of files in a folder. + public int? ItemsCount + { + get { return BackingStore?.Get("itemsCount"); } + set { BackingStore?.Set("itemsCount", value); } + } + /// The name of the item. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The size of the item in bytes. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SizeInBytes + { + get { return BackingStore?.Get("sizeInBytes"); } + set { BackingStore?.Set("sizeInBytes", value); } + } +#nullable restore +#else + public string SizeInBytes + { + get { return BackingStore?.Get("sizeInBytes"); } + set { BackingStore?.Set("sizeInBytes", value); } + } +#endif + /// The type property + public global::Microsoft.Graph.Models.BrowseQueryResponseItemType? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } + /// The web URL of the item. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#nullable restore +#else + public string WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public BrowseQueryResponseItem() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.BrowseQueryResponseItem CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.BrowseQueryResponseItem(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "itemKey", n => { ItemKey = n.GetStringValue(); } }, + { "itemsCount", n => { ItemsCount = n.GetIntValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sizeInBytes", n => { SizeInBytes = n.GetStringValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("itemKey", ItemKey); + writer.WriteIntValue("itemsCount", ItemsCount); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("sizeInBytes", SizeInBytes); + writer.WriteEnumValue("type", Type); + writer.WriteStringValue("webUrl", WebUrl); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItemType.cs b/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItemType.cs new file mode 100644 index 00000000000..a9d315ce0a0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItemType.cs @@ -0,0 +1,36 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum BrowseQueryResponseItemType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "site")] + #pragma warning disable CS1591 + Site, + #pragma warning restore CS1591 + [EnumMember(Value = "documentLibrary")] + #pragma warning disable CS1591 + DocumentLibrary, + #pragma warning restore CS1591 + [EnumMember(Value = "folder")] + #pragma warning disable CS1591 + Folder, + #pragma warning restore CS1591 + [EnumMember(Value = "file")] + #pragma warning disable CS1591 + File, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs b/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs new file mode 100644 index 00000000000..8b6f808e7b1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs @@ -0,0 +1,138 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BrowseSessionBase : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The size of the backup in bytes. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BackupSizeInBytes + { + get { return BackingStore?.Get("backupSizeInBytes"); } + set { BackingStore?.Set("backupSizeInBytes", value); } + } +#nullable restore +#else + public string BackupSizeInBytes + { + get { return BackingStore?.Get("backupSizeInBytes"); } + set { BackingStore?.Set("backupSizeInBytes", value); } + } +#endif + /// 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. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// Contains the error details if the browse session creation fails. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PublicError? Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PublicError Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#endif + /// The date and time after which the browse session is deleted automatically. + public DateTimeOffset? ExpirationDateTime + { + get { return BackingStore?.Get("expirationDateTime"); } + set { BackingStore?.Set("expirationDateTime", value); } + } + /// The date and time of the restore point on which the browse session is created. + public DateTimeOffset? RestorePointDateTime + { + get { return BackingStore?.Get("restorePointDateTime"); } + set { BackingStore?.Set("restorePointDateTime", value); } + } + /// The restorePointId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RestorePointId + { + get { return BackingStore?.Get("restorePointId"); } + set { BackingStore?.Set("restorePointId", value); } + } +#nullable restore +#else + public string RestorePointId + { + get { return BackingStore?.Get("restorePointId"); } + set { BackingStore?.Set("restorePointId", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Models.BrowseSessionStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.BrowseSessionBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.oneDriveForBusinessBrowseSession" => new global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession(), + "#microsoft.graph.sharePointBrowseSession" => new global::Microsoft.Graph.Models.SharePointBrowseSession(), + _ => new global::Microsoft.Graph.Models.BrowseSessionBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "backupSizeInBytes", n => { BackupSizeInBytes = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "error", n => { Error = n.GetObjectValue(global::Microsoft.Graph.Models.PublicError.CreateFromDiscriminatorValue); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "restorePointDateTime", n => { RestorePointDateTime = n.GetDateTimeOffsetValue(); } }, + { "restorePointId", n => { RestorePointId = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("backupSizeInBytes", BackupSizeInBytes); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteObjectValue("error", Error); + writer.WriteDateTimeOffsetValue("expirationDateTime", ExpirationDateTime); + writer.WriteDateTimeOffsetValue("restorePointDateTime", RestorePointDateTime); + writer.WriteStringValue("restorePointId", RestorePointId); + writer.WriteEnumValue("status", Status); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BrowseSessionBaseCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/BrowseSessionBaseCollectionResponse.cs new file mode 100644 index 00000000000..70a82c66032 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowseSessionBaseCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BrowseSessionBaseCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.BrowseSessionBaseCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.BrowseSessionBaseCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.BrowseSessionBase.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BrowseSessionStatus.cs b/src/Microsoft.Graph/Generated/Models/BrowseSessionStatus.cs new file mode 100644 index 00000000000..c26f93582cb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowseSessionStatus.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum BrowseSessionStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "creating")] + #pragma warning disable CS1591 + Creating, + #pragma warning restore CS1591 + [EnumMember(Value = "created")] + #pragma warning disable CS1591 + Created, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Channel.cs b/src/Microsoft.Graph/Generated/Models/Channel.cs index 60a10c8ce5c..b07ebc1e1db 100644 --- a/src/Microsoft.Graph/Generated/Models/Channel.cs +++ b/src/Microsoft.Graph/Generated/Models/Channel.cs @@ -170,13 +170,13 @@ public bool? IsFavoriteByDefault set { BackingStore?.Set("messages", value); } } #endif - /// 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. public global::Microsoft.Graph.Models.MigrationMode? MigrationMode { get { return BackingStore?.Get("migrationMode"); } set { BackingStore?.Set("migrationMode", value); } } - /// The originalCreatedDateTime property + /// Timestamp of the original creation time for the channel. The value is null if the channel never entered migration mode. public DateTimeOffset? OriginalCreatedDateTime { get { return BackingStore?.Get("originalCreatedDateTime"); } diff --git a/src/Microsoft.Graph/Generated/Models/Chat.cs b/src/Microsoft.Graph/Generated/Models/Chat.cs index 97a0bc43ff2..20b18bc5830 100644 --- a/src/Microsoft.Graph/Generated/Models/Chat.cs +++ b/src/Microsoft.Graph/Generated/Models/Chat.cs @@ -100,7 +100,7 @@ public DateTimeOffset? LastUpdatedDateTime set { BackingStore?.Set("messages", value); } } #endif - /// 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. public global::Microsoft.Graph.Models.MigrationMode? MigrationMode { get { return BackingStore?.Get("migrationMode"); } @@ -122,7 +122,7 @@ public DateTimeOffset? LastUpdatedDateTime set { BackingStore?.Set("onlineMeetingInfo", value); } } #endif - /// The originalCreatedDateTime property + /// Timestamp of the original creation time for the chat. The value is null if the chat never entered migration mode. public DateTimeOffset? OriginalCreatedDateTime { get { return BackingStore?.Get("originalCreatedDateTime"); } @@ -175,6 +175,22 @@ public DateTimeOffset? OriginalCreatedDateTime get { return BackingStore?.Get>("tabs"); } set { BackingStore?.Set("tabs", value); } } +#endif + /// The targetedMessages property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? TargetedMessages + { + get { return BackingStore?.Get?>("targetedMessages"); } + set { BackingStore?.Set("targetedMessages", value); } + } +#nullable restore +#else + public List TargetedMessages + { + get { return BackingStore?.Get>("targetedMessages"); } + set { BackingStore?.Set("targetedMessages", value); } + } #endif /// The identifier of the tenant in which the chat was created. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -272,6 +288,7 @@ public override IDictionary> GetFieldDeserializers() { "permissionGrants", n => { PermissionGrants = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue)?.AsList(); } }, { "pinnedMessages", n => { PinnedMessages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PinnedChatMessageInfo.CreateFromDiscriminatorValue)?.AsList(); } }, { "tabs", n => { Tabs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TeamsTab.CreateFromDiscriminatorValue)?.AsList(); } }, + { "targetedMessages", n => { TargetedMessages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, { "tenantId", n => { TenantId = n.GetStringValue(); } }, { "topic", n => { Topic = n.GetStringValue(); } }, { "viewpoint", n => { Viewpoint = n.GetObjectValue(global::Microsoft.Graph.Models.ChatViewpoint.CreateFromDiscriminatorValue); } }, @@ -300,6 +317,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("permissionGrants", PermissionGrants); writer.WriteCollectionOfObjectValues("pinnedMessages", PinnedMessages); writer.WriteCollectionOfObjectValues("tabs", Tabs); + writer.WriteCollectionOfObjectValues("targetedMessages", TargetedMessages); writer.WriteStringValue("tenantId", TenantId); writer.WriteStringValue("topic", Topic); writer.WriteObjectValue("viewpoint", Viewpoint); diff --git a/src/Microsoft.Graph/Generated/Models/ChatMessage.cs b/src/Microsoft.Graph/Generated/Models/ChatMessage.cs index e33bfadcf31..fdda498ddc5 100644 --- a/src/Microsoft.Graph/Generated/Models/ChatMessage.cs +++ b/src/Microsoft.Graph/Generated/Models/ChatMessage.cs @@ -344,7 +344,12 @@ public string WebUrl public static new global::Microsoft.Graph.Models.ChatMessage CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Models.ChatMessage(); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.targetedChatMessage" => new global::Microsoft.Graph.Models.TargetedChatMessage(), + _ => new global::Microsoft.Graph.Models.ChatMessage(), + }; } /// /// The deserialization information for the current model diff --git a/src/Microsoft.Graph/Generated/Models/ClaimBinding.cs b/src/Microsoft.Graph/Generated/Models/ClaimBinding.cs new file mode 100644 index 00000000000..3ed9a747369 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ClaimBinding.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClaimBinding : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The matchConfidenceLevel property + public global::Microsoft.Graph.Models.MatchConfidenceLevel? MatchConfidenceLevel + { + get { return BackingStore?.Get("matchConfidenceLevel"); } + set { BackingStore?.Set("matchConfidenceLevel", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Source attribute name from the source system, for example a directory attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SourceAttribute + { + get { return BackingStore?.Get("sourceAttribute"); } + set { BackingStore?.Set("sourceAttribute", value); } + } +#nullable restore +#else + public string SourceAttribute + { + get { return BackingStore?.Get("sourceAttribute"); } + set { BackingStore?.Set("sourceAttribute", value); } + } +#endif + /// Verified ID claim name or path, for example vc.credentialSubject.firstName. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? VerifiedIdClaim + { + get { return BackingStore?.Get("verifiedIdClaim"); } + set { BackingStore?.Set("verifiedIdClaim", value); } + } +#nullable restore +#else + public string VerifiedIdClaim + { + get { return BackingStore?.Get("verifiedIdClaim"); } + set { BackingStore?.Set("verifiedIdClaim", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClaimBinding() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ClaimBinding CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ClaimBinding(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "matchConfidenceLevel", n => { MatchConfidenceLevel = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sourceAttribute", n => { SourceAttribute = n.GetStringValue(); } }, + { "verifiedIdClaim", n => { VerifiedIdClaim = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("matchConfidenceLevel", MatchConfidenceLevel); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("sourceAttribute", SourceAttribute); + writer.WriteStringValue("verifiedIdClaim", VerifiedIdClaim); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ClaimBindingSource.cs b/src/Microsoft.Graph/Generated/Models/ClaimBindingSource.cs new file mode 100644 index 00000000000..c26992c86c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ClaimBindingSource.cs @@ -0,0 +1,20 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ClaimBindingSource + #pragma warning restore CS1591 + { + [EnumMember(Value = "directory")] + #pragma warning disable CS1591 + Directory, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ClaimValidation.cs b/src/Microsoft.Graph/Generated/Models/ClaimValidation.cs new file mode 100644 index 00000000000..953e00ffa4a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ClaimValidation.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClaimValidation : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The identifier of a custom extension for claim validation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomExtensionId + { + get { return BackingStore?.Get("customExtensionId"); } + set { BackingStore?.Set("customExtensionId", value); } + } +#nullable restore +#else + public string CustomExtensionId + { + get { return BackingStore?.Get("customExtensionId"); } + set { BackingStore?.Set("customExtensionId", value); } + } +#endif + /// Indicates whether claim validation is enabled. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClaimValidation() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ClaimValidation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ClaimValidation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "customExtensionId", n => { CustomExtensionId = n.GetStringValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("customExtensionId", CustomExtensionId); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnection.cs b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnection.cs index 23368cf692e..0469cfbd42c 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnection.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnection.cs @@ -98,7 +98,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The healthCheckPaused property + /// Indicates whether regular health checks on the network or domain configuration are paused or active. false if the regular health checks on the network or domain configuration are currently active. true if the checks are paused. If you perform a create or update operation on a onPremisesNetworkConnection resource, this value is set to false for four weeks. If you retry a health check on network or domain configuration, this value is set to false for two weeks. If the onPremisesNetworkConnection resource is attached in a provisioningPolicy or used by a Cloud PC in the past four weeks, healthCheckPaused is set to false. Read-only. Default is false. public bool? HealthCheckPaused { get { return BackingStore?.Get("healthCheckPaused"); } @@ -126,13 +126,13 @@ public bool? HealthCheckPaused set { BackingStore?.Set("healthCheckStatusDetail", value); } } #endif - /// When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection that’s in use. Requires $select to retrieve. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetail. Read-only. + /// When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection that’s in use. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetail. Read-only. public bool? InUse { get { return BackingStore?.Get("inUse"); } set { BackingStore?.Set("inUse", value); } } - /// The inUseByCloudPc property + /// Indicates whether a Cloud PC is using this on-premises network connection. true if at least one Cloud PC is using it. Otherwise, false. Read-only. Default is false. public bool? InUseByCloudPc { get { return BackingStore?.Get("inUseByCloudPc"); } @@ -170,7 +170,7 @@ public string ResourceGroupId set { BackingStore?.Set("resourceGroupId", value); } } #endif - /// The scopeIds property + /// The scope IDs of the corresponding permission. Currently, it's the Intune scope tag ID. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ScopeIds diff --git a/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControl.cs b/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControl.cs index 762b291cfe6..d56b4819534 100644 --- a/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControl.cs +++ b/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControl.cs @@ -40,5 +40,9 @@ public enum ConditionalAccessGrantControl #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "riskRemediation")] + #pragma warning disable CS1591 + RiskRemediation, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControls.cs b/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControls.cs index a47939652af..f2642291ad3 100644 --- a/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControls.cs +++ b/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControls.cs @@ -37,7 +37,7 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue. + /// List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue, riskRemediation. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: riskRemediation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? BuiltInControls diff --git a/src/Microsoft.Graph/Generated/Models/CsaStarLevel.cs b/src/Microsoft.Graph/Generated/Models/CsaStarLevel.cs new file mode 100644 index 00000000000..7eaff0ba4ba --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CsaStarLevel.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CsaStarLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "attestation")] + #pragma warning disable CS1591 + Attestation, + #pragma warning restore CS1591 + [EnumMember(Value = "certification")] + #pragma warning disable CS1591 + Certification, + #pragma warning restore CS1591 + [EnumMember(Value = "continuousMonitoring")] + #pragma warning disable CS1591 + ContinuousMonitoring, + #pragma warning restore CS1591 + [EnumMember(Value = "cStarAssessment")] + #pragma warning disable CS1591 + CStarAssessment, + #pragma warning restore CS1591 + [EnumMember(Value = "selfAssessment")] + #pragma warning disable CS1591 + SelfAssessment, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CustomAppManagementApplicationConfiguration.cs b/src/Microsoft.Graph/Generated/Models/CustomAppManagementApplicationConfiguration.cs new file mode 100644 index 00000000000..be42eef5269 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomAppManagementApplicationConfiguration.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CustomAppManagementApplicationConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Configuration for identifierUris restrictions. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentifierUriConfiguration? IdentifierUris + { + get { return BackingStore?.Get("identifierUris"); } + set { BackingStore?.Set("identifierUris", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentifierUriConfiguration IdentifierUris + { + get { return BackingStore?.Get("identifierUris"); } + set { BackingStore?.Set("identifierUris", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CustomAppManagementApplicationConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.CustomAppManagementApplicationConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CustomAppManagementApplicationConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "identifierUris", n => { IdentifierUris = n.GetObjectValue(global::Microsoft.Graph.Models.IdentifierUriConfiguration.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("identifierUris", IdentifierUris); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CustomAppManagementConfiguration.cs b/src/Microsoft.Graph/Generated/Models/CustomAppManagementConfiguration.cs index e3405d15635..f4d173a9c55 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomAppManagementConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomAppManagementConfiguration.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class CustomAppManagementConfiguration : global::Microsoft.Graph.Models.AppManagementConfiguration, IParsable #pragma warning restore CS1591 { + /// Restrictions that are applicable only to application objects to which the policy is attached. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CustomAppManagementApplicationConfiguration? ApplicationRestrictions + { + get { return BackingStore?.Get("applicationRestrictions"); } + set { BackingStore?.Set("applicationRestrictions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CustomAppManagementApplicationConfiguration ApplicationRestrictions + { + get { return BackingStore?.Get("applicationRestrictions"); } + set { BackingStore?.Set("applicationRestrictions", value); } + } +#endif /// /// Instantiates a new and sets the default values. /// @@ -37,6 +53,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "applicationRestrictions", n => { ApplicationRestrictions = n.GetObjectValue(global::Microsoft.Graph.Models.CustomAppManagementApplicationConfiguration.CreateFromDiscriminatorValue); } }, }; } /// @@ -47,6 +64,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("applicationRestrictions", ApplicationRestrictions); } } } diff --git a/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs b/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs index 8d8d022ea48..ce33ed34e51 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs @@ -51,6 +51,7 @@ public CustomAuthenticationExtension() : base() "#microsoft.graph.onOtpSendCustomExtension" => new global::Microsoft.Graph.Models.OnOtpSendCustomExtension(), "#microsoft.graph.onPasswordSubmitCustomExtension" => new global::Microsoft.Graph.Models.OnPasswordSubmitCustomExtension(), "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new global::Microsoft.Graph.Models.OnTokenIssuanceStartCustomExtension(), + "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension" => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension(), _ => new global::Microsoft.Graph.Models.CustomAuthenticationExtension(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs b/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs index 8c54aa72dec..d2a4a9e57f7 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs @@ -113,6 +113,7 @@ public string DisplayName "#microsoft.graph.onOtpSendCustomExtension" => new global::Microsoft.Graph.Models.OnOtpSendCustomExtension(), "#microsoft.graph.onPasswordSubmitCustomExtension" => new global::Microsoft.Graph.Models.OnPasswordSubmitCustomExtension(), "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new global::Microsoft.Graph.Models.OnTokenIssuanceStartCustomExtension(), + "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension" => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension(), _ => new global::Microsoft.Graph.Models.CustomCalloutExtension(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/CustomSecurityAttributeComparisonOperator.cs b/src/Microsoft.Graph/Generated/Models/CustomSecurityAttributeComparisonOperator.cs new file mode 100644 index 00000000000..8269e23f87d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomSecurityAttributeComparisonOperator.cs @@ -0,0 +1,20 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CustomSecurityAttributeComparisonOperator + #pragma warning restore CS1591 + { + [EnumMember(Value = "equals")] + #pragma warning disable CS1591 + Equals, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CustomSecurityAttributeExemption.cs b/src/Microsoft.Graph/Generated/Models/CustomSecurityAttributeExemption.cs new file mode 100644 index 00000000000..710f52ada52 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomSecurityAttributeExemption.cs @@ -0,0 +1,59 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CustomSecurityAttributeExemption : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The operator property + public global::Microsoft.Graph.Models.CustomSecurityAttributeComparisonOperator? Operator + { + get { return BackingStore?.Get("operator"); } + set { BackingStore?.Set("operator", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.CustomSecurityAttributeExemption CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.customSecurityAttributeStringValueExemption" => new global::Microsoft.Graph.Models.CustomSecurityAttributeStringValueExemption(), + _ => new global::Microsoft.Graph.Models.CustomSecurityAttributeExemption(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "operator", n => { Operator = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("operator", Operator); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CustomSecurityAttributeStringValueExemption.cs b/src/Microsoft.Graph/Generated/Models/CustomSecurityAttributeStringValueExemption.cs new file mode 100644 index 00000000000..7c12ce92252 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomSecurityAttributeStringValueExemption.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CustomSecurityAttributeStringValueExemption : global::Microsoft.Graph.Models.CustomSecurityAttributeExemption, IParsable + #pragma warning restore CS1591 + { + /// Value representing custom security attribute value to compare against while evaluating the exemption. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public string Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CustomSecurityAttributeStringValueExemption() : base() + { + OdataType = "#microsoft.graph.customSecurityAttributeStringValueExemption"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.CustomSecurityAttributeStringValueExemption CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CustomSecurityAttributeStringValueExemption(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DataProtection.cs b/src/Microsoft.Graph/Generated/Models/DataProtection.cs new file mode 100644 index 00000000000..4c63f0ae57d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DataProtection.cs @@ -0,0 +1,33 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum DataProtection + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "impactAssessments")] + #pragma warning disable CS1591 + ImpactAssessments = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "officers")] + #pragma warning disable CS1591 + Officers = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "secureCrossBorderDataTransfer")] + #pragma warning disable CS1591 + SecureCrossBorderDataTransfer = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 16, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DataRetentionLevel.cs b/src/Microsoft.Graph/Generated/Models/DataRetentionLevel.cs new file mode 100644 index 00000000000..e8d54e187a9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DataRetentionLevel.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum DataRetentionLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "dataRetained")] + #pragma warning disable CS1591 + DataRetained, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedImmediately")] + #pragma warning disable CS1591 + DeletedImmediately, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedWithin1Month")] + #pragma warning disable CS1591 + DeletedWithin1Month, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedWithin2Weeks")] + #pragma warning disable CS1591 + DeletedWithin2Weeks, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedWithin3Months")] + #pragma warning disable CS1591 + DeletedWithin3Months, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedWithinMoreThan3Months")] + #pragma warning disable CS1591 + DeletedWithinMoreThan3Months, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DeviceRegistrationPolicy.cs b/src/Microsoft.Graph/Generated/Models/DeviceRegistrationPolicy.cs index e205727f84c..ea1841203d2 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceRegistrationPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceRegistrationPolicy.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class DeviceRegistrationPolicy : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The azureADJoin property + /// Specifies the authorization policy for controlling registration of new devices using Microsoft Entra join within your organization. Required. For more information, see What is a device identity?. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.AzureADJoinPolicy? AzureADJoin @@ -28,7 +28,7 @@ public partial class DeviceRegistrationPolicy : global::Microsoft.Graph.Models.E set { BackingStore?.Set("azureADJoin", value); } } #endif - /// The azureADRegistration property + /// Specifies the authorization policy for controlling registration of new devices using Microsoft Entra registered within your organization. Required. For more information, see What is a device identity?. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.AzureADRegistrationPolicy? AzureADRegistration @@ -44,7 +44,7 @@ public partial class DeviceRegistrationPolicy : global::Microsoft.Graph.Models.E set { BackingStore?.Set("azureADRegistration", value); } } #endif - /// The description property + /// The description of the device registration policy. Always set to Tenant-wide policy that manages intial provisioning controls using quota restrictions, additional authentication and authorization checks. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -60,7 +60,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// The displayName property + /// The name of the device registration policy. Always set to Device Registration Policy. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -76,7 +76,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The localAdminPassword property + /// Specifies the setting for Local Admin Password Solution (LAPS) within your organization. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.LocalAdminPasswordSettings? LocalAdminPassword @@ -98,7 +98,7 @@ public string DisplayName get { return BackingStore?.Get("multiFactorAuthConfiguration"); } set { BackingStore?.Set("multiFactorAuthConfiguration", value); } } - /// The userDeviceQuota property + /// Specifies the maximum number of devices that a user can have within your organization before blocking new device registrations. The default value is set to 50. If this property isn't specified during the policy update operation, it's automatically reset to 0 to indicate that users aren't allowed to join any devices. public int? UserDeviceQuota { get { return BackingStore?.Get("userDeviceQuota"); } diff --git a/src/Microsoft.Graph/Generated/Models/EmailDetails.cs b/src/Microsoft.Graph/Generated/Models/EmailDetails.cs new file mode 100644 index 00000000000..f99cf8fa1cf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EmailDetails.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EmailDetails : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The body content of the notification email in plain text format. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Body + { + get { return BackingStore?.Get("body"); } + set { BackingStore?.Set("body", value); } + } +#nullable restore +#else + public string Body + { + get { return BackingStore?.Get("body"); } + set { BackingStore?.Set("body", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The email address of the sender for notification emails. Shared mailboxes aren't supported. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SenderEmailAddress + { + get { return BackingStore?.Get("senderEmailAddress"); } + set { BackingStore?.Set("senderEmailAddress", value); } + } +#nullable restore +#else + public string SenderEmailAddress + { + get { return BackingStore?.Get("senderEmailAddress"); } + set { BackingStore?.Set("senderEmailAddress", value); } + } +#endif + /// The subject line of the notification email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Subject + { + get { return BackingStore?.Get("subject"); } + set { BackingStore?.Set("subject", value); } + } +#nullable restore +#else + public string Subject + { + get { return BackingStore?.Get("subject"); } + set { BackingStore?.Set("subject", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EmailDetails() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.EmailDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.EmailDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "body", n => { Body = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "senderEmailAddress", n => { SenderEmailAddress = n.GetStringValue(); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("body", Body); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("senderEmailAddress", SenderEmailAddress); + writer.WriteStringValue("subject", Subject); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs b/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs index 60cd460b352..20ceb8e70cd 100644 --- a/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs +++ b/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs @@ -203,6 +203,22 @@ public partial class EntitlementManagement : global::Microsoft.Graph.Models.Enti get { return BackingStore?.Get("settings"); } set { BackingStore?.Set("settings", value); } } +#endif + /// The subjects property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Subjects + { + get { return BackingStore?.Get?>("subjects"); } + set { BackingStore?.Set("subjects", value); } + } +#nullable restore +#else + public List Subjects + { + get { return BackingStore?.Get>("subjects"); } + set { BackingStore?.Set("subjects", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -234,6 +250,7 @@ public override IDictionary> GetFieldDeserializers() { "resourceRoleScopes", n => { ResourceRoleScopes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageResourceRoleScope.CreateFromDiscriminatorValue)?.AsList(); } }, { "resources", n => { Resources = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageResource.CreateFromDiscriminatorValue)?.AsList(); } }, { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Models.EntitlementManagementSettings.CreateFromDiscriminatorValue); } }, + { "subjects", n => { Subjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -256,6 +273,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("resourceRoleScopes", ResourceRoleScopes); writer.WriteCollectionOfObjectValues("resources", Resources); writer.WriteObjectValue("settings", Settings); + writer.WriteCollectionOfObjectValues("subjects", Subjects); } } } diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 2cb1fb14e14..ab16c827405 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -209,6 +209,7 @@ public Entity() "#microsoft.graph.browserSharedCookie" => new global::Microsoft.Graph.Models.BrowserSharedCookie(), "#microsoft.graph.browserSite" => new global::Microsoft.Graph.Models.BrowserSite(), "#microsoft.graph.browserSiteList" => new global::Microsoft.Graph.Models.BrowserSiteList(), + "#microsoft.graph.browseSessionBase" => new global::Microsoft.Graph.Models.BrowseSessionBase(), "#microsoft.graph.building" => new global::Microsoft.Graph.Models.Building(), "#microsoft.graph.buildingMap" => new global::Microsoft.Graph.Models.BuildingMap(), "#microsoft.graph.builtInIdentityProvider" => new global::Microsoft.Graph.Models.BuiltInIdentityProvider(), @@ -457,7 +458,10 @@ public Entity() "#microsoft.graph.footprintMap" => new global::Microsoft.Graph.Models.FootprintMap(), "#microsoft.graph.fraudProtectionProvider" => new global::Microsoft.Graph.Models.FraudProtectionProvider(), "#microsoft.graph.governanceInsight" => new global::Microsoft.Graph.Models.GovernanceInsight(), + "#microsoft.graph.granularDriveRestoreArtifact" => new global::Microsoft.Graph.Models.GranularDriveRestoreArtifact(), "#microsoft.graph.granularMailboxRestoreArtifact" => new global::Microsoft.Graph.Models.GranularMailboxRestoreArtifact(), + "#microsoft.graph.granularRestoreArtifactBase" => new global::Microsoft.Graph.Models.GranularRestoreArtifactBase(), + "#microsoft.graph.granularSiteRestoreArtifact" => new global::Microsoft.Graph.Models.GranularSiteRestoreArtifact(), "#microsoft.graph.group" => new global::Microsoft.Graph.Models.Group(), "#microsoft.graph.groupLifecyclePolicy" => new global::Microsoft.Graph.Models.GroupLifecyclePolicy(), "#microsoft.graph.groupSetting" => new global::Microsoft.Graph.Models.GroupSetting(), @@ -487,6 +491,7 @@ public Entity() "#microsoft.graph.identityUserFlow" => new global::Microsoft.Graph.Models.IdentityUserFlow(), "#microsoft.graph.identityUserFlowAttribute" => new global::Microsoft.Graph.Models.IdentityUserFlowAttribute(), "#microsoft.graph.identityUserFlowAttributeAssignment" => new global::Microsoft.Graph.Models.IdentityUserFlowAttributeAssignment(), + "#microsoft.graph.identityVerifiedIdRoot" => new global::Microsoft.Graph.Models.IdentityVerifiedIdRoot(), "#microsoft.graph.importedWindowsAutopilotDeviceIdentity" => new global::Microsoft.Graph.Models.ImportedWindowsAutopilotDeviceIdentity(), "#microsoft.graph.importedWindowsAutopilotDeviceIdentityUpload" => new global::Microsoft.Graph.Models.ImportedWindowsAutopilotDeviceIdentityUpload(), "#microsoft.graph.inferenceClassification" => new global::Microsoft.Graph.Models.InferenceClassification(), @@ -623,6 +628,7 @@ public Entity() "#microsoft.graph.onAttributeCollectionSubmitCustomExtension" => new global::Microsoft.Graph.Models.OnAttributeCollectionSubmitCustomExtension(), "#microsoft.graph.onAttributeCollectionSubmitListener" => new global::Microsoft.Graph.Models.OnAttributeCollectionSubmitListener(), "#microsoft.graph.onAuthenticationMethodLoadStartListener" => new global::Microsoft.Graph.Models.OnAuthenticationMethodLoadStartListener(), + "#microsoft.graph.oneDriveForBusinessBrowseSession" => new global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession(), "#microsoft.graph.oneDriveForBusinessProtectionPolicy" => new global::Microsoft.Graph.Models.OneDriveForBusinessProtectionPolicy(), "#microsoft.graph.oneDriveForBusinessRestoreSession" => new global::Microsoft.Graph.Models.OneDriveForBusinessRestoreSession(), "#microsoft.graph.onEmailOtpSendListener" => new global::Microsoft.Graph.Models.OnEmailOtpSendListener(), @@ -648,6 +654,8 @@ public Entity() "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new global::Microsoft.Graph.Models.OnTokenIssuanceStartCustomExtension(), "#microsoft.graph.onTokenIssuanceStartListener" => new global::Microsoft.Graph.Models.OnTokenIssuanceStartListener(), "#microsoft.graph.onUserCreateStartListener" => new global::Microsoft.Graph.Models.OnUserCreateStartListener(), + "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension" => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension(), + "#microsoft.graph.onVerifiedIdClaimValidationListener" => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationListener(), "#microsoft.graph.openShift" => new global::Microsoft.Graph.Models.OpenShift(), "#microsoft.graph.openShiftChangeRequest" => new global::Microsoft.Graph.Models.OpenShiftChangeRequest(), "#microsoft.graph.openTypeExtension" => new global::Microsoft.Graph.Models.OpenTypeExtension(), @@ -660,6 +668,7 @@ public Entity() "#microsoft.graph.outlookCategory" => new global::Microsoft.Graph.Models.OutlookCategory(), "#microsoft.graph.outlookItem" => new global::Microsoft.Graph.Models.OutlookItem(), "#microsoft.graph.outlookUser" => new global::Microsoft.Graph.Models.OutlookUser(), + "#microsoft.graph.ownerlessGroupPolicy" => new global::Microsoft.Graph.Models.OwnerlessGroupPolicy(), "#microsoft.graph.participant" => new global::Microsoft.Graph.Models.Participant(), "#microsoft.graph.participantJoiningNotification" => new global::Microsoft.Graph.Models.ParticipantJoiningNotification(), "#microsoft.graph.participantLeftNotification" => new global::Microsoft.Graph.Models.ParticipantLeftNotification(), @@ -898,6 +907,7 @@ public Entity() "#microsoft.graph.sharedPCConfiguration" => new global::Microsoft.Graph.Models.SharedPCConfiguration(), "#microsoft.graph.sharedWithChannelTeamInfo" => new global::Microsoft.Graph.Models.SharedWithChannelTeamInfo(), "#microsoft.graph.sharepoint" => new global::Microsoft.Graph.Models.Sharepoint(), + "#microsoft.graph.sharePointBrowseSession" => new global::Microsoft.Graph.Models.SharePointBrowseSession(), "#microsoft.graph.sharePointGroup" => new global::Microsoft.Graph.Models.SharePointGroup(), "#microsoft.graph.sharePointGroupMember" => new global::Microsoft.Graph.Models.SharePointGroupMember(), "#microsoft.graph.sharePointMigrationEvent" => new global::Microsoft.Graph.Models.SharePointMigrationEvent(), @@ -952,6 +962,7 @@ public Entity() "#microsoft.graph.synchronizationSchema" => new global::Microsoft.Graph.Models.SynchronizationSchema(), "#microsoft.graph.synchronizationTemplate" => new global::Microsoft.Graph.Models.SynchronizationTemplate(), "#microsoft.graph.targetDeviceGroup" => new global::Microsoft.Graph.Models.TargetDeviceGroup(), + "#microsoft.graph.targetedChatMessage" => new global::Microsoft.Graph.Models.TargetedChatMessage(), "#microsoft.graph.targetedManagedAppConfiguration" => new global::Microsoft.Graph.Models.TargetedManagedAppConfiguration(), "#microsoft.graph.targetedManagedAppPolicyAssignment" => new global::Microsoft.Graph.Models.TargetedManagedAppPolicyAssignment(), "#microsoft.graph.targetedManagedAppProtection" => new global::Microsoft.Graph.Models.TargetedManagedAppProtection(), @@ -1075,6 +1086,9 @@ public Entity() "#microsoft.graph.userSolutionRoot" => new global::Microsoft.Graph.Models.UserSolutionRoot(), "#microsoft.graph.userStorage" => new global::Microsoft.Graph.Models.UserStorage(), "#microsoft.graph.userTeamwork" => new global::Microsoft.Graph.Models.UserTeamwork(), + "#microsoft.graph.verifiableCredentialAuthenticationMethodTarget" => new global::Microsoft.Graph.Models.VerifiableCredentialAuthenticationMethodTarget(), + "#microsoft.graph.verifiableCredentialsAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.VerifiableCredentialsAuthenticationMethodConfiguration(), + "#microsoft.graph.verifiedIdProfile" => new global::Microsoft.Graph.Models.VerifiedIdProfile(), "#microsoft.graph.verticalSection" => new global::Microsoft.Graph.Models.VerticalSection(), "#microsoft.graph.virtualEndpoint" => new global::Microsoft.Graph.Models.VirtualEndpoint(), "#microsoft.graph.virtualEvent" => new global::Microsoft.Graph.Models.VirtualEvent(), diff --git a/src/Microsoft.Graph/Generated/Models/EnumeratedDeviceRegistrationMembership.cs b/src/Microsoft.Graph/Generated/Models/EnumeratedDeviceRegistrationMembership.cs index dd4995ec7e2..7b1c3713f4b 100644 --- a/src/Microsoft.Graph/Generated/Models/EnumeratedDeviceRegistrationMembership.cs +++ b/src/Microsoft.Graph/Generated/Models/EnumeratedDeviceRegistrationMembership.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class EnumeratedDeviceRegistrationMembership : global::Microsoft.Graph.Models.DeviceRegistrationMembership, IParsable #pragma warning restore CS1591 { - /// The groups property + /// List of groups that this policy applies to. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Groups @@ -28,7 +28,7 @@ public List Groups set { BackingStore?.Set("groups", value); } } #endif - /// The users property + /// List of users that this policy applies to. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Users diff --git a/src/Microsoft.Graph/Generated/Models/ExchangeAdmin.cs b/src/Microsoft.Graph/Generated/Models/ExchangeAdmin.cs index 17528ad0c0c..f9036884341 100644 --- a/src/Microsoft.Graph/Generated/Models/ExchangeAdmin.cs +++ b/src/Microsoft.Graph/Generated/Models/ExchangeAdmin.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class ExchangeAdmin : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The mailboxes property + /// Represents a user's mailboxes. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Mailboxes diff --git a/src/Microsoft.Graph/Generated/Models/ExchangeSettings.cs b/src/Microsoft.Graph/Generated/Models/ExchangeSettings.cs index 4d927d2f2b9..42a3e50d1b5 100644 --- a/src/Microsoft.Graph/Generated/Models/ExchangeSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/ExchangeSettings.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class ExchangeSettings : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The primaryMailboxId property + /// The unique identifier for the user's primary mailbox. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrimaryMailboxId diff --git a/src/Microsoft.Graph/Generated/Models/ExportItemResponse.cs b/src/Microsoft.Graph/Generated/Models/ExportItemResponse.cs index a2ef813debf..2f6f5f3e857 100644 --- a/src/Microsoft.Graph/Generated/Models/ExportItemResponse.cs +++ b/src/Microsoft.Graph/Generated/Models/ExportItemResponse.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The changeKey property + /// The version of the item. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ChangeKey @@ -37,7 +37,7 @@ public string ChangeKey set { BackingStore?.Set("changeKey", value); } } #endif - /// The data property + /// Data that represents an item in a Base64-encoded opaque stream. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public byte[]? Data @@ -53,7 +53,7 @@ public byte[] Data set { BackingStore?.Set("data", value); } } #endif - /// The error property + /// An error that occurs during an action. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.MailTipsError? Error @@ -69,7 +69,7 @@ public byte[] Data set { BackingStore?.Set("error", value); } } #endif - /// The itemId property + /// The unique identifier of the item. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ItemId diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs index 19d6dbf6623..10c1f558418 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs @@ -204,5 +204,25 @@ public enum Label #pragma warning disable CS1591 PersonEmergencyContacts, #pragma warning restore CS1591 + [EnumMember(Value = "personEducationalActivities")] + #pragma warning disable CS1591 + PersonEducationalActivities, + #pragma warning restore CS1591 + [EnumMember(Value = "personInterests")] + #pragma warning disable CS1591 + PersonInterests, + #pragma warning restore CS1591 + [EnumMember(Value = "personLanguages")] + #pragma warning disable CS1591 + PersonLanguages, + #pragma warning restore CS1591 + [EnumMember(Value = "personPublications")] + #pragma warning disable CS1591 + PersonPublications, + #pragma warning restore CS1591 + [EnumMember(Value = "personPatents")] + #pragma warning disable CS1591 + PersonPatents, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/FaceCheckConfiguration.cs b/src/Microsoft.Graph/Generated/Models/FaceCheckConfiguration.cs new file mode 100644 index 00000000000..d1e19be723a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FaceCheckConfiguration.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FaceCheckConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Defines if Face Check is required. Currently must always be true. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Source of photo to validate Face Check against. Currently must always be portrait. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SourcePhotoClaimName + { + get { return BackingStore?.Get("sourcePhotoClaimName"); } + set { BackingStore?.Set("sourcePhotoClaimName", value); } + } +#nullable restore +#else + public string SourcePhotoClaimName + { + get { return BackingStore?.Get("sourcePhotoClaimName"); } + set { BackingStore?.Set("sourcePhotoClaimName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public FaceCheckConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.FaceCheckConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FaceCheckConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sourcePhotoClaimName", n => { SourcePhotoClaimName = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("sourcePhotoClaimName", SourcePhotoClaimName); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/FedRampLevel.cs b/src/Microsoft.Graph/Generated/Models/FedRampLevel.cs new file mode 100644 index 00000000000..194c8ec5f5b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FedRampLevel.cs @@ -0,0 +1,40 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum FedRampLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "high")] + #pragma warning disable CS1591 + High, + #pragma warning restore CS1591 + [EnumMember(Value = "liSaas")] + #pragma warning disable CS1591 + LiSaas, + #pragma warning restore CS1591 + [EnumMember(Value = "low")] + #pragma warning disable CS1591 + Low, + #pragma warning restore CS1591 + [EnumMember(Value = "moderate")] + #pragma warning disable CS1591 + Moderate, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs index 4b0f1656333..8334e16dffe 100644 --- a/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs +++ b/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs @@ -88,6 +88,22 @@ public string Model get { return BackingStore?.Get("passkeyType"); } set { BackingStore?.Set("passkeyType", value); } } + /// Contains the WebAuthn public key credential information being registered. This property is used only for write requests and isn't returned on read operations. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredential? PublicKeyCredential + { + get { return BackingStore?.Get("publicKeyCredential"); } + set { BackingStore?.Set("publicKeyCredential", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredential PublicKeyCredential + { + get { return BackingStore?.Get("publicKeyCredential"); } + set { BackingStore?.Set("publicKeyCredential", value); } + } +#endif /// /// Instantiates a new and sets the default values. /// @@ -119,6 +135,7 @@ public override IDictionary> GetFieldDeserializers() { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "model", n => { Model = n.GetStringValue(); } }, { "passkeyType", n => { PasskeyType = n.GetEnumValue(); } }, + { "publicKeyCredential", n => { PublicKeyCredential = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnPublicKeyCredential.CreateFromDiscriminatorValue); } }, }; } /// @@ -135,6 +152,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("model", Model); writer.WriteEnumValue("passkeyType", PasskeyType); + writer.WriteObjectValue("publicKeyCredential", PublicKeyCredential); } } } diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs index 82e9f2bb905..5a719f30913 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs @@ -190,7 +190,7 @@ public string DisplayName set { BackingStore?.Set("settings", value); } } #endif - /// The sharePointGroups property + /// The collection of sharePointGroup objects local to the container. Read-write. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SharePointGroups diff --git a/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifact.cs b/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifact.cs new file mode 100644 index 00000000000..9754c64c7dd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifact.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GranularDriveRestoreArtifact : global::Microsoft.Graph.Models.GranularRestoreArtifactBase, IParsable + #pragma warning restore CS1591 + { + /// Id of the drive in which artifact is present. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DirectoryObjectId + { + get { return BackingStore?.Get("directoryObjectId"); } + set { BackingStore?.Set("directoryObjectId", value); } + } +#nullable restore +#else + public string DirectoryObjectId + { + get { return BackingStore?.Get("directoryObjectId"); } + set { BackingStore?.Set("directoryObjectId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.GranularDriveRestoreArtifact CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.GranularDriveRestoreArtifact(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "directoryObjectId", n => { DirectoryObjectId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("directoryObjectId", DirectoryObjectId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifactCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifactCollectionResponse.cs new file mode 100644 index 00000000000..429ad23a5d8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifactCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GranularDriveRestoreArtifactCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.GranularDriveRestoreArtifactCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.GranularDriveRestoreArtifactCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs b/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs new file mode 100644 index 00000000000..4f33dd3af6c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs @@ -0,0 +1,174 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GranularRestoreArtifactBase : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The unique identifier of the browseSession +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BrowseSessionId + { + get { return BackingStore?.Get("browseSessionId"); } + set { BackingStore?.Set("browseSessionId", value); } + } +#nullable restore +#else + public string BrowseSessionId + { + get { return BackingStore?.Get("browseSessionId"); } + set { BackingStore?.Set("browseSessionId", value); } + } +#endif + /// Date time when the artifact's restoration completes. + public DateTimeOffset? CompletionDateTime + { + get { return BackingStore?.Get("completionDateTime"); } + set { BackingStore?.Set("completionDateTime", value); } + } + /// The unique identifier for the restored artifact. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RestoredItemKey + { + get { return BackingStore?.Get("restoredItemKey"); } + set { BackingStore?.Set("restoredItemKey", value); } + } +#nullable restore +#else + public string RestoredItemKey + { + get { return BackingStore?.Get("restoredItemKey"); } + set { BackingStore?.Set("restoredItemKey", value); } + } +#endif + /// The path of the restored artifact. It's the path of the folder where all the artifacts are restored within a granular restore session. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RestoredItemPath + { + get { return BackingStore?.Get("restoredItemPath"); } + set { BackingStore?.Set("restoredItemPath", value); } + } +#nullable restore +#else + public string RestoredItemPath + { + get { return BackingStore?.Get("restoredItemPath"); } + set { BackingStore?.Set("restoredItemPath", value); } + } +#endif + /// The web url of the restored artifact. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RestoredItemWebUrl + { + get { return BackingStore?.Get("restoredItemWebUrl"); } + set { BackingStore?.Set("restoredItemWebUrl", value); } + } +#nullable restore +#else + public string RestoredItemWebUrl + { + get { return BackingStore?.Get("restoredItemWebUrl"); } + set { BackingStore?.Set("restoredItemWebUrl", value); } + } +#endif + /// The restore point date time to which the artifact is restored. + public DateTimeOffset? RestorePointDateTime + { + get { return BackingStore?.Get("restorePointDateTime"); } + set { BackingStore?.Set("restorePointDateTime", value); } + } + /// The start time of the restoration. + public DateTimeOffset? StartDateTime + { + get { return BackingStore?.Get("startDateTime"); } + set { BackingStore?.Set("startDateTime", value); } + } + /// The status property + public global::Microsoft.Graph.Models.ArtifactRestoreStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// The original web url of the artifact being restored. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#nullable restore +#else + public string WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.GranularRestoreArtifactBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.granularDriveRestoreArtifact" => new global::Microsoft.Graph.Models.GranularDriveRestoreArtifact(), + "#microsoft.graph.granularSiteRestoreArtifact" => new global::Microsoft.Graph.Models.GranularSiteRestoreArtifact(), + _ => new global::Microsoft.Graph.Models.GranularRestoreArtifactBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "browseSessionId", n => { BrowseSessionId = n.GetStringValue(); } }, + { "completionDateTime", n => { CompletionDateTime = n.GetDateTimeOffsetValue(); } }, + { "restorePointDateTime", n => { RestorePointDateTime = n.GetDateTimeOffsetValue(); } }, + { "restoredItemKey", n => { RestoredItemKey = n.GetStringValue(); } }, + { "restoredItemPath", n => { RestoredItemPath = n.GetStringValue(); } }, + { "restoredItemWebUrl", n => { RestoredItemWebUrl = n.GetStringValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("browseSessionId", BrowseSessionId); + writer.WriteDateTimeOffsetValue("completionDateTime", CompletionDateTime); + writer.WriteStringValue("restoredItemKey", RestoredItemKey); + writer.WriteStringValue("restoredItemPath", RestoredItemPath); + writer.WriteStringValue("restoredItemWebUrl", RestoredItemWebUrl); + writer.WriteDateTimeOffsetValue("restorePointDateTime", RestorePointDateTime); + writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime); + writer.WriteEnumValue("status", Status); + writer.WriteStringValue("webUrl", WebUrl); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs b/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs new file mode 100644 index 00000000000..6df8586a17f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GranularSiteRestoreArtifact : global::Microsoft.Graph.Models.GranularRestoreArtifactBase, IParsable + #pragma warning restore CS1591 + { + /// Id of the site in which artifact is present. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SiteId + { + get { return BackingStore?.Get("siteId"); } + set { BackingStore?.Set("siteId", value); } + } +#nullable restore +#else + public string SiteId + { + get { return BackingStore?.Get("siteId"); } + set { BackingStore?.Set("siteId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.GranularSiteRestoreArtifact CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.GranularSiteRestoreArtifact(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "siteId", n => { SiteId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("siteId", SiteId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifactCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifactCollectionResponse.cs new file mode 100644 index 00000000000..a5547a0667e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifactCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GranularSiteRestoreArtifactCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.GranularSiteRestoreArtifactCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.GranularSiteRestoreArtifactCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Group.cs b/src/Microsoft.Graph/Generated/Models/Group.cs index e7c379735a3..4d769152378 100644 --- a/src/Microsoft.Graph/Generated/Models/Group.cs +++ b/src/Microsoft.Graph/Generated/Models/Group.cs @@ -327,6 +327,22 @@ public bool? HideFromOutlookClients get { return BackingStore?.Get("hideFromOutlookClients"); } set { BackingStore?.Set("hideFromOutlookClients", value); } } + /// The infoCatalogs property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? InfoCatalogs + { + get { return BackingStore?.Get?>("infoCatalogs"); } + set { BackingStore?.Set("infoCatalogs", value); } + } +#nullable restore +#else + public List InfoCatalogs + { + get { return BackingStore?.Get>("infoCatalogs"); } + set { BackingStore?.Set("infoCatalogs", value); } + } +#endif /// 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. public bool? IsArchived { @@ -1034,6 +1050,7 @@ public override IDictionary> GetFieldDeserializers() { "hasMembersWithLicenseErrors", n => { HasMembersWithLicenseErrors = n.GetBoolValue(); } }, { "hideFromAddressLists", n => { HideFromAddressLists = n.GetBoolValue(); } }, { "hideFromOutlookClients", n => { HideFromOutlookClients = n.GetBoolValue(); } }, + { "infoCatalogs", n => { InfoCatalogs = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "isArchived", n => { IsArchived = n.GetBoolValue(); } }, { "isAssignableToRole", n => { IsAssignableToRole = n.GetBoolValue(); } }, { "isManagementRestricted", n => { IsManagementRestricted = n.GetBoolValue(); } }, @@ -1116,6 +1133,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteBoolValue("hasMembersWithLicenseErrors", HasMembersWithLicenseErrors); writer.WriteBoolValue("hideFromAddressLists", HideFromAddressLists); writer.WriteBoolValue("hideFromOutlookClients", HideFromOutlookClients); + writer.WriteCollectionOfPrimitiveValues("infoCatalogs", InfoCatalogs); writer.WriteBoolValue("isArchived", IsArchived); writer.WriteBoolValue("isAssignableToRole", IsAssignableToRole); writer.WriteBoolValue("isManagementRestricted", IsManagementRestricted); diff --git a/src/Microsoft.Graph/Generated/Models/HoldType.cs b/src/Microsoft.Graph/Generated/Models/HoldType.cs new file mode 100644 index 00000000000..996305d4996 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/HoldType.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum HoldType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "private")] + #pragma warning disable CS1591 + Private, + #pragma warning restore CS1591 + [EnumMember(Value = "public")] + #pragma warning disable CS1591 + Public, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentifierUriConfiguration.cs b/src/Microsoft.Graph/Generated/Models/IdentifierUriConfiguration.cs new file mode 100644 index 00000000000..33395eb3a24 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentifierUriConfiguration.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class IdentifierUriConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Block new identifier URIs for applications, unless they are the 'default' URI of the format api://{appId} or api://{tenantId}/{appId}. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentifierUriRestriction? NonDefaultUriAddition + { + get { return BackingStore?.Get("nonDefaultUriAddition"); } + set { BackingStore?.Set("nonDefaultUriAddition", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentifierUriRestriction NonDefaultUriAddition + { + get { return BackingStore?.Get("nonDefaultUriAddition"); } + set { BackingStore?.Set("nonDefaultUriAddition", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// 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. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentifierUriRestriction? UriAdditionWithoutUniqueTenantIdentifier + { + get { return BackingStore?.Get("uriAdditionWithoutUniqueTenantIdentifier"); } + set { BackingStore?.Set("uriAdditionWithoutUniqueTenantIdentifier", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentifierUriRestriction UriAdditionWithoutUniqueTenantIdentifier + { + get { return BackingStore?.Get("uriAdditionWithoutUniqueTenantIdentifier"); } + set { BackingStore?.Set("uriAdditionWithoutUniqueTenantIdentifier", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public IdentifierUriConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.IdentifierUriConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentifierUriConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "nonDefaultUriAddition", n => { NonDefaultUriAddition = n.GetObjectValue(global::Microsoft.Graph.Models.IdentifierUriRestriction.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "uriAdditionWithoutUniqueTenantIdentifier", n => { UriAdditionWithoutUniqueTenantIdentifier = n.GetObjectValue(global::Microsoft.Graph.Models.IdentifierUriRestriction.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("nonDefaultUriAddition", NonDefaultUriAddition); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("uriAdditionWithoutUniqueTenantIdentifier", UriAdditionWithoutUniqueTenantIdentifier); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentifierUriRestriction.cs b/src/Microsoft.Graph/Generated/Models/IdentifierUriRestriction.cs new file mode 100644 index 00000000000..51245fe8180 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentifierUriRestriction.cs @@ -0,0 +1,138 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class IdentifierUriRestriction : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// 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. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.AppManagementPolicyActorExemptions? ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.AppManagementPolicyActorExemptions ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#endif + /// 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. + public bool? ExcludeAppsReceivingV2Tokens + { + get { return BackingStore?.Get("excludeAppsReceivingV2Tokens"); } + set { BackingStore?.Set("excludeAppsReceivingV2Tokens", value); } + } + /// If true, the restriction isn't enforced for SAML applications in Microsoft Entra ID; else, the restriction is enforced for those applications. + public bool? ExcludeSaml + { + get { return BackingStore?.Get("excludeSaml"); } + set { BackingStore?.Set("excludeSaml", value); } + } + /// If true, Microsoft sets the identifierUriRestriction state. If false, the tenant modifies the identifierUriRestriction state. Read-only. + public bool? IsStateSetByMicrosoft + { + get { return BackingStore?.Get("isStateSetByMicrosoft"); } + set { BackingStore?.Set("isStateSetByMicrosoft", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Specifies the date from which the policy restriction applies to newly created applications. For existing applications, the enforcement date can be retroactively applied. + public DateTimeOffset? RestrictForAppsCreatedAfterDateTime + { + get { return BackingStore?.Get("restrictForAppsCreatedAfterDateTime"); } + set { BackingStore?.Set("restrictForAppsCreatedAfterDateTime", value); } + } + /// The state property + public global::Microsoft.Graph.Models.AppManagementRestrictionState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public IdentifierUriRestriction() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.IdentifierUriRestriction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentifierUriRestriction(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "excludeActors", n => { ExcludeActors = n.GetObjectValue(global::Microsoft.Graph.Models.AppManagementPolicyActorExemptions.CreateFromDiscriminatorValue); } }, + { "excludeAppsReceivingV2Tokens", n => { ExcludeAppsReceivingV2Tokens = n.GetBoolValue(); } }, + { "excludeSaml", n => { ExcludeSaml = n.GetBoolValue(); } }, + { "isStateSetByMicrosoft", n => { IsStateSetByMicrosoft = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "restrictForAppsCreatedAfterDateTime", n => { RestrictForAppsCreatedAfterDateTime = n.GetDateTimeOffsetValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("excludeActors", ExcludeActors); + writer.WriteBoolValue("excludeAppsReceivingV2Tokens", ExcludeAppsReceivingV2Tokens); + writer.WriteBoolValue("excludeSaml", ExcludeSaml); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteDateTimeOffsetValue("restrictForAppsCreatedAfterDateTime", RestrictForAppsCreatedAfterDateTime); + writer.WriteEnumValue("state", State); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs b/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs index 4224379cc70..6199aff0c81 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs @@ -155,6 +155,22 @@ public partial class IdentityContainer : global::Microsoft.Graph.Models.Entity, get { return BackingStore?.Get>("userFlowAttributes"); } set { BackingStore?.Set("userFlowAttributes", value); } } +#endif + /// The verifiedId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityVerifiedIdRoot? VerifiedId + { + get { return BackingStore?.Get("verifiedId"); } + set { BackingStore?.Set("verifiedId", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityVerifiedIdRoot VerifiedId + { + get { return BackingStore?.Get("verifiedId"); } + set { BackingStore?.Set("verifiedId", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -183,6 +199,7 @@ public override IDictionary> GetFieldDeserializers() { "identityProviders", n => { IdentityProviders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityProviderBase.CreateFromDiscriminatorValue)?.AsList(); } }, { "riskPrevention", n => { RiskPrevention = n.GetObjectValue(global::Microsoft.Graph.Models.RiskPreventionContainer.CreateFromDiscriminatorValue); } }, { "userFlowAttributes", n => { UserFlowAttributes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityUserFlowAttribute.CreateFromDiscriminatorValue)?.AsList(); } }, + { "verifiedId", n => { VerifiedId = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityVerifiedIdRoot.CreateFromDiscriminatorValue); } }, }; } /// @@ -202,6 +219,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("identityProviders", IdentityProviders); writer.WriteObjectValue("riskPrevention", RiskPrevention); writer.WriteCollectionOfObjectValues("userFlowAttributes", UserFlowAttributes); + writer.WriteObjectValue("verifiedId", VerifiedId); } } } diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/TaskProcessingResult.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/TaskProcessingResult.cs index a9be9ccfe28..0810f554d68 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/TaskProcessingResult.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/TaskProcessingResult.cs @@ -24,7 +24,7 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// Describes why the taskProcessingResult has failed. + /// Describes why the taskProcessingResult failed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? FailureReason @@ -39,6 +39,22 @@ public string FailureReason get { return BackingStore?.Get("failureReason"); } set { BackingStore?.Set("failureReason", value); } } +#endif + /// 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. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProcessingInfo + { + get { return BackingStore?.Get("processingInfo"); } + set { BackingStore?.Set("processingInfo", value); } + } +#nullable restore +#else + public string ProcessingInfo + { + get { return BackingStore?.Get("processingInfo"); } + set { BackingStore?.Set("processingInfo", value); } + } #endif /// The processingStatus property public global::Microsoft.Graph.Models.IdentityGovernance.LifecycleWorkflowProcessingStatus? ProcessingStatus @@ -46,7 +62,7 @@ public string FailureReason get { return BackingStore?.Get("processingStatus"); } set { BackingStore?.Set("processingStatus", value); } } - /// 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. public DateTimeOffset? StartedDateTime { get { return BackingStore?.Get("startedDateTime"); } @@ -105,6 +121,7 @@ public override IDictionary> GetFieldDeserializers() { "completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "failureReason", n => { FailureReason = n.GetStringValue(); } }, + { "processingInfo", n => { ProcessingInfo = n.GetStringValue(); } }, { "processingStatus", n => { ProcessingStatus = n.GetEnumValue(); } }, { "startedDateTime", n => { StartedDateTime = n.GetDateTimeOffsetValue(); } }, { "subject", n => { Subject = n.GetObjectValue(global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue); } }, @@ -122,6 +139,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteDateTimeOffsetValue("completedDateTime", CompletedDateTime); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteStringValue("failureReason", FailureReason); + writer.WriteStringValue("processingInfo", ProcessingInfo); writer.WriteEnumValue("processingStatus", ProcessingStatus); writer.WriteDateTimeOffsetValue("startedDateTime", StartedDateTime); writer.WriteObjectValue("subject", Subject); diff --git a/src/Microsoft.Graph/Generated/Models/IdentityVerifiedIdRoot.cs b/src/Microsoft.Graph/Generated/Models/IdentityVerifiedIdRoot.cs new file mode 100644 index 00000000000..ed16f2685f6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityVerifiedIdRoot.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class IdentityVerifiedIdRoot : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Profile containing properties about a Verified ID provider and purpose +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Profiles + { + get { return BackingStore?.Get?>("profiles"); } + set { BackingStore?.Set("profiles", value); } + } +#nullable restore +#else + public List Profiles + { + get { return BackingStore?.Get>("profiles"); } + set { BackingStore?.Set("profiles", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.IdentityVerifiedIdRoot CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityVerifiedIdRoot(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "profiles", n => { Profiles = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.VerifiedIdProfile.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("profiles", Profiles); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IncludeTarget.cs b/src/Microsoft.Graph/Generated/Models/IncludeTarget.cs index 2d20b959f0d..02e2c5f0b09 100644 --- a/src/Microsoft.Graph/Generated/Models/IncludeTarget.cs +++ b/src/Microsoft.Graph/Generated/Models/IncludeTarget.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The id property + /// The ID of the entity targeted. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Id diff --git a/src/Microsoft.Graph/Generated/Models/KeyCredentialConfiguration.cs b/src/Microsoft.Graph/Generated/Models/KeyCredentialConfiguration.cs index 310853c1ade..576493cc14e 100644 --- a/src/Microsoft.Graph/Generated/Models/KeyCredentialConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/KeyCredentialConfiguration.cs @@ -21,7 +21,23 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// 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. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.AppManagementPolicyActorExemptions? ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.AppManagementPolicyActorExemptions ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#endif + /// 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. public TimeSpan? MaxLifetime { get { return BackingStore?.Get("maxLifetime"); } @@ -87,6 +103,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "excludeActors", n => { ExcludeActors = n.GetObjectValue(global::Microsoft.Graph.Models.AppManagementPolicyActorExemptions.CreateFromDiscriminatorValue); } }, { "maxLifetime", n => { MaxLifetime = n.GetTimeSpanValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "restrictForAppsCreatedAfterDateTime", n => { RestrictForAppsCreatedAfterDateTime = n.GetDateTimeOffsetValue(); } }, @@ -101,6 +118,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("excludeActors", ExcludeActors); writer.WriteTimeSpanValue("maxLifetime", MaxLifetime); writer.WriteStringValue("@odata.type", OdataType); writer.WriteDateTimeOffsetValue("restrictForAppsCreatedAfterDateTime", RestrictForAppsCreatedAfterDateTime); diff --git a/src/Microsoft.Graph/Generated/Models/LicenseAssignmentState.cs b/src/Microsoft.Graph/Generated/Models/LicenseAssignmentState.cs index 9fe332f5a00..7366dfe6e73 100644 --- a/src/Microsoft.Graph/Generated/Models/LicenseAssignmentState.cs +++ b/src/Microsoft.Graph/Generated/Models/LicenseAssignmentState.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The assignedByGroup property + /// Indicates whether the license is directly-assigned or inherited from a group. If directly-assigned, this field is null; if inherited through a group membership, this field contains the ID of the group. Read-Only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AssignedByGroup @@ -37,7 +37,7 @@ public string AssignedByGroup #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The disabledPlans property + /// The service plans that are disabled in this assignment. Read-Only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DisabledPlans @@ -53,7 +53,7 @@ public List DisabledPlans set { BackingStore?.Set("disabledPlans", value); } } #endif - /// The error property + /// License assignment failure error. If the license is assigned successfully, this field will be Null. Read-Only. The possible values are CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Other. For more information on how to identify and resolve license assignment errors, see here. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Error @@ -69,7 +69,7 @@ public string Error set { BackingStore?.Set("error", value); } } #endif - /// The lastUpdatedDateTime property + /// The timestamp when the state of the license assignment was last updated. public DateTimeOffset? LastUpdatedDateTime { get { return BackingStore?.Get("lastUpdatedDateTime"); } @@ -91,13 +91,13 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The skuId property + /// The unique identifier for the SKU. Read-Only. public Guid? SkuId { get { return BackingStore?.Get("skuId"); } set { BackingStore?.Set("skuId", value); } } - /// The state property + /// Indicate the current state of this assignment. Read-Only. The possible values are Active, ActiveWithError, Disabled, and Error. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? State diff --git a/src/Microsoft.Graph/Generated/Models/LocalAdminPasswordSettings.cs b/src/Microsoft.Graph/Generated/Models/LocalAdminPasswordSettings.cs index 430640b19ce..9fadcdb25f0 100644 --- a/src/Microsoft.Graph/Generated/Models/LocalAdminPasswordSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/LocalAdminPasswordSettings.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isEnabled property + /// Specifies whether LAPS is enabled. The default value is false. An admin can set it to true to enable Local Admin Password Solution (LAPS) within their organization. public bool? IsEnabled { get { return BackingStore?.Get("isEnabled"); } diff --git a/src/Microsoft.Graph/Generated/Models/LocalAdminSettings.cs b/src/Microsoft.Graph/Generated/Models/LocalAdminSettings.cs index ecc9c64e7f3..2e5bdf05640 100644 --- a/src/Microsoft.Graph/Generated/Models/LocalAdminSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/LocalAdminSettings.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The enableGlobalAdmins property + /// Indicates whether global administrators are local administrators on all Microsoft Entra-joined devices. This setting only applies to future registrations. Default is true. public bool? EnableGlobalAdmins { get { return BackingStore?.Get("enableGlobalAdmins"); } @@ -43,7 +43,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The registeringUsers property + /// Determines the users and groups that become local administrators on Microsoft Entra joined devices that they register. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.DeviceRegistrationMembership? RegisteringUsers diff --git a/src/Microsoft.Graph/Generated/Models/Mailbox.cs b/src/Microsoft.Graph/Generated/Models/Mailbox.cs index 2005e7105d9..f78f4a876f6 100644 --- a/src/Microsoft.Graph/Generated/Models/Mailbox.cs +++ b/src/Microsoft.Graph/Generated/Models/Mailbox.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class Mailbox : global::Microsoft.Graph.Models.DirectoryObject, IParsable #pragma warning restore CS1591 { - /// The folders property + /// The collection of folders in the mailbox. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Folders diff --git a/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs b/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs index 00ea2ebf154..f6776a64ab5 100644 --- a/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs +++ b/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs @@ -12,13 +12,13 @@ namespace Microsoft.Graph.Models public partial class MailboxFolder : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The childFolderCount property + /// The number of immediate child folders in the current folder. public int? ChildFolderCount { get { return BackingStore?.Get("childFolderCount"); } set { BackingStore?.Set("childFolderCount", value); } } - /// The childFolders property + /// The collection of child folders in this folder. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ChildFolders @@ -34,7 +34,7 @@ public int? ChildFolderCount set { BackingStore?.Set("childFolders", value); } } #endif - /// The displayName property + /// The display name of the folder. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -50,7 +50,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The items property + /// The collection of items in this folder. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Items @@ -66,7 +66,7 @@ public string DisplayName set { BackingStore?.Set("items", value); } } #endif - /// The multiValueExtendedProperties property + /// The collection of multi-value extended properties defined for the mailboxFolder. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? MultiValueExtendedProperties @@ -82,7 +82,7 @@ public string DisplayName set { BackingStore?.Set("multiValueExtendedProperties", value); } } #endif - /// The parentFolderId property + /// The unique identifier for the parent folder of this folder. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ParentFolderId @@ -98,7 +98,7 @@ public string ParentFolderId set { BackingStore?.Set("parentFolderId", value); } } #endif - /// The singleValueExtendedProperties property + /// The collection of single-value extended properties defined for the mailboxFolder. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SingleValueExtendedProperties @@ -114,13 +114,13 @@ public string ParentFolderId set { BackingStore?.Set("singleValueExtendedProperties", value); } } #endif - /// The totalItemCount property + /// The number of items in the folder. public int? TotalItemCount { get { return BackingStore?.Get("totalItemCount"); } set { BackingStore?.Set("totalItemCount", value); } } - /// The type property + /// Describes the folder class type. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Type diff --git a/src/Microsoft.Graph/Generated/Models/MailboxItem.cs b/src/Microsoft.Graph/Generated/Models/MailboxItem.cs index eb63fd891b5..87bfb6d95ee 100644 --- a/src/Microsoft.Graph/Generated/Models/MailboxItem.cs +++ b/src/Microsoft.Graph/Generated/Models/MailboxItem.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class MailboxItem : global::Microsoft.Graph.Models.OutlookItem, IParsable #pragma warning restore CS1591 { - /// The multiValueExtendedProperties property + /// The collection of multi-value extended properties defined for the mailboxItem. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? MultiValueExtendedProperties @@ -28,7 +28,7 @@ public partial class MailboxItem : global::Microsoft.Graph.Models.OutlookItem, I set { BackingStore?.Set("multiValueExtendedProperties", value); } } #endif - /// The singleValueExtendedProperties property + /// The collection of single-value extended properties defined for the mailboxItem. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SingleValueExtendedProperties @@ -44,13 +44,13 @@ public partial class MailboxItem : global::Microsoft.Graph.Models.OutlookItem, I set { BackingStore?.Set("singleValueExtendedProperties", value); } } #endif - /// The size property + /// The length of the item in bytes. public long? Size { get { return BackingStore?.Get("size"); } set { BackingStore?.Set("size", value); } } - /// The type property + /// The message class ID of the item. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Type diff --git a/src/Microsoft.Graph/Generated/Models/MailboxItemImportSession.cs b/src/Microsoft.Graph/Generated/Models/MailboxItemImportSession.cs index 0c2040af23b..9e5cb6a8731 100644 --- a/src/Microsoft.Graph/Generated/Models/MailboxItemImportSession.cs +++ b/src/Microsoft.Graph/Generated/Models/MailboxItemImportSession.cs @@ -21,13 +21,13 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// 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. public DateTimeOffset? ExpirationDateTime { get { return BackingStore?.Get("expirationDateTime"); } set { BackingStore?.Set("expirationDateTime", value); } } - /// The importUrl property + /// The URL endpoint that accepts POST requests for uploading a mailbox item exported using exportItems. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ImportUrl diff --git a/src/Microsoft.Graph/Generated/Models/MatchConfidenceLevel.cs b/src/Microsoft.Graph/Generated/Models/MatchConfidenceLevel.cs new file mode 100644 index 00000000000..727d78b54da --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MatchConfidenceLevel.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum MatchConfidenceLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "exact")] + #pragma warning disable CS1591 + Exact, + #pragma warning restore CS1591 + [EnumMember(Value = "relaxed")] + #pragma warning disable CS1591 + Relaxed, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/NotifyMembers.cs b/src/Microsoft.Graph/Generated/Models/NotifyMembers.cs new file mode 100644 index 00000000000..e8e6db8f231 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/NotifyMembers.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum NotifyMembers + #pragma warning restore CS1591 + { + [EnumMember(Value = "all")] + #pragma warning disable CS1591 + All, + #pragma warning restore CS1591 + [EnumMember(Value = "allowSelected")] + #pragma warning disable CS1591 + AllowSelected, + #pragma warning restore CS1591 + [EnumMember(Value = "blockSelected")] + #pragma warning disable CS1591 + BlockSelected, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/OnPremisesDirectorySynchronizationFeature.cs b/src/Microsoft.Graph/Generated/Models/OnPremisesDirectorySynchronizationFeature.cs index 2ce133567a3..edc47f20a40 100644 --- a/src/Microsoft.Graph/Generated/Models/OnPremisesDirectorySynchronizationFeature.cs +++ b/src/Microsoft.Graph/Generated/Models/OnPremisesDirectorySynchronizationFeature.cs @@ -19,6 +19,12 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } + /// The allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled property + public bool? AllowOnPremUpdateOfOnPremisesObjectIdentifierEnabled + { + get { return BackingStore?.Get("allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled"); } + set { BackingStore?.Set("allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled", value); } + } /// Stores model information. public IBackingStore BackingStore { get; private set; } /// Used to block cloud object takeover via source anchor hard match if enabled. @@ -177,6 +183,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled", n => { AllowOnPremUpdateOfOnPremisesObjectIdentifierEnabled = n.GetBoolValue(); } }, { "blockCloudObjectTakeoverThroughHardMatchEnabled", n => { BlockCloudObjectTakeoverThroughHardMatchEnabled = n.GetBoolValue(); } }, { "blockSoftMatchEnabled", n => { BlockSoftMatchEnabled = n.GetBoolValue(); } }, { "bypassDirSyncOverridesEnabled", n => { BypassDirSyncOverridesEnabled = n.GetBoolValue(); } }, @@ -206,6 +213,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled", AllowOnPremUpdateOfOnPremisesObjectIdentifierEnabled); writer.WriteBoolValue("blockCloudObjectTakeoverThroughHardMatchEnabled", BlockCloudObjectTakeoverThroughHardMatchEnabled); writer.WriteBoolValue("blockSoftMatchEnabled", BlockSoftMatchEnabled); writer.WriteBoolValue("bypassDirSyncOverridesEnabled", BypassDirSyncOverridesEnabled); diff --git a/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationCustomExtension.cs b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationCustomExtension.cs new file mode 100644 index 00000000000..9de6715cbde --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationCustomExtension.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OnVerifiedIdClaimValidationCustomExtension : global::Microsoft.Graph.Models.CustomAuthenticationExtension, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public OnVerifiedIdClaimValidationCustomExtension() : base() + { + OdataType = "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationCustomExtensionHandler.cs b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationCustomExtensionHandler.cs new file mode 100644 index 00000000000..8cd11c2dd2b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationCustomExtensionHandler.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OnVerifiedIdClaimValidationCustomExtensionHandler : global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler, IParsable + #pragma warning restore CS1591 + { + /// Configuration that overrides the default settings from the referenced custom extension, such as timeout and retry values. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CustomExtensionOverwriteConfiguration? Configuration + { + get { return BackingStore?.Get("configuration"); } + set { BackingStore?.Set("configuration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CustomExtensionOverwriteConfiguration Configuration + { + get { return BackingStore?.Get("configuration"); } + set { BackingStore?.Set("configuration", value); } + } +#endif + /// The customExtension property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension? CustomExtension + { + get { return BackingStore?.Get("customExtension"); } + set { BackingStore?.Set("customExtension", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension CustomExtension + { + get { return BackingStore?.Get("customExtension"); } + set { BackingStore?.Set("customExtension", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OnVerifiedIdClaimValidationCustomExtensionHandler() : base() + { + OdataType = "#microsoft.graph.onVerifiedIdClaimValidationCustomExtensionHandler"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtensionHandler CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtensionHandler(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "configuration", n => { Configuration = n.GetObjectValue(global::Microsoft.Graph.Models.CustomExtensionOverwriteConfiguration.CreateFromDiscriminatorValue); } }, + { "customExtension", n => { CustomExtension = n.GetObjectValue(global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("configuration", Configuration); + writer.WriteObjectValue("customExtension", CustomExtension); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationHandler.cs b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationHandler.cs new file mode 100644 index 00000000000..ba359c5714a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationHandler.cs @@ -0,0 +1,86 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OnVerifiedIdClaimValidationHandler : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OnVerifiedIdClaimValidationHandler() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.onVerifiedIdClaimValidationCustomExtensionHandler" => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtensionHandler(), + _ => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationListener.cs b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationListener.cs new file mode 100644 index 00000000000..3390e4ab69e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationListener.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OnVerifiedIdClaimValidationListener : global::Microsoft.Graph.Models.AuthenticationEventListener, IParsable + #pragma warning restore CS1591 + { + /// Configuration for the handler to invoke when this listener is triggered. For Verified ID claim validation scenarios, this is typically an onVerifiedIdClaimValidationCustomExtensionHandler. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler? Handler + { + get { return BackingStore?.Get("handler"); } + set { BackingStore?.Set("handler", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler Handler + { + get { return BackingStore?.Get("handler"); } + set { BackingStore?.Set("handler", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OnVerifiedIdClaimValidationListener() : base() + { + OdataType = "#microsoft.graph.onVerifiedIdClaimValidationListener"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationListener CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationListener(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "handler", n => { Handler = n.GetObjectValue(global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("handler", Handler); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSession.cs b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSession.cs new file mode 100644 index 00000000000..0db8e27628e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSession.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OneDriveForBusinessBrowseSession : global::Microsoft.Graph.Models.BrowseSessionBase, IParsable + #pragma warning restore CS1591 + { + /// Id of the backed-up OneDrive. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DirectoryObjectId + { + get { return BackingStore?.Get("directoryObjectId"); } + set { BackingStore?.Set("directoryObjectId", value); } + } +#nullable restore +#else + public string DirectoryObjectId + { + get { return BackingStore?.Get("directoryObjectId"); } + set { BackingStore?.Set("directoryObjectId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OneDriveForBusinessBrowseSession() : base() + { + OdataType = "#microsoft.graph.oneDriveForBusinessBrowseSession"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "directoryObjectId", n => { DirectoryObjectId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("directoryObjectId", DirectoryObjectId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSessionCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSessionCollectionResponse.cs new file mode 100644 index 00000000000..189e760f4a5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSessionCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OneDriveForBusinessBrowseSessionCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSessionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSessionCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs index c01baa6c308..0eb23fd4597 100644 --- a/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs +++ b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs @@ -43,6 +43,22 @@ public partial class OneDriveForBusinessRestoreSession : global::Microsoft.Graph get { return BackingStore?.Get>("driveRestoreArtifactsBulkAdditionRequests"); } set { BackingStore?.Set("driveRestoreArtifactsBulkAdditionRequests", value); } } +#endif + /// A collection of browse session ID and item key details that can be used to restore OneDrive for work or school files and folders. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? GranularDriveRestoreArtifacts + { + get { return BackingStore?.Get?>("granularDriveRestoreArtifacts"); } + set { BackingStore?.Set("granularDriveRestoreArtifacts", value); } + } +#nullable restore +#else + public List GranularDriveRestoreArtifacts + { + get { return BackingStore?.Get>("granularDriveRestoreArtifacts"); } + set { BackingStore?.Set("granularDriveRestoreArtifacts", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -71,6 +87,7 @@ public override IDictionary> GetFieldDeserializers() { { "driveRestoreArtifacts", n => { DriveRestoreArtifacts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRestoreArtifact.CreateFromDiscriminatorValue)?.AsList(); } }, { "driveRestoreArtifactsBulkAdditionRequests", n => { DriveRestoreArtifactsBulkAdditionRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRestoreArtifactsBulkAdditionRequest.CreateFromDiscriminatorValue)?.AsList(); } }, + { "granularDriveRestoreArtifacts", n => { GranularDriveRestoreArtifacts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -83,6 +100,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteCollectionOfObjectValues("driveRestoreArtifacts", DriveRestoreArtifacts); writer.WriteCollectionOfObjectValues("driveRestoreArtifactsBulkAdditionRequests", DriveRestoreArtifactsBulkAdditionRequests); + writer.WriteCollectionOfObjectValues("granularDriveRestoreArtifacts", GranularDriveRestoreArtifacts); } } } diff --git a/src/Microsoft.Graph/Generated/Models/OwnerlessGroupPolicy.cs b/src/Microsoft.Graph/Generated/Models/OwnerlessGroupPolicy.cs new file mode 100644 index 00000000000..dd58faf0157 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OwnerlessGroupPolicy.cs @@ -0,0 +1,142 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OwnerlessGroupPolicy : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The emailInfo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.EmailDetails? EmailInfo + { + get { return BackingStore?.Get("emailInfo"); } + set { BackingStore?.Set("emailInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.EmailDetails EmailInfo + { + get { return BackingStore?.Get("emailInfo"); } + set { BackingStore?.Set("emailInfo", value); } + } +#endif + /// The collection of IDs for groups to which the policy is enabled. If empty, the policy is enabled for all groups in the tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? EnabledGroupIds + { + get { return BackingStore?.Get?>("enabledGroupIds"); } + set { BackingStore?.Set("enabledGroupIds", value); } + } +#nullable restore +#else + public List EnabledGroupIds + { + get { return BackingStore?.Get>("enabledGroupIds"); } + set { BackingStore?.Set("enabledGroupIds", value); } + } +#endif + /// Indicates whether the ownerless group policy is enabled in the tenant. Setting this property to false clears the values of all other policy parameters. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// 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. + public long? MaxMembersToNotify + { + get { return BackingStore?.Get("maxMembersToNotify"); } + set { BackingStore?.Set("maxMembersToNotify", value); } + } + /// The number of weeks for the notification duration. Value range is 1-7. + public long? NotificationDurationInWeeks + { + get { return BackingStore?.Get("notificationDurationInWeeks"); } + set { BackingStore?.Set("notificationDurationInWeeks", value); } + } + /// The URL to the policy documentation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyWebUrl + { + get { return BackingStore?.Get("policyWebUrl"); } + set { BackingStore?.Set("policyWebUrl", value); } + } +#nullable restore +#else + public string PolicyWebUrl + { + get { return BackingStore?.Get("policyWebUrl"); } + set { BackingStore?.Set("policyWebUrl", value); } + } +#endif + /// The targetOwners property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TargetOwners? TargetOwners + { + get { return BackingStore?.Get("targetOwners"); } + set { BackingStore?.Set("targetOwners", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TargetOwners TargetOwners + { + get { return BackingStore?.Get("targetOwners"); } + set { BackingStore?.Set("targetOwners", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.OwnerlessGroupPolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OwnerlessGroupPolicy(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "emailInfo", n => { EmailInfo = n.GetObjectValue(global::Microsoft.Graph.Models.EmailDetails.CreateFromDiscriminatorValue); } }, + { "enabledGroupIds", n => { EnabledGroupIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "maxMembersToNotify", n => { MaxMembersToNotify = n.GetLongValue(); } }, + { "notificationDurationInWeeks", n => { NotificationDurationInWeeks = n.GetLongValue(); } }, + { "policyWebUrl", n => { PolicyWebUrl = n.GetStringValue(); } }, + { "targetOwners", n => { TargetOwners = n.GetObjectValue(global::Microsoft.Graph.Models.TargetOwners.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("emailInfo", EmailInfo); + writer.WriteCollectionOfPrimitiveValues("enabledGroupIds", EnabledGroupIds); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteLongValue("maxMembersToNotify", MaxMembersToNotify); + writer.WriteLongValue("notificationDurationInWeeks", NotificationDurationInWeeks); + writer.WriteStringValue("policyWebUrl", PolicyWebUrl); + writer.WriteObjectValue("targetOwners", TargetOwners); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PasswordCredentialConfiguration.cs b/src/Microsoft.Graph/Generated/Models/PasswordCredentialConfiguration.cs index 0b78183694b..851184aa910 100644 --- a/src/Microsoft.Graph/Generated/Models/PasswordCredentialConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/PasswordCredentialConfiguration.cs @@ -21,6 +21,22 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// 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. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.AppManagementPolicyActorExemptions? ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.AppManagementPolicyActorExemptions ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#endif /// 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. public TimeSpan? MaxLifetime { @@ -87,6 +103,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "excludeActors", n => { ExcludeActors = n.GetObjectValue(global::Microsoft.Graph.Models.AppManagementPolicyActorExemptions.CreateFromDiscriminatorValue); } }, { "maxLifetime", n => { MaxLifetime = n.GetTimeSpanValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "restrictForAppsCreatedAfterDateTime", n => { RestrictForAppsCreatedAfterDateTime = n.GetDateTimeOffsetValue(); } }, @@ -101,6 +118,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("excludeActors", ExcludeActors); writer.WriteTimeSpanValue("maxLifetime", MaxLifetime); writer.WriteStringValue("@odata.type", OdataType); writer.WriteDateTimeOffsetValue("restrictForAppsCreatedAfterDateTime", RestrictForAppsCreatedAfterDateTime); diff --git a/src/Microsoft.Graph/Generated/Models/PasswordPolicy.cs b/src/Microsoft.Graph/Generated/Models/PasswordPolicy.cs new file mode 100644 index 00000000000..29c55b2c862 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PasswordPolicy.cs @@ -0,0 +1,41 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum PasswordPolicy + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "changePasswordPeriod")] + #pragma warning disable CS1591 + ChangePasswordPeriod = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "charactersCombination")] + #pragma warning disable CS1591 + CharactersCombination = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "passwordHistoryAndReuse")] + #pragma warning disable CS1591 + PasswordHistoryAndReuse = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "passwordLengthLimit")] + #pragma warning disable CS1591 + PasswordLengthLimit = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "personalInformationUse")] + #pragma warning disable CS1591 + PersonalInformationUse = 32, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 64, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PciVersion.cs b/src/Microsoft.Graph/Generated/Models/PciVersion.cs new file mode 100644 index 00000000000..251f540c7a6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PciVersion.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PciVersion + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "v3_2_1")] + #pragma warning disable CS1591 + V3_2_1, + #pragma warning restore CS1591 + [EnumMember(Value = "v4")] + #pragma warning disable CS1591 + V4, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs b/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs index ee0489f5d7b..b0d942a1d66 100644 --- a/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs @@ -251,6 +251,22 @@ public partial class PolicyRoot : global::Microsoft.Graph.Models.Entity, IParsab get { return BackingStore?.Get("identitySecurityDefaultsEnforcementPolicy"); } set { BackingStore?.Set("identitySecurityDefaultsEnforcementPolicy", value); } } +#endif + /// The policy configuration for managing groups that have lost their sole owner. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OwnerlessGroupPolicy? OwnerlessGroupPolicy + { + get { return BackingStore?.Get("ownerlessGroupPolicy"); } + set { BackingStore?.Set("ownerlessGroupPolicy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OwnerlessGroupPolicy OwnerlessGroupPolicy + { + get { return BackingStore?.Get("ownerlessGroupPolicy"); } + set { BackingStore?.Set("ownerlessGroupPolicy", value); } + } #endif /// The policy that specifies the conditions under which consent can be granted. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -365,6 +381,7 @@ public override IDictionary> GetFieldDeserializers() { "featureRolloutPolicies", n => { FeatureRolloutPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FeatureRolloutPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "homeRealmDiscoveryPolicies", n => { HomeRealmDiscoveryPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "identitySecurityDefaultsEnforcementPolicy", n => { IdentitySecurityDefaultsEnforcementPolicy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySecurityDefaultsEnforcementPolicy.CreateFromDiscriminatorValue); } }, + { "ownerlessGroupPolicy", n => { OwnerlessGroupPolicy = n.GetObjectValue(global::Microsoft.Graph.Models.OwnerlessGroupPolicy.CreateFromDiscriminatorValue); } }, { "permissionGrantPolicies", n => { PermissionGrantPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PermissionGrantPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "roleManagementPolicies", n => { RoleManagementPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.UnifiedRoleManagementPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "roleManagementPolicyAssignments", n => { RoleManagementPolicyAssignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.UnifiedRoleManagementPolicyAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -395,6 +412,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("featureRolloutPolicies", FeatureRolloutPolicies); writer.WriteCollectionOfObjectValues("homeRealmDiscoveryPolicies", HomeRealmDiscoveryPolicies); writer.WriteObjectValue("identitySecurityDefaultsEnforcementPolicy", IdentitySecurityDefaultsEnforcementPolicy); + writer.WriteObjectValue("ownerlessGroupPolicy", OwnerlessGroupPolicy); writer.WriteCollectionOfObjectValues("permissionGrantPolicies", PermissionGrantPolicies); writer.WriteCollectionOfObjectValues("roleManagementPolicies", RoleManagementPolicies); writer.WriteCollectionOfObjectValues("roleManagementPolicyAssignments", RoleManagementPolicyAssignments); diff --git a/src/Microsoft.Graph/Generated/Models/RestEncryptionType.cs b/src/Microsoft.Graph/Generated/Models/RestEncryptionType.cs new file mode 100644 index 00000000000..bb8d877cd02 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RestEncryptionType.cs @@ -0,0 +1,48 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum RestEncryptionType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "aes")] + #pragma warning disable CS1591 + Aes, + #pragma warning restore CS1591 + [EnumMember(Value = "bitlocker")] + #pragma warning disable CS1591 + Bitlocker, + #pragma warning restore CS1591 + [EnumMember(Value = "blowfish")] + #pragma warning disable CS1591 + Blowfish, + #pragma warning restore CS1591 + [EnumMember(Value = "des")] + #pragma warning disable CS1591 + Des, + #pragma warning restore CS1591 + [EnumMember(Value = "rc4")] + #pragma warning disable CS1591 + Rc4, + #pragma warning restore CS1591 + [EnumMember(Value = "rsa")] + #pragma warning disable CS1591 + Rsa, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/RestoreJobType.cs b/src/Microsoft.Graph/Generated/Models/RestoreJobType.cs index 0a09c5349b2..508bff6a872 100644 --- a/src/Microsoft.Graph/Generated/Models/RestoreJobType.cs +++ b/src/Microsoft.Graph/Generated/Models/RestoreJobType.cs @@ -20,5 +20,9 @@ public enum RestoreJobType #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "granular")] + #pragma warning disable CS1591 + Granular, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/RiskDetail.cs b/src/Microsoft.Graph/Generated/Models/RiskDetail.cs index 1a62e5ea6da..e9fb975f6dc 100644 --- a/src/Microsoft.Graph/Generated/Models/RiskDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/RiskDetail.cs @@ -80,5 +80,9 @@ public enum RiskDetail #pragma warning disable CS1591 AdminConfirmedAccountSafe, #pragma warning restore CS1591 + [EnumMember(Value = "microsoftRevokedSessions")] + #pragma warning disable CS1591 + MicrosoftRevokedSessions, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/ScheduleEntityTheme.cs b/src/Microsoft.Graph/Generated/Models/ScheduleEntityTheme.cs index 5771b950eec..13c696c1948 100644 --- a/src/Microsoft.Graph/Generated/Models/ScheduleEntityTheme.cs +++ b/src/Microsoft.Graph/Generated/Models/ScheduleEntityTheme.cs @@ -60,5 +60,97 @@ public enum ScheduleEntityTheme #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "darkRed")] + #pragma warning disable CS1591 + DarkRed, + #pragma warning restore CS1591 + [EnumMember(Value = "cranberry")] + #pragma warning disable CS1591 + Cranberry, + #pragma warning restore CS1591 + [EnumMember(Value = "darkOrange")] + #pragma warning disable CS1591 + DarkOrange, + #pragma warning restore CS1591 + [EnumMember(Value = "bronze")] + #pragma warning disable CS1591 + Bronze, + #pragma warning restore CS1591 + [EnumMember(Value = "peach")] + #pragma warning disable CS1591 + Peach, + #pragma warning restore CS1591 + [EnumMember(Value = "gold")] + #pragma warning disable CS1591 + Gold, + #pragma warning restore CS1591 + [EnumMember(Value = "lime")] + #pragma warning disable CS1591 + Lime, + #pragma warning restore CS1591 + [EnumMember(Value = "forest")] + #pragma warning disable CS1591 + Forest, + #pragma warning restore CS1591 + [EnumMember(Value = "lightGreen")] + #pragma warning disable CS1591 + LightGreen, + #pragma warning restore CS1591 + [EnumMember(Value = "jade")] + #pragma warning disable CS1591 + Jade, + #pragma warning restore CS1591 + [EnumMember(Value = "lightTeal")] + #pragma warning disable CS1591 + LightTeal, + #pragma warning restore CS1591 + [EnumMember(Value = "darkTeal")] + #pragma warning disable CS1591 + DarkTeal, + #pragma warning restore CS1591 + [EnumMember(Value = "steel")] + #pragma warning disable CS1591 + Steel, + #pragma warning restore CS1591 + [EnumMember(Value = "skyBlue")] + #pragma warning disable CS1591 + SkyBlue, + #pragma warning restore CS1591 + [EnumMember(Value = "blueGray")] + #pragma warning disable CS1591 + BlueGray, + #pragma warning restore CS1591 + [EnumMember(Value = "lavender")] + #pragma warning disable CS1591 + Lavender, + #pragma warning restore CS1591 + [EnumMember(Value = "lilac")] + #pragma warning disable CS1591 + Lilac, + #pragma warning restore CS1591 + [EnumMember(Value = "plum")] + #pragma warning disable CS1591 + Plum, + #pragma warning restore CS1591 + [EnumMember(Value = "magenta")] + #pragma warning disable CS1591 + Magenta, + #pragma warning restore CS1591 + [EnumMember(Value = "darkBrown")] + #pragma warning disable CS1591 + DarkBrown, + #pragma warning restore CS1591 + [EnumMember(Value = "beige")] + #pragma warning disable CS1591 + Beige, + #pragma warning restore CS1591 + [EnumMember(Value = "charcoal")] + #pragma warning disable CS1591 + Charcoal, + #pragma warning restore CS1591 + [EnumMember(Value = "silver")] + #pragma warning disable CS1591 + Silver, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/Alert.cs b/src/Microsoft.Graph/Generated/Models/Security/Alert.cs index 52a48eccdcb..5fe668af355 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/Alert.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/Alert.cs @@ -92,7 +92,23 @@ public string AssignedTo set { BackingStore?.Set("assignedTo", value); } } #endif - /// The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework. + /// The attack kill-chain categories that the alert belongs to. Aligned with the MITRE ATT&CK framework. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Categories + { + get { return BackingStore?.Get?>("categories"); } + set { BackingStore?.Set("categories", value); } + } +#nullable restore +#else + public List Categories + { + get { return BackingStore?.Get>("categories"); } + set { BackingStore?.Set("categories", value); } + } +#endif + /// 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. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Category @@ -459,6 +475,7 @@ public override IDictionary> GetFieldDeserializers() { "alertPolicyId", n => { AlertPolicyId = n.GetStringValue(); } }, { "alertWebUrl", n => { AlertWebUrl = n.GetStringValue(); } }, { "assignedTo", n => { AssignedTo = n.GetStringValue(); } }, + { "categories", n => { Categories = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "category", n => { Category = n.GetStringValue(); } }, { "classification", n => { Classification = n.GetEnumValue(); } }, { "comments", n => { Comments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.AlertComment.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -503,6 +520,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("alertPolicyId", AlertPolicyId); writer.WriteStringValue("alertWebUrl", AlertWebUrl); writer.WriteStringValue("assignedTo", AssignedTo); + writer.WriteCollectionOfPrimitiveValues("categories", Categories); writer.WriteStringValue("category", Category); writer.WriteEnumValue("classification", Classification); writer.WriteCollectionOfObjectValues("comments", Comments); diff --git a/src/Microsoft.Graph/Generated/Models/Security/CorrelationReason.cs b/src/Microsoft.Graph/Generated/Models/Security/CorrelationReason.cs new file mode 100644 index 00000000000..b30a15ea164 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CorrelationReason.cs @@ -0,0 +1,85 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum CorrelationReason + #pragma warning restore CS1591 + { + [EnumMember(Value = "repeatedAlertOccurrence")] + #pragma warning disable CS1591 + RepeatedAlertOccurrence = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "sameGeography")] + #pragma warning disable CS1591 + SameGeography = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "similarArtifacts")] + #pragma warning disable CS1591 + SimilarArtifacts = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "sameTargetedAsset")] + #pragma warning disable CS1591 + SameTargetedAsset = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "sameNetworkSegment")] + #pragma warning disable CS1591 + SameNetworkSegment = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "eventSequence")] + #pragma warning disable CS1591 + EventSequence = 32, + #pragma warning restore CS1591 + [EnumMember(Value = "timeFrame")] + #pragma warning disable CS1591 + TimeFrame = 64, + #pragma warning restore CS1591 + [EnumMember(Value = "sameThreatSource")] + #pragma warning disable CS1591 + SameThreatSource = 128, + #pragma warning restore CS1591 + [EnumMember(Value = "similarTTPsOrBehavior")] + #pragma warning disable CS1591 + SimilarTTPsOrBehavior = 256, + #pragma warning restore CS1591 + [EnumMember(Value = "sameActor")] + #pragma warning disable CS1591 + SameActor = 512, + #pragma warning restore CS1591 + [EnumMember(Value = "sameCampaign")] + #pragma warning disable CS1591 + SameCampaign = 1024, + #pragma warning restore CS1591 + [EnumMember(Value = "sharedIndicators")] + #pragma warning disable CS1591 + SharedIndicators = 2048, + #pragma warning restore CS1591 + [EnumMember(Value = "sameAsset")] + #pragma warning disable CS1591 + SameAsset = 4096, + #pragma warning restore CS1591 + [EnumMember(Value = "networkProximity")] + #pragma warning disable CS1591 + NetworkProximity = 8192, + #pragma warning restore CS1591 + [EnumMember(Value = "eventCasualSequence")] + #pragma warning disable CS1591 + EventCasualSequence = 16384, + #pragma warning restore CS1591 + [EnumMember(Value = "temporalProximity")] + #pragma warning disable CS1591 + TemporalProximity = 32768, + #pragma warning restore CS1591 + [EnumMember(Value = "lateralMovementPath")] + #pragma warning disable CS1591 + LateralMovementPath = 65536, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 131072, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/DataSource.cs b/src/Microsoft.Graph/Generated/Models/Security/DataSource.cs index 3f9b896fc99..a6a9482b0b6 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/DataSource.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/DataSource.cs @@ -50,7 +50,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The hold status of the dataSource.The possible values are: notApplied, applied, applying, removing, partial + /// The hold status of the dataSource. The possible values are: notApplied, applied, applying, removing, partial. public global::Microsoft.Graph.Models.Security.DataSourceHoldStatus? HoldStatus { get { return BackingStore?.Get("holdStatus"); } diff --git a/src/Microsoft.Graph/Generated/Models/Security/DnsEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/DnsEvidence.cs index 80f44a0be3c..51f07a650f3 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/DnsEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/DnsEvidence.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class DnsEvidence : global::Microsoft.Graph.Models.Security.AlertEvidence, IParsable #pragma warning restore CS1591 { - /// The dnsServerIp property + /// An IP entity that represents the DNS server that resolves the request. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.Security.IpEvidence? DnsServerIp @@ -28,7 +28,7 @@ public partial class DnsEvidence : global::Microsoft.Graph.Models.Security.Alert set { BackingStore?.Set("dnsServerIp", value); } } #endif - /// The domainName property + /// The name of the DNS record associated with the alert. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DomainName @@ -44,7 +44,7 @@ public string DomainName set { BackingStore?.Set("domainName", value); } } #endif - /// The hostIpAddress property + /// An IP entity that represents the DNS request client. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.Security.IpEvidence? HostIpAddress @@ -60,7 +60,7 @@ public string DomainName set { BackingStore?.Set("hostIpAddress", value); } } #endif - /// The ipAddresses property + /// IP entities that represent the resolved IP addresses. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? IpAddresses diff --git a/src/Microsoft.Graph/Generated/Models/Security/FileHashEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/FileHashEvidence.cs index c4664287471..aa5042f502d 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/FileHashEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/FileHashEvidence.cs @@ -18,7 +18,7 @@ public partial class FileHashEvidence : global::Microsoft.Graph.Models.Security. get { return BackingStore?.Get("algorithm"); } set { BackingStore?.Set("algorithm", value); } } - /// The value property + /// The hash value. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Value diff --git a/src/Microsoft.Graph/Generated/Models/Security/GitHubOrganizationEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/GitHubOrganizationEvidence.cs index ef4cd2a9f61..3372de66ae2 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/GitHubOrganizationEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/GitHubOrganizationEvidence.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class GitHubOrganizationEvidence : global::Microsoft.Graph.Models.Security.AlertEvidence, IParsable #pragma warning restore CS1591 { - /// The company property + /// The name of the company that owns the organization. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Company @@ -28,7 +28,7 @@ public string Company set { BackingStore?.Set("company", value); } } #endif - /// The displayName property + /// The display name of the organization. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -44,7 +44,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The email property + /// The email address of the organization. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Email @@ -60,7 +60,7 @@ public string Email set { BackingStore?.Set("email", value); } } #endif - /// The login property + /// The login (name) of the organization. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Login @@ -76,7 +76,7 @@ public string Login set { BackingStore?.Set("login", value); } } #endif - /// The orgId property + /// The unique and immutable ID of the organization. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OrgId @@ -92,7 +92,7 @@ public string OrgId set { BackingStore?.Set("orgId", value); } } #endif - /// The webUrl property + /// The URL of the web page for the organization. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? WebUrl diff --git a/src/Microsoft.Graph/Generated/Models/Security/GitHubRepoEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/GitHubRepoEvidence.cs index ebc1924598c..da0440f7376 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/GitHubRepoEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/GitHubRepoEvidence.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class GitHubRepoEvidence : global::Microsoft.Graph.Models.Security.AlertEvidence, IParsable #pragma warning restore CS1591 { - /// The baseUrl property + /// The base URL of the web page for the repository. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? BaseUrl @@ -28,7 +28,7 @@ public string BaseUrl set { BackingStore?.Set("baseUrl", value); } } #endif - /// The login property + /// The login (name) of the repository. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Login @@ -44,7 +44,7 @@ public string Login set { BackingStore?.Set("login", value); } } #endif - /// The owner property + /// The login of the owner of the repository. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Owner @@ -60,7 +60,7 @@ public string Owner set { BackingStore?.Set("owner", value); } } #endif - /// The ownerType property + /// The type of owner of the repository, for example, User or Organization. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OwnerType @@ -76,7 +76,7 @@ public string OwnerType set { BackingStore?.Set("ownerType", value); } } #endif - /// The repoId property + /// The unique and immutable ID of the GitHub repository. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RepoId diff --git a/src/Microsoft.Graph/Generated/Models/Security/GitHubUserEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/GitHubUserEvidence.cs index 55c96e799ea..8fbc299870a 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/GitHubUserEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/GitHubUserEvidence.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class GitHubUserEvidence : global::Microsoft.Graph.Models.Security.AlertEvidence, IParsable #pragma warning restore CS1591 { - /// The email property + /// The email address of the user account. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Email @@ -28,7 +28,7 @@ public string Email set { BackingStore?.Set("email", value); } } #endif - /// The login property + /// The user's login (GitHub handle). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Login @@ -44,7 +44,7 @@ public string Login set { BackingStore?.Set("login", value); } } #endif - /// The name property + /// The user's name. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name @@ -60,7 +60,7 @@ public string Name set { BackingStore?.Set("name", value); } } #endif - /// The userId property + /// The unique and immutable ID of the user account. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? UserId @@ -76,7 +76,7 @@ public string UserId set { BackingStore?.Set("userId", value); } } #endif - /// The webUrl property + /// The URL of the user's profile web page. For example, https://github.com/my-login. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? WebUrl diff --git a/src/Microsoft.Graph/Generated/Models/Security/HostLogonSessionEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/HostLogonSessionEvidence.cs index 01631e2c7ae..d1c07427d50 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/HostLogonSessionEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/HostLogonSessionEvidence.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class HostLogonSessionEvidence : global::Microsoft.Graph.Models.Security.AlertEvidence, IParsable #pragma warning restore CS1591 { - /// The account property + /// The account that is associated with the sign-in session ID. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.Security.UserEvidence? Account @@ -28,13 +28,13 @@ public partial class HostLogonSessionEvidence : global::Microsoft.Graph.Models.S set { BackingStore?.Set("account", value); } } #endif - /// 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. public DateTimeOffset? EndUtcDateTime { get { return BackingStore?.Get("endUtcDateTime"); } set { BackingStore?.Set("endUtcDateTime", value); } } - /// The host property + /// The host for the session. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.Security.DeviceEvidence? Host @@ -50,7 +50,7 @@ public DateTimeOffset? EndUtcDateTime set { BackingStore?.Set("host", value); } } #endif - /// The sessionId property + /// The session ID for the account reported in the alert, for example, 0x3e7. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SessionId @@ -66,7 +66,7 @@ public string SessionId set { BackingStore?.Set("sessionId", value); } } #endif - /// 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. public DateTimeOffset? StartUtcDateTime { get { return BackingStore?.Get("startUtcDateTime"); } diff --git a/src/Microsoft.Graph/Generated/Models/Security/IoTDeviceEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/IoTDeviceEvidence.cs index d462ea1163d..6ee14c5bac8 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/IoTDeviceEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/IoTDeviceEvidence.cs @@ -92,7 +92,7 @@ public string DeviceType set { BackingStore?.Set("deviceType", value); } } #endif - /// 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. public global::Microsoft.Graph.Models.Security.IoTDeviceImportanceType? Importance { get { return BackingStore?.Get("importance"); } diff --git a/src/Microsoft.Graph/Generated/Models/Security/MalwareEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/MalwareEvidence.cs index 27d220911dd..c3ac7d680cf 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/MalwareEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/MalwareEvidence.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class MalwareEvidence : global::Microsoft.Graph.Models.Security.AlertEvidence, IParsable #pragma warning restore CS1591 { - /// The category property + /// The malware category by the vendor, for example, Trojan. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Category @@ -28,7 +28,7 @@ public string Category set { BackingStore?.Set("category", value); } } #endif - /// 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. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Files @@ -44,7 +44,7 @@ public string Category set { BackingStore?.Set("files", value); } } #endif - /// The name property + /// The malware name by the vendor, for example, Win32/Toga. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name @@ -60,7 +60,7 @@ public string Name set { BackingStore?.Set("name", value); } } #endif - /// 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. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Processes diff --git a/src/Microsoft.Graph/Generated/Models/Security/MergeResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/MergeResponse.cs new file mode 100644 index 00000000000..7468f31593f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/MergeResponse.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MergeResponse : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The targetIncidentId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TargetIncidentId + { + get { return BackingStore?.Get("targetIncidentId"); } + set { BackingStore?.Set("targetIncidentId", value); } + } +#nullable restore +#else + public string TargetIncidentId + { + get { return BackingStore?.Get("targetIncidentId"); } + set { BackingStore?.Set("targetIncidentId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public MergeResponse() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.Security.MergeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.MergeResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "targetIncidentId", n => { TargetIncidentId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("targetIncidentId", TargetIncidentId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/NetworkConnectionEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/NetworkConnectionEvidence.cs index 3dcb0e9bb3b..7b1c50a0c95 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/NetworkConnectionEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/NetworkConnectionEvidence.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class NetworkConnectionEvidence : global::Microsoft.Graph.Models.Security.AlertEvidence, IParsable #pragma warning restore CS1591 { - /// The destinationAddress property + /// An entity of type IP that is the destination for this connection. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.Security.IpEvidence? DestinationAddress @@ -28,19 +28,19 @@ public partial class NetworkConnectionEvidence : global::Microsoft.Graph.Models. set { BackingStore?.Set("destinationAddress", value); } } #endif - /// The destinationPort property + /// The destination port number. For example, 80. public int? DestinationPort { get { return BackingStore?.Get("destinationPort"); } set { BackingStore?.Set("destinationPort", value); } } - /// The protocol property + /// The protocol type. Possible values are tcp, udp, unknownFutureValue. public global::Microsoft.Graph.Models.Security.ProtocolType? Protocol { get { return BackingStore?.Get("protocol"); } set { BackingStore?.Set("protocol", value); } } - /// The sourceAddress property + /// An entity of type IP that is the source for this connection. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.Security.IpEvidence? SourceAddress @@ -56,7 +56,7 @@ public int? DestinationPort set { BackingStore?.Set("sourceAddress", value); } } #endif - /// The sourcePort property + /// The source port number. For example, 80. public int? SourcePort { get { return BackingStore?.Get("sourcePort"); } diff --git a/src/Microsoft.Graph/Generated/Models/Security/SasTokenEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/SasTokenEvidence.cs index 4846a3bcfc0..6387c3c1097 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/SasTokenEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/SasTokenEvidence.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class SasTokenEvidence : global::Microsoft.Graph.Models.Security.AlertEvidence, IParsable #pragma warning restore CS1591 { - /// The allowedIpAddresses property + /// All IP addresses accessible with this SAS. The default value is Allows all IP addresses. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AllowedIpAddresses @@ -28,7 +28,7 @@ public string AllowedIpAddresses set { BackingStore?.Set("allowedIpAddresses", value); } } #endif - /// The allowedResourceTypes property + /// All resource types accessible with this SAS. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AllowedResourceTypes @@ -44,7 +44,7 @@ public List AllowedResourceTypes set { BackingStore?.Set("allowedResourceTypes", value); } } #endif - /// The allowedServices property + /// All services accessible with this SAS. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AllowedServices @@ -60,13 +60,13 @@ public List AllowedServices set { BackingStore?.Set("allowedServices", value); } } #endif - /// 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. public DateTimeOffset? ExpiryDateTime { get { return BackingStore?.Get("expiryDateTime"); } set { BackingStore?.Set("expiryDateTime", value); } } - /// The permissions property + /// All permissions granted to this SAS. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Permissions @@ -82,7 +82,7 @@ public List Permissions set { BackingStore?.Set("permissions", value); } } #endif - /// The protocol property + /// The protocol that is allowed with this SAS. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Protocol @@ -98,7 +98,7 @@ public string Protocol set { BackingStore?.Set("protocol", value); } } #endif - /// The signatureHash property + /// The SAS signature hash, which is a unique identifier for each SAS. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SignatureHash @@ -114,7 +114,7 @@ public string SignatureHash set { BackingStore?.Set("signatureHash", value); } } #endif - /// The signedWith property + /// The storage key that was used to generate the SAS. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SignedWith @@ -130,13 +130,13 @@ public string SignedWith set { BackingStore?.Set("signedWith", value); } } #endif - /// 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. public DateTimeOffset? StartDateTime { get { return BackingStore?.Get("startDateTime"); } set { BackingStore?.Set("startDateTime", value); } } - /// The storageResource property + /// A link to the storage resource for this SAS. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.Security.AzureResourceEvidence? StorageResource diff --git a/src/Microsoft.Graph/Generated/Models/Security/ServicePrincipalEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/ServicePrincipalEvidence.cs index a00ea121f61..1018fcb374a 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/ServicePrincipalEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/ServicePrincipalEvidence.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class ServicePrincipalEvidence : global::Microsoft.Graph.Models.Security.AlertEvidence, IParsable #pragma warning restore CS1591 { - /// The appId property + /// The unique identifier for the associated application, represented by its appId property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AppId @@ -28,7 +28,7 @@ public string AppId set { BackingStore?.Set("appId", value); } } #endif - /// The appOwnerTenantId property + /// The tenant ID where the application is registered. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AppOwnerTenantId @@ -44,7 +44,7 @@ public string AppOwnerTenantId set { BackingStore?.Set("appOwnerTenantId", value); } } #endif - /// The servicePrincipalName property + /// The display name for the service principal. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ServicePrincipalName @@ -60,7 +60,7 @@ public string ServicePrincipalName set { BackingStore?.Set("servicePrincipalName", value); } } #endif - /// The servicePrincipalObjectId property + /// The unique identifier for the service principal. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ServicePrincipalObjectId @@ -76,13 +76,13 @@ public string ServicePrincipalObjectId set { BackingStore?.Set("servicePrincipalObjectId", value); } } #endif - /// The servicePrincipalType property + /// The service principal type. Possible values are: unknown, application, managedIdentity, legacy, unknownFutureValue. public global::Microsoft.Graph.Models.Security.ServicePrincipalType? ServicePrincipalType { get { return BackingStore?.Get("servicePrincipalType"); } set { BackingStore?.Set("servicePrincipalType", value); } } - /// The tenantId property + /// The Microsoft Entra tenant ID of the service principal. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TenantId diff --git a/src/Microsoft.Graph/Generated/Models/Security/SubmissionMailEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/SubmissionMailEvidence.cs index ffae5add24d..933e119c888 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/SubmissionMailEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/SubmissionMailEvidence.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class SubmissionMailEvidence : global::Microsoft.Graph.Models.Security.AlertEvidence, IParsable #pragma warning restore CS1591 { - /// The networkMessageId property + /// The network message ID of the email to which the submission belongs. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? NetworkMessageId @@ -28,7 +28,7 @@ public string NetworkMessageId set { BackingStore?.Set("networkMessageId", value); } } #endif - /// The recipient property + /// The recipient of the email. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Recipient @@ -44,7 +44,7 @@ public string Recipient set { BackingStore?.Set("recipient", value); } } #endif - /// The reportType property + /// The submission type for the specified instance that maps to Junk, Phish, Malware, or NotJunk. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ReportType @@ -60,7 +60,7 @@ public string ReportType set { BackingStore?.Set("reportType", value); } } #endif - /// The sender property + /// The sender of the email. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Sender @@ -76,7 +76,7 @@ public string Sender set { BackingStore?.Set("sender", value); } } #endif - /// The senderIp property + /// The sender's IP. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SenderIp @@ -92,7 +92,7 @@ public string SenderIp set { BackingStore?.Set("senderIp", value); } } #endif - /// The subject property + /// The subject of the submission mail. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Subject @@ -108,13 +108,13 @@ public string Subject set { BackingStore?.Set("subject", value); } } #endif - /// 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. public DateTimeOffset? SubmissionDateTime { get { return BackingStore?.Get("submissionDateTime"); } set { BackingStore?.Set("submissionDateTime", value); } } - /// The submissionId property + /// The submission ID. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SubmissionId @@ -130,7 +130,7 @@ public string SubmissionId set { BackingStore?.Set("submissionId", value); } } #endif - /// The submitter property + /// The submitter's email address. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Submitter diff --git a/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs b/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs index d846b2bdcc7..d84ec62ea50 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs @@ -122,6 +122,22 @@ public string OdataType get { return BackingStore?.Get>("resourceAccessEvents"); } set { BackingStore?.Set("resourceAccessEvents", value); } } +#endif + /// The tenantId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#nullable restore +#else + public string TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } #endif /// The user principal name of the account in Microsoft Entra ID. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -188,6 +204,7 @@ public virtual IDictionary> GetFieldDeserializers() { "domainName", n => { DomainName = n.GetStringValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "resourceAccessEvents", n => { ResourceAccessEvents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.ResourceAccessEvent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, { "userSid", n => { UserSid = n.GetStringValue(); } }, }; @@ -206,6 +223,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteStringValue("domainName", DomainName); writer.WriteStringValue("@odata.type", OdataType); writer.WriteCollectionOfObjectValues("resourceAccessEvents", ResourceAccessEvents); + writer.WriteStringValue("tenantId", TenantId); writer.WriteStringValue("userPrincipalName", UserPrincipalName); writer.WriteStringValue("userSid", UserSid); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Microsoft.Graph/Generated/Models/SharePointBrowseSession.cs b/src/Microsoft.Graph/Generated/Models/SharePointBrowseSession.cs new file mode 100644 index 00000000000..bcd07e0e128 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointBrowseSession.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointBrowseSession : global::Microsoft.Graph.Models.BrowseSessionBase, IParsable + #pragma warning restore CS1591 + { + /// Id of the backed-up SharePoint site. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SiteId + { + get { return BackingStore?.Get("siteId"); } + set { BackingStore?.Set("siteId", value); } + } +#nullable restore +#else + public string SiteId + { + get { return BackingStore?.Get("siteId"); } + set { BackingStore?.Set("siteId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SharePointBrowseSession() : base() + { + OdataType = "#microsoft.graph.sharePointBrowseSession"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointBrowseSession CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointBrowseSession(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "siteId", n => { SiteId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("siteId", SiteId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointBrowseSessionCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/SharePointBrowseSessionCollectionResponse.cs new file mode 100644 index 00000000000..970f55f3730 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointBrowseSessionCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointBrowseSessionCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointBrowseSessionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointBrowseSessionCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointBrowseSession.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs b/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs index 448fa632f9a..762a1a3d20b 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class SharePointGroup : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The description property + /// The user-visible description of the sharePointGroup. Read-write. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -28,7 +28,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// The members property + /// The set of members in the sharePointGroup. Read-write. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Members @@ -44,7 +44,7 @@ public string Description set { BackingStore?.Set("members", value); } } #endif - /// The principalId property + /// The principal ID of the SharePoint group in the tenant. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId @@ -60,7 +60,7 @@ public string PrincipalId set { BackingStore?.Set("principalId", value); } } #endif - /// The title property + /// The user-visible title of the sharePointGroup. Read-write. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Title diff --git a/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs b/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs index b29ebdf302d..9fb86f907d1 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class SharePointGroupIdentity : global::Microsoft.Graph.Models.Identity, IParsable #pragma warning restore CS1591 { - /// The principalId property + /// The principal ID of the SharePoint group in the tenant. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId @@ -28,7 +28,7 @@ public string PrincipalId set { BackingStore?.Set("principalId", value); } } #endif - /// The title property + /// The title of the SharePoint group. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Title diff --git a/src/Microsoft.Graph/Generated/Models/SharePointGroupMember.cs b/src/Microsoft.Graph/Generated/Models/SharePointGroupMember.cs index 061ea7361af..40e92860b7c 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointGroupMember.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointGroupMember.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class SharePointGroupMember : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The identity property + /// The identity represented by the sharePointGroupMember object. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.SharePointIdentitySet? Identity diff --git a/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs b/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs index 97479e0db61..53a35c7f7ba 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs @@ -28,7 +28,7 @@ public partial class SharePointIdentitySet : global::Microsoft.Graph.Models.Iden set { BackingStore?.Set("group", value); } } #endif - /// The sharePointGroup property + /// The SharePoint group associated with this action, identified by a globally unique ID. Use this property instead of siteGroup when available. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.SharePointGroupIdentity? SharePointGroup @@ -44,7 +44,7 @@ public partial class SharePointIdentitySet : global::Microsoft.Graph.Models.Iden set { BackingStore?.Set("sharePointGroup", value); } } #endif - /// The SharePoint group associated with this action. Optional. + /// The SharePoint group associated with this action, identified by a principal ID that is unique only within the site. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.SharePointIdentity? SiteGroup diff --git a/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs b/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs index 781bc16d140..287093c0c57 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class SharePointRestoreSession : global::Microsoft.Graph.Models.RestoreSessionBase, IParsable #pragma warning restore CS1591 { + /// A collection of browse session ID and item key details that can be used to restore SharePoint files and folders. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? GranularSiteRestoreArtifacts + { + get { return BackingStore?.Get?>("granularSiteRestoreArtifacts"); } + set { BackingStore?.Set("granularSiteRestoreArtifacts", value); } + } +#nullable restore +#else + public List GranularSiteRestoreArtifacts + { + get { return BackingStore?.Get>("granularSiteRestoreArtifacts"); } + set { BackingStore?.Set("granularSiteRestoreArtifacts", value); } + } +#endif /// A collection of restore points and destination details that can be used to restore SharePoint sites. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -69,6 +85,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "granularSiteRestoreArtifacts", n => { GranularSiteRestoreArtifacts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact.CreateFromDiscriminatorValue)?.AsList(); } }, { "siteRestoreArtifacts", n => { SiteRestoreArtifacts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SiteRestoreArtifact.CreateFromDiscriminatorValue)?.AsList(); } }, { "siteRestoreArtifactsBulkAdditionRequests", n => { SiteRestoreArtifactsBulkAdditionRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SiteRestoreArtifactsBulkAdditionRequest.CreateFromDiscriminatorValue)?.AsList(); } }, }; @@ -81,6 +98,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("granularSiteRestoreArtifacts", GranularSiteRestoreArtifacts); writer.WriteCollectionOfObjectValues("siteRestoreArtifacts", SiteRestoreArtifacts); writer.WriteCollectionOfObjectValues("siteRestoreArtifactsBulkAdditionRequests", SiteRestoreArtifactsBulkAdditionRequests); } diff --git a/src/Microsoft.Graph/Generated/Models/SslVersion.cs b/src/Microsoft.Graph/Generated/Models/SslVersion.cs new file mode 100644 index 00000000000..94d47d8ed53 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SslVersion.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum SslVersion + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "ssl3_0")] + #pragma warning disable CS1591 + Ssl3_0, + #pragma warning restore CS1591 + [EnumMember(Value = "tls1_0")] + #pragma warning disable CS1591 + Tls1_0, + #pragma warning restore CS1591 + [EnumMember(Value = "tls1_1")] + #pragma warning disable CS1591 + Tls1_1, + #pragma warning restore CS1591 + [EnumMember(Value = "tls1_2")] + #pragma warning disable CS1591 + Tls1_2, + #pragma warning restore CS1591 + [EnumMember(Value = "tls1_3")] + #pragma warning disable CS1591 + Tls1_3, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TargetOwners.cs b/src/Microsoft.Graph/Generated/Models/TargetOwners.cs new file mode 100644 index 00000000000..28ea7022c1d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TargetOwners.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TargetOwners : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The notifyMembers property + public global::Microsoft.Graph.Models.NotifyMembers? NotifyMembers + { + get { return BackingStore?.Get("notifyMembers"); } + set { BackingStore?.Set("notifyMembers", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// 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. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SecurityGroups + { + get { return BackingStore?.Get?>("securityGroups"); } + set { BackingStore?.Set("securityGroups", value); } + } +#nullable restore +#else + public List SecurityGroups + { + get { return BackingStore?.Get>("securityGroups"); } + set { BackingStore?.Set("securityGroups", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TargetOwners() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.TargetOwners CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TargetOwners(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "notifyMembers", n => { NotifyMembers = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "securityGroups", n => { SecurityGroups = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("notifyMembers", NotifyMembers); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfPrimitiveValues("securityGroups", SecurityGroups); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TargetedChatMessage.cs b/src/Microsoft.Graph/Generated/Models/TargetedChatMessage.cs new file mode 100644 index 00000000000..c66597d9564 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TargetedChatMessage.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TargetedChatMessage : global::Microsoft.Graph.Models.ChatMessage, IParsable + #pragma warning restore CS1591 + { + /// The recipient property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Identity? Recipient + { + get { return BackingStore?.Get("recipient"); } + set { BackingStore?.Set("recipient", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Identity Recipient + { + get { return BackingStore?.Get("recipient"); } + set { BackingStore?.Set("recipient", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TargetedChatMessage() : base() + { + OdataType = "#microsoft.graph.targetedChatMessage"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.TargetedChatMessage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TargetedChatMessage(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "recipient", n => { Recipient = n.GetObjectValue(global::Microsoft.Graph.Models.Identity.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("recipient", Recipient); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TargetedChatMessageCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/TargetedChatMessageCollectionResponse.cs new file mode 100644 index 00000000000..53087a3e072 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TargetedChatMessageCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TargetedChatMessageCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.TargetedChatMessageCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TargetedChatMessageCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/UserOwnership.cs b/src/Microsoft.Graph/Generated/Models/UserOwnership.cs new file mode 100644 index 00000000000..b15d49aadcf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserOwnership.cs @@ -0,0 +1,53 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum UserOwnership + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "lawfulBasisForProcessing")] + #pragma warning disable CS1591 + LawfulBasisForProcessing = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "rightToAccess")] + #pragma warning disable CS1591 + RightToAccess = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "rightToBeInformed")] + #pragma warning disable CS1591 + RightToBeInformed = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "rightToDataPortability")] + #pragma warning disable CS1591 + RightToDataPortability = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "rightToObject")] + #pragma warning disable CS1591 + RightToObject = 32, + #pragma warning restore CS1591 + [EnumMember(Value = "rightToRectification")] + #pragma warning disable CS1591 + RightToRectification = 64, + #pragma warning restore CS1591 + [EnumMember(Value = "rightToRestrictionOfProcessing")] + #pragma warning disable CS1591 + RightToRestrictionOfProcessing = 128, + #pragma warning restore CS1591 + [EnumMember(Value = "rightsRelatedToAutomatedDecisionMaking")] + #pragma warning disable CS1591 + RightsRelatedToAutomatedDecisionMaking = 256, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 512, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/UserSettings.cs b/src/Microsoft.Graph/Generated/Models/UserSettings.cs index b4beceec36a..7d46036e143 100644 --- a/src/Microsoft.Graph/Generated/Models/UserSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/UserSettings.cs @@ -24,7 +24,7 @@ public bool? ContributionToContentDiscoveryDisabled get { return BackingStore?.Get("contributionToContentDiscoveryDisabled"); } set { BackingStore?.Set("contributionToContentDiscoveryDisabled", value); } } - /// The exchange property + /// The Exchange settings for mailbox discovery. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.ExchangeSettings? Exchange diff --git a/src/Microsoft.Graph/Generated/Models/VerifiableCredentialAuthenticationMethodTarget.cs b/src/Microsoft.Graph/Generated/Models/VerifiableCredentialAuthenticationMethodTarget.cs new file mode 100644 index 00000000000..0a7310cd488 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiableCredentialAuthenticationMethodTarget.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class VerifiableCredentialAuthenticationMethodTarget : global::Microsoft.Graph.Models.AuthenticationMethodTarget, IParsable + #pragma warning restore CS1591 + { + /// 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. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? VerifiedIdProfiles + { + get { return BackingStore?.Get?>("verifiedIdProfiles"); } + set { BackingStore?.Set("verifiedIdProfiles", value); } + } +#nullable restore +#else + public List VerifiedIdProfiles + { + get { return BackingStore?.Get>("verifiedIdProfiles"); } + set { BackingStore?.Set("verifiedIdProfiles", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.VerifiableCredentialAuthenticationMethodTarget CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.VerifiableCredentialAuthenticationMethodTarget(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "verifiedIdProfiles", n => { VerifiedIdProfiles = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("verifiedIdProfiles", VerifiedIdProfiles); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/VerifiableCredentialsAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/VerifiableCredentialsAuthenticationMethodConfiguration.cs new file mode 100644 index 00000000000..910cdf00f20 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiableCredentialsAuthenticationMethodConfiguration.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class VerifiableCredentialsAuthenticationMethodConfiguration : global::Microsoft.Graph.Models.AuthenticationMethodConfiguration, IParsable + #pragma warning restore CS1591 + { + /// A collection of groups that are enabled to use the authentication method. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? IncludeTargets + { + get { return BackingStore?.Get?>("includeTargets"); } + set { BackingStore?.Set("includeTargets", value); } + } +#nullable restore +#else + public List IncludeTargets + { + get { return BackingStore?.Get>("includeTargets"); } + set { BackingStore?.Set("includeTargets", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public VerifiableCredentialsAuthenticationMethodConfiguration() : base() + { + OdataType = "#microsoft.graph.verifiableCredentialsAuthenticationMethodConfiguration"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.VerifiableCredentialsAuthenticationMethodConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.VerifiableCredentialsAuthenticationMethodConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.VerifiableCredentialAuthenticationMethodTarget.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("includeTargets", IncludeTargets); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/VerifiedIdProfile.cs b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfile.cs new file mode 100644 index 00000000000..60e5afcd5f1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfile.cs @@ -0,0 +1,178 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class VerifiedIdProfile : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Description for the verified ID profile. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The faceCheckConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.FaceCheckConfiguration? FaceCheckConfiguration + { + get { return BackingStore?.Get("faceCheckConfiguration"); } + set { BackingStore?.Set("faceCheckConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.FaceCheckConfiguration FaceCheckConfiguration + { + get { return BackingStore?.Get("faceCheckConfiguration"); } + set { BackingStore?.Set("faceCheckConfiguration", value); } + } +#endif + /// DateTime the profile was last modified. Optional. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// Display name for the verified ID profile. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// Defines profile processing priority if multiple profiles are configured. Optional. + public int? Priority + { + get { return BackingStore?.Get("priority"); } + set { BackingStore?.Set("priority", value); } + } + /// The state property + public global::Microsoft.Graph.Models.VerifiedIdProfileState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// The verifiedIdProfileConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.VerifiedIdProfileConfiguration? VerifiedIdProfileConfiguration + { + get { return BackingStore?.Get("verifiedIdProfileConfiguration"); } + set { BackingStore?.Set("verifiedIdProfileConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.VerifiedIdProfileConfiguration VerifiedIdProfileConfiguration + { + get { return BackingStore?.Get("verifiedIdProfileConfiguration"); } + set { BackingStore?.Set("verifiedIdProfileConfiguration", value); } + } +#endif + /// Collection defining the usage purpose for the profile. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? VerifiedIdUsageConfigurations + { + get { return BackingStore?.Get?>("verifiedIdUsageConfigurations"); } + set { BackingStore?.Set("verifiedIdUsageConfigurations", value); } + } +#nullable restore +#else + public List VerifiedIdUsageConfigurations + { + get { return BackingStore?.Get>("verifiedIdUsageConfigurations"); } + set { BackingStore?.Set("verifiedIdUsageConfigurations", value); } + } +#endif + /// Decentralized Identifier (DID) string that represents the verifier in the verifiable credential exchange. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? VerifierDid + { + get { return BackingStore?.Get("verifierDid"); } + set { BackingStore?.Set("verifierDid", value); } + } +#nullable restore +#else + public string VerifierDid + { + get { return BackingStore?.Get("verifierDid"); } + set { BackingStore?.Set("verifierDid", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.VerifiedIdProfile CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.VerifiedIdProfile(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "description", n => { Description = n.GetStringValue(); } }, + { "faceCheckConfiguration", n => { FaceCheckConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.FaceCheckConfiguration.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "verifiedIdProfileConfiguration", n => { VerifiedIdProfileConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.VerifiedIdProfileConfiguration.CreateFromDiscriminatorValue); } }, + { "verifiedIdUsageConfigurations", n => { VerifiedIdUsageConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.VerifiedIdUsageConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, + { "verifierDid", n => { VerifierDid = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("description", Description); + writer.WriteObjectValue("faceCheckConfiguration", FaceCheckConfiguration); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteStringValue("name", Name); + writer.WriteIntValue("priority", Priority); + writer.WriteEnumValue("state", State); + writer.WriteObjectValue("verifiedIdProfileConfiguration", VerifiedIdProfileConfiguration); + writer.WriteCollectionOfObjectValues("verifiedIdUsageConfigurations", VerifiedIdUsageConfigurations); + writer.WriteStringValue("verifierDid", VerifierDid); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileCollectionResponse.cs new file mode 100644 index 00000000000..f5015dbca53 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class VerifiedIdProfileCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.VerifiedIdProfileCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.VerifiedIdProfileCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.VerifiedIdProfile.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileConfiguration.cs b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileConfiguration.cs new file mode 100644 index 00000000000..d84d58b718a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileConfiguration.cs @@ -0,0 +1,161 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class VerifiedIdProfileConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Trusted Verified ID issuer. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AcceptedIssuer + { + get { return BackingStore?.Get("acceptedIssuer"); } + set { BackingStore?.Set("acceptedIssuer", value); } + } +#nullable restore +#else + public string AcceptedIssuer + { + get { return BackingStore?.Get("acceptedIssuer"); } + set { BackingStore?.Set("acceptedIssuer", value); } + } +#endif + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Claim bindings from Verified ID to source attributes. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ClaimBindings + { + get { return BackingStore?.Get?>("claimBindings"); } + set { BackingStore?.Set("claimBindings", value); } + } +#nullable restore +#else + public List ClaimBindings + { + get { return BackingStore?.Get>("claimBindings"); } + set { BackingStore?.Set("claimBindings", value); } + } +#endif + /// The claimBindingSource property + public global::Microsoft.Graph.Models.ClaimBindingSource? ClaimBindingSource + { + get { return BackingStore?.Get("claimBindingSource"); } + set { BackingStore?.Set("claimBindingSource", value); } + } + /// The claimValidation property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ClaimValidation? ClaimValidation + { + get { return BackingStore?.Get("claimValidation"); } + set { BackingStore?.Set("claimValidation", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ClaimValidation ClaimValidation + { + get { return BackingStore?.Get("claimValidation"); } + set { BackingStore?.Set("claimValidation", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Verified ID type. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#nullable restore +#else + public string Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public VerifiedIdProfileConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.VerifiedIdProfileConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.VerifiedIdProfileConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "acceptedIssuer", n => { AcceptedIssuer = n.GetStringValue(); } }, + { "claimBindingSource", n => { ClaimBindingSource = n.GetEnumValue(); } }, + { "claimBindings", n => { ClaimBindings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ClaimBinding.CreateFromDiscriminatorValue)?.AsList(); } }, + { "claimValidation", n => { ClaimValidation = n.GetObjectValue(global::Microsoft.Graph.Models.ClaimValidation.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("acceptedIssuer", AcceptedIssuer); + writer.WriteCollectionOfObjectValues("claimBindings", ClaimBindings); + writer.WriteEnumValue("claimBindingSource", ClaimBindingSource); + writer.WriteObjectValue("claimValidation", ClaimValidation); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("type", Type); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileState.cs b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileState.cs new file mode 100644 index 00000000000..c48cceb1642 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileState.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum VerifiedIdProfileState + #pragma warning restore CS1591 + { + [EnumMember(Value = "enabled")] + #pragma warning disable CS1591 + Enabled, + #pragma warning restore CS1591 + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfiguration.cs b/src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfiguration.cs new file mode 100644 index 00000000000..db66949a79a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfiguration.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class VerifiedIdUsageConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Sets profile usage for evaluation (test-only) or production. + public bool? IsEnabledForTestOnly + { + get { return BackingStore?.Get("isEnabledForTestOnly"); } + set { BackingStore?.Set("isEnabledForTestOnly", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The purpose property + public global::Microsoft.Graph.Models.VerifiedIdUsageConfigurationPurpose? Purpose + { + get { return BackingStore?.Get("purpose"); } + set { BackingStore?.Set("purpose", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public VerifiedIdUsageConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.VerifiedIdUsageConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.VerifiedIdUsageConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isEnabledForTestOnly", n => { IsEnabledForTestOnly = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "purpose", n => { Purpose = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isEnabledForTestOnly", IsEnabledForTestOnly); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("purpose", Purpose); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfigurationPurpose.cs b/src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfigurationPurpose.cs new file mode 100644 index 00000000000..eb3e05ad762 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfigurationPurpose.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum VerifiedIdUsageConfigurationPurpose + #pragma warning restore CS1591 + { + [EnumMember(Value = "recovery")] + #pragma warning disable CS1591 + Recovery, + #pragma warning restore CS1591 + [EnumMember(Value = "onboarding")] + #pragma warning disable CS1591 + Onboarding, + #pragma warning restore CS1591 + [EnumMember(Value = "all")] + #pragma warning disable CS1591 + All, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticationExtensionsClientInputs.cs b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticationExtensionsClientInputs.cs new file mode 100644 index 00000000000..408a3a318a0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticationExtensionsClientInputs.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnAuthenticationExtensionsClientInputs : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnAuthenticationExtensionsClientInputs() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticationExtensionsClientOutputs.cs b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticationExtensionsClientOutputs.cs new file mode 100644 index 00000000000..d85677f34f5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticationExtensionsClientOutputs.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnAuthenticationExtensionsClientOutputs : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnAuthenticationExtensionsClientOutputs() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorAttestationResponse.cs b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorAttestationResponse.cs new file mode 100644 index 00000000000..42c2913743f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorAttestationResponse.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnAuthenticatorAttestationResponse : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// A CBOR-encoded attestation object containing the authenticator data and attestation statement. This value is Base64URL-encoded without padding. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AttestationObject + { + get { return BackingStore?.Get("attestationObject"); } + set { BackingStore?.Set("attestationObject", value); } + } +#nullable restore +#else + public string AttestationObject + { + get { return BackingStore?.Get("attestationObject"); } + set { BackingStore?.Set("attestationObject", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Contains the JSON-compatible serialization of client data passed to the authenticator by the client. This value is Base64URL-encoded without padding. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ClientDataJSON + { + get { return BackingStore?.Get("clientDataJSON"); } + set { BackingStore?.Set("clientDataJSON", value); } + } +#nullable restore +#else + public string ClientDataJSON + { + get { return BackingStore?.Get("clientDataJSON"); } + set { BackingStore?.Set("clientDataJSON", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnAuthenticatorAttestationResponse() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "attestationObject", n => { AttestationObject = n.GetStringValue(); } }, + { "clientDataJSON", n => { ClientDataJSON = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("attestationObject", AttestationObject); + writer.WriteStringValue("clientDataJSON", ClientDataJSON); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorSelectionCriteria.cs b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorSelectionCriteria.cs new file mode 100644 index 00000000000..6bb676d7efa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorSelectionCriteria.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnAuthenticatorSelectionCriteria : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Specifies the preferred attachment modality for the authenticator. Possible values: platform (device-bound authenticator, such as Windows Hello), cross-platform (removable authenticator, such as a USB security key), or null (no preference). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AuthenticatorAttachment + { + get { return BackingStore?.Get("authenticatorAttachment"); } + set { BackingStore?.Set("authenticatorAttachment", value); } + } +#nullable restore +#else + public string AuthenticatorAttachment + { + get { return BackingStore?.Get("authenticatorAttachment"); } + set { BackingStore?.Set("authenticatorAttachment", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Indicates whether the authenticator must create a client-side-resident credential (also known as a discoverable credential). If true, the credential can be used without providing a credential ID. + public bool? RequireResidentKey + { + get { return BackingStore?.Get("requireResidentKey"); } + set { BackingStore?.Set("requireResidentKey", value); } + } + /// Specifies the relying party's preference for user verification during credential creation. Possible values: required, preferred, or discouraged. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserVerification + { + get { return BackingStore?.Get("userVerification"); } + set { BackingStore?.Set("userVerification", value); } + } +#nullable restore +#else + public string UserVerification + { + get { return BackingStore?.Get("userVerification"); } + set { BackingStore?.Set("userVerification", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnAuthenticatorSelectionCriteria() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "authenticatorAttachment", n => { AuthenticatorAttachment = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "requireResidentKey", n => { RequireResidentKey = n.GetBoolValue(); } }, + { "userVerification", n => { UserVerification = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("authenticatorAttachment", AuthenticatorAttachment); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteBoolValue("requireResidentKey", RequireResidentKey); + writer.WriteStringValue("userVerification", UserVerification); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnCredentialCreationOptions.cs b/src/Microsoft.Graph/Generated/Models/WebauthnCredentialCreationOptions.cs new file mode 100644 index 00000000000..4c4cddabd16 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnCredentialCreationOptions.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnCredentialCreationOptions : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The date and time when the challenge times out and can no longer be used to create a credential. + public DateTimeOffset? ChallengeTimeoutDateTime + { + get { return BackingStore?.Get("challengeTimeoutDateTime"); } + set { BackingStore?.Set("challengeTimeoutDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The WebAuthn public key creation options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions? PublicKey + { + get { return BackingStore?.Get("publicKey"); } + set { BackingStore?.Set("publicKey", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions PublicKey + { + get { return BackingStore?.Get("publicKey"); } + set { BackingStore?.Set("publicKey", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnCredentialCreationOptions() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.WebauthnCredentialCreationOptions CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnCredentialCreationOptions(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "challengeTimeoutDateTime", n => { ChallengeTimeoutDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "publicKey", n => { PublicKey = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("challengeTimeoutDateTime", ChallengeTimeoutDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("publicKey", PublicKey); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredential.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredential.cs new file mode 100644 index 00000000000..7f981121705 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredential.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnPublicKeyCredential : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The output of the WebAuthn extension processing. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs? ClientExtensionResults + { + get { return BackingStore?.Get("clientExtensionResults"); } + set { BackingStore?.Set("clientExtensionResults", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs ClientExtensionResults + { + get { return BackingStore?.Get("clientExtensionResults"); } + set { BackingStore?.Set("clientExtensionResults", value); } + } +#endif + /// The credential ID created by the WebAuthn Authenticator. This value is Base64URL-encoded without padding. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#nullable restore +#else + public string Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The response from the WebAuthn Authenticator after generating an attestation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse? Response + { + get { return BackingStore?.Get("response"); } + set { BackingStore?.Set("response", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse Response + { + get { return BackingStore?.Get("response"); } + set { BackingStore?.Set("response", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnPublicKeyCredential() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.WebauthnPublicKeyCredential CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnPublicKeyCredential(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "clientExtensionResults", n => { ClientExtensionResults = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs.CreateFromDiscriminatorValue); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "response", n => { Response = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("clientExtensionResults", ClientExtensionResults); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("response", Response); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialCreationOptions.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialCreationOptions.cs new file mode 100644 index 00000000000..3f714e84cd2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialCreationOptions.cs @@ -0,0 +1,233 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnPublicKeyCredentialCreationOptions : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Specifies the relying party's preference for attestation conveyance. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Attestation + { + get { return BackingStore?.Get("attestation"); } + set { BackingStore?.Set("attestation", value); } + } +#nullable restore +#else + public string Attestation + { + get { return BackingStore?.Get("attestation"); } + set { BackingStore?.Set("attestation", value); } + } +#endif + /// Criteria for selecting an appropriate authenticator for credential creation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria? AuthenticatorSelection + { + get { return BackingStore?.Get("authenticatorSelection"); } + set { BackingStore?.Set("authenticatorSelection", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria AuthenticatorSelection + { + get { return BackingStore?.Get("authenticatorSelection"); } + set { BackingStore?.Set("authenticatorSelection", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The challenge that the authenticator must sign to prove possession of the credential. This value is Base64URL-encoded without padding. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Challenge + { + get { return BackingStore?.Get("challenge"); } + set { BackingStore?.Set("challenge", value); } + } +#nullable restore +#else + public string Challenge + { + get { return BackingStore?.Get("challenge"); } + set { BackingStore?.Set("challenge", value); } + } +#endif + /// A list of credentials that are already registered for this user, which should be excluded from selection. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExcludeCredentials + { + get { return BackingStore?.Get?>("excludeCredentials"); } + set { BackingStore?.Set("excludeCredentials", value); } + } +#nullable restore +#else + public List ExcludeCredentials + { + get { return BackingStore?.Get>("excludeCredentials"); } + set { BackingStore?.Set("excludeCredentials", value); } + } +#endif + /// Inputs for requested WebAuthn extensions. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The cryptographic parameters that the relying party supports, in order of preference. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PubKeyCredParams + { + get { return BackingStore?.Get?>("pubKeyCredParams"); } + set { BackingStore?.Set("pubKeyCredParams", value); } + } +#nullable restore +#else + public List PubKeyCredParams + { + get { return BackingStore?.Get>("pubKeyCredParams"); } + set { BackingStore?.Set("pubKeyCredParams", value); } + } +#endif + /// Information about the relying party (RP) requesting credential creation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity? Rp + { + get { return BackingStore?.Get("rp"); } + set { BackingStore?.Set("rp", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity Rp + { + get { return BackingStore?.Get("rp"); } + set { BackingStore?.Set("rp", value); } + } +#endif + /// The time, in milliseconds, that the caller is willing to wait for the operation to complete. + public int? Timeout + { + get { return BackingStore?.Get("timeout"); } + set { BackingStore?.Set("timeout", value); } + } + /// Information about the user account for which the credential is being created. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity? User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnPublicKeyCredentialCreationOptions() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "attestation", n => { Attestation = n.GetStringValue(); } }, + { "authenticatorSelection", n => { AuthenticatorSelection = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria.CreateFromDiscriminatorValue); } }, + { "challenge", n => { Challenge = n.GetStringValue(); } }, + { "excludeCredentials", n => { ExcludeCredentials = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialDescriptor.CreateFromDiscriminatorValue)?.AsList(); } }, + { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "pubKeyCredParams", n => { PubKeyCredParams = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialParameters.CreateFromDiscriminatorValue)?.AsList(); } }, + { "rp", n => { Rp = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity.CreateFromDiscriminatorValue); } }, + { "timeout", n => { Timeout = n.GetIntValue(); } }, + { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("attestation", Attestation); + writer.WriteObjectValue("authenticatorSelection", AuthenticatorSelection); + writer.WriteStringValue("challenge", Challenge); + writer.WriteCollectionOfObjectValues("excludeCredentials", ExcludeCredentials); + writer.WriteObjectValue("extensions", Extensions); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("pubKeyCredParams", PubKeyCredParams); + writer.WriteObjectValue("rp", Rp); + writer.WriteIntValue("timeout", Timeout); + writer.WriteObjectValue("user", User); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialDescriptor.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialDescriptor.cs new file mode 100644 index 00000000000..c28fd0dae0e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialDescriptor.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnPublicKeyCredentialDescriptor : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The credential ID of the credential being described. This value is Base64URL-encoded without padding. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#nullable restore +#else + public string Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// A hint about the types of transport that the authenticator supports. Possible values include: usb, nfc, ble, internal. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Transports + { + get { return BackingStore?.Get?>("transports"); } + set { BackingStore?.Set("transports", value); } + } +#nullable restore +#else + public List Transports + { + get { return BackingStore?.Get>("transports"); } + set { BackingStore?.Set("transports", value); } + } +#endif + /// The type of credential. Currently, the only supported value is public-key. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#nullable restore +#else + public string Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnPublicKeyCredentialDescriptor() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialDescriptor CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialDescriptor(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "transports", n => { Transports = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfPrimitiveValues("transports", Transports); + writer.WriteStringValue("type", Type); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialParameters.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialParameters.cs new file mode 100644 index 00000000000..b1feef182b5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialParameters.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnPublicKeyCredentialParameters : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// A COSE algorithm identifier representing the cryptographic algorithm to use for this credential type. For example, -7 represents ES256. + public int? Alg + { + get { return BackingStore?.Get("alg"); } + set { BackingStore?.Set("alg", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The type of credential to create. Currently, the only supported value is public-key. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#nullable restore +#else + public string Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnPublicKeyCredentialParameters() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialParameters CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialParameters(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "alg", n => { Alg = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteIntValue("alg", Alg); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("type", Type); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialRpEntity.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialRpEntity.cs new file mode 100644 index 00000000000..fdaf89052ca --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialRpEntity.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnPublicKeyCredentialRpEntity : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The relying party identifier. For web applications, this value is typically the domain name. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#nullable restore +#else + public string Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#endif + /// The human-readable name for the relying party. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnPublicKeyCredentialRpEntity() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialUserEntity.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialUserEntity.cs new file mode 100644 index 00000000000..1e585b473a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialUserEntity.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnPublicKeyCredentialUserEntity : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// A human-readable name for the user account, intended for display. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// A user identifier, determined by the relying party. This value is opaque to the authenticator and is Base64URL-encoded without padding. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#nullable restore +#else + public string Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#endif + /// A human-readable identifier for the user account, such as a username or email address. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnPublicKeyCredentialUserEntity() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs index bbaec371c7f..2863672ee1b 100644 --- a/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs @@ -28,7 +28,7 @@ public partial class X509CertificateAuthenticationMethodConfiguration : global:: set { BackingStore?.Set("authenticationModeConfiguration", value); } } #endif - /// The certificateAuthorityScopes property + /// Defines configuration to allow a group of users to use certificates from specific issuing certificate authorities to successfully authenticate. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? CertificateAuthorityScopes @@ -92,7 +92,7 @@ public partial class X509CertificateAuthenticationMethodConfiguration : global:: set { BackingStore?.Set("includeTargets", value); } } #endif - /// The issuerHintsConfiguration property + /// Determines whether issuer(CA) hints are sent back to the client side to filter the certificates shown in certificate picker. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.X509CertificateIssuerHintsConfiguration? IssuerHintsConfiguration diff --git a/src/Microsoft.Graph/Generated/Models/X509CertificateAuthorityScope.cs b/src/Microsoft.Graph/Generated/Models/X509CertificateAuthorityScope.cs index 51518c6d942..61c6aca3ce3 100644 --- a/src/Microsoft.Graph/Generated/Models/X509CertificateAuthorityScope.cs +++ b/src/Microsoft.Graph/Generated/Models/X509CertificateAuthorityScope.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The includeTargets property + /// A collection of groups that are enabled to be in scope to use certificates issued by specific certificate authority. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? IncludeTargets @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The publicKeyInfrastructureIdentifier property + /// Public Key Infrastructure container object under which the certificate authorities are stored in the Entra PKI based trust store. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PublicKeyInfrastructureIdentifier @@ -69,7 +69,7 @@ public string PublicKeyInfrastructureIdentifier set { BackingStore?.Set("publicKeyInfrastructureIdentifier", value); } } #endif - /// The subjectKeyIdentifier property + /// Subject Key Identifier that identifies the certificate authority uniquely. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SubjectKeyIdentifier diff --git a/src/Microsoft.Graph/Generated/Models/X509CertificateIssuerHintsConfiguration.cs b/src/Microsoft.Graph/Generated/Models/X509CertificateIssuerHintsConfiguration.cs index e33cf940895..a1039def233 100644 --- a/src/Microsoft.Graph/Generated/Models/X509CertificateIssuerHintsConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/X509CertificateIssuerHintsConfiguration.cs @@ -37,7 +37,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The state property + /// The possible values are: disabled, enabled, unknownFutureValue. public global::Microsoft.Graph.Models.X509CertificateIssuerHintsState? State { get { return BackingStore?.Get("state"); } diff --git a/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 866f1e80b46..869cf22bc35 100644 --- a/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 4b374294b88..e699212682b 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 00e13c56bee..1602826e2a7 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs index 5fb2c56a8bf..e7c55556361 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index a81934e8086..4862b933c04 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 40a74835eaa..67ca48500db 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index f4c851db7b8..04fcd676159 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs index 9cedb18db81..3c32a9a5dea 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilder.cs index 8c9ff021a52..65f750919a6 100644 --- a/src/Microsoft.Graph/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilder.cs @@ -35,7 +35,8 @@ public DeviceRegistrationPolicyRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// Get deviceRegistrationPolicy from policies + /// Read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public DeviceRegistrationPolicyRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceRegistrationPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get deviceRegistrationPolicy from policies + /// Read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +87,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get deviceRegistrationPolicy from policies + /// Read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceRegistrationPolicyRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.cs index efd56436ff6..e4ff1921c24 100644 --- a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Policies/OwnerlessGroupPolicy/OwnerlessGroupPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/OwnerlessGroupPolicy/OwnerlessGroupPolicyRequestBuilder.cs new file mode 100644 index 00000000000..702673bcd8f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/OwnerlessGroupPolicy/OwnerlessGroupPolicyRequestBuilder.cs @@ -0,0 +1,182 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Policies.OwnerlessGroupPolicy +{ + /// + /// Provides operations to manage the ownerlessGroupPolicy property of the microsoft.graph.policyRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnerlessGroupPolicyRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public OwnerlessGroupPolicyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/ownerlessGroupPolicy{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public OwnerlessGroupPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/ownerlessGroupPolicy{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read the properties of an ownerlessGroupPolicy object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OwnerlessGroupPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// 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. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.OwnerlessGroupPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.OwnerlessGroupPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OwnerlessGroupPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties of an ownerlessGroupPolicy object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// 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. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OwnerlessGroupPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OwnerlessGroupPolicy body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read the properties of an ownerlessGroupPolicy object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnerlessGroupPolicyRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnerlessGroupPolicyRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnerlessGroupPolicyRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs index d6caaa4d129..c074e64af95 100644 --- a/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs @@ -17,6 +17,7 @@ using Microsoft.Graph.Policies.FeatureRolloutPolicies; using Microsoft.Graph.Policies.HomeRealmDiscoveryPolicies; using Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy; +using Microsoft.Graph.Policies.OwnerlessGroupPolicy; using Microsoft.Graph.Policies.PermissionGrantPolicies; using Microsoft.Graph.Policies.RoleManagementPolicies; using Microsoft.Graph.Policies.RoleManagementPolicyAssignments; @@ -113,6 +114,11 @@ public partial class PoliciesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.IdentitySecurityDefaultsEnforcementPolicyRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the ownerlessGroupPolicy property of the microsoft.graph.policyRoot entity. + public global::Microsoft.Graph.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder OwnerlessGroupPolicy + { + get => new global::Microsoft.Graph.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the permissionGrantPolicies property of the microsoft.graph.policyRoot entity. public global::Microsoft.Graph.Policies.PermissionGrantPolicies.PermissionGrantPoliciesRequestBuilder PermissionGrantPolicies { diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Create/CreatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Print/Printers/Create/CreatePostRequestBody.cs index 1d443b3e272..37eee9816da 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Create/CreatePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Create/CreatePostRequestBody.cs @@ -131,6 +131,7 @@ public CreatePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + HasPhysicalDevice = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.cs index 45f0ab64928..81c4f99d704 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.cs index 06bb857e03c..5100e282e91 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.cs index 6e60716087f..bf49b061692 100644 --- a/src/Microsoft.Graph/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Models.Security; using Microsoft.Graph.Security.Alerts_v2.Count; using Microsoft.Graph.Security.Alerts_v2.Item; +using Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -25,6 +26,11 @@ public partial class Alerts_v2RequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Security.Alerts_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the moveAlerts method. + public global::Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder MicrosoftGraphSecurityMoveAlerts + { + get => new global::Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the alerts_v2 property of the microsoft.graph.security entity. /// The unique identifier of alert /// A diff --git a/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.cs new file mode 100644 index 00000000000..63680d22257 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts +{ + /// + /// Provides operations to call the moveAlerts method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityMoveAlertsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityMoveAlertsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/alerts_v2/microsoft.graph.security.moveAlerts", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityMoveAlertsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/alerts_v2/microsoft.graph.security.moveAlerts", rawUrl) + { + } + /// + /// Invoke action moveAlerts + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.MergeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action moveAlerts + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MoveAlertsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MoveAlertsPostRequestBody.cs new file mode 100644 index 00000000000..e6065e24e13 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MoveAlertsPostRequestBody.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.Security; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MoveAlertsPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The alertComment property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AlertComment + { + get { return BackingStore?.Get("alertComment"); } + set { BackingStore?.Set("alertComment", value); } + } +#nullable restore +#else + public string AlertComment + { + get { return BackingStore?.Get("alertComment"); } + set { BackingStore?.Set("alertComment", value); } + } +#endif + /// The alertIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AlertIds + { + get { return BackingStore?.Get?>("alertIds"); } + set { BackingStore?.Set("alertIds", value); } + } +#nullable restore +#else + public List AlertIds + { + get { return BackingStore?.Get>("alertIds"); } + set { BackingStore?.Set("alertIds", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The incidentId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IncidentId + { + get { return BackingStore?.Get("incidentId"); } + set { BackingStore?.Set("incidentId", value); } + } +#nullable restore +#else + public string IncidentId + { + get { return BackingStore?.Get("incidentId"); } + set { BackingStore?.Set("incidentId", value); } + } +#endif + /// The newCorrelationReasons property + public global::Microsoft.Graph.Models.Security.CorrelationReason? NewCorrelationReasons + { + get { return BackingStore?.Get("newCorrelationReasons"); } + set { BackingStore?.Set("newCorrelationReasons", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public MoveAlertsPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "alertComment", n => { AlertComment = n.GetStringValue(); } }, + { "alertIds", n => { AlertIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "incidentId", n => { IncidentId = n.GetStringValue(); } }, + { "newCorrelationReasons", n => { NewCorrelationReasons = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("alertComment", AlertComment); + writer.WriteCollectionOfPrimitiveValues("alertIds", AlertIds); + writer.WriteStringValue("incidentId", IncidentId); + writer.WriteEnumValue("newCorrelationReasons", NewCorrelationReasons); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityExportResult/ExportResultPostRequestBody.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityExportResult/ExportResultPostRequestBody.cs index ce88ef3d452..e2bbda79b30 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityExportResult/ExportResultPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityExportResult/ExportResultPostRequestBody.cs @@ -103,6 +103,7 @@ public ExportResultPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ExportSingleItems = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs index 4b9c4133ec1..c4ee4546a36 100644 --- a/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Models.Security; using Microsoft.Graph.Security.Incidents.Count; using Microsoft.Graph.Security.Incidents.Item; +using Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -25,6 +26,11 @@ public partial class IncidentsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Security.Incidents.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the mergeIncidents method. + public global::Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder MicrosoftGraphSecurityMergeIncidents + { + get => new global::Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the incidents property of the microsoft.graph.security entity. /// The unique identifier of incident /// A diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MergeIncidentsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MergeIncidentsPostRequestBody.cs new file mode 100644 index 00000000000..554f5539968 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MergeIncidentsPostRequestBody.cs @@ -0,0 +1,108 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.Security; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MergeIncidentsPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The incidentComment property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IncidentComment + { + get { return BackingStore?.Get("incidentComment"); } + set { BackingStore?.Set("incidentComment", value); } + } +#nullable restore +#else + public string IncidentComment + { + get { return BackingStore?.Get("incidentComment"); } + set { BackingStore?.Set("incidentComment", value); } + } +#endif + /// The incidentIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? IncidentIds + { + get { return BackingStore?.Get?>("incidentIds"); } + set { BackingStore?.Set("incidentIds", value); } + } +#nullable restore +#else + public List IncidentIds + { + get { return BackingStore?.Get>("incidentIds"); } + set { BackingStore?.Set("incidentIds", value); } + } +#endif + /// The mergeReasons property + public global::Microsoft.Graph.Models.Security.CorrelationReason? MergeReasons + { + get { return BackingStore?.Get("mergeReasons"); } + set { BackingStore?.Set("mergeReasons", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public MergeIncidentsPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "incidentComment", n => { IncidentComment = n.GetStringValue(); } }, + { "incidentIds", n => { IncidentIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "mergeReasons", n => { MergeReasons = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("incidentComment", IncidentComment); + writer.WriteCollectionOfPrimitiveValues("incidentIds", IncidentIds); + writer.WriteEnumValue("mergeReasons", MergeReasons); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.cs new file mode 100644 index 00000000000..fe7173cfac0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents +{ + /// + /// Provides operations to call the mergeIncidents method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityMergeIncidentsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityMergeIncidentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/incidents/microsoft.graph.security.mergeIncidents", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityMergeIncidentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/incidents/microsoft.graph.security.mergeIncidents", rawUrl) + { + } + /// + /// Invoke action mergeIncidents + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.MergeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action mergeIncidents + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityMergeIncidentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index fb5af0d501b..ddcf9f5355b 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.cs index 2450201fd0d..6800efbf7e9 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index b51b992a01b..7f1c8ff6e80 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index e069a2796ce..3f92afabb5b 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.cs index fa0252bb968..b1aa09f80e4 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs index 153cfd6004a..3e2964d26c4 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs index 1c37dc95108..54cdf8cc4bb 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs index 5dcbf28c3f1..3800f0e96e5 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs @@ -83,6 +83,7 @@ public ValidateCredentialsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + UseSavedCredentials = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs index 2b379ab58b7..41213818342 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs @@ -83,6 +83,7 @@ public ValidateCredentialsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + UseSavedCredentials = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs index fa29a8d26bd..ae85cdc1544 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -136,7 +136,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -157,7 +157,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs index f89319d71bc..d699684d87c 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index 90775c27d9c..a7d048a1fab 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -50,6 +50,7 @@ public AssociateWithHubSitesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PropagateToExistingLists = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index 8d29411d3d6..9dda87ddc04 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -34,6 +34,7 @@ public IsPublishedGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs index 9c5fdf4b60d..70f4bbba49f 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs @@ -127,6 +127,8 @@ public CreateLinkPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + RetainInheritedPermissions = false; + SendNotification = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index a3b65a353d4..b52ccb927f9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -50,6 +50,7 @@ public AssociateWithHubSitesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PropagateToExistingLists = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index 1775d5640e2..20d059318f3 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -34,6 +34,7 @@ public IsPublishedGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index 3381529ac10..31760580eac 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -50,6 +50,7 @@ public AssociateWithHubSitesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PropagateToExistingLists = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index 35310ca7333..73a91ca31f6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -34,6 +34,7 @@ public IsPublishedGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs index 6344258cda0..7a8dccb024d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs @@ -127,6 +127,8 @@ public CreateLinkPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + RetainInheritedPermissions = false; + SendNotification = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs index 38fb60e528e..73dda2d3bc9 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.BrowseSessions; using Microsoft.Graph.Solutions.BackupRestore.DriveInclusionRules; using Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnits; using Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs; @@ -11,6 +12,7 @@ using Microsoft.Graph.Solutions.BackupRestore.MailboxInclusionRules; using Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnits; using Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs; +using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions; using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessProtectionPolicies; using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions; using Microsoft.Graph.Solutions.BackupRestore.ProtectionPolicies; @@ -18,6 +20,7 @@ using Microsoft.Graph.Solutions.BackupRestore.RestorePoints; using Microsoft.Graph.Solutions.BackupRestore.RestoreSessions; using Microsoft.Graph.Solutions.BackupRestore.ServiceApps; +using Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions; using Microsoft.Graph.Solutions.BackupRestore.SharePointProtectionPolicies; using Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions; using Microsoft.Graph.Solutions.BackupRestore.SiteInclusionRules; @@ -39,6 +42,11 @@ namespace Microsoft.Graph.Solutions.BackupRestore [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class BackupRestoreRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.BrowseSessionsRequestBuilder BrowseSessions + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.BrowseSessionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the driveInclusionRules property of the microsoft.graph.backupRestoreRoot entity. public global::Microsoft.Graph.Solutions.BackupRestore.DriveInclusionRules.DriveInclusionRulesRequestBuilder DriveInclusionRules { @@ -84,6 +92,11 @@ public partial class BackupRestoreRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.MailboxProtectionUnitsBulkAdditionJobsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.OneDriveForBusinessBrowseSessionsRequestBuilder OneDriveForBusinessBrowseSessions + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.OneDriveForBusinessBrowseSessionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the oneDriveForBusinessProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessProtectionPolicies.OneDriveForBusinessProtectionPoliciesRequestBuilder OneDriveForBusinessProtectionPolicies { @@ -119,6 +132,11 @@ public partial class BackupRestoreRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Solutions.BackupRestore.ServiceApps.ServiceAppsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.SharePointBrowseSessionsRequestBuilder SharePointBrowseSessions + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.SharePointBrowseSessionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the sharePointProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. public global::Microsoft.Graph.Solutions.BackupRestore.SharePointProtectionPolicies.SharePointProtectionPoliciesRequestBuilder SharePointProtectionPolicies { diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.cs new file mode 100644 index 00000000000..ea2af0b17aa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count; +using Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.BrowseSessions +{ + /// + /// Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseSessionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// The unique identifier of browseSessionBase + /// A + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("browseSessionBase%2Did", position); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BrowseSessionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BrowseSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the browseSessionBase objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.BrowseSessionBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to browseSessions for solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.BrowseSessionBase body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.BrowseSessionBase body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.BrowseSessionBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the browseSessionBase objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to browseSessions for solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.BrowseSessionBase body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.BrowseSessionBase body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.BrowseSessionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.BrowseSessionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the browseSessionBase objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseSessionsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseSessionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseSessionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f3b5a228901 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostRequestBody.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostRequestBody.cs new file mode 100644 index 00000000000..f7e2a91c635 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostRequestBody.cs @@ -0,0 +1,116 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BrowsePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The browseLocationItemKey property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BrowseLocationItemKey + { + get { return BackingStore?.Get("browseLocationItemKey"); } + set { BackingStore?.Set("browseLocationItemKey", value); } + } +#nullable restore +#else + public string BrowseLocationItemKey + { + get { return BackingStore?.Get("browseLocationItemKey"); } + set { BackingStore?.Set("browseLocationItemKey", value); } + } +#endif + /// The browseResourceType property + public global::Microsoft.Graph.Models.BrowsableResourceType? BrowseResourceType + { + get { return BackingStore?.Get("browseResourceType"); } + set { BackingStore?.Set("browseResourceType", value); } + } + /// The filter property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Filter + { + get { return BackingStore?.Get("filter"); } + set { BackingStore?.Set("filter", value); } + } +#nullable restore +#else + public string Filter + { + get { return BackingStore?.Get("filter"); } + set { BackingStore?.Set("filter", value); } + } +#endif + /// The orderBy property + public global::Microsoft.Graph.Models.BrowseQueryOrder? OrderBy + { + get { return BackingStore?.Get("orderBy"); } + set { BackingStore?.Set("orderBy", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public BrowsePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "browseLocationItemKey", n => { BrowseLocationItemKey = n.GetStringValue(); } }, + { "browseResourceType", n => { BrowseResourceType = n.GetEnumValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("browseLocationItemKey", BrowseLocationItemKey); + writer.WriteEnumValue("browseResourceType", BrowseResourceType); + writer.WriteStringValue("filter", Filter); + writer.WriteEnumValue("orderBy", OrderBy); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostResponse.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostResponse.cs new file mode 100644 index 00000000000..3e2f1ac5d6b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BrowsePostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.BrowseQueryResponseItem.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseRequestBuilder.cs new file mode 100644 index 00000000000..8705c25dca1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse +{ + /// + /// Provides operations to call the browse method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BrowseRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BrowseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse", rawUrl) + { + } + /// + /// Invoke action browse + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsBrowsePostResponseAsync(global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsBrowsePostResponseAsync(global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action browse + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsBrowsePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action browse + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseResponse.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseResponse.cs new file mode 100644 index 00000000000..b31feec9769 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse +{ + [Obsolete("This class is obsolete. Use BrowsePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BrowseResponse : global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.cs new file mode 100644 index 00000000000..2c0540f51f8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.cs @@ -0,0 +1,246 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse; +using Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item +{ + /// + /// Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseSessionBaseItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the browse method. + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseRequestBuilder Browse + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Provides operations to call the browse method. + /// + /// A + /// Usage: nextFetchToken='{nextFetchToken}' + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenRequestBuilder BrowseWithNextFetchToken(string nextFetchToken) + { + if(string.IsNullOrEmpty(nextFetchToken)) throw new ArgumentNullException(nameof(nextFetchToken)); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenRequestBuilder(PathParameters, RequestAdapter, nextFetchToken); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BrowseSessionBaseItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BrowseSessionBaseItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property browseSessions for solutions + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of browse sessions in the tenant. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.BrowseSessionBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property browseSessions in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.BrowseSessionBase body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.BrowseSessionBase body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.BrowseSessionBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property browseSessions for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The list of browse sessions in the tenant. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property browseSessions in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.BrowseSessionBase body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.BrowseSessionBase body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseSessionBaseItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The list of browse sessions in the tenant. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseSessionBaseItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseSessionBaseItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseSessionBaseItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenGetResponse.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenGetResponse.cs new file mode 100644 index 00000000000..73d306c735f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BrowseWithNextFetchTokenGetResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.BrowseQueryResponseItem.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenRequestBuilder.cs new file mode 100644 index 00000000000..8491c1d575d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenRequestBuilder.cs @@ -0,0 +1,159 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken +{ + /// + /// Provides operations to call the browse method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseWithNextFetchTokenRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: nextFetchToken='{nextFetchToken}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BrowseWithNextFetchTokenRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string nextFetchToken = "") : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse(nextFetchToken='{nextFetchToken}'){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(nextFetchToken)) PathParameters.Add("nextFetchToken", nextFetchToken); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BrowseWithNextFetchTokenRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse(nextFetchToken='{nextFetchToken}'){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function browse + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsBrowseWithNextFetchTokenGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsBrowseWithNextFetchTokenGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function browse + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsBrowseWithNextFetchTokenGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function browse + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function browse + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseWithNextFetchTokenRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseWithNextFetchTokenRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenResponse.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenResponse.cs new file mode 100644 index 00000000000..5f4e4c417e3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken +{ + [Obsolete("This class is obsolete. Use BrowseWithNextFetchTokenGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BrowseWithNextFetchTokenResponse : global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..08bb1e9837d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.cs new file mode 100644 index 00000000000..817db797469 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.cs @@ -0,0 +1,230 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item +{ + /// + /// Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OneDriveForBusinessBrowseSessionItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public OneDriveForBusinessBrowseSessionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions/{oneDriveForBusinessBrowseSession%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public OneDriveForBusinessBrowseSessionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions/{oneDriveForBusinessBrowseSession%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property oneDriveForBusinessBrowseSessions for solutions + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of oneDriveForBusinessBrowseSession object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property oneDriveForBusinessBrowseSessions in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property oneDriveForBusinessBrowseSessions for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of oneDriveForBusinessBrowseSession object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property oneDriveForBusinessBrowseSessions in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OneDriveForBusinessBrowseSessionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of oneDriveForBusinessBrowseSession object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OneDriveForBusinessBrowseSessionItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OneDriveForBusinessBrowseSessionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.cs new file mode 100644 index 00000000000..658fd8bf6a2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count; +using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions +{ + /// + /// Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OneDriveForBusinessBrowseSessionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// The unique identifier of oneDriveForBusinessBrowseSession + /// A + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("oneDriveForBusinessBrowseSession%2Did", position); + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public OneDriveForBusinessBrowseSessionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public OneDriveForBusinessBrowseSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the oneDriveForBusinessBrowseSession objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new oneDriveForBusinessBrowseSession object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the oneDriveForBusinessBrowseSession objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new oneDriveForBusinessBrowseSession object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.OneDriveForBusinessBrowseSessionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.OneDriveForBusinessBrowseSessionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the oneDriveForBusinessBrowseSession objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OneDriveForBusinessBrowseSessionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OneDriveForBusinessBrowseSessionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..60686bf5535 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.cs new file mode 100644 index 00000000000..cb15c9bd449 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count; +using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts +{ + /// + /// Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularDriveRestoreArtifactsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + /// The unique identifier of granularDriveRestoreArtifact + /// A + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("granularDriveRestoreArtifact%2Did", position); + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GranularDriveRestoreArtifactsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GranularDriveRestoreArtifactsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the granularDriveRestoreArtifact objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GranularDriveRestoreArtifactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to granularDriveRestoreArtifacts for solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GranularDriveRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the granularDriveRestoreArtifact objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to granularDriveRestoreArtifacts for solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.GranularDriveRestoreArtifactsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.GranularDriveRestoreArtifactsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the granularDriveRestoreArtifact objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularDriveRestoreArtifactsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularDriveRestoreArtifactsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.cs new file mode 100644 index 00000000000..9300ab29f79 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item +{ + /// + /// Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularDriveRestoreArtifactItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GranularDriveRestoreArtifactItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts/{granularDriveRestoreArtifact%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GranularDriveRestoreArtifactItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts/{granularDriveRestoreArtifact%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property granularDriveRestoreArtifacts for solutions + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of browse session ID and item key details that can be used to restore OneDrive for work or school files and folders. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GranularDriveRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property granularDriveRestoreArtifacts in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GranularDriveRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property granularDriveRestoreArtifacts for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of browse session ID and item key details that can be used to restore OneDrive for work or school files and folders. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property granularDriveRestoreArtifacts in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularDriveRestoreArtifactItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of browse session ID and item key details that can be used to restore OneDrive for work or school files and folders. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularDriveRestoreArtifactItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/OneDriveForBusinessRestoreSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/OneDriveForBusinessRestoreSessionItemRequestBuilder.cs index cf7f7cf9709..c73bcbb86f3 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/OneDriveForBusinessRestoreSessionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/OneDriveForBusinessRestoreSessionItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Models; using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifacts; using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests; +using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -30,6 +31,11 @@ public partial class OneDriveForBusinessRestoreSessionItemRequestBuilder : BaseR { get => new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.GranularDriveRestoreArtifactsRequestBuilder GranularDriveRestoreArtifacts + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.GranularDriveRestoreArtifactsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/OneDriveForBusinessRestoreSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/OneDriveForBusinessRestoreSessionsRequestBuilder.cs index 3e1a0894ee0..79a7312e537 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/OneDriveForBusinessRestoreSessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/OneDriveForBusinessRestoreSessionsRequestBuilder.cs @@ -77,7 +77,7 @@ public OneDriveForBusinessRestoreSessionsRequestBuilder(string rawUrl, IRequestA return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OneDriveForBusinessRestoreSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// Find more info here /// /// A @@ -122,7 +122,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..28532ea517d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.cs new file mode 100644 index 00000000000..2a6cd04425d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.cs @@ -0,0 +1,230 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item +{ + /// + /// Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointBrowseSessionItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SharePointBrowseSessionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions/{sharePointBrowseSession%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SharePointBrowseSessionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions/{sharePointBrowseSession%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property sharePointBrowseSessions for solutions + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of sharePointBrowseSession object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property sharePointBrowseSessions in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointBrowseSession body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointBrowseSession body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property sharePointBrowseSessions for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of sharePointBrowseSession object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property sharePointBrowseSessions in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointBrowseSession body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointBrowseSession body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointBrowseSessionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of sharePointBrowseSession object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointBrowseSessionItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointBrowseSessionItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointBrowseSessionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.cs new file mode 100644 index 00000000000..c926e36ddcd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count; +using Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions +{ + /// + /// Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointBrowseSessionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// The unique identifier of sharePointBrowseSession + /// A + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("sharePointBrowseSession%2Did", position); + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SharePointBrowseSessionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SharePointBrowseSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the sharePointBrowseSession objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointBrowseSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new sharePointBrowseSession object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointBrowseSession body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointBrowseSession body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the sharePointBrowseSession objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new sharePointBrowseSession object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointBrowseSession body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointBrowseSession body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.SharePointBrowseSessionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.SharePointBrowseSessionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the sharePointBrowseSession objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointBrowseSessionsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointBrowseSessionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointBrowseSessionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..a69f07c0ee3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.cs new file mode 100644 index 00000000000..de53fc51674 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count; +using Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts +{ + /// + /// Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularSiteRestoreArtifactsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. + /// The unique identifier of granularSiteRestoreArtifact + /// A + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("granularSiteRestoreArtifact%2Did", position); + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GranularSiteRestoreArtifactsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GranularSiteRestoreArtifactsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the granularSiteRestoreArtifact objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GranularSiteRestoreArtifactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to granularSiteRestoreArtifacts for solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GranularSiteRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the granularSiteRestoreArtifact objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to granularSiteRestoreArtifacts for solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.GranularSiteRestoreArtifactsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.GranularSiteRestoreArtifactsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the granularSiteRestoreArtifact objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularSiteRestoreArtifactsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularSiteRestoreArtifactsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.cs new file mode 100644 index 00000000000..9cee390162d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item +{ + /// + /// Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularSiteRestoreArtifactItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GranularSiteRestoreArtifactItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts/{granularSiteRestoreArtifact%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GranularSiteRestoreArtifactItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts/{granularSiteRestoreArtifact%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property granularSiteRestoreArtifacts for solutions + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of browse session ID and item key details that can be used to restore SharePoint files and folders. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GranularSiteRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property granularSiteRestoreArtifacts in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GranularSiteRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property granularSiteRestoreArtifacts for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of browse session ID and item key details that can be used to restore SharePoint files and folders. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property granularSiteRestoreArtifacts in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularSiteRestoreArtifactItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of browse session ID and item key details that can be used to restore SharePoint files and folders. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularSiteRestoreArtifactItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularSiteRestoreArtifactItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.cs index 2712a2ab080..fde77cb9904 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts; using Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SiteRestoreArtifacts; using Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SiteRestoreArtifactsBulkAdditionRequests; using Microsoft.Kiota.Abstractions.Extensions; @@ -20,6 +21,11 @@ namespace Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointRestoreSessionItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.GranularSiteRestoreArtifactsRequestBuilder GranularSiteRestoreArtifacts + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.GranularSiteRestoreArtifactsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the siteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. public global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SiteRestoreArtifacts.SiteRestoreArtifactsRequestBuilder SiteRestoreArtifacts { @@ -92,7 +98,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.SharePointRestoreSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property sharePointRestoreSessions in solutions + /// Update the properties of a sharePointRestoreSession object. + /// Find more info here /// /// A /// The request body @@ -155,7 +162,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property sharePointRestoreSessions in solutions + /// Update the properties of a sharePointRestoreSession object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/SharePointRestoreSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/SharePointRestoreSessionsRequestBuilder.cs index 22e3e6e1756..420f0932927 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/SharePointRestoreSessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/SharePointRestoreSessionsRequestBuilder.cs @@ -77,7 +77,7 @@ public SharePointRestoreSessionsRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointRestoreSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// Find more info here /// /// A @@ -122,7 +122,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.cs index 575992e8360..ef609835db8 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.cs @@ -42,7 +42,7 @@ public partial class CalendarViewRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public CalendarViewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView?end={end}&start={start}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + public CalendarViewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// @@ -50,7 +50,7 @@ public CalendarViewRequestBuilder(Dictionary pathParameters, IRe /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public CalendarViewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView?end={end}&start={start}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + public CalendarViewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -116,7 +116,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView?end={end}&start={start}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -137,7 +137,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.cs index 5d8578afae0..f808ba18ea8 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.cs @@ -29,7 +29,7 @@ public partial class BookingAppointmentItemRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public BookingAppointmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}?end={end}&start={start}{&%24expand,%24select}", pathParameters) + public BookingAppointmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}{?%24expand,%24select}", pathParameters) { } /// @@ -37,7 +37,7 @@ public BookingAppointmentItemRequestBuilder(Dictionary pathParam /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public BookingAppointmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}?end={end}&start={start}{&%24expand,%24select}", rawUrl) + public BookingAppointmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}{?%24expand,%24select}", rawUrl) { } /// @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.DELETE, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}", PathParameters); + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -143,7 +143,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}?end={end}&start={start}{&%24expand,%24select}", PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -164,7 +164,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}", PathParameters); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs index bc3a48aad97..8c4681ab3c4 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class SharePointGroupMemberItemRequestBuilderDeleteRequestConfigu { } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointGroupMemberItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs index 6dfa4e66769..a6ac8212791 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs @@ -54,7 +54,7 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MembersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs index 82f379b6eb8..d829d7f9931 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class SharePointGroupItemRequestBuilderDeleteRequestConfiguration { } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointGroupItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs index 30d7e005bdc..f5f5615dc19 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs @@ -54,7 +54,7 @@ public SharePointGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public SharePointGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.SharePointGroupsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointGroupsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs index 57a8e84d975..d77bf3585c3 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class SharePointGroupMemberItemRequestBuilderDeleteRequestConfigu { } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointGroupMemberItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs index 83691774cee..0dc4573a146 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs @@ -54,7 +54,7 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MembersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs index 3a79289eaf7..ba52ac10176 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class SharePointGroupItemRequestBuilderDeleteRequestConfiguration { } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointGroupItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs index c42cfe9ece0..0b97f7a9063 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs @@ -54,7 +54,7 @@ public SharePointGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public SharePointGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.SharePointGroupsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointGroupsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Archive/ArchivePostRequestBody.cs index a2a69f5a88c..24ed4621379 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs index 0174dc6081c..6cbd7d60993 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 96f48cedbf0..d42b351c69d 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -34,7 +34,7 @@ public CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 4eae6ad63d0..3e0ed6d5c90 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs index 77a25f038ab..6ef46d3096c 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.Sta await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs index da0bcd7f508..964bc1eed55 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs index 9328abd164b..39764dd50df 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -34,7 +34,7 @@ public CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index e2aba2e893b..c8ab7fb9fba 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs index 32b9fef8598..e01516b5517 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.St await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Share/SharePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Share/SharePostRequestBody.cs index e9f0588497a..5f75b1c86dc 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Share/SharePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Share/SharePostRequestBody.cs @@ -46,6 +46,7 @@ public SharePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + NotifyTeam = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs index de7fdf9a5ab..6f1455d0ccf 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -67,6 +67,7 @@ public ClockInPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs index c902cf8c591..d0ff81e8284 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -51,6 +51,7 @@ public ClockOutPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs index bc055c01421..f48eb6e178b 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public EndBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs index 32e7df089da..6aa26c0d71d 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public StartBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs index 9c60071f7f4..ae0758f7a3f 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 90bd707931c..6d022f8b630 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -34,7 +34,7 @@ public CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 5bb6488f7ef..292aaf581af 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs index e60409f1742..64346ae2a52 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.C await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index a46d17e4c6b..3d1ea9c18c5 100644 --- a/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs index 17b3cec0ca5..f29c3b75a65 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs @@ -54,8 +54,8 @@ public AppRoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Retrieve the list of appRoleAssignments that are currently granted to a user. This operation also returns app role assignments granted to groups that the user is a direct member of. - /// Find more info here + /// Retrieve the list of appRoleAssignments granted to an agentUser. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public AppRoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Assign an app role to a user, creating an appRoleAssignment object. To grant an app role assignment to a user, you need three identifiers: - /// Find more info here + /// Grant an app role assignment to an agentUser. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public AppRoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of appRoleAssignments that are currently granted to a user. This operation also returns app role assignments granted to groups that the user is a direct member of. + /// Retrieve the list of appRoleAssignments granted to an agentUser. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Assign an app role to a user, creating an appRoleAssignment object. To grant an app role assignment to a user, you need three identifiers: + /// Grant an app role assignment to an agentUser. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Users.Item.AppRoleAssignments.AppRoleAssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of appRoleAssignments that are currently granted to a user. This operation also returns app role assignments granted to groups that the user is a direct member of. + /// Retrieve the list of appRoleAssignments granted to an agentUser. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppRoleAssignmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs new file mode 100644 index 00000000000..d28a6533ef3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions +{ + /// + /// Provides operations to call the creationOptions method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreationOptionsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreationOptionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/fido2Methods/creationOptions()", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CreationOptionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/fido2Methods/creationOptions()", rawUrl) + { + } + /// + /// Retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. This function returns WebAuthn credential creation options that include a challenge, relying party information, and user information, which are used by the client to create a new FIDO2 credential. The challenge property and credential IDs in excludeCredentials are Base64URL-encoded without padding. All binary data in the response follows Base64URL encoding as defined in RFC 4648 Section 5. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WebauthnCredentialCreationOptions.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. This function returns WebAuthn credential creation options that include a challenge, relying party information, and user information, which are used by the client to create a new FIDO2 credential. The challenge property and credential IDs in excludeCredentials are Base64URL-encoded without padding. All binary data in the response follows Base64URL encoding as defined in RFC 4648 Section 5. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreationOptionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs index 729dbce2462..8dd12ef9368 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count; +using Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions; using Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Item; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -25,6 +26,11 @@ public partial class Fido2MethodsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the creationOptions method. + public global::Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder CreationOptions + { + get => new global::Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. /// The unique identifier of fido2AuthenticationMethod /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs index 726c5f41f06..45249398e99 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs index eab2ee924e6..75a96d85488 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index e573e4aa5bf..a0d3a2e5b3c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs index e6aeb3ac1c7..ba8b79ee273 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -34,8 +34,7 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here + /// Invoke action permanentDelete /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +56,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. + /// Invoke action permanentDelete /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs index 6df39c3d689..245cf63baa4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs index 1818fb22643..9b59aaf7af3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index c8134bf509e..f77f42a1262 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs index 6e967ec80f2..1664543e28d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -34,8 +34,7 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here + /// Invoke action permanentDelete /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +56,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. + /// Invoke action permanentDelete /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs index 7962af1b51d..44b669a92c2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs index 8712dc89bc1..dca6db823dd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index b2b458878aa..d2814825374 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs index 0574de26dd8..a0704b6b6bf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -35,7 +35,6 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt } /// /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs index a9d7c752355..07af277a3a4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs @@ -16,6 +16,7 @@ using Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification; using Microsoft.Graph.Users.Item.Chats.Item.StartMigration; using Microsoft.Graph.Users.Item.Chats.Item.Tabs; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages; using Microsoft.Graph.Users.Item.Chats.Item.UnhideForUser; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -103,6 +104,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Chats.Item.Tabs.TabsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder TargetedMessages + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unhideForUser method. public global::Microsoft.Graph.Users.Item.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder UnhideForUser { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index fa9572992f9..f62494fc248 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -56,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs index 4d6ddc6ded2..c851351a800 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.StartM await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..d23c668375c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..d3f15621535 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs new file mode 100644 index 00000000000..dc9adf5ba0e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// The unique identifier of chatMessageHostedContent + /// A + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("chatMessageHostedContent%2Did", position); + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to hostedContents for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs new file mode 100644 index 00000000000..458033eb139 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the user entity. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hostedContents for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property hostedContents in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 00000000000..b753a9aefa9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value +{ + /// + /// Provides operations to manage the media for the user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) + { + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..333b1a81394 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..4a30a1ba2af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..6ac588213c0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..3d2983a2119 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs new file mode 100644 index 00000000000..6ef9af57ddd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -0,0 +1,259 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item +{ + /// + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the softDelete method. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the undoSoftDelete method. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property replies for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property replies in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property replies for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property replies in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..09c5e813b7c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs new file mode 100644 index 00000000000..62edad47bae --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// The unique identifier of chatMessageHostedContent + /// A + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("chatMessageHostedContent%2Did", position); + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to hostedContents for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs new file mode 100644 index 00000000000..d978e141251 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the user entity. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hostedContents for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property hostedContents in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 00000000000..ca265bff233 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value +{ + /// + /// Provides operations to manage the media for the user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) + { + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 00000000000..f04d8aa013b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The reactionType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#nullable restore +#else + public string ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SetReactionPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("reactionType", ReactionType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 00000000000..1ebb9177db2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction +{ + /// + /// Provides operations to call the setReaction method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetReactionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Invoke action setReaction + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action setReaction + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs new file mode 100644 index 00000000000..d879c8fa222 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete +{ + /// + /// Provides operations to call the softDelete method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SoftDeleteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", rawUrl) + { + } + /// + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs new file mode 100644 index 00000000000..7a7f7a4bad8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete +{ + /// + /// Provides operations to call the undoSoftDelete method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UndoSoftDeleteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", rawUrl) + { + } + /// + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UndoSoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 00000000000..9ff4c84a353 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The reactionType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#nullable restore +#else + public string ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UnsetReactionPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("reactionType", ReactionType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 00000000000..015c10d1ca2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction +{ + /// + /// Provides operations to call the unsetReaction method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnsetReactionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnsetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UnsetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Invoke action unsetReaction + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action unsetReaction + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnsetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs new file mode 100644 index 00000000000..59803be5b08 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies +{ + /// + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + /// The unique identifier of chatMessage + /// A + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("chatMessage%2Did", position); + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RepliesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RepliesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to replies for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to replies for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..ad5a5672601 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..d9dd816f4a2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs new file mode 100644 index 00000000000..456e72698d3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item +{ + /// + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder Replies + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TargetedChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TargetedChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property targetedMessages for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get targetedMessages from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property targetedMessages in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property targetedMessages for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get targetedMessages from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property targetedMessages in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get targetedMessages from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs new file mode 100644 index 00000000000..3ada77d2bb3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages +{ + /// + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedMessagesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + /// The unique identifier of targetedChatMessage + /// A + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("targetedChatMessage%2Did", position); + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TargetedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get targetedMessages from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to targetedMessages for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get targetedMessages from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to targetedMessages for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get targetedMessages from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedMessagesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedMessagesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.cs index a1b6be11df7..634485e3b16 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.cs @@ -66,7 +66,8 @@ public DirectReportsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + /// Get an agentUser's direct reports. Returns the users and contacts for whom this agent user is assigned as manager. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -89,7 +90,7 @@ public DirectReportsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + /// Get an agentUser's direct reports. Returns the users and contacts for whom this agent user is assigned as manager. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -117,7 +118,7 @@ public RequestInformation ToGetRequestInformation(Action - /// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + /// Get an agentUser's direct reports. Returns the users and contacts for whom this agent user is assigned as manager. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DirectReportsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptPostRequestBody.cs index 7419648331f..2db6163ab33 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclinePostRequestBody.cs index 35e65bf6a56..c6170d9fbe9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 855c600bfd1..ad756a782fc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs index 040944042d0..d19f63525d5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs @@ -107,6 +107,8 @@ public FindMeetingTimesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsOrganizerOptional = false; + ReturnSuggestionReasons = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index c9c3c39589c..aaefe679541 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 0bbb5a1ddc8..be7ea6f68af 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs index 7bb6617ef44..74aba08cc93 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs index 6c46bd46821..948b28521ae 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 7f3b736dcac..a162e87ff84 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -34,7 +34,7 @@ public CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 4f93a548ffe..f4bce366bc2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs index 7f338deb3d1..f59ecdb080b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item. await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs index 445626f0bbb..3ca0cfec24e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs index b603a039000..58839b72b12 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -34,7 +34,7 @@ public CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 9bda0d9361f..3214cdfedda 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs index bad592041ba..e699ec249c0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs @@ -34,7 +34,8 @@ public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item. await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs index 8dbacf45df8..857e0c27f6b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs @@ -46,6 +46,7 @@ public SharePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + NotifyTeam = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs index 43fa6980cb4..e8e3e0602cb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -67,6 +67,7 @@ public ClockInPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs index 828259dc9a2..9b61a82a8d7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -51,6 +51,7 @@ public ClockOutPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs index 946d54ade43..53199d419fe 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public EndBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs index 5bdfb38f5b4..d0170fd558e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public StartBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs index b622a0b6bff..bca61e92a23 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs @@ -34,6 +34,7 @@ public CleanWindowsDevicePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + KeepUserData = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs index 5980a77ad94..c7dc648a31b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs @@ -34,6 +34,7 @@ public WindowsDefenderScanPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + QuickScan = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Wipe/WipePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Wipe/WipePostRequestBody.cs index 4626ede8ef8..b1fa9fd1f8e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Wipe/WipePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Wipe/WipePostRequestBody.cs @@ -62,6 +62,9 @@ public WipePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + KeepEnrollmentData = false; + KeepUserData = false; + PersistEsimDataPlan = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Manager/ManagerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Manager/ManagerRequestBuilder.cs index d3e6610eb24..cfb2ea50dad 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Manager/ManagerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Manager/ManagerRequestBuilder.cs @@ -41,8 +41,8 @@ public ManagerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. - /// Find more info here + /// Returns the user or organizational contact assigned as the agentUser's manager. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -65,7 +65,7 @@ public ManagerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + /// Returns the user or organizational contact assigned as the agentUser's manager. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -93,7 +93,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + /// Returns the user or organizational contact assigned as the agentUser's manager. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagerRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Manager/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Manager/Ref/RefRequestBuilder.cs index 92c581eae81..ef0e666ef7e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Manager/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Manager/Ref/RefRequestBuilder.cs @@ -35,8 +35,8 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Remove a user's manager. - /// Find more info here + /// Remove an agentUser's manager. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. - /// Find more info here + /// Returns the user or organizational contact assigned as the agentUser's manager. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public async Task PutAsync(global::Microsoft.Graph.Models.ReferenceUpdate body, await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Remove a user's manager. + /// Remove an agentUser's manager. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + /// Returns the user or organizational contact assigned as the agentUser's manager. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.cs index fdbe0614728..92236761471 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.cs @@ -72,8 +72,8 @@ public MemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get groups, directory roles, and administrative units that the user is a direct member of. This operation isn't transitive. To retrieve groups, directory roles, and administrative units that the user is a member through transitive membership, use the List user transitive memberOf API. - /// Find more info here + /// Get groups, directory roles, and administrative units that the agentUser is a direct member of. This operation isn't transitive. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -96,7 +96,7 @@ public MemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get groups, directory roles, and administrative units that the user is a direct member of. This operation isn't transitive. To retrieve groups, directory roles, and administrative units that the user is a member through transitive membership, use the List user transitive memberOf API. + /// Get groups, directory roles, and administrative units that the agentUser is a direct member of. This operation isn't transitive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -124,7 +124,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get groups, directory roles, and administrative units that the user is a direct member of. This operation isn't transitive. To retrieve groups, directory roles, and administrative units that the user is a member through transitive membership, use the List user transitive memberOf API. + /// Get groups, directory roles, and administrative units that the agentUser is a direct member of. This operation isn't transitive. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MemberOfRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs index b234f6e4818..1147c49384f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs @@ -72,7 +72,8 @@ public OwnedObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Directory objects the user owns. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + /// Get the list of directory objects that are owned by the agentUser. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -95,7 +96,7 @@ public OwnedObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Directory objects the user owns. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + /// Get the list of directory objects that are owned by the agentUser. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +124,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Directory objects the user owns. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + /// Get the list of directory objects that are owned by the agentUser. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OwnedObjectsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs index b768b024d8e..b87cc793bcc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs index 754cd1f8ddb..37e114f68d7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs @@ -34,6 +34,7 @@ public RevokeSignInSessionsPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailPostRequestBody.cs index 58552255300..3c098cc125c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailPostRequestBody.cs @@ -51,6 +51,7 @@ public SendMailPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SaveToSentItems = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/Exchange/ExchangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/Exchange/ExchangeRequestBuilder.cs index 1d3fa2494f9..7d64ad0ce19 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Settings/Exchange/ExchangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/Exchange/ExchangeRequestBuilder.cs @@ -35,7 +35,8 @@ public ExchangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// 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. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public ExchangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExchangeSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +87,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ExchangeRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs index c8d297c4fb9..f689af76186 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs @@ -34,8 +34,8 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Remove a user's sponsor. - /// Find more info here + /// Remove an agentUser's sponsor. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Remove a user's sponsor. + /// Remove an agentUser's sponsor. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs index f55708f577e..675cce4d504 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,12 +31,12 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// - /// Remove a user's sponsor. - /// Find more info here + /// Remove an agentUser's sponsor. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. - /// Find more info here + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Assign a user a sponsor. Sponsors are users and groups that are responsible for this guest user's privileges in the tenant and for keeping the guest user's information and access up to date. - /// Find more info here + /// Assign an agentUser a sponsor. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public async Task PostAsync(global::Microsoft.Graph.Models.ReferenceCreate body, await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Remove a user's sponsor. + /// Remove an agentUser's sponsor. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -139,13 +139,13 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/users/{user%2Did}/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; } /// - /// Assign a user a sponsor. Sponsors are users and groups that are responsible for this guest user's privileges in the tenant and for keeping the guest user's information and access up to date. + /// Assign an agentUser a sponsor. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. /// /// A /// The request body @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/users/{user%2Did}/sponsors/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); @@ -176,7 +176,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder(rawUrl, RequestAdapter); } /// - /// Remove a user's sponsor. + /// Remove an agentUser's sponsor. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RefRequestBuilderDeleteQueryParameters @@ -201,7 +201,7 @@ public partial class RefRequestBuilderDeleteRequestConfiguration : RequestConfig { } /// - /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RefRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs index af57a21b412..6d6d9499b5e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs @@ -60,8 +60,8 @@ public SponsorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. - /// Find more info here + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -84,7 +84,7 @@ public SponsorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -112,7 +112,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SponsorsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs new file mode 100644 index 00000000000..1e8bd815921 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeleteTargetedMessagePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The channelId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ChannelId + { + get { return BackingStore?.Get("channelId"); } + set { BackingStore?.Set("channelId", value); } + } +#nullable restore +#else + public string ChannelId + { + get { return BackingStore?.Get("channelId"); } + set { BackingStore?.Set("channelId", value); } + } +#endif + /// The messageId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MessageId + { + get { return BackingStore?.Get("messageId"); } + set { BackingStore?.Set("messageId", value); } + } +#nullable restore +#else + public string MessageId + { + get { return BackingStore?.Get("messageId"); } + set { BackingStore?.Set("messageId", value); } + } +#endif + /// The teamId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TeamId + { + get { return BackingStore?.Get("teamId"); } + set { BackingStore?.Set("teamId", value); } + } +#nullable restore +#else + public string TeamId + { + get { return BackingStore?.Get("teamId"); } + set { BackingStore?.Set("teamId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeleteTargetedMessagePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "channelId", n => { ChannelId = n.GetStringValue(); } }, + { "messageId", n => { MessageId = n.GetStringValue(); } }, + { "teamId", n => { TeamId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("channelId", ChannelId); + writer.WriteStringValue("messageId", MessageId); + writer.WriteStringValue("teamId", TeamId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs new file mode 100644 index 00000000000..30f12a90c22 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage +{ + /// + /// Provides operations to call the deleteTargetedMessage method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteTargetedMessageRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeleteTargetedMessageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/teamwork/deleteTargetedMessage", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeleteTargetedMessageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/teamwork/deleteTargetedMessage", rawUrl) + { + } + /// + /// Invoke action deleteTargetedMessage + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action deleteTargetedMessage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteTargetedMessageRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs new file mode 100644 index 00000000000..03d6e81f16a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRetainedTargetedMessagesGetResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs new file mode 100644 index 00000000000..ca544952287 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages +{ + /// + /// Provides operations to call the getAllRetainedTargetedMessages method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllRetainedTargetedMessagesRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetAllRetainedTargetedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/teamwork/getAllRetainedTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetAllRetainedTargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/teamwork/getAllRetainedTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsGetAllRetainedTargetedMessagesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetAllRetainedTargetedMessagesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsGetAllRetainedTargetedMessagesGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesResponse.cs new file mode 100644 index 00000000000..66c5508dbb8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages +{ + [Obsolete("This class is obsolete. Use GetAllRetainedTargetedMessagesGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRetainedTargetedMessagesResponse : global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs new file mode 100644 index 00000000000..9026f96ceb8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTargetedMessagesGetResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs new file mode 100644 index 00000000000..715f43e24cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages +{ + /// + /// Provides operations to call the getAllTargetedMessages method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllTargetedMessagesRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetAllTargetedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/teamwork/getAllTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetAllTargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/teamwork/getAllTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function getAllTargetedMessages + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsGetAllTargetedMessagesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetAllTargetedMessagesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTargetedMessages + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsGetAllTargetedMessagesGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTargetedMessages + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllTargetedMessages + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllTargetedMessagesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllTargetedMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesResponse.cs new file mode 100644 index 00000000000..3b5bf4171cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages +{ + [Obsolete("This class is obsolete. Use GetAllTargetedMessagesGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTargetedMessagesResponse : global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.cs index 0a88becf0b5..e4d0bd5f090 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.cs @@ -3,6 +3,9 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams; +using Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage; +using Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages; +using Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages; using Microsoft.Graph.Users.Item.Teamwork.InstalledApps; using Microsoft.Graph.Users.Item.Teamwork.SendActivityNotification; using Microsoft.Kiota.Abstractions.Extensions; @@ -26,6 +29,21 @@ public partial class TeamworkRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams.AssociatedTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the deleteTargetedMessage method. + public global::Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder DeleteTargetedMessage + { + get => new global::Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllRetainedTargetedMessages method. + public global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder GetAllRetainedTargetedMessages + { + get => new global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllTargetedMessages method. + public global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder GetAllTargetedMessages + { + get => new global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity. public global::Microsoft.Graph.Users.Item.Teamwork.InstalledApps.InstalledAppsRequestBuilder InstalledApps { diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs index e3d373224b6..547267077b2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs @@ -72,8 +72,8 @@ public TransitiveMemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Get groups, directory roles, and administrative units that the user is a member of through either direct or transitive membership. - /// Find more info here + /// Get groups, directory roles, and administrative units that the agentUser is a member of through either direct or transitive membership. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -96,7 +96,7 @@ public TransitiveMemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get groups, directory roles, and administrative units that the user is a member of through either direct or transitive membership. + /// Get groups, directory roles, and administrative units that the agentUser is a member of through either direct or transitive membership. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -124,7 +124,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get groups, directory roles, and administrative units that the user is a member of through either direct or transitive membership. + /// Get groups, directory roles, and administrative units that the agentUser is a member of through either direct or transitive membership. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TransitiveMemberOfRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 05a67032f1d..12b3875c76e 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -4426,6 +4426,7 @@ Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|removeAllAccessForUse Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|targetedMessages:global.Microsoft.Graph.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Chat; requestConfiguration?:Action>):RequestInformation @@ -5260,6 +5261,302 @@ Microsoft.Graph.Chats.Item.Tabs.tabsRequestBuilder::|public|PostAsync(body:globa Microsoft.Graph.Chats.Item.Tabs.tabsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.Tabs.tabsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.Tabs.tabsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse-->global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::[ChatMessageId:string]:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|Count:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|replies:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::[TargetedChatMessageId:string]:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|Count:global.Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessageCollectionResponse +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|constructor():void @@ -67707,6 +68004,7 @@ Microsoft.Graph.Identity.identityRequestBuilder::|public|riskPrevention:global.M Microsoft.Graph.Identity.identityRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Identity.identityRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.IdentityContainer; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Identity.identityRequestBuilder::|public|userFlowAttributes:global.Microsoft.Graph.Identity.UserFlowAttributes.UserFlowAttributesRequestBuilder +Microsoft.Graph.Identity.identityRequestBuilder::|public|verifiedId:global.Microsoft.Graph.Identity.VerifiedId.VerifiedIdRequestBuilder Microsoft.Graph.Identity.identityRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.IdentityRequestBuilder Microsoft.Graph.Identity.RiskPrevention.FraudProtectionProviders.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Identity.RiskPrevention.FraudProtectionProviders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string @@ -67928,6 +68226,66 @@ Microsoft.Graph.Identity.UserFlowAttributes.userFlowAttributesRequestBuilder::|p Microsoft.Graph.Identity.UserFlowAttributes.userFlowAttributesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Identity.UserFlowAttributes.userFlowAttributesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.IdentityUserFlowAttribute; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Identity.UserFlowAttributes.userFlowAttributesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.UserFlowAttributes.UserFlowAttributesRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder.VerifiedIdProfileItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder.VerifiedIdProfileItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder.VerifiedIdProfileItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder.VerifiedIdProfileItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder.VerifiedIdProfileItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.VerifiedIdProfile +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.VerifiedIdProfile; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.VerifiedIdProfile +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.VerifiedIdProfile; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::[VerifiedIdProfileId:string]:global.Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|Count:global.Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.VerifiedIdProfileCollectionResponse +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.VerifiedIdProfile; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.VerifiedIdProfile +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.VerifiedIdProfile; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.VerifiedId.Profiles.ProfilesRequestBuilder +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder.verifiedIdRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder.verifiedIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder.verifiedIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder.verifiedIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder.verifiedIdRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityVerifiedIdRoot +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.IdentityVerifiedIdRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityVerifiedIdRoot +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|profiles:global.Microsoft.Graph.Identity.VerifiedId.Profiles.ProfilesRequestBuilder +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.IdentityVerifiedIdRoot; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.VerifiedId.VerifiedIdRequestBuilder Microsoft.Graph.IdentityGovernance.AccessReviews.accessReviewsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.IdentityGovernance.AccessReviews.accessReviewsRequestBuilder.accessReviewsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.IdentityGovernance.AccessReviews.accessReviewsRequestBuilder.accessReviewsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -71480,6 +71838,8 @@ Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRe Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|resourceRoleScopes:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.ResourceRoleScopesRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|resources:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Resources.ResourcesRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|settings:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.SettingsRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|subjects:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|subjectsWithObjectId(objectId:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.SubjectsWithObjectIdRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.EntitlementManagement; requestConfiguration?:Action>):RequestInformation @@ -74148,6 +74508,75 @@ Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.settingsReques Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.settingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.settingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.EntitlementManagementSettings; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.settingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.SettingsRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder.AccessPackageSubjectItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder.AccessPackageSubjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder.AccessPackageSubjectItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder.AccessPackageSubjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder.AccessPackageSubjectItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|connectedOrganization:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.ConnectedOrganizationRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSubject +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AccessPackageSubject; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSubject +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AccessPackageSubject; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder.connectedOrganizationRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder.connectedOrganizationRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder.connectedOrganizationRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConnectedOrganization +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.ConnectedOrganizationRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::[AccessPackageSubjectId:string]:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSubjectCollectionResponse +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AccessPackageSubject; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSubject +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AccessPackageSubject; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder.subjectsWithObjectIdRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder.subjectsWithObjectIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder.subjectsWithObjectIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder.subjectsWithObjectIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder.subjectsWithObjectIdRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; objectId?:string):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSubject +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AccessPackageSubject; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSubject +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AccessPackageSubject; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.SubjectsWithObjectIdRequestBuilder Microsoft.Graph.IdentityGovernance.identityGovernanceRequestBuilder-->BaseRequestBuilder Microsoft.Graph.IdentityGovernance.identityGovernanceRequestBuilder.identityGovernanceRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.IdentityGovernance.identityGovernanceRequestBuilder.identityGovernanceRequestBuilderGetQueryParameters::|public|Select:string[] @@ -80418,6 +80847,13 @@ Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder::|publi Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder.creationOptionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebauthnCredentialCreationOptions +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -80432,6 +80868,7 @@ Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::[Fido Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder +Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|creationOptions:global.Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Fido2AuthenticationMethodCollectionResponse Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Fido2Methods.Fido2MethodsRequestBuilder @@ -82649,6 +83086,7 @@ Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|removeAllAccessFor Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Me.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|targetedMessages:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Chat; requestConfiguration?:Action>):RequestInformation @@ -83483,6 +83921,302 @@ Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|PostAsync(body:gl Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse-->global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::[ChatMessageId:string]:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|replies:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::[TargetedChatMessageId:string]:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessageCollectionResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|constructor():void @@ -95204,6 +95938,69 @@ Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|publi Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Team Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.TeamRequestBuilder +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|ChannelId:string +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|MessageId:string +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|TeamId:string +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder.deleteTargetedMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Value:List +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsGetAllRetainedTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse-->global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Value:List +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsGetAllTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse-->global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -95309,6 +96106,9 @@ Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|associatedTeams:glob Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|deleteTargetedMessage:global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder +Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|getAllRetainedTargetedMessages:global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder +Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|getAllTargetedMessages:global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserTeamwork Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|installedApps:global.Microsoft.Graph.Me.Teamwork.InstalledApps.InstalledAppsRequestBuilder Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserTeamwork; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserTeamwork @@ -96495,8 +97295,18 @@ Microsoft.Graph.Models.accessPackageSubject::|public|OdataType:string Microsoft.Graph.Models.accessPackageSubject::|public|OnPremisesSecurityIdentifier:string Microsoft.Graph.Models.accessPackageSubject::|public|PrincipalName:string Microsoft.Graph.Models.accessPackageSubject::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.accessPackageSubject::|public|SubjectLifecycle:global.Microsoft.Graph.Models.AccessPackageSubjectLifecycle? Microsoft.Graph.Models.accessPackageSubject::|public|SubjectType:global.Microsoft.Graph.Models.AccessPackageSubjectType? Microsoft.Graph.Models.accessPackageSubject::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AccessPackageSubject +Microsoft.Graph.Models.accessPackageSubjectCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.accessPackageSubjectCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.accessPackageSubjectCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.accessPackageSubjectCollectionResponse::|public|Value:List +Microsoft.Graph.Models.accessPackageSubjectCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AccessPackageSubjectCollectionResponse +Microsoft.Graph.Models.accessPackageSubjectLifecycle::0000-notDefined +Microsoft.Graph.Models.accessPackageSubjectLifecycle::0001-notGoverned +Microsoft.Graph.Models.accessPackageSubjectLifecycle::0002-governed +Microsoft.Graph.Models.accessPackageSubjectLifecycle::0003-unknownFutureValue Microsoft.Graph.Models.accessPackageSubjectType::0000-notSpecified Microsoft.Graph.Models.accessPackageSubjectType::0001-user Microsoft.Graph.Models.accessPackageSubjectType::0002-servicePrincipal @@ -98004,6 +98814,13 @@ Microsoft.Graph.Models.applicationContext::|public|IncludeApplications:Listglobal.Microsoft.Graph.Models.ConditionalAccessSessionControl Microsoft.Graph.Models.applicationEnforcedRestrictionsSessionControl::|public|constructor():void Microsoft.Graph.Models.applicationEnforcedRestrictionsSessionControl::|public|GetFieldDeserializers():IDictionary> @@ -98020,6 +98837,172 @@ Microsoft.Graph.Models.applicationGuardBlockFileTransferType::0001-blockImageAnd Microsoft.Graph.Models.applicationGuardBlockFileTransferType::0002-blockImageFile Microsoft.Graph.Models.applicationGuardBlockFileTransferType::0003-blockNone Microsoft.Graph.Models.applicationGuardBlockFileTransferType::0004-blockTextFile +Microsoft.Graph.Models.applicationLocation::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationLocation::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationLocation::|public|constructor():void +Microsoft.Graph.Models.applicationLocation::|public|DataCenter:string +Microsoft.Graph.Models.applicationLocation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationLocation::|public|Headquarters:string +Microsoft.Graph.Models.applicationLocation::|public|OdataType:string +Microsoft.Graph.Models.applicationLocation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationLocation +Microsoft.Graph.Models.applicationLocation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|constructor():void +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|HasBadCommonName:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|HasInsecureSignature:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|HasNoChainOfTrust:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|IsDenylisted:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|IsHostnameMismatch:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|IsNotAfter:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|IsNotBefore:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|IsRevoked:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|IsSelfSigned:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|constructor():void +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|ConsumerPopularity:int? +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|DomainRegistrationDate:Date? +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|Founded:int? +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|HasDisasterRecoveryPlan:bool? +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|Hold:global.Microsoft.Graph.Models.HoldType? +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|HostingCompanyName:string +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|Location:global.Microsoft.Graph.Models.ApplicationLocation +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|PrivacyPolicy:string +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|ProcessedDataTypes:global.Microsoft.Graph.Models.ApplicationDataType? +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|TermsOfService:string +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|constructor():void +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|DataRetention:global.Microsoft.Graph.Models.DataRetentionLevel? +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|Gdpr:global.Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|HasDataOwnership:bool? +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|HasDmca:bool? +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|constructor():void +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|DataProtection:global.Microsoft.Graph.Models.DataProtection? +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|HasRightToErasure:bool? +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|IsReportingDataBreaches:bool? +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|StatementUrl:string +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|UserOwnership:global.Microsoft.Graph.Models.UserOwnership? +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskFactorLegalInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskFactors::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskFactors::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskFactors::|public|Compliance:global.Microsoft.Graph.Models.ApplicationSecurityCompliance +Microsoft.Graph.Models.applicationRiskFactors::|public|constructor():void +Microsoft.Graph.Models.applicationRiskFactors::|public|General:global.Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo +Microsoft.Graph.Models.applicationRiskFactors::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskFactors::|public|Legal:global.Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo +Microsoft.Graph.Models.applicationRiskFactors::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskFactors::|public|Security:global.Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo +Microsoft.Graph.Models.applicationRiskFactors::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskFactors::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskFactors +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|Certificate:global.Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|constructor():void +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|DomainToCheck:string +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasAdminAuditTrail:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasAnonymousUsage:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasDataAuditTrail:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasDataClassification:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasDataEncrypted:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasEnforceTransportEnc:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasIpRestriction:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasMFA:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasPenTest:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasRememberPassword:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasSamlSupport:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasUserAuditLogs:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasUserDataUpload:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasUserRolesSupport:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasValidCertName:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HttpsSecurityHeaders:List +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|IsCertTrusted:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|IsDrownVulnerable:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|IsHeartbleedProof:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|LastBreachDate:Date? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|LatestValidSSL:global.Microsoft.Graph.Models.SslVersion? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|PasswordPolicy:global.Microsoft.Graph.Models.PasswordPolicy? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|RestEncryptionType:global.Microsoft.Graph.Models.RestEncryptionType? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskFactors~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskScore::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskScore::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskScore::|public|Compliance:float? +Microsoft.Graph.Models.applicationRiskScore::|public|constructor():void +Microsoft.Graph.Models.applicationRiskScore::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskScore::|public|Legal:float? +Microsoft.Graph.Models.applicationRiskScore::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskScore::|public|Provider:float? +Microsoft.Graph.Models.applicationRiskScore::|public|Security:float? +Microsoft.Graph.Models.applicationRiskScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskScore::|public|Total:float? +Microsoft.Graph.Models.applicationRiskScore::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskScore +Microsoft.Graph.Models.applicationRiskScore~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationSecurityCompliance::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationSecurityCompliance::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Cobit:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|constructor():void +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Coppa:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|CsaStar:global.Microsoft.Graph.Models.CsaStarLevel? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|FedRamp:global.Microsoft.Graph.Models.FedRampLevel? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Ferpa:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Ffiec:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Finra:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Fisma:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Gaap:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Gapp:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Glba:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Hipaa:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Hitrust:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Isae3402:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Iso27001:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Iso27002:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Iso27017:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Iso27018:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Itar:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|JerichoForumCommandments:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|OdataType:string +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Pci:global.Microsoft.Graph.Models.PciVersion? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|PrivacyShield:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|SafeHarbor:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Soc1:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Soc2:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Soc3:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Sox:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Sp80053:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Ssae16:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Ustr:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationSecurityCompliance +Microsoft.Graph.Models.applicationSecurityCompliance~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.applicationServicePrincipal::|public|AdditionalData:IDictionary Microsoft.Graph.Models.applicationServicePrincipal::|public|Application:global.Microsoft.Graph.Models.Application Microsoft.Graph.Models.applicationServicePrincipal::|public|BackingStore:IBackingStore @@ -98032,13 +99015,19 @@ Microsoft.Graph.Models.applicationServicePrincipal::|static|public|CreateFromDis Microsoft.Graph.Models.applicationServicePrincipal~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.applicationTemplate-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.applicationTemplate::|public|Categories:List +Microsoft.Graph.Models.applicationTemplate::|public|DeprecationDate:Date? Microsoft.Graph.Models.applicationTemplate::|public|Description:string Microsoft.Graph.Models.applicationTemplate::|public|DisplayName:string +Microsoft.Graph.Models.applicationTemplate::|public|Endpoints:List Microsoft.Graph.Models.applicationTemplate::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.applicationTemplate::|public|HomePageUrl:string +Microsoft.Graph.Models.applicationTemplate::|public|IsEntraIntegrated:bool? +Microsoft.Graph.Models.applicationTemplate::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Models.applicationTemplate::|public|LogoUrl:string Microsoft.Graph.Models.applicationTemplate::|public|OdataType:string Microsoft.Graph.Models.applicationTemplate::|public|Publisher:string +Microsoft.Graph.Models.applicationTemplate::|public|RiskFactors:global.Microsoft.Graph.Models.ApplicationRiskFactors +Microsoft.Graph.Models.applicationTemplate::|public|RiskScore:global.Microsoft.Graph.Models.ApplicationRiskScore Microsoft.Graph.Models.applicationTemplate::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.applicationTemplate::|public|SupportedProvisioningTypes:List Microsoft.Graph.Models.applicationTemplate::|public|SupportedSingleSignOnModes:List @@ -98127,6 +99116,7 @@ Microsoft.Graph.Models.appLogUploadState::0003-unknownFutureValue Microsoft.Graph.Models.appManagementApplicationConfiguration-->global.Microsoft.Graph.Models.AppManagementConfiguration Microsoft.Graph.Models.appManagementApplicationConfiguration::|public|constructor():void Microsoft.Graph.Models.appManagementApplicationConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.appManagementApplicationConfiguration::|public|IdentifierUris:global.Microsoft.Graph.Models.IdentifierUriConfiguration Microsoft.Graph.Models.appManagementApplicationConfiguration::|public|OdataType:string Microsoft.Graph.Models.appManagementApplicationConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.appManagementApplicationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AppManagementApplicationConfiguration @@ -98149,6 +99139,15 @@ Microsoft.Graph.Models.appManagementPolicy::|public|OdataType:string Microsoft.Graph.Models.appManagementPolicy::|public|Restrictions:global.Microsoft.Graph.Models.CustomAppManagementConfiguration Microsoft.Graph.Models.appManagementPolicy::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.appManagementPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AppManagementPolicy +Microsoft.Graph.Models.appManagementPolicyActorExemptions::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.appManagementPolicyActorExemptions::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.appManagementPolicyActorExemptions::|public|constructor():void +Microsoft.Graph.Models.appManagementPolicyActorExemptions::|public|CustomSecurityAttributes:List +Microsoft.Graph.Models.appManagementPolicyActorExemptions::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.appManagementPolicyActorExemptions::|public|OdataType:string +Microsoft.Graph.Models.appManagementPolicyActorExemptions::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.appManagementPolicyActorExemptions::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AppManagementPolicyActorExemptions +Microsoft.Graph.Models.appManagementPolicyActorExemptions~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.appManagementPolicyCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Models.appManagementPolicyCollectionResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.appManagementPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -99444,6 +100443,7 @@ Microsoft.Graph.Models.b2xIdentityUserFlowCollectionResponse::|public|Serialize( Microsoft.Graph.Models.b2xIdentityUserFlowCollectionResponse::|public|Value:List Microsoft.Graph.Models.b2xIdentityUserFlowCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.B2xIdentityUserFlowCollectionResponse Microsoft.Graph.Models.backupRestoreRoot-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.backupRestoreRoot::|public|BrowseSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|DriveInclusionRules:List Microsoft.Graph.Models.backupRestoreRoot::|public|DriveProtectionUnits:List Microsoft.Graph.Models.backupRestoreRoot::|public|DriveProtectionUnitsBulkAdditionJobs:List @@ -99454,6 +100454,7 @@ Microsoft.Graph.Models.backupRestoreRoot::|public|MailboxInclusionRules:List Microsoft.Graph.Models.backupRestoreRoot::|public|MailboxProtectionUnitsBulkAdditionJobs:List Microsoft.Graph.Models.backupRestoreRoot::|public|OdataType:string +Microsoft.Graph.Models.backupRestoreRoot::|public|OneDriveForBusinessBrowseSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|OneDriveForBusinessProtectionPolicies:List Microsoft.Graph.Models.backupRestoreRoot::|public|OneDriveForBusinessRestoreSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|ProtectionPolicies:List @@ -99463,6 +100464,7 @@ Microsoft.Graph.Models.backupRestoreRoot::|public|RestoreSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|ServiceStatus:global.Microsoft.Graph.Models.ServiceStatus +Microsoft.Graph.Models.backupRestoreRoot::|public|SharePointBrowseSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|SharePointProtectionPolicies:List Microsoft.Graph.Models.backupRestoreRoot::|public|SharePointRestoreSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|SiteInclusionRules:List @@ -100038,6 +101040,36 @@ Microsoft.Graph.Models.broadcastMeetingSettings::|public|OdataType:string Microsoft.Graph.Models.broadcastMeetingSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.broadcastMeetingSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BroadcastMeetingSettings Microsoft.Graph.Models.broadcastMeetingSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.browsableResourceType::0000-none +Microsoft.Graph.Models.browsableResourceType::0001-site +Microsoft.Graph.Models.browsableResourceType::0002-documentLibrary +Microsoft.Graph.Models.browsableResourceType::0003-folder +Microsoft.Graph.Models.browsableResourceType::0004-unknownFutureValue +Microsoft.Graph.Models.browseQueryOrder::0000-pathAsc +Microsoft.Graph.Models.browseQueryOrder::0001-pathDsc +Microsoft.Graph.Models.browseQueryOrder::0002-nameAsc +Microsoft.Graph.Models.browseQueryOrder::0003-nameDsc +Microsoft.Graph.Models.browseQueryOrder::0004-unknownFutureValue +Microsoft.Graph.Models.browseQueryResponseItem::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.browseQueryResponseItem::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.browseQueryResponseItem::|public|constructor():void +Microsoft.Graph.Models.browseQueryResponseItem::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.browseQueryResponseItem::|public|ItemKey:string +Microsoft.Graph.Models.browseQueryResponseItem::|public|ItemsCount:int? +Microsoft.Graph.Models.browseQueryResponseItem::|public|Name:string +Microsoft.Graph.Models.browseQueryResponseItem::|public|OdataType:string +Microsoft.Graph.Models.browseQueryResponseItem::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.browseQueryResponseItem::|public|SizeInBytes:string +Microsoft.Graph.Models.browseQueryResponseItem::|public|Type:global.Microsoft.Graph.Models.BrowseQueryResponseItemType? +Microsoft.Graph.Models.browseQueryResponseItem::|public|WebUrl:string +Microsoft.Graph.Models.browseQueryResponseItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BrowseQueryResponseItem +Microsoft.Graph.Models.browseQueryResponseItemType::0000-none +Microsoft.Graph.Models.browseQueryResponseItemType::0001-site +Microsoft.Graph.Models.browseQueryResponseItemType::0002-documentLibrary +Microsoft.Graph.Models.browseQueryResponseItemType::0003-folder +Microsoft.Graph.Models.browseQueryResponseItemType::0004-file +Microsoft.Graph.Models.browseQueryResponseItemType::0005-unknownFutureValue +Microsoft.Graph.Models.browseQueryResponseItem~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.browserSharedCookie-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.browserSharedCookie::|public|Comment:string Microsoft.Graph.Models.browserSharedCookie::|public|CreatedDateTime:DateTimeOffset? @@ -100170,6 +101202,27 @@ Microsoft.Graph.Models.browserSiteTargetEnvironment::0002-microsoftEdge Microsoft.Graph.Models.browserSiteTargetEnvironment::0003-configurable Microsoft.Graph.Models.browserSiteTargetEnvironment::0004-none Microsoft.Graph.Models.browserSiteTargetEnvironment::0005-unknownFutureValue +Microsoft.Graph.Models.browseSessionBase-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.browseSessionBase::|public|BackupSizeInBytes:string +Microsoft.Graph.Models.browseSessionBase::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.browseSessionBase::|public|Error:global.Microsoft.Graph.Models.PublicError +Microsoft.Graph.Models.browseSessionBase::|public|ExpirationDateTime:DateTimeOffset? +Microsoft.Graph.Models.browseSessionBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.browseSessionBase::|public|OdataType:string +Microsoft.Graph.Models.browseSessionBase::|public|RestorePointDateTime:DateTimeOffset? +Microsoft.Graph.Models.browseSessionBase::|public|RestorePointId:string +Microsoft.Graph.Models.browseSessionBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.browseSessionBase::|public|Status:global.Microsoft.Graph.Models.BrowseSessionStatus? +Microsoft.Graph.Models.browseSessionBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BrowseSessionBase +Microsoft.Graph.Models.browseSessionBaseCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.browseSessionBaseCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.browseSessionBaseCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.browseSessionBaseCollectionResponse::|public|Value:List +Microsoft.Graph.Models.browseSessionBaseCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BrowseSessionBaseCollectionResponse +Microsoft.Graph.Models.browseSessionStatus::0000-creating +Microsoft.Graph.Models.browseSessionStatus::0001-created +Microsoft.Graph.Models.browseSessionStatus::0002-failed +Microsoft.Graph.Models.browseSessionStatus::0003-unknownFutureValue Microsoft.Graph.Models.bucketAggregationDefinition::|public|AdditionalData:IDictionary Microsoft.Graph.Models.bucketAggregationDefinition::|public|BackingStore:IBackingStore Microsoft.Graph.Models.bucketAggregationDefinition::|public|constructor():void @@ -101355,6 +102408,7 @@ Microsoft.Graph.Models.chat::|public|PermissionGrants:List Microsoft.Graph.Models.chat::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.chat::|public|Tabs:List +Microsoft.Graph.Models.chat::|public|TargetedMessages:List Microsoft.Graph.Models.chat::|public|TenantId:string Microsoft.Graph.Models.chat::|public|Topic:string Microsoft.Graph.Models.chat::|public|Viewpoint:global.Microsoft.Graph.Models.ChatViewpoint @@ -101633,6 +102687,19 @@ Microsoft.Graph.Models.choiceColumn::|public|OdataType:string Microsoft.Graph.Models.choiceColumn::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.choiceColumn::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ChoiceColumn Microsoft.Graph.Models.choiceColumn~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.claimBinding::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.claimBinding::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.claimBinding::|public|constructor():void +Microsoft.Graph.Models.claimBinding::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.claimBinding::|public|MatchConfidenceLevel:global.Microsoft.Graph.Models.MatchConfidenceLevel? +Microsoft.Graph.Models.claimBinding::|public|OdataType:string +Microsoft.Graph.Models.claimBinding::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.claimBinding::|public|SourceAttribute:string +Microsoft.Graph.Models.claimBinding::|public|VerifiedIdClaim:string +Microsoft.Graph.Models.claimBinding::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ClaimBinding +Microsoft.Graph.Models.claimBindingSource::0000-directory +Microsoft.Graph.Models.claimBindingSource::0001-unknownFutureValue +Microsoft.Graph.Models.claimBinding~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.claimsMappingPolicy-->global.Microsoft.Graph.Models.StsPolicy Microsoft.Graph.Models.claimsMappingPolicy::|public|constructor():void Microsoft.Graph.Models.claimsMappingPolicy::|public|GetFieldDeserializers():IDictionary> @@ -101644,6 +102711,16 @@ Microsoft.Graph.Models.claimsMappingPolicyCollectionResponse::|public|GetFieldDe Microsoft.Graph.Models.claimsMappingPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.claimsMappingPolicyCollectionResponse::|public|Value:List Microsoft.Graph.Models.claimsMappingPolicyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ClaimsMappingPolicyCollectionResponse +Microsoft.Graph.Models.claimValidation::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.claimValidation::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.claimValidation::|public|constructor():void +Microsoft.Graph.Models.claimValidation::|public|CustomExtensionId:string +Microsoft.Graph.Models.claimValidation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.claimValidation::|public|IsEnabled:bool? +Microsoft.Graph.Models.claimValidation::|public|OdataType:string +Microsoft.Graph.Models.claimValidation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.claimValidation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ClaimValidation +Microsoft.Graph.Models.claimValidation~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.classifcationErrorBase::|public|AdditionalData:IDictionary Microsoft.Graph.Models.classifcationErrorBase::|public|BackingStore:IBackingStore Microsoft.Graph.Models.classifcationErrorBase::|public|Code:string @@ -102710,6 +103787,7 @@ Microsoft.Graph.Models.conditionalAccessGrantControl::0004-approvedApplication Microsoft.Graph.Models.conditionalAccessGrantControl::0005-compliantApplication Microsoft.Graph.Models.conditionalAccessGrantControl::0006-passwordChange Microsoft.Graph.Models.conditionalAccessGrantControl::0007-unknownFutureValue +Microsoft.Graph.Models.conditionalAccessGrantControl::0008-riskRemediation Microsoft.Graph.Models.conditionalAccessGrantControls::|public|AdditionalData:IDictionary Microsoft.Graph.Models.conditionalAccessGrantControls::|public|AuthenticationStrength:global.Microsoft.Graph.Models.AuthenticationStrengthPolicy Microsoft.Graph.Models.conditionalAccessGrantControls::|public|BackingStore:IBackingStore @@ -103557,6 +104635,14 @@ Microsoft.Graph.Models.crossTenantUserSyncInbound::|public|OdataType:string Microsoft.Graph.Models.crossTenantUserSyncInbound::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.crossTenantUserSyncInbound::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CrossTenantUserSyncInbound Microsoft.Graph.Models.crossTenantUserSyncInbound~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.csaStarLevel::0000-none +Microsoft.Graph.Models.csaStarLevel::0001-attestation +Microsoft.Graph.Models.csaStarLevel::0002-certification +Microsoft.Graph.Models.csaStarLevel::0003-continuousMonitoring +Microsoft.Graph.Models.csaStarLevel::0004-cStarAssessment +Microsoft.Graph.Models.csaStarLevel::0005-selfAssessment +Microsoft.Graph.Models.csaStarLevel::0006-notSupported +Microsoft.Graph.Models.csaStarLevel::0007-unknownFutureValue Microsoft.Graph.Models.currencyColumn::|public|AdditionalData:IDictionary Microsoft.Graph.Models.currencyColumn::|public|BackingStore:IBackingStore Microsoft.Graph.Models.currencyColumn::|public|constructor():void @@ -103566,7 +104652,17 @@ Microsoft.Graph.Models.currencyColumn::|public|OdataType:string Microsoft.Graph.Models.currencyColumn::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.currencyColumn::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CurrencyColumn Microsoft.Graph.Models.currencyColumn~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.customAppManagementApplicationConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.customAppManagementApplicationConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.customAppManagementApplicationConfiguration::|public|constructor():void +Microsoft.Graph.Models.customAppManagementApplicationConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.customAppManagementApplicationConfiguration::|public|IdentifierUris:global.Microsoft.Graph.Models.IdentifierUriConfiguration +Microsoft.Graph.Models.customAppManagementApplicationConfiguration::|public|OdataType:string +Microsoft.Graph.Models.customAppManagementApplicationConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.customAppManagementApplicationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CustomAppManagementApplicationConfiguration +Microsoft.Graph.Models.customAppManagementApplicationConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.customAppManagementConfiguration-->global.Microsoft.Graph.Models.AppManagementConfiguration +Microsoft.Graph.Models.customAppManagementConfiguration::|public|ApplicationRestrictions:global.Microsoft.Graph.Models.CustomAppManagementApplicationConfiguration Microsoft.Graph.Models.customAppManagementConfiguration::|public|constructor():void Microsoft.Graph.Models.customAppManagementConfiguration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.customAppManagementConfiguration::|public|OdataType:string @@ -103696,6 +104792,8 @@ Microsoft.Graph.Models.customMetadataDictionary::|public|GetFieldDeserializers() Microsoft.Graph.Models.customMetadataDictionary::|public|OdataType:string Microsoft.Graph.Models.customMetadataDictionary::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.customMetadataDictionary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CustomMetadataDictionary +Microsoft.Graph.Models.customSecurityAttributeComparisonOperator::0000-equals +Microsoft.Graph.Models.customSecurityAttributeComparisonOperator::0001-unknownFutureValue Microsoft.Graph.Models.customSecurityAttributeDefinition-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.customSecurityAttributeDefinition::|public|AllowedValues:List Microsoft.Graph.Models.customSecurityAttributeDefinition::|public|AttributeSet:string @@ -103715,6 +104813,20 @@ Microsoft.Graph.Models.customSecurityAttributeDefinitionCollectionResponse::|pub Microsoft.Graph.Models.customSecurityAttributeDefinitionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.customSecurityAttributeDefinitionCollectionResponse::|public|Value:List Microsoft.Graph.Models.customSecurityAttributeDefinitionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CustomSecurityAttributeDefinitionCollectionResponse +Microsoft.Graph.Models.customSecurityAttributeExemption-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.customSecurityAttributeExemption::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.customSecurityAttributeExemption::|public|id:string +Microsoft.Graph.Models.customSecurityAttributeExemption::|public|OdataType:string +Microsoft.Graph.Models.customSecurityAttributeExemption::|public|Operator:global.Microsoft.Graph.Models.CustomSecurityAttributeComparisonOperator? +Microsoft.Graph.Models.customSecurityAttributeExemption::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.customSecurityAttributeExemption::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CustomSecurityAttributeExemption +Microsoft.Graph.Models.customSecurityAttributeStringValueExemption-->global.Microsoft.Graph.Models.CustomSecurityAttributeExemption +Microsoft.Graph.Models.customSecurityAttributeStringValueExemption::|public|constructor():void +Microsoft.Graph.Models.customSecurityAttributeStringValueExemption::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.customSecurityAttributeStringValueExemption::|public|OdataType:string +Microsoft.Graph.Models.customSecurityAttributeStringValueExemption::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.customSecurityAttributeStringValueExemption::|public|Value:string +Microsoft.Graph.Models.customSecurityAttributeStringValueExemption::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CustomSecurityAttributeStringValueExemption Microsoft.Graph.Models.customSecurityAttributeValue::|public|AdditionalData:IDictionary Microsoft.Graph.Models.customSecurityAttributeValue::|public|BackingStore:IBackingStore Microsoft.Graph.Models.customSecurityAttributeValue::|public|constructor():void @@ -103764,6 +104876,19 @@ Microsoft.Graph.Models.dataPolicyOperationStatus::0001-running Microsoft.Graph.Models.dataPolicyOperationStatus::0002-complete Microsoft.Graph.Models.dataPolicyOperationStatus::0003-failed Microsoft.Graph.Models.dataPolicyOperationStatus::0004-unknownFutureValue +Microsoft.Graph.Models.dataProtection::0000-none +Microsoft.Graph.Models.dataProtection::0001-impactAssessments +Microsoft.Graph.Models.dataProtection::0002-officers +Microsoft.Graph.Models.dataProtection::0003-secureCrossBorderDataTransfer +Microsoft.Graph.Models.dataProtection::0004-unknownFutureValue +Microsoft.Graph.Models.dataRetentionLevel::0000-none +Microsoft.Graph.Models.dataRetentionLevel::0001-dataRetained +Microsoft.Graph.Models.dataRetentionLevel::0002-deletedImmediately +Microsoft.Graph.Models.dataRetentionLevel::0003-deletedWithin1Month +Microsoft.Graph.Models.dataRetentionLevel::0004-deletedWithin2Weeks +Microsoft.Graph.Models.dataRetentionLevel::0005-deletedWithin3Months +Microsoft.Graph.Models.dataRetentionLevel::0006-deletedWithinMoreThan3Months +Microsoft.Graph.Models.dataRetentionLevel::0007-unknownFutureValue Microsoft.Graph.Models.dataSecurityAndGovernance-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.dataSecurityAndGovernance::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.dataSecurityAndGovernance::|public|OdataType:string @@ -106681,6 +107806,17 @@ Microsoft.Graph.Models.emailAuthenticationMethodConfiguration::|public|IncludeTa Microsoft.Graph.Models.emailAuthenticationMethodConfiguration::|public|OdataType:string Microsoft.Graph.Models.emailAuthenticationMethodConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.emailAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EmailAuthenticationMethodConfiguration +Microsoft.Graph.Models.emailDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.emailDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.emailDetails::|public|Body:string +Microsoft.Graph.Models.emailDetails::|public|constructor():void +Microsoft.Graph.Models.emailDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.emailDetails::|public|OdataType:string +Microsoft.Graph.Models.emailDetails::|public|SenderEmailAddress:string +Microsoft.Graph.Models.emailDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.emailDetails::|public|Subject:string +Microsoft.Graph.Models.emailDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EmailDetails +Microsoft.Graph.Models.emailDetails~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.emailFileAssessmentRequest-->global.Microsoft.Graph.Models.ThreatAssessmentRequest Microsoft.Graph.Models.emailFileAssessmentRequest::|public|constructor():void Microsoft.Graph.Models.emailFileAssessmentRequest::|public|ContentData:string @@ -107063,6 +108199,7 @@ Microsoft.Graph.Models.entitlementManagement::|public|ResourceRoleScopes:List Microsoft.Graph.Models.entitlementManagement::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.entitlementManagement::|public|Settings:global.Microsoft.Graph.Models.EntitlementManagementSettings +Microsoft.Graph.Models.entitlementManagement::|public|Subjects:List Microsoft.Graph.Models.entitlementManagement::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EntitlementManagement Microsoft.Graph.Models.entitlementManagementSchedule::|public|AdditionalData:IDictionary Microsoft.Graph.Models.entitlementManagementSchedule::|public|BackingStore:IBackingStore @@ -107695,6 +108832,11 @@ Microsoft.Graph.Models.ExternalConnectors.label::0045-personColleagues Microsoft.Graph.Models.ExternalConnectors.label::0046-personManager Microsoft.Graph.Models.ExternalConnectors.label::0047-personAlternateContacts Microsoft.Graph.Models.ExternalConnectors.label::0048-personEmergencyContacts +Microsoft.Graph.Models.ExternalConnectors.label::0049-personEducationalActivities +Microsoft.Graph.Models.ExternalConnectors.label::0050-personInterests +Microsoft.Graph.Models.ExternalConnectors.label::0051-personLanguages +Microsoft.Graph.Models.ExternalConnectors.label::0052-personPublications +Microsoft.Graph.Models.ExternalConnectors.label::0053-personPatents Microsoft.Graph.Models.ExternalConnectors.properties::|public|AdditionalData:IDictionary Microsoft.Graph.Models.ExternalConnectors.properties::|public|BackingStore:IBackingStore Microsoft.Graph.Models.ExternalConnectors.properties::|public|constructor():void @@ -107847,6 +108989,16 @@ Microsoft.Graph.Models.extractSensitivityLabelsResult::|public|OdataType:string Microsoft.Graph.Models.extractSensitivityLabelsResult::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.extractSensitivityLabelsResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ExtractSensitivityLabelsResult Microsoft.Graph.Models.extractSensitivityLabelsResult~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.faceCheckConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.faceCheckConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.faceCheckConfiguration::|public|constructor():void +Microsoft.Graph.Models.faceCheckConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.faceCheckConfiguration::|public|IsEnabled:bool? +Microsoft.Graph.Models.faceCheckConfiguration::|public|OdataType:string +Microsoft.Graph.Models.faceCheckConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.faceCheckConfiguration::|public|SourcePhotoClaimName:string +Microsoft.Graph.Models.faceCheckConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FaceCheckConfiguration +Microsoft.Graph.Models.faceCheckConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.fallbackToMicrosoftProviderOnError-->global.Microsoft.Graph.Models.CustomExtensionBehaviorOnError Microsoft.Graph.Models.fallbackToMicrosoftProviderOnError::|public|constructor():void Microsoft.Graph.Models.fallbackToMicrosoftProviderOnError::|public|GetFieldDeserializers():IDictionary> @@ -107902,6 +109054,13 @@ Microsoft.Graph.Models.federatedIdpMfaBehavior::0000-acceptIfMfaDoneByFederatedI Microsoft.Graph.Models.federatedIdpMfaBehavior::0001-enforceMfaByFederatedIdp Microsoft.Graph.Models.federatedIdpMfaBehavior::0002-rejectMfaByFederatedIdp Microsoft.Graph.Models.federatedIdpMfaBehavior::0003-unknownFutureValue +Microsoft.Graph.Models.fedRampLevel::0000-none +Microsoft.Graph.Models.fedRampLevel::0001-high +Microsoft.Graph.Models.fedRampLevel::0002-liSaas +Microsoft.Graph.Models.fedRampLevel::0003-low +Microsoft.Graph.Models.fedRampLevel::0004-moderate +Microsoft.Graph.Models.fedRampLevel::0005-notSupported +Microsoft.Graph.Models.fedRampLevel::0006-unknownFutureValue Microsoft.Graph.Models.fido2AuthenticationMethod-->global.Microsoft.Graph.Models.AuthenticationMethod Microsoft.Graph.Models.fido2AuthenticationMethod::|public|AaGuid:string Microsoft.Graph.Models.fido2AuthenticationMethod::|public|AttestationCertificates:List @@ -107912,6 +109071,7 @@ Microsoft.Graph.Models.fido2AuthenticationMethod::|public|GetFieldDeserializers( Microsoft.Graph.Models.fido2AuthenticationMethod::|public|Model:string Microsoft.Graph.Models.fido2AuthenticationMethod::|public|OdataType:string Microsoft.Graph.Models.fido2AuthenticationMethod::|public|PasskeyType:global.Microsoft.Graph.Models.PasskeyType? +Microsoft.Graph.Models.fido2AuthenticationMethod::|public|PublicKeyCredential:global.Microsoft.Graph.Models.WebauthnPublicKeyCredential Microsoft.Graph.Models.fido2AuthenticationMethod::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.fido2AuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Fido2AuthenticationMethod Microsoft.Graph.Models.fido2AuthenticationMethodCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse @@ -108444,6 +109604,17 @@ Microsoft.Graph.Models.governanceInsightCollectionResponse::|public|GetFieldDese Microsoft.Graph.Models.governanceInsightCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.governanceInsightCollectionResponse::|public|Value:List Microsoft.Graph.Models.governanceInsightCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GovernanceInsightCollectionResponse +Microsoft.Graph.Models.granularDriveRestoreArtifact-->global.Microsoft.Graph.Models.GranularRestoreArtifactBase +Microsoft.Graph.Models.granularDriveRestoreArtifact::|public|DirectoryObjectId:string +Microsoft.Graph.Models.granularDriveRestoreArtifact::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.granularDriveRestoreArtifact::|public|OdataType:string +Microsoft.Graph.Models.granularDriveRestoreArtifact::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.granularDriveRestoreArtifact::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GranularDriveRestoreArtifact +Microsoft.Graph.Models.granularDriveRestoreArtifactCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.granularDriveRestoreArtifactCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.granularDriveRestoreArtifactCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.granularDriveRestoreArtifactCollectionResponse::|public|Value:List +Microsoft.Graph.Models.granularDriveRestoreArtifactCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GranularDriveRestoreArtifactCollectionResponse Microsoft.Graph.Models.granularMailboxRestoreArtifact-->global.Microsoft.Graph.Models.MailboxRestoreArtifact Microsoft.Graph.Models.granularMailboxRestoreArtifact::|public|ArtifactCount:int? Microsoft.Graph.Models.granularMailboxRestoreArtifact::|public|GetFieldDeserializers():IDictionary> @@ -108456,6 +109627,31 @@ Microsoft.Graph.Models.granularMailboxRestoreArtifactCollectionResponse::|public Microsoft.Graph.Models.granularMailboxRestoreArtifactCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.granularMailboxRestoreArtifactCollectionResponse::|public|Value:List Microsoft.Graph.Models.granularMailboxRestoreArtifactCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GranularMailboxRestoreArtifactCollectionResponse +Microsoft.Graph.Models.granularRestoreArtifactBase-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|BrowseSessionId:string +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|CompletionDateTime:DateTimeOffset? +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|OdataType:string +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|RestoredItemKey:string +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|RestoredItemPath:string +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|RestoredItemWebUrl:string +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|RestorePointDateTime:DateTimeOffset? +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|Status:global.Microsoft.Graph.Models.ArtifactRestoreStatus? +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|WebUrl:string +Microsoft.Graph.Models.granularRestoreArtifactBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GranularRestoreArtifactBase +Microsoft.Graph.Models.granularSiteRestoreArtifact-->global.Microsoft.Graph.Models.GranularRestoreArtifactBase +Microsoft.Graph.Models.granularSiteRestoreArtifact::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.granularSiteRestoreArtifact::|public|OdataType:string +Microsoft.Graph.Models.granularSiteRestoreArtifact::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.granularSiteRestoreArtifact::|public|SiteId:string +Microsoft.Graph.Models.granularSiteRestoreArtifact::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GranularSiteRestoreArtifact +Microsoft.Graph.Models.granularSiteRestoreArtifactCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.granularSiteRestoreArtifactCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.granularSiteRestoreArtifactCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.granularSiteRestoreArtifactCollectionResponse::|public|Value:List +Microsoft.Graph.Models.granularSiteRestoreArtifactCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GranularSiteRestoreArtifactCollectionResponse Microsoft.Graph.Models.group-->global.Microsoft.Graph.Models.DirectoryObject Microsoft.Graph.Models.group::|public|AcceptedSenders:List Microsoft.Graph.Models.group::|public|AllowExternalSenders:bool? @@ -108483,6 +109679,7 @@ Microsoft.Graph.Models.group::|public|GroupTypes:List Microsoft.Graph.Models.group::|public|HasMembersWithLicenseErrors:bool? Microsoft.Graph.Models.group::|public|HideFromAddressLists:bool? Microsoft.Graph.Models.group::|public|HideFromOutlookClients:bool? +Microsoft.Graph.Models.group::|public|InfoCatalogs:List Microsoft.Graph.Models.group::|public|IsArchived:bool? Microsoft.Graph.Models.group::|public|IsAssignableToRole:bool? Microsoft.Graph.Models.group::|public|IsManagementRestricted:bool? @@ -108630,6 +109827,10 @@ Microsoft.Graph.Models.hashes::|public|Sha1Hash:string Microsoft.Graph.Models.hashes::|public|Sha256Hash:string Microsoft.Graph.Models.hashes::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Hashes Microsoft.Graph.Models.hashes~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.holdType::0000-none +Microsoft.Graph.Models.holdType::0001-private +Microsoft.Graph.Models.holdType::0002-public +Microsoft.Graph.Models.holdType::0003-unknownFutureValue Microsoft.Graph.Models.homeRealmDiscoveryPolicy-->global.Microsoft.Graph.Models.StsPolicy Microsoft.Graph.Models.homeRealmDiscoveryPolicy::|public|constructor():void Microsoft.Graph.Models.homeRealmDiscoveryPolicy::|public|GetFieldDeserializers():IDictionary> @@ -108715,6 +109916,30 @@ Microsoft.Graph.Models.hyperlinkOrPictureColumn::|public|OdataType:string Microsoft.Graph.Models.hyperlinkOrPictureColumn::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.hyperlinkOrPictureColumn::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.HyperlinkOrPictureColumn Microsoft.Graph.Models.hyperlinkOrPictureColumn~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.identifierUriConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.identifierUriConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.identifierUriConfiguration::|public|constructor():void +Microsoft.Graph.Models.identifierUriConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.identifierUriConfiguration::|public|NonDefaultUriAddition:global.Microsoft.Graph.Models.IdentifierUriRestriction +Microsoft.Graph.Models.identifierUriConfiguration::|public|OdataType:string +Microsoft.Graph.Models.identifierUriConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.identifierUriConfiguration::|public|UriAdditionWithoutUniqueTenantIdentifier:global.Microsoft.Graph.Models.IdentifierUriRestriction +Microsoft.Graph.Models.identifierUriConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentifierUriConfiguration +Microsoft.Graph.Models.identifierUriConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.identifierUriRestriction::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.identifierUriRestriction::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.identifierUriRestriction::|public|constructor():void +Microsoft.Graph.Models.identifierUriRestriction::|public|ExcludeActors:global.Microsoft.Graph.Models.AppManagementPolicyActorExemptions +Microsoft.Graph.Models.identifierUriRestriction::|public|ExcludeAppsReceivingV2Tokens:bool? +Microsoft.Graph.Models.identifierUriRestriction::|public|ExcludeSaml:bool? +Microsoft.Graph.Models.identifierUriRestriction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.identifierUriRestriction::|public|IsStateSetByMicrosoft:bool? +Microsoft.Graph.Models.identifierUriRestriction::|public|OdataType:string +Microsoft.Graph.Models.identifierUriRestriction::|public|RestrictForAppsCreatedAfterDateTime:DateTimeOffset? +Microsoft.Graph.Models.identifierUriRestriction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.identifierUriRestriction::|public|State:global.Microsoft.Graph.Models.AppManagementRestrictionState? +Microsoft.Graph.Models.identifierUriRestriction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentifierUriRestriction +Microsoft.Graph.Models.identifierUriRestriction~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.identity::|public|AdditionalData:IDictionary Microsoft.Graph.Models.identity::|public|BackingStore:IBackingStore Microsoft.Graph.Models.identity::|public|constructor():void @@ -108756,6 +109981,7 @@ Microsoft.Graph.Models.identityContainer::|public|OdataType:string Microsoft.Graph.Models.identityContainer::|public|RiskPrevention:global.Microsoft.Graph.Models.RiskPreventionContainer Microsoft.Graph.Models.identityContainer::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.identityContainer::|public|UserFlowAttributes:List +Microsoft.Graph.Models.identityContainer::|public|VerifiedId:global.Microsoft.Graph.Models.IdentityVerifiedIdRoot Microsoft.Graph.Models.identityContainer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityContainer Microsoft.Graph.Models.identityCustomUserFlowAttribute-->global.Microsoft.Graph.Models.IdentityUserFlowAttribute Microsoft.Graph.Models.identityCustomUserFlowAttribute::|public|constructor():void @@ -109033,6 +110259,7 @@ Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|CreatedD Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|FailureReason:string Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|ProcessingInfo:string Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|ProcessingStatus:global.Microsoft.Graph.Models.IdentityGovernance.LifecycleWorkflowProcessingStatus? Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|StartedDateTime:DateTimeOffset? @@ -109425,6 +110652,12 @@ Microsoft.Graph.Models.identityUserFlowAttributeType::0000-builtIn Microsoft.Graph.Models.identityUserFlowAttributeType::0001-custom Microsoft.Graph.Models.identityUserFlowAttributeType::0002-required Microsoft.Graph.Models.identityUserFlowAttributeType::0003-unknownFutureValue +Microsoft.Graph.Models.identityVerifiedIdRoot-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.identityVerifiedIdRoot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.identityVerifiedIdRoot::|public|OdataType:string +Microsoft.Graph.Models.identityVerifiedIdRoot::|public|Profiles:List +Microsoft.Graph.Models.identityVerifiedIdRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.identityVerifiedIdRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityVerifiedIdRoot Microsoft.Graph.Models.identity~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.idleSessionSignOut::|public|AdditionalData:IDictionary Microsoft.Graph.Models.idleSessionSignOut::|public|BackingStore:IBackingStore @@ -110544,6 +111777,7 @@ Microsoft.Graph.Models.keyCredential::|static|public|CreateFromDiscriminatorValu Microsoft.Graph.Models.keyCredentialConfiguration::|public|AdditionalData:IDictionary Microsoft.Graph.Models.keyCredentialConfiguration::|public|BackingStore:IBackingStore Microsoft.Graph.Models.keyCredentialConfiguration::|public|constructor():void +Microsoft.Graph.Models.keyCredentialConfiguration::|public|ExcludeActors:global.Microsoft.Graph.Models.AppManagementPolicyActorExemptions Microsoft.Graph.Models.keyCredentialConfiguration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.keyCredentialConfiguration::|public|MaxLifetime:TimeSpan? Microsoft.Graph.Models.keyCredentialConfiguration::|public|OdataType:string @@ -112006,6 +113240,9 @@ Microsoft.Graph.Models.managementState::0009-wipeCanceled Microsoft.Graph.Models.managementState::0010-retireCanceled Microsoft.Graph.Models.managementState::0011-discovered Microsoft.Graph.Models.managementState::0012-unknownFutureValue +Microsoft.Graph.Models.matchConfidenceLevel::0000-exact +Microsoft.Graph.Models.matchConfidenceLevel::0001-relaxed +Microsoft.Graph.Models.matchConfidenceLevel::0002-unknownFutureValue Microsoft.Graph.Models.maxWorkLocationDetails::0000-unknown Microsoft.Graph.Models.maxWorkLocationDetails::0001-none Microsoft.Graph.Models.maxWorkLocationDetails::0002-approximate @@ -113164,6 +114401,10 @@ Microsoft.Graph.Models.notificationTemplateBrandingOptions::0003-includeContactI Microsoft.Graph.Models.notificationTemplateBrandingOptions::0004-includeCompanyPortalLink Microsoft.Graph.Models.notificationTemplateBrandingOptions::0005-includeDeviceDetails Microsoft.Graph.Models.notificationTemplateBrandingOptions::0006-unknownFutureValue +Microsoft.Graph.Models.notifyMembers::0000-all +Microsoft.Graph.Models.notifyMembers::0001-allowSelected +Microsoft.Graph.Models.notifyMembers::0002-blockSelected +Microsoft.Graph.Models.notifyMembers::0003-unknownFutureValue Microsoft.Graph.Models.noTrainingNotificationSetting-->global.Microsoft.Graph.Models.EndUserNotificationSetting Microsoft.Graph.Models.noTrainingNotificationSetting::|public|constructor():void Microsoft.Graph.Models.noTrainingNotificationSetting::|public|GetFieldDeserializers():IDictionary> @@ -113599,6 +114840,18 @@ Microsoft.Graph.Models.onAuthenticationMethodLoadStartListener::|public|Handler: Microsoft.Graph.Models.onAuthenticationMethodLoadStartListener::|public|OdataType:string Microsoft.Graph.Models.onAuthenticationMethodLoadStartListener::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.onAuthenticationMethodLoadStartListener::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnAuthenticationMethodLoadStartListener +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession-->global.Microsoft.Graph.Models.BrowseSessionBase +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession::|public|constructor():void +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession::|public|DirectoryObjectId:string +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession::|public|OdataType:string +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession +Microsoft.Graph.Models.oneDriveForBusinessBrowseSessionCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.oneDriveForBusinessBrowseSessionCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.oneDriveForBusinessBrowseSessionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.oneDriveForBusinessBrowseSessionCollectionResponse::|public|Value:List +Microsoft.Graph.Models.oneDriveForBusinessBrowseSessionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSessionCollectionResponse Microsoft.Graph.Models.oneDriveForBusinessProtectionPolicy-->global.Microsoft.Graph.Models.ProtectionPolicyBase Microsoft.Graph.Models.oneDriveForBusinessProtectionPolicy::|public|constructor():void Microsoft.Graph.Models.oneDriveForBusinessProtectionPolicy::|public|DriveInclusionRules:List @@ -113618,6 +114871,7 @@ Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|constructor(): Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|DriveRestoreArtifacts:List Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|DriveRestoreArtifactsBulkAdditionRequests:List Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|GranularDriveRestoreArtifacts:List Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|OdataType:string Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OneDriveForBusinessRestoreSession @@ -114057,6 +115311,7 @@ Microsoft.Graph.Models.onPremisesDirectorySynchronizationDeletionPreventionType: Microsoft.Graph.Models.onPremisesDirectorySynchronizationDeletionPreventionType::0002-enabledForPercentage Microsoft.Graph.Models.onPremisesDirectorySynchronizationDeletionPreventionType::0003-unknownFutureValue Microsoft.Graph.Models.onPremisesDirectorySynchronizationFeature::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.onPremisesDirectorySynchronizationFeature::|public|AllowOnPremUpdateOfOnPremisesObjectIdentifierEnabled:bool? Microsoft.Graph.Models.onPremisesDirectorySynchronizationFeature::|public|BackingStore:IBackingStore Microsoft.Graph.Models.onPremisesDirectorySynchronizationFeature::|public|BlockCloudObjectTakeoverThroughHardMatchEnabled:bool? Microsoft.Graph.Models.onPremisesDirectorySynchronizationFeature::|public|BlockSoftMatchEnabled:bool? @@ -114185,6 +115440,35 @@ Microsoft.Graph.Models.onUserCreateStartListener::|public|Handler:global.Microso Microsoft.Graph.Models.onUserCreateStartListener::|public|OdataType:string Microsoft.Graph.Models.onUserCreateStartListener::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.onUserCreateStartListener::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnUserCreateStartListener +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtension-->global.Microsoft.Graph.Models.CustomAuthenticationExtension +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtension::|public|constructor():void +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtension::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtension::|public|OdataType:string +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtension::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtension::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler-->global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|public|Configuration:global.Microsoft.Graph.Models.CustomExtensionOverwriteConfiguration +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|public|constructor():void +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|public|CustomExtension:global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|public|OdataType:string +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtensionHandler +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|public|constructor():void +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|public|OdataType:string +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener-->global.Microsoft.Graph.Models.AuthenticationEventListener +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener::|public|constructor():void +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener::|public|Handler:global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener::|public|OdataType:string +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationListener Microsoft.Graph.Models.openComplexDictionaryType-->global.Microsoft.Graph.Models.Dictionary Microsoft.Graph.Models.openComplexDictionaryType::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.openComplexDictionaryType::|public|OdataType:string @@ -114520,6 +115804,18 @@ Microsoft.Graph.Models.outOfOfficeSettings::|public|OdataType:string Microsoft.Graph.Models.outOfOfficeSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.outOfOfficeSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OutOfOfficeSettings Microsoft.Graph.Models.outOfOfficeSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.ownerlessGroupPolicy-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|EmailInfo:global.Microsoft.Graph.Models.EmailDetails +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|EnabledGroupIds:List +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|IsEnabled:bool? +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|MaxMembersToNotify:long? +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|NotificationDurationInWeeks:long? +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|OdataType:string +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|PolicyWebUrl:string +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|TargetOwners:global.Microsoft.Graph.Models.TargetOwners +Microsoft.Graph.Models.ownerlessGroupPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OwnerlessGroupPolicy Microsoft.Graph.Models.package::|public|AdditionalData:IDictionary Microsoft.Graph.Models.package::|public|BackingStore:IBackingStore Microsoft.Graph.Models.package::|public|constructor():void @@ -114788,6 +116084,7 @@ Microsoft.Graph.Models.passwordCredential::|static|public|CreateFromDiscriminato Microsoft.Graph.Models.passwordCredentialConfiguration::|public|AdditionalData:IDictionary Microsoft.Graph.Models.passwordCredentialConfiguration::|public|BackingStore:IBackingStore Microsoft.Graph.Models.passwordCredentialConfiguration::|public|constructor():void +Microsoft.Graph.Models.passwordCredentialConfiguration::|public|ExcludeActors:global.Microsoft.Graph.Models.AppManagementPolicyActorExemptions Microsoft.Graph.Models.passwordCredentialConfiguration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.passwordCredentialConfiguration::|public|MaxLifetime:TimeSpan? Microsoft.Graph.Models.passwordCredentialConfiguration::|public|OdataType:string @@ -114798,6 +116095,13 @@ Microsoft.Graph.Models.passwordCredentialConfiguration::|public|State:global.Mic Microsoft.Graph.Models.passwordCredentialConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PasswordCredentialConfiguration Microsoft.Graph.Models.passwordCredentialConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.passwordCredential~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.passwordPolicy::0000-none +Microsoft.Graph.Models.passwordPolicy::0001-changePasswordPeriod +Microsoft.Graph.Models.passwordPolicy::0002-charactersCombination +Microsoft.Graph.Models.passwordPolicy::0003-passwordHistoryAndReuse +Microsoft.Graph.Models.passwordPolicy::0004-passwordLengthLimit +Microsoft.Graph.Models.passwordPolicy::0005-personalInformationUse +Microsoft.Graph.Models.passwordPolicy::0006-unknownFutureValue Microsoft.Graph.Models.passwordProfile::|public|AdditionalData:IDictionary Microsoft.Graph.Models.passwordProfile::|public|BackingStore:IBackingStore Microsoft.Graph.Models.passwordProfile::|public|constructor():void @@ -114970,6 +116274,11 @@ Microsoft.Graph.Models.payloadTheme::0028-voicemail Microsoft.Graph.Models.payloadTheme::0029-advertisement Microsoft.Graph.Models.payloadTheme::0030-employeeEngagement Microsoft.Graph.Models.payloadTheme::0031-unknownFutureValue +Microsoft.Graph.Models.pciVersion::0000-none +Microsoft.Graph.Models.pciVersion::0001-v3_2_1 +Microsoft.Graph.Models.pciVersion::0002-v4 +Microsoft.Graph.Models.pciVersion::0003-notSupported +Microsoft.Graph.Models.pciVersion::0004-unknownFutureValue Microsoft.Graph.Models.pendingContentUpdate::|public|AdditionalData:IDictionary Microsoft.Graph.Models.pendingContentUpdate::|public|BackingStore:IBackingStore Microsoft.Graph.Models.pendingContentUpdate::|public|constructor():void @@ -115604,6 +116913,7 @@ Microsoft.Graph.Models.policyRoot::|public|GetFieldDeserializers():IDictionary Microsoft.Graph.Models.policyRoot::|public|IdentitySecurityDefaultsEnforcementPolicy:global.Microsoft.Graph.Models.IdentitySecurityDefaultsEnforcementPolicy Microsoft.Graph.Models.policyRoot::|public|OdataType:string +Microsoft.Graph.Models.policyRoot::|public|OwnerlessGroupPolicy:global.Microsoft.Graph.Models.OwnerlessGroupPolicy Microsoft.Graph.Models.policyRoot::|public|PermissionGrantPolicies:List Microsoft.Graph.Models.policyRoot::|public|RoleManagementPolicies:List Microsoft.Graph.Models.policyRoot::|public|RoleManagementPolicyAssignments:List @@ -118826,6 +120136,15 @@ Microsoft.Graph.Models.responseType::0002-tentativelyAccepted Microsoft.Graph.Models.responseType::0003-accepted Microsoft.Graph.Models.responseType::0004-declined Microsoft.Graph.Models.responseType::0005-notResponded +Microsoft.Graph.Models.restEncryptionType::0000-none +Microsoft.Graph.Models.restEncryptionType::0001-aes +Microsoft.Graph.Models.restEncryptionType::0002-bitlocker +Microsoft.Graph.Models.restEncryptionType::0003-blowfish +Microsoft.Graph.Models.restEncryptionType::0004-des +Microsoft.Graph.Models.restEncryptionType::0005-rc4 +Microsoft.Graph.Models.restEncryptionType::0006-rsa +Microsoft.Graph.Models.restEncryptionType::0007-notSupported +Microsoft.Graph.Models.restEncryptionType::0008-unknownFutureValue Microsoft.Graph.Models.restorableArtifact::0000-message Microsoft.Graph.Models.restorableArtifact::0001-unknownFutureValue Microsoft.Graph.Models.restoreArtifactBase-->global.Microsoft.Graph.Models.Entity @@ -118864,6 +120183,7 @@ Microsoft.Graph.Models.restoreArtifactsBulkRequestStatus::0004-unknownFutureValu Microsoft.Graph.Models.restoreJobType::0000-standard Microsoft.Graph.Models.restoreJobType::0001-bulk Microsoft.Graph.Models.restoreJobType::0002-unknownFutureValue +Microsoft.Graph.Models.restoreJobType::0003-granular Microsoft.Graph.Models.restorePoint-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.restorePoint::|public|ExpirationDateTime:DateTimeOffset? Microsoft.Graph.Models.restorePoint::|public|GetFieldDeserializers():IDictionary> @@ -119050,6 +120370,7 @@ Microsoft.Graph.Models.riskDetail::0014-adminDismissedAllRiskForServicePrincipal Microsoft.Graph.Models.riskDetail::0015-userChangedPasswordOnPremises Microsoft.Graph.Models.riskDetail::0016-adminDismissedRiskForSignIn Microsoft.Graph.Models.riskDetail::0017-adminConfirmedAccountSafe +Microsoft.Graph.Models.riskDetail::0018-microsoftRevokedSessions Microsoft.Graph.Models.riskDetection-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.riskDetection::|public|Activity:global.Microsoft.Graph.Models.ActivityType? Microsoft.Graph.Models.riskDetection::|public|ActivityDateTime:DateTimeOffset? @@ -119474,6 +120795,29 @@ Microsoft.Graph.Models.scheduleEntityTheme::0009-darkPurple Microsoft.Graph.Models.scheduleEntityTheme::0010-darkPink Microsoft.Graph.Models.scheduleEntityTheme::0011-darkYellow Microsoft.Graph.Models.scheduleEntityTheme::0012-unknownFutureValue +Microsoft.Graph.Models.scheduleEntityTheme::0013-darkRed +Microsoft.Graph.Models.scheduleEntityTheme::0014-cranberry +Microsoft.Graph.Models.scheduleEntityTheme::0015-darkOrange +Microsoft.Graph.Models.scheduleEntityTheme::0016-bronze +Microsoft.Graph.Models.scheduleEntityTheme::0017-peach +Microsoft.Graph.Models.scheduleEntityTheme::0018-gold +Microsoft.Graph.Models.scheduleEntityTheme::0019-lime +Microsoft.Graph.Models.scheduleEntityTheme::0020-forest +Microsoft.Graph.Models.scheduleEntityTheme::0021-lightGreen +Microsoft.Graph.Models.scheduleEntityTheme::0022-jade +Microsoft.Graph.Models.scheduleEntityTheme::0023-lightTeal +Microsoft.Graph.Models.scheduleEntityTheme::0024-darkTeal +Microsoft.Graph.Models.scheduleEntityTheme::0025-steel +Microsoft.Graph.Models.scheduleEntityTheme::0026-skyBlue +Microsoft.Graph.Models.scheduleEntityTheme::0027-blueGray +Microsoft.Graph.Models.scheduleEntityTheme::0028-lavender +Microsoft.Graph.Models.scheduleEntityTheme::0029-lilac +Microsoft.Graph.Models.scheduleEntityTheme::0030-plum +Microsoft.Graph.Models.scheduleEntityTheme::0031-magenta +Microsoft.Graph.Models.scheduleEntityTheme::0032-darkBrown +Microsoft.Graph.Models.scheduleEntityTheme::0033-beige +Microsoft.Graph.Models.scheduleEntityTheme::0034-charcoal +Microsoft.Graph.Models.scheduleEntityTheme::0035-silver Microsoft.Graph.Models.scheduleEntity~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.scheduleInformation::|public|AdditionalData:IDictionary Microsoft.Graph.Models.scheduleInformation::|public|AvailabilityView:string @@ -120034,6 +121378,7 @@ Microsoft.Graph.Models.Security.alert::|public|AdditionalDataProperty:global.Mic Microsoft.Graph.Models.Security.alert::|public|AlertPolicyId:string Microsoft.Graph.Models.Security.alert::|public|AlertWebUrl:string Microsoft.Graph.Models.Security.alert::|public|AssignedTo:string +Microsoft.Graph.Models.Security.alert::|public|Categories:List Microsoft.Graph.Models.Security.alert::|public|Category:string Microsoft.Graph.Models.Security.alert::|public|Classification:global.Microsoft.Graph.Models.Security.AlertClassification? Microsoft.Graph.Models.Security.alert::|public|Comments:List @@ -120431,6 +121776,24 @@ Microsoft.Graph.Models.Security.contentFormat::0000-text Microsoft.Graph.Models.Security.contentFormat::0001-html Microsoft.Graph.Models.Security.contentFormat::0002-markdown Microsoft.Graph.Models.Security.contentFormat::0003-unknownFutureValue +Microsoft.Graph.Models.Security.correlationReason::0000-repeatedAlertOccurrence +Microsoft.Graph.Models.Security.correlationReason::0001-sameGeography +Microsoft.Graph.Models.Security.correlationReason::0002-similarArtifacts +Microsoft.Graph.Models.Security.correlationReason::0003-sameTargetedAsset +Microsoft.Graph.Models.Security.correlationReason::0004-sameNetworkSegment +Microsoft.Graph.Models.Security.correlationReason::0005-eventSequence +Microsoft.Graph.Models.Security.correlationReason::0006-timeFrame +Microsoft.Graph.Models.Security.correlationReason::0007-sameThreatSource +Microsoft.Graph.Models.Security.correlationReason::0008-similarTTPsOrBehavior +Microsoft.Graph.Models.Security.correlationReason::0009-sameActor +Microsoft.Graph.Models.Security.correlationReason::0010-sameCampaign +Microsoft.Graph.Models.Security.correlationReason::0011-sharedIndicators +Microsoft.Graph.Models.Security.correlationReason::0012-sameAsset +Microsoft.Graph.Models.Security.correlationReason::0013-networkProximity +Microsoft.Graph.Models.Security.correlationReason::0014-eventCasualSequence +Microsoft.Graph.Models.Security.correlationReason::0015-temporalProximity +Microsoft.Graph.Models.Security.correlationReason::0016-lateralMovementPath +Microsoft.Graph.Models.Security.correlationReason::0017-unknownFutureValue Microsoft.Graph.Models.Security.cvssSummary::|public|AdditionalData:IDictionary Microsoft.Graph.Models.Security.cvssSummary::|public|BackingStore:IBackingStore Microsoft.Graph.Models.Security.cvssSummary::|public|constructor():void @@ -121841,6 +123204,15 @@ Microsoft.Graph.Models.Security.malwareEvidence::|public|OdataType:string Microsoft.Graph.Models.Security.malwareEvidence::|public|Processes:List Microsoft.Graph.Models.Security.malwareEvidence::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.Security.malwareEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.MalwareEvidence +Microsoft.Graph.Models.Security.mergeResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.mergeResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.mergeResponse::|public|constructor():void +Microsoft.Graph.Models.Security.mergeResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.mergeResponse::|public|OdataType:string +Microsoft.Graph.Models.Security.mergeResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.mergeResponse::|public|TargetIncidentId:string +Microsoft.Graph.Models.Security.mergeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.MergeResponse +Microsoft.Graph.Models.Security.mergeResponse~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.Security.networkAdapter-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.Security.networkAdapter::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.Security.networkAdapter::|public|IsEnabled:bool? @@ -122540,6 +123912,7 @@ Microsoft.Graph.Models.Security.userAccount::|public|GetFieldDeserializers():IDi Microsoft.Graph.Models.Security.userAccount::|public|OdataType:string Microsoft.Graph.Models.Security.userAccount::|public|ResourceAccessEvents:List Microsoft.Graph.Models.Security.userAccount::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.userAccount::|public|TenantId:string Microsoft.Graph.Models.Security.userAccount::|public|UserPrincipalName:string Microsoft.Graph.Models.Security.userAccount::|public|UserSid:string Microsoft.Graph.Models.Security.userAccount::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.UserAccount @@ -123351,6 +124724,18 @@ Microsoft.Graph.Models.sharepoint::|public|OdataType:string Microsoft.Graph.Models.sharepoint::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.sharepoint::|public|Settings:global.Microsoft.Graph.Models.SharepointSettings Microsoft.Graph.Models.sharepoint::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Sharepoint +Microsoft.Graph.Models.sharePointBrowseSession-->global.Microsoft.Graph.Models.BrowseSessionBase +Microsoft.Graph.Models.sharePointBrowseSession::|public|constructor():void +Microsoft.Graph.Models.sharePointBrowseSession::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointBrowseSession::|public|OdataType:string +Microsoft.Graph.Models.sharePointBrowseSession::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointBrowseSession::|public|SiteId:string +Microsoft.Graph.Models.sharePointBrowseSession::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointBrowseSession +Microsoft.Graph.Models.sharePointBrowseSessionCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.sharePointBrowseSessionCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointBrowseSessionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointBrowseSessionCollectionResponse::|public|Value:List +Microsoft.Graph.Models.sharePointBrowseSessionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointBrowseSessionCollectionResponse Microsoft.Graph.Models.sharePointGroup-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.sharePointGroup::|public|Description:string Microsoft.Graph.Models.sharePointGroup::|public|GetFieldDeserializers():IDictionary> @@ -123565,6 +124950,7 @@ Microsoft.Graph.Models.sharePointProtectionPolicyCollectionResponse::|static|pub Microsoft.Graph.Models.sharePointRestoreSession-->global.Microsoft.Graph.Models.RestoreSessionBase Microsoft.Graph.Models.sharePointRestoreSession::|public|constructor():void Microsoft.Graph.Models.sharePointRestoreSession::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointRestoreSession::|public|GranularSiteRestoreArtifacts:List Microsoft.Graph.Models.sharePointRestoreSession::|public|OdataType:string Microsoft.Graph.Models.sharePointRestoreSession::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.sharePointRestoreSession::|public|SiteRestoreArtifacts:List @@ -124351,6 +125737,14 @@ Microsoft.Graph.Models.specialFolder::|public|OdataType:string Microsoft.Graph.Models.specialFolder::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.specialFolder::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SpecialFolder Microsoft.Graph.Models.specialFolder~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.sslVersion::0000-none +Microsoft.Graph.Models.sslVersion::0001-ssl3_0 +Microsoft.Graph.Models.sslVersion::0002-tls1_0 +Microsoft.Graph.Models.sslVersion::0003-tls1_1 +Microsoft.Graph.Models.sslVersion::0004-tls1_2 +Microsoft.Graph.Models.sslVersion::0005-tls1_3 +Microsoft.Graph.Models.sslVersion::0006-notSupported +Microsoft.Graph.Models.sslVersion::0007-unknownFutureValue Microsoft.Graph.Models.staffAvailabilityItem::|public|AdditionalData:IDictionary Microsoft.Graph.Models.staffAvailabilityItem::|public|AvailabilityItems:List Microsoft.Graph.Models.staffAvailabilityItem::|public|BackingStore:IBackingStore @@ -125032,6 +126426,18 @@ Microsoft.Graph.Models.targetDeviceGroupCollectionResponse::|public|GetFieldDese Microsoft.Graph.Models.targetDeviceGroupCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.targetDeviceGroupCollectionResponse::|public|Value:List Microsoft.Graph.Models.targetDeviceGroupCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TargetDeviceGroupCollectionResponse +Microsoft.Graph.Models.targetedChatMessage-->global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Models.targetedChatMessage::|public|constructor():void +Microsoft.Graph.Models.targetedChatMessage::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.targetedChatMessage::|public|OdataType:string +Microsoft.Graph.Models.targetedChatMessage::|public|Recipient:global.Microsoft.Graph.Models.Identity +Microsoft.Graph.Models.targetedChatMessage::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.targetedChatMessage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Models.targetedChatMessageCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.targetedChatMessageCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.targetedChatMessageCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.targetedChatMessageCollectionResponse::|public|Value:List +Microsoft.Graph.Models.targetedChatMessageCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TargetedChatMessageCollectionResponse Microsoft.Graph.Models.targetedManagedAppConfiguration-->global.Microsoft.Graph.Models.ManagedAppConfiguration Microsoft.Graph.Models.targetedManagedAppConfiguration::|public|Apps:List Microsoft.Graph.Models.targetedManagedAppConfiguration::|public|Assignments:List @@ -125078,6 +126484,16 @@ Microsoft.Graph.Models.targetManager::|public|ManagerLevel:int? Microsoft.Graph.Models.targetManager::|public|OdataType:string Microsoft.Graph.Models.targetManager::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.targetManager::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TargetManager +Microsoft.Graph.Models.targetOwners::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.targetOwners::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.targetOwners::|public|constructor():void +Microsoft.Graph.Models.targetOwners::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.targetOwners::|public|NotifyMembers:global.Microsoft.Graph.Models.NotifyMembers? +Microsoft.Graph.Models.targetOwners::|public|OdataType:string +Microsoft.Graph.Models.targetOwners::|public|SecurityGroups:List +Microsoft.Graph.Models.targetOwners::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.targetOwners::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TargetOwners +Microsoft.Graph.Models.targetOwners~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.targetResource::|public|AdditionalData:IDictionary Microsoft.Graph.Models.targetResource::|public|BackingStore:IBackingStore Microsoft.Graph.Models.targetResource::|public|constructor():void @@ -128135,6 +129551,16 @@ Microsoft.Graph.Models.userLastSignInRecommendationInsightSetting::|public|Recom Microsoft.Graph.Models.userLastSignInRecommendationInsightSetting::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.userLastSignInRecommendationInsightSetting::|public|SignInScope:global.Microsoft.Graph.Models.UserSignInRecommendationScope? Microsoft.Graph.Models.userLastSignInRecommendationInsightSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UserLastSignInRecommendationInsightSetting +Microsoft.Graph.Models.userOwnership::0000-none +Microsoft.Graph.Models.userOwnership::0001-lawfulBasisForProcessing +Microsoft.Graph.Models.userOwnership::0002-rightToAccess +Microsoft.Graph.Models.userOwnership::0003-rightToBeInformed +Microsoft.Graph.Models.userOwnership::0004-rightToDataPortability +Microsoft.Graph.Models.userOwnership::0005-rightToObject +Microsoft.Graph.Models.userOwnership::0006-rightToRectification +Microsoft.Graph.Models.userOwnership::0007-rightToRestrictionOfProcessing +Microsoft.Graph.Models.userOwnership::0008-rightsRelatedToAutomatedDecisionMaking +Microsoft.Graph.Models.userOwnership::0009-unknownFutureValue Microsoft.Graph.Models.userPrint::|public|AdditionalData:IDictionary Microsoft.Graph.Models.userPrint::|public|BackingStore:IBackingStore Microsoft.Graph.Models.userPrint::|public|constructor():void @@ -128401,6 +129827,19 @@ Microsoft.Graph.Models.userWorkLocation::|public|Source:global.Microsoft.Graph.M Microsoft.Graph.Models.userWorkLocation::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? Microsoft.Graph.Models.userWorkLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UserWorkLocation Microsoft.Graph.Models.userWorkLocation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.verifiableCredentialAuthenticationMethodTarget-->global.Microsoft.Graph.Models.AuthenticationMethodTarget +Microsoft.Graph.Models.verifiableCredentialAuthenticationMethodTarget::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.verifiableCredentialAuthenticationMethodTarget::|public|OdataType:string +Microsoft.Graph.Models.verifiableCredentialAuthenticationMethodTarget::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.verifiableCredentialAuthenticationMethodTarget::|public|VerifiedIdProfiles:List +Microsoft.Graph.Models.verifiableCredentialAuthenticationMethodTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VerifiableCredentialAuthenticationMethodTarget +Microsoft.Graph.Models.verifiableCredentialsAuthenticationMethodConfiguration-->global.Microsoft.Graph.Models.AuthenticationMethodConfiguration +Microsoft.Graph.Models.verifiableCredentialsAuthenticationMethodConfiguration::|public|constructor():void +Microsoft.Graph.Models.verifiableCredentialsAuthenticationMethodConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.verifiableCredentialsAuthenticationMethodConfiguration::|public|IncludeTargets:List +Microsoft.Graph.Models.verifiableCredentialsAuthenticationMethodConfiguration::|public|OdataType:string +Microsoft.Graph.Models.verifiableCredentialsAuthenticationMethodConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.verifiableCredentialsAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VerifiableCredentialsAuthenticationMethodConfiguration Microsoft.Graph.Models.verifiedDomain::|public|AdditionalData:IDictionary Microsoft.Graph.Models.verifiedDomain::|public|BackingStore:IBackingStore Microsoft.Graph.Models.verifiedDomain::|public|Capabilities:string @@ -128414,6 +129853,55 @@ Microsoft.Graph.Models.verifiedDomain::|public|Serialize(writer:ISerializationWr Microsoft.Graph.Models.verifiedDomain::|public|Type:string Microsoft.Graph.Models.verifiedDomain::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VerifiedDomain Microsoft.Graph.Models.verifiedDomain~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.verifiedIdProfile-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.verifiedIdProfile::|public|Description:string +Microsoft.Graph.Models.verifiedIdProfile::|public|FaceCheckConfiguration:global.Microsoft.Graph.Models.FaceCheckConfiguration +Microsoft.Graph.Models.verifiedIdProfile::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.verifiedIdProfile::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Models.verifiedIdProfile::|public|Name:string +Microsoft.Graph.Models.verifiedIdProfile::|public|OdataType:string +Microsoft.Graph.Models.verifiedIdProfile::|public|Priority:int? +Microsoft.Graph.Models.verifiedIdProfile::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.verifiedIdProfile::|public|State:global.Microsoft.Graph.Models.VerifiedIdProfileState? +Microsoft.Graph.Models.verifiedIdProfile::|public|VerifiedIdProfileConfiguration:global.Microsoft.Graph.Models.VerifiedIdProfileConfiguration +Microsoft.Graph.Models.verifiedIdProfile::|public|VerifiedIdUsageConfigurations:List +Microsoft.Graph.Models.verifiedIdProfile::|public|VerifierDid:string +Microsoft.Graph.Models.verifiedIdProfile::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VerifiedIdProfile +Microsoft.Graph.Models.verifiedIdProfileCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.verifiedIdProfileCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.verifiedIdProfileCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.verifiedIdProfileCollectionResponse::|public|Value:List +Microsoft.Graph.Models.verifiedIdProfileCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VerifiedIdProfileCollectionResponse +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|AcceptedIssuer:string +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|ClaimBindings:List +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|ClaimBindingSource:global.Microsoft.Graph.Models.ClaimBindingSource? +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|ClaimValidation:global.Microsoft.Graph.Models.ClaimValidation +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|constructor():void +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|OdataType:string +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|Type:string +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VerifiedIdProfileConfiguration +Microsoft.Graph.Models.verifiedIdProfileConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.verifiedIdProfileState::0000-enabled +Microsoft.Graph.Models.verifiedIdProfileState::0001-disabled +Microsoft.Graph.Models.verifiedIdProfileState::0002-unknownFutureValue +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|constructor():void +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|IsEnabledForTestOnly:bool? +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|OdataType:string +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|Purpose:global.Microsoft.Graph.Models.VerifiedIdUsageConfigurationPurpose? +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VerifiedIdUsageConfiguration +Microsoft.Graph.Models.verifiedIdUsageConfigurationPurpose::0000-recovery +Microsoft.Graph.Models.verifiedIdUsageConfigurationPurpose::0001-onboarding +Microsoft.Graph.Models.verifiedIdUsageConfigurationPurpose::0002-all +Microsoft.Graph.Models.verifiedIdUsageConfigurationPurpose::0003-unknownFutureValue +Microsoft.Graph.Models.verifiedIdUsageConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.verifiedPublisher::|public|AddedDateTime:DateTimeOffset? Microsoft.Graph.Models.verifiedPublisher::|public|AdditionalData:IDictionary Microsoft.Graph.Models.verifiedPublisher::|public|BackingStore:IBackingStore @@ -128888,6 +130376,123 @@ Microsoft.Graph.Models.webApplicationFirewallVerifiedDetails::|public|Serialize( Microsoft.Graph.Models.webApplicationFirewallVerifiedDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebApplicationFirewallVerifiedDetails Microsoft.Graph.Models.webApplicationFirewallVerifiedDetails~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.webApplication~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|public|constructor():void +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|public|OdataType:string +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|public|constructor():void +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|public|OdataType:string +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|AttestationObject:string +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|ClientDataJSON:string +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|constructor():void +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|OdataType:string +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|AuthenticatorAttachment:string +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|constructor():void +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|OdataType:string +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|RequireResidentKey:bool? +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|UserVerification:string +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|ChallengeTimeoutDateTime:DateTimeOffset? +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|constructor():void +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|OdataType:string +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|PublicKey:global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnCredentialCreationOptions +Microsoft.Graph.Models.webauthnCredentialCreationOptions~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|ClientExtensionResults:global.Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|constructor():void +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|Id:string +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|OdataType:string +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|Response:global.Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnPublicKeyCredential::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnPublicKeyCredential +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|Attestation:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|AuthenticatorSelection:global.Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|Challenge:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|constructor():void +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|ExcludeCredentials:List +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|Extensions:global.Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|OdataType:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|PubKeyCredParams:List +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|Rp:global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|Timeout:int? +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|User:global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|constructor():void +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|Id:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|OdataType:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|Transports:List +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|Type:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialDescriptor +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|Alg:int? +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|constructor():void +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|OdataType:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|Type:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialParameters +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|constructor():void +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|Id:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|Name:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|OdataType:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|constructor():void +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|DisplayName:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|Id:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|Name:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|OdataType:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnPublicKeyCredential~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.webBrowserCookieSettings::0000-browserDefault Microsoft.Graph.Models.webBrowserCookieSettings::0001-blockAlways Microsoft.Graph.Models.webBrowserCookieSettings::0002-allowCurrentWebSite @@ -134757,6 +136362,18 @@ Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.identitySecur Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.identitySecurityDefaultsEnforcementPolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.identitySecurityDefaultsEnforcementPolicyRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.IdentitySecurityDefaultsEnforcementPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.identitySecurityDefaultsEnforcementPolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.IdentitySecurityDefaultsEnforcementPolicyRequestBuilder +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder.ownerlessGroupPolicyRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder.ownerlessGroupPolicyRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder.ownerlessGroupPolicyRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder.ownerlessGroupPolicyRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OwnerlessGroupPolicy +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OwnerlessGroupPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OwnerlessGroupPolicy +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OwnerlessGroupPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder Microsoft.Graph.Policies.PermissionGrantPolicies.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Policies.PermissionGrantPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Policies.PermissionGrantPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -134914,6 +136531,7 @@ Microsoft.Graph.Policies.policiesRequestBuilder::|public|featureRolloutPolicies: Microsoft.Graph.Policies.policiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PolicyRoot Microsoft.Graph.Policies.policiesRequestBuilder::|public|homeRealmDiscoveryPolicies:global.Microsoft.Graph.Policies.HomeRealmDiscoveryPolicies.HomeRealmDiscoveryPoliciesRequestBuilder Microsoft.Graph.Policies.policiesRequestBuilder::|public|identitySecurityDefaultsEnforcementPolicy:global.Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.IdentitySecurityDefaultsEnforcementPolicyRequestBuilder +Microsoft.Graph.Policies.policiesRequestBuilder::|public|ownerlessGroupPolicy:global.Microsoft.Graph.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder Microsoft.Graph.Policies.policiesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PolicyRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PolicyRoot Microsoft.Graph.Policies.policiesRequestBuilder::|public|permissionGrantPolicies:global.Microsoft.Graph.Policies.PermissionGrantPolicies.PermissionGrantPoliciesRequestBuilder Microsoft.Graph.Policies.policiesRequestBuilder::|public|roleManagementPolicies:global.Microsoft.Graph.Policies.RoleManagementPolicies.RoleManagementPoliciesRequestBuilder @@ -140644,6 +142262,7 @@ Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|constructor( Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Security.Alerts_v2.Count.CountRequestBuilder Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.AlertCollectionResponse +Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|microsoftGraphSecurityMoveAlerts:global.Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Security.Alert; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.Alert Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Security.Alert; requestConfiguration?:Action>):RequestInformation @@ -140690,6 +142309,24 @@ Microsoft.Graph.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder::|pub Microsoft.Graph.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder.microsoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.MergeResponse +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|AlertComment:string +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|AlertIds:List +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|constructor():void +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|IncidentId:string +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|NewCorrelationReasons:global.Microsoft.Graph.Models.Security.CorrelationReason? +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Security.AttackSimulation.attackSimulationRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Security.AttackSimulation.attackSimulationRequestBuilder.attackSimulationRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Security.AttackSimulation.attackSimulationRequestBuilder.attackSimulationRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -143050,6 +144687,7 @@ Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|constructor( Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|Count:global.Microsoft.Graph.Security.Incidents.Count.CountRequestBuilder Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.IncidentCollectionResponse +Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|microsoftGraphSecurityMergeIncidents:global.Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Security.Incident; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.Incident Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Security.Incident; requestConfiguration?:Action>):RequestInformation @@ -143123,6 +144761,23 @@ Microsoft.Graph.Security.Incidents.Item.IncidentItemRequestBuilder::|public|ToDe Microsoft.Graph.Security.Incidents.Item.IncidentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Incidents.Item.IncidentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Security.Incident; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Incidents.Item.IncidentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Incidents.Item.IncidentItemRequestBuilder +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|constructor():void +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|IncidentComment:string +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|IncidentIds:List +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|MergeReasons:global.Microsoft.Graph.Models.Security.CorrelationReason? +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder.microsoftGraphSecurityMergeIncidentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.MergeResponse +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder Microsoft.Graph.Security.Labels.Authorities.authoritiesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Security.Labels.Authorities.authoritiesRequestBuilder.authoritiesRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Security.Labels.Authorities.authoritiesRequestBuilder.authoritiesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -158033,6 +159688,7 @@ Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder.backupRestor Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder.backupRestoreRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder.backupRestoreRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder.backupRestoreRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|browseSessions:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.BrowseSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void @@ -158046,6 +159702,7 @@ Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|Get Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|mailboxInclusionRules:global.Microsoft.Graph.Solutions.BackupRestore.MailboxInclusionRules.MailboxInclusionRulesRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|mailboxProtectionUnits:global.Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnits.MailboxProtectionUnitsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|mailboxProtectionUnitsBulkAdditionJobs:global.Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.MailboxProtectionUnitsBulkAdditionJobsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|oneDriveForBusinessBrowseSessions:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.OneDriveForBusinessBrowseSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|oneDriveForBusinessProtectionPolicies:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessProtectionPolicies.OneDriveForBusinessProtectionPoliciesRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|oneDriveForBusinessRestoreSessions:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.OneDriveForBusinessRestoreSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.BackupRestoreRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.BackupRestoreRoot @@ -158054,6 +159711,7 @@ Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|pro Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|restorePoints:global.Microsoft.Graph.Solutions.BackupRestore.RestorePoints.RestorePointsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|restoreSessions:global.Microsoft.Graph.Solutions.BackupRestore.RestoreSessions.RestoreSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|serviceApps:global.Microsoft.Graph.Solutions.BackupRestore.ServiceApps.ServiceAppsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|sharePointBrowseSessions:global.Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.SharePointBrowseSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|sharePointProtectionPolicies:global.Microsoft.Graph.Solutions.BackupRestore.SharePointProtectionPolicies.SharePointProtectionPoliciesRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|sharePointRestoreSessions:global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.SharePointRestoreSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|siteInclusionRules:global.Microsoft.Graph.Solutions.BackupRestore.SiteInclusionRules.SiteInclusionRulesRequestBuilder @@ -158063,6 +159721,98 @@ Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|ToD Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.BackupRestoreRoot; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.BackupRestoreRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::[BrowseSessionBaseId:string]:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|Count:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.BrowseSessionBaseCollectionResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.BrowseSessionBase; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.BrowseSessionBase +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.BrowseSessionBase; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.BrowseSessionsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|BrowseLocationItemKey:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|BrowseResourceType:global.Microsoft.Graph.Models.BrowsableResourceType? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|constructor():void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|OrderBy:global.Microsoft.Graph.Models.BrowseQueryOrder? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostResponse::|public|Value:List +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder.browseRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder::|public|PostAsBrowsePostResponseAsync(body:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseResponse-->global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder.BrowseSessionBaseItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder.BrowseSessionBaseItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder.BrowseSessionBaseItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder.BrowseSessionBaseItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder.BrowseSessionBaseItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|browse:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|browseWithNextFetchToken(nextFetchToken:string):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.BrowseSessionBase +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.BrowseSessionBase; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.BrowseSessionBase +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.BrowseSessionBase; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenGetResponse::|public|Value:List +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder.browseWithNextFetchTokenRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder.browseWithNextFetchTokenRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder.browseWithNextFetchTokenRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder.browseWithNextFetchTokenRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder.browseWithNextFetchTokenRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder.browseWithNextFetchTokenRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; nextFetchToken?:string):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder::|public|GetAsBrowseWithNextFetchTokenGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenResponse-->global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenResponse Microsoft.Graph.Solutions.BackupRestore.DriveInclusionRules.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Solutions.BackupRestore.DriveInclusionRules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Solutions.BackupRestore.DriveInclusionRules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -158693,6 +160443,50 @@ Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.m Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.mailboxProtectionUnitsBulkAdditionJobsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.mailboxProtectionUnitsBulkAdditionJobsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MailboxProtectionUnitsBulkAdditionJob; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.mailboxProtectionUnitsBulkAdditionJobsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.MailboxProtectionUnitsBulkAdditionJobsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder.OneDriveForBusinessBrowseSessionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder.OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder.OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder.OneDriveForBusinessBrowseSessionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder.OneDriveForBusinessBrowseSessionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::[OneDriveForBusinessBrowseSessionId:string]:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|Count:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSessionCollectionResponse +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.OneDriveForBusinessBrowseSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessProtectionPolicies.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessProtectionPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessProtectionPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -158952,6 +160746,50 @@ Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item. Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests.Item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests.Item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DriveRestoreArtifactsBulkAdditionRequest; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests.Item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests.Item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::[GranularDriveRestoreArtifactId:string]:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|Count:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularDriveRestoreArtifactCollectionResponse +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.GranularDriveRestoreArtifact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularDriveRestoreArtifact +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.GranularDriveRestoreArtifact; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.GranularDriveRestoreArtifactsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder.GranularDriveRestoreArtifactItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder.GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder.GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder.GranularDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder.GranularDriveRestoreArtifactItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularDriveRestoreArtifact +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.GranularDriveRestoreArtifact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularDriveRestoreArtifact +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.GranularDriveRestoreArtifact; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder.OneDriveForBusinessRestoreSessionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder.OneDriveForBusinessRestoreSessionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -158964,6 +160802,7 @@ Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item. Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|driveRestoreArtifacts:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifacts.DriveRestoreArtifactsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|driveRestoreArtifactsBulkAdditionRequests:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OneDriveForBusinessRestoreSession +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|granularDriveRestoreArtifacts:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.GranularDriveRestoreArtifactsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OneDriveForBusinessRestoreSession; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OneDriveForBusinessRestoreSession Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -159402,6 +161241,50 @@ Microsoft.Graph.Solutions.BackupRestore.ServiceApps.serviceAppsRequestBuilder::| Microsoft.Graph.Solutions.BackupRestore.ServiceApps.serviceAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.ServiceApps.serviceAppsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ServiceApp; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.ServiceApps.serviceAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.ServiceApps.ServiceAppsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder.SharePointBrowseSessionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder.SharePointBrowseSessionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder.SharePointBrowseSessionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder.SharePointBrowseSessionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder.SharePointBrowseSessionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointBrowseSession +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharePointBrowseSession; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointBrowseSession +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SharePointBrowseSession; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::[SharePointBrowseSessionId:string]:global.Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|Count:global.Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointBrowseSessionCollectionResponse +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SharePointBrowseSession; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointBrowseSession +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SharePointBrowseSession; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.SharePointBrowseSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.SharePointProtectionPolicies.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Solutions.BackupRestore.SharePointProtectionPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Solutions.BackupRestore.SharePointProtectionPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -159563,6 +161446,50 @@ Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Count.CountReq Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::[GranularSiteRestoreArtifactId:string]:global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|Count:global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularSiteRestoreArtifactCollectionResponse +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.GranularSiteRestoreArtifact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularSiteRestoreArtifact +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.GranularSiteRestoreArtifact; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.GranularSiteRestoreArtifactsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder.GranularSiteRestoreArtifactItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder.GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder.GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder.GranularSiteRestoreArtifactItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder.GranularSiteRestoreArtifactItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularSiteRestoreArtifact +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.GranularSiteRestoreArtifact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularSiteRestoreArtifact +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.GranularSiteRestoreArtifact; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder.SharePointRestoreSessionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder.SharePointRestoreSessionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -159573,6 +161500,7 @@ Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePoin Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointRestoreSession +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|granularSiteRestoreArtifacts:global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.GranularSiteRestoreArtifactsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharePointRestoreSession; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointRestoreSession Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|siteRestoreArtifacts:global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SiteRestoreArtifacts.SiteRestoreArtifactsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|siteRestoreArtifactsBulkAdditionRequests:global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SiteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder @@ -168340,6 +170268,13 @@ Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder.creationOptionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebauthnCredentialCreationOptions +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -168354,6 +170289,7 @@ Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilde Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|creationOptions:global.Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Fido2AuthenticationMethodCollectionResponse Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Fido2MethodsRequestBuilder @@ -170571,6 +172507,7 @@ Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|removeAllA Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Users.Item.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Users.Item.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|targetedMessages:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Chat; requestConfiguration?:Action>):RequestInformation @@ -171405,6 +173342,302 @@ Microsoft.Graph.Users.Item.Chats.Item.Tabs.tabsRequestBuilder::|public|PostAsync Microsoft.Graph.Users.Item.Chats.Item.Tabs.tabsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.Tabs.tabsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.Tabs.tabsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse-->global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::[ChatMessageId:string]:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|replies:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::[TargetedChatMessageId:string]:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessageCollectionResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Users.Item.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Users.Item.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|constructor():void @@ -183032,6 +185265,69 @@ Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Team Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams.Item.Team.TeamRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|ChannelId:string +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|MessageId:string +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|TeamId:string +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder.deleteTargetedMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Value:List +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsGetAllRetainedTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse-->global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Value:List +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsGetAllTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse-->global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse Microsoft.Graph.Users.Item.Teamwork.InstalledApps.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -183137,6 +185433,9 @@ Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|associatedTe Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|deleteTargetedMessage:global.Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|getAllRetainedTargetedMessages:global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|getAllTargetedMessages:global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserTeamwork Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|installedApps:global.Microsoft.Graph.Users.Item.Teamwork.InstalledApps.InstalledAppsRequestBuilder Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserTeamwork; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserTeamwork diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index e6bff64dcad..2bf18f3b8e4 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "E0F307664D6E422833C1FE38D410D3F01991B6802333E3AF7A5A360334ECF977B188746C2C662EB5049E41C65CAC8FC45543FB63EF485655562D99A3B7DCDD6D", + "descriptionHash": "CC5B410D6DC3C35765EBC5D215F3F0199BFEE7E031FA7B82E67CBDFF14AFDA5B00DB880A0156FC2E3B10F7B2B3DA764393D0E8A37F9BD649574784295B5F9238", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.31.1", + "kiotaVersion": "1.32.2", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft.Graph", diff --git a/src/Microsoft.Graph/Microsoft.Graph.csproj b/src/Microsoft.Graph/Microsoft.Graph.csproj index dfe581c22d7..6a59efa4cc8 100644 --- a/src/Microsoft.Graph/Microsoft.Graph.csproj +++ b/src/Microsoft.Graph/Microsoft.Graph.csproj @@ -5,7 +5,7 @@ © Microsoft Corporation. All rights reserved. Microsoft Graph V1.0 Service Client Library Microsoft - netstandard2.0;netstandard2.1;net5.0 + netstandard2.0;netstandard2.1;net8.0;net10.0 latest false Microsoft.Graph @@ -23,7 +23,7 @@ 35MSSharedLib1024.snk true - 5.105.0 + 6.2.0 @@ -35,35 +35,11 @@ https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/main/CHANGELOG.md true true README.md - $(NoWarn);NU5048;NETSDK1138 + $(NoWarn);NU5048;NETSDK1138;1701;1702;1705;1591 true - - bin\Release\Microsoft.Graph.xml - 1701;1702;1705;1591 - - - bin\Debug\Microsoft.Graph.xml - 1701;1702;1705;1591 - - - bin\Release\Microsoft.Graph.xml - 1701;1702;1705;1591 - - - bin\Debug\Microsoft.Graph.xml - 1701;1702;1705;1591 - - - bin\Release\Microsoft.Graph.xml - 1701;1702;1705;1591 - - - bin\Debug\Microsoft.Graph.xml - 1701;1702;1705;1591 - true @@ -75,8 +51,8 @@ https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/main/CHANGELOG.md - - + + diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj b/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj index 0b25116e4ca..eccc0a8eafc 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj +++ b/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj @@ -1,7 +1,7 @@ - net8.0 + net8.0;net10.0 Microsoft.Graph.DotnetCore.Test Microsoft.Graph.DotnetCore.Test true @@ -16,10 +16,10 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Extensions/DriveItemRequestBuilderExtensionsTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Extensions/DriveItemRequestBuilderExtensionsTests.cs index edc08ec2e5f..2ac9c97e91e 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Extensions/DriveItemRequestBuilderExtensionsTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Extensions/DriveItemRequestBuilderExtensionsTests.cs @@ -141,5 +141,41 @@ public void ItemByPath_BuildRequestWithNestedPathSlashAndMoreThanOneParameter() Assert.NotNull(itemRequestInformation); Assert.Equal(expectedRequestUri, itemRequestInformation.URI); } + [Fact] + public void ItemByPath_ThrowsArgumentNullException_WhenPathIsNull_Root() + { + var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); + var ex = Assert.Throws(() => graphServiceClient.Drives["driveId"].Root.ItemWithPath(null)); + Assert.Equal("path", ex.ParamName); + } + + [Theory] + [InlineData("")] + [InlineData(" ")] + public void ItemByPath_ThrowsArgumentException_WhenPathIsEmptyOrWhitespace_Root(string path) + { + var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); + var ex = Assert.Throws(() => graphServiceClient.Drives["driveId"].Root.ItemWithPath(path)); + Assert.Equal("path", ex.ParamName); + } + + [Fact] + public void ItemByPath_ThrowsArgumentNullException_WhenPathIsNull_DriveItem() + { + var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); + var ex = Assert.Throws(() => graphServiceClient.Drives["driveId"].Items["itemId"].ItemWithPath(null)); + Assert.Equal("path", ex.ParamName); + } + + [Theory] + [InlineData("")] + [InlineData(" ")] + public void ItemByPath_ThrowsArgumentException_WhenPathIsEmptyOrWhitespace_DriveItem(string path) + { + var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); + var ex = Assert.Throws(() => graphServiceClient.Drives["driveId"].Items["itemId"].ItemWithPath(path)); + Assert.Equal("path", ex.ParamName); + } + } } diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs index 7932ceda8f9..02ae3695891 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs @@ -61,7 +61,7 @@ public void OptionalParameterWithNonNullableType_NullValue() Assert.NotNull(requestInformation); Assert.Equal(new Uri(expectedRequestUrl), requestInformation.URI); - Assert.Null(requestBody.SecurityEnabledOnly); + Assert.False(requestBody.SecurityEnabledOnly); } ///