From e7c21af833a794b18ee7c867170a22e88349ef38 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Sep 2025 10:02:17 +0000 Subject: [PATCH 1/4] build(deps): bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/release-please-gha.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-please-gha.yml b/.github/workflows/release-please-gha.yml index c58ac27d15e..28f1d59d189 100644 --- a/.github/workflows/release-please-gha.yml +++ b/.github/workflows/release-please-gha.yml @@ -19,7 +19,7 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Generate GitHub App token id: app-token From 090d5bdc8656547c4adb41bbb519263b1a22e663 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Oct 2025 10:01:50 +0000 Subject: [PATCH 2/4] build(deps): bump github/codeql-action from 3 to 4 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v3...v4) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/validatePullRequest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validatePullRequest.yml b/.github/workflows/validatePullRequest.yml index 18ef6a9b843..80165f77419 100644 --- a/.github/workflows/validatePullRequest.yml +++ b/.github/workflows/validatePullRequest.yml @@ -24,7 +24,7 @@ jobs: with: dotnet-version: 8.x - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: csharp - name: Restore dependencies @@ -34,4 +34,4 @@ jobs: - name: Test run: dotnet test ${{ env.solutionName }} --no-build --verbosity normal -c Release /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=opencover - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 From 67fd1ef69f2ad99bebdec0f703b73cd2175c0bae Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Oct 2025 10:50:32 +0000 Subject: [PATCH 3/4] build(deps): bump actions/upload-artifact from 4 to 5 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/validatePublicAPISurface.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validatePublicAPISurface.yml b/.github/workflows/validatePublicAPISurface.yml index 4e8aff325e1..c442125ab16 100644 --- a/.github/workflows/validatePublicAPISurface.yml +++ b/.github/workflows/validatePublicAPISurface.yml @@ -34,14 +34,14 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload patch file as artifact if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 continue-on-error: true with: name: patch path: '*.patch' - name: Upload explanations file as artifact if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 continue-on-error: true with: name: explanations From a6feafc4bd020933458408c27d90e8d97f898eb1 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 4 Nov 2025 18:49:51 +0000 Subject: [PATCH 4/4] feat(generation): update request builders and models Update generated files with build 202235 --- .../Generated/BaseGraphServiceClient.cs | 2 +- .../AssignmentSettingsRequestBuilder.cs | 12 + .../DefaultGradingSchemeRequestBuilder.cs | 125 ++++ .../Count/CountRequestBuilder.cs | 124 ++++ .../GradingSchemesRequestBuilder.cs | 239 ++++++ ...ducationGradingSchemeItemRequestBuilder.cs | 231 ++++++ .../EducationAssignmentItemRequestBuilder.cs | 6 + .../GradingSchemeRequestBuilder.cs | 125 ++++ .../EducationAssignmentItemRequestBuilder.cs | 6 + .../GradingSchemeRequestBuilder.cs | 125 ++++ .../EducationAssignmentItemRequestBuilder.cs | 6 + .../GradingSchemeRequestBuilder.cs | 125 ++++ ...ipalNameUserPrincipalNameRequestBuilder.cs | 8 +- ...ipalNameUserPrincipalNameRequestBuilder.cs | 8 +- .../Identity/IdentityRequestBuilder.cs | 6 + .../RiskPreventionRequestBuilder.cs | 241 ++++++ .../Count/CountRequestBuilder.cs | 124 ++++ .../Item/Verify/VerifyPostRequestBody.cs | 81 +++ .../Item/Verify/VerifyRequestBuilder.cs | 103 +++ ...ationFirewallProviderItemRequestBuilder.cs | 235 ++++++ ...licationFirewallProvidersRequestBuilder.cs | 238 ++++++ .../Count/CountRequestBuilder.cs | 124 ++++ .../Item/Provider/ProviderRequestBuilder.cs | 125 ++++ ...wallVerificationModelItemRequestBuilder.cs | 235 ++++++ ...tionFirewallVerificationsRequestBuilder.cs | 238 ++++++ .../Me/CloudPCs/CloudPCsRequestBuilder.cs | 239 ++++++ .../Me/CloudPCs/Count/CountRequestBuilder.cs | 124 ++++ .../Item/CloudPCItemRequestBuilder.cs | 265 +++++++ .../EndGracePeriodRequestBuilder.cs | 97 +++ .../Item/Reboot/RebootRequestBuilder.cs | 97 +++ .../Item/Rename/RenamePostRequestBody.cs | 81 +++ .../Item/Rename/RenameRequestBuilder.cs | 102 +++ .../Item/Resize/ResizePostRequestBody.cs | 81 +++ .../Item/Resize/ResizeRequestBuilder.cs | 102 +++ .../Item/Restore/RestorePostRequestBody.cs | 81 +++ .../Item/Restore/RestoreRequestBuilder.cs | 102 +++ .../TroubleshootRequestBuilder.cs | 97 +++ ...ipalNameUserPrincipalNameRequestBuilder.cs | 8 +- ...ipalNameUserPrincipalNameRequestBuilder.cs | 8 +- .../Generated/Me/MeRequestBuilder.cs | 6 + .../Models/AadUserConversationMember.cs | 4 +- .../Models/AkamaiAttackGroupActionModel.cs | 117 +++ .../Generated/Models/AkamaiCustomRuleModel.cs | 135 ++++ .../Generated/Models/AkamaiRapidRulesModel.cs | 107 +++ .../Models/AkamaiVerifiedDetailsModel.cs | 107 +++ .../AkamaiWebApplicationFirewallProvider.cs | 125 ++++ .../Generated/Models/ApplicationTemplate.cs | 4 +- .../Generated/Models/CloudFlareRuleModel.cs | 135 ++++ .../Models/CloudFlareRulesetModel.cs | 135 ++++ .../Models/CloudFlareVerifiedDetailsModel.cs | 107 +++ ...loudFlareWebApplicationFirewallProvider.cs | 89 +++ .../Generated/Models/EducationAssignment.cs | 36 + .../Models/EducationAssignmentSettings.cs | 36 + .../Models/EducationGradingScheme.cs | 90 +++ ...ducationGradingSchemeCollectionResponse.cs | 64 ++ .../Models/EducationGradingSchemeGrade.cs | 115 +++ .../Generated/Models/Entity.cs | 5 + .../Generated/Models/IdentityContainer.cs | 18 + .../Models/IosDdmLobAppAssignmentSettings.cs | 114 --- .../Generated/Models/Message.cs | 2 +- .../Models/MobileAppAssignmentSettings.cs | 1 - .../Models/RiskPreventionContainer.cs | 117 +++ .../Generated/Models/Security/Alert.cs | 8 + .../Models/Security/InvestigationState.cs | 88 +++ src/Microsoft.Graph/Generated/Models/User.cs | 18 + .../WebApplicationFirewallDnsConfiguration.cs | 141 ++++ .../WebApplicationFirewallDnsRecordType.cs | 20 + .../Models/WebApplicationFirewallProvider.cs | 70 ++ ...ationFirewallProviderCollectionResponse.cs | 64 ++ .../WebApplicationFirewallProviderType.cs | 24 + ...WebApplicationFirewallVerificationModel.cs | 126 ++++ ...wallVerificationModelCollectionResponse.cs | 64 ++ ...ebApplicationFirewallVerificationResult.cs | 133 ++++ ...ebApplicationFirewallVerificationStatus.cs | 28 + .../WebApplicationFirewallVerifiedDetails.cs | 105 +++ .../Generated/Places/PlacesRequestBuilder.cs | 70 +- ...ipalNameUserPrincipalNameRequestBuilder.cs | 8 +- ...ipalNameUserPrincipalNameRequestBuilder.cs | 8 +- ...ipalNameUserPrincipalNameRequestBuilder.cs | 8 +- .../Item/CloudPCs/CloudPCsRequestBuilder.cs | 238 ++++++ .../CloudPCs/Count/CountRequestBuilder.cs | 124 ++++ .../Item/CloudPCItemRequestBuilder.cs | 265 +++++++ .../EndGracePeriodRequestBuilder.cs | 97 +++ .../Item/Reboot/RebootRequestBuilder.cs | 97 +++ .../Item/Rename/RenamePostRequestBody.cs | 81 +++ .../Item/Rename/RenameRequestBuilder.cs | 102 +++ .../Item/Resize/ResizePostRequestBody.cs | 81 +++ .../Item/Resize/ResizeRequestBuilder.cs | 102 +++ .../Item/Restore/RestorePostRequestBody.cs | 81 +++ .../Item/Restore/RestoreRequestBuilder.cs | 102 +++ .../TroubleshootRequestBuilder.cs | 97 +++ ...ipalNameUserPrincipalNameRequestBuilder.cs | 8 +- ...ipalNameUserPrincipalNameRequestBuilder.cs | 8 +- .../Users/Item/UserItemRequestBuilder.cs | 6 + .../Generated/kiota-dom-export.txt | 684 +++++++++++++++++- src/Microsoft.Graph/Generated/kiota-lock.json | 4 +- 96 files changed, 9034 insertions(+), 171 deletions(-) create mode 100644 src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/DefaultGradingScheme/DefaultGradingSchemeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/GradingSchemes/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/GradingSchemes/GradingSchemesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/GradingSchemes/Item/EducationGradingSchemeItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/GradingScheme/GradingSchemeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/GradingScheme/GradingSchemeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/GradingScheme/GradingSchemeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Identity/RiskPrevention/RiskPreventionRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Item/Verify/VerifyPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Item/Verify/VerifyRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Item/WebApplicationFirewallProviderItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/WebApplicationFirewallProvidersRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/Item/Provider/ProviderRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/Item/WebApplicationFirewallVerificationModelItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/WebApplicationFirewallVerificationsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CloudPCs/CloudPCsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CloudPCs/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CloudPCs/Item/CloudPCItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reboot/RebootRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenamePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenameRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AkamaiAttackGroupActionModel.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AkamaiCustomRuleModel.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AkamaiRapidRulesModel.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AkamaiVerifiedDetailsModel.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AkamaiWebApplicationFirewallProvider.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudFlareRuleModel.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudFlareRulesetModel.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudFlareVerifiedDetailsModel.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudFlareWebApplicationFirewallProvider.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EducationGradingScheme.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EducationGradingSchemeCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EducationGradingSchemeGrade.cs delete mode 100644 src/Microsoft.Graph/Generated/Models/IosDdmLobAppAssignmentSettings.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RiskPreventionContainer.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/InvestigationState.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebApplicationFirewallDnsConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebApplicationFirewallDnsRecordType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebApplicationFirewallProvider.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebApplicationFirewallProviderCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebApplicationFirewallProviderType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationModel.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationModelCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationResult.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerifiedDetails.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CloudPCs/CloudPCsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Reboot/RebootRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Rename/RenamePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Rename/RenameRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Resize/ResizePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Resize/ResizeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.cs diff --git a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs index 9263f77460a..988a2e6cbbe 100644 --- a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs +++ b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs @@ -325,7 +325,7 @@ public partial class BaseGraphServiceClient : BaseRequestBuilder { get => new global::Microsoft.Graph.PermissionGrants.PermissionGrantsRequestBuilder(PathParameters, RequestAdapter); } - /// The places property + /// Provides operations to manage the collection of place entities. public global::Microsoft.Graph.Places.PlacesRequestBuilder Places { get => new global::Microsoft.Graph.Places.PlacesRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.cs index b9d86d74d9f..3f8a234c8c0 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.cs @@ -1,6 +1,8 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme; using Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingCategories; +using Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -19,11 +21,21 @@ namespace Microsoft.Graph.Education.Classes.Item.AssignmentSettings [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AssignmentSettingsRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the defaultGradingScheme property of the microsoft.graph.educationAssignmentSettings entity. + public global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.DefaultGradingSchemeRequestBuilder DefaultGradingScheme + { + get => new global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.DefaultGradingSchemeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity. public global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingCategories.GradingCategoriesRequestBuilder GradingCategories { get => new global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingCategories.GradingCategoriesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity. + public global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.GradingSchemesRequestBuilder GradingSchemes + { + get => new global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.GradingSchemesRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/DefaultGradingScheme/DefaultGradingSchemeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/DefaultGradingScheme/DefaultGradingSchemeRequestBuilder.cs new file mode 100644 index 00000000000..7e91c581fb3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/DefaultGradingScheme/DefaultGradingSchemeRequestBuilder.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.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme +{ + /// + /// Provides operations to manage the defaultGradingScheme property of the microsoft.graph.educationAssignmentSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DefaultGradingSchemeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DefaultGradingSchemeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/defaultGradingScheme{?%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 DefaultGradingSchemeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/defaultGradingScheme{?%24expand,%24select}", rawUrl) + { + } + /// + /// The default grading scheme for assignments created in this class. + /// + /// 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.EducationGradingScheme.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The default grading scheme for assignments created in this class. + /// + /// 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.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.DefaultGradingSchemeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.DefaultGradingSchemeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The default grading scheme for assignments created in this class. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DefaultGradingSchemeRequestBuilderGetQueryParameters + { + /// 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 DefaultGradingSchemeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/GradingSchemes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/GradingSchemes/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..596d496d923 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/GradingSchemes/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.Education.Classes.Item.AssignmentSettings.GradingSchemes.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}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes/$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}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes/$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.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.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/Education/Classes/Item/AssignmentSettings/GradingSchemes/GradingSchemesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/GradingSchemes/GradingSchemesRequestBuilder.cs new file mode 100644 index 00000000000..0007e31be38 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/GradingSchemes/GradingSchemesRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count; +using Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.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.Education.Classes.Item.AssignmentSettings.GradingSchemes +{ + /// + /// Provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GradingSchemesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity. + /// The unique identifier of educationGradingScheme + /// A + public global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("educationGradingScheme%2Did", position); + return new global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder(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 GradingSchemesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes{?%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 GradingSchemesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read the properties and relationships of an educationGradingScheme object. + /// + /// 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.EducationGradingSchemeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new educationGradingScheme on an educationClass. Only teachers can perform this operation. + /// 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.EducationGradingScheme body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.EducationGradingScheme 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.EducationGradingScheme.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of an educationGradingScheme 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 a new educationGradingScheme on an educationClass. Only teachers can perform this operation. + /// + /// 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.EducationGradingScheme body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.EducationGradingScheme 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.Education.Classes.Item.AssignmentSettings.GradingSchemes.GradingSchemesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.GradingSchemesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read the properties and relationships of an educationGradingScheme object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GradingSchemesRequestBuilderGetQueryParameters + { + /// 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 GradingSchemesRequestBuilderGetRequestConfiguration : 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 GradingSchemesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/GradingSchemes/Item/EducationGradingSchemeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/GradingSchemes/Item/EducationGradingSchemeItemRequestBuilder.cs new file mode 100644 index 00000000000..e105c25b3bd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/GradingSchemes/Item/EducationGradingSchemeItemRequestBuilder.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.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item +{ + /// + /// Provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EducationGradingSchemeItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EducationGradingSchemeItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes/{educationGradingScheme%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 EducationGradingSchemeItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes/{educationGradingScheme%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete an educationGradingScheme 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 an educationGradingScheme 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.EducationGradingScheme.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property gradingSchemes in education + /// + /// 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.EducationGradingScheme body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.EducationGradingScheme 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.EducationGradingScheme.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete an educationGradingScheme 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 an educationGradingScheme 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 gradingSchemes in education + /// + /// 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.EducationGradingScheme body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.EducationGradingScheme 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.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder(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 EducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of an educationGradingScheme object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EducationGradingSchemeItemRequestBuilderGetQueryParameters + { + /// 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 EducationGradingSchemeItemRequestBuilderGetRequestConfiguration : 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 EducationGradingSchemeItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs index aea57087abb..584b607fc9d 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Education.Classes.Item.Assignments.Item.Categories; using Microsoft.Graph.Education.Classes.Item.Assignments.Item.Deactivate; using Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingCategory; +using Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme; using Microsoft.Graph.Education.Classes.Item.Assignments.Item.Publish; using Microsoft.Graph.Education.Classes.Item.Assignments.Item.Resources; using Microsoft.Graph.Education.Classes.Item.Assignments.Item.Rubric; @@ -48,6 +49,11 @@ public partial class EducationAssignmentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingCategory.GradingCategoryRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity. + public global::Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder GradingScheme + { + get => new global::Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the publish method. public global::Microsoft.Graph.Education.Classes.Item.Assignments.Item.Publish.PublishRequestBuilder Publish { diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/GradingScheme/GradingSchemeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/GradingScheme/GradingSchemeRequestBuilder.cs new file mode 100644 index 00000000000..e7b2f6913ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/GradingScheme/GradingSchemeRequestBuilder.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.Education.Classes.Item.Assignments.Item.GradingScheme +{ + /// + /// Provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GradingSchemeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GradingSchemeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/gradingScheme{?%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 GradingSchemeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/gradingScheme{?%24expand,%24select}", rawUrl) + { + } + /// + /// When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. + /// + /// 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.EducationGradingScheme.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. + /// + /// 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.Education.Classes.Item.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GradingSchemeRequestBuilderGetQueryParameters + { + /// 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 GradingSchemeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.cs index eb4ed9b0f87..5f4333252c7 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Education.Me.Assignments.Item.Categories; using Microsoft.Graph.Education.Me.Assignments.Item.Deactivate; using Microsoft.Graph.Education.Me.Assignments.Item.GradingCategory; +using Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme; using Microsoft.Graph.Education.Me.Assignments.Item.Publish; using Microsoft.Graph.Education.Me.Assignments.Item.Resources; using Microsoft.Graph.Education.Me.Assignments.Item.Rubric; @@ -48,6 +49,11 @@ public partial class EducationAssignmentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Education.Me.Assignments.Item.GradingCategory.GradingCategoryRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity. + public global::Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder GradingScheme + { + get => new global::Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the publish method. public global::Microsoft.Graph.Education.Me.Assignments.Item.Publish.PublishRequestBuilder Publish { diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/GradingScheme/GradingSchemeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/GradingScheme/GradingSchemeRequestBuilder.cs new file mode 100644 index 00000000000..c24dc24c7ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/GradingScheme/GradingSchemeRequestBuilder.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.Education.Me.Assignments.Item.GradingScheme +{ + /// + /// Provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GradingSchemeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GradingSchemeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/gradingScheme{?%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 GradingSchemeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/gradingScheme{?%24expand,%24select}", rawUrl) + { + } + /// + /// When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. + /// + /// 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.EducationGradingScheme.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. + /// + /// 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.Education.Me.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GradingSchemeRequestBuilderGetQueryParameters + { + /// 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 GradingSchemeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs index f96bee2b432..1d396fa57b2 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Education.Users.Item.Assignments.Item.Categories; using Microsoft.Graph.Education.Users.Item.Assignments.Item.Deactivate; using Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingCategory; +using Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme; using Microsoft.Graph.Education.Users.Item.Assignments.Item.Publish; using Microsoft.Graph.Education.Users.Item.Assignments.Item.Resources; using Microsoft.Graph.Education.Users.Item.Assignments.Item.Rubric; @@ -48,6 +49,11 @@ public partial class EducationAssignmentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingCategory.GradingCategoryRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity. + public global::Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder GradingScheme + { + get => new global::Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the publish method. public global::Microsoft.Graph.Education.Users.Item.Assignments.Item.Publish.PublishRequestBuilder Publish { diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/GradingScheme/GradingSchemeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/GradingScheme/GradingSchemeRequestBuilder.cs new file mode 100644 index 00000000000..49ed34c031e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/GradingScheme/GradingSchemeRequestBuilder.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.Education.Users.Item.Assignments.Item.GradingScheme +{ + /// + /// Provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GradingSchemeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GradingSchemeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/gradingScheme{?%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 GradingSchemeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/gradingScheme{?%24expand,%24select}", rawUrl) + { + } + /// + /// When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. + /// + /// 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.EducationGradingScheme.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. + /// + /// 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.Education.Users.Item.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GradingSchemeRequestBuilderGetQueryParameters + { + /// 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 GradingSchemeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index 55f11b667c2..53880068d35 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -34,7 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index fd345757149..79d9b99c7b7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -34,7 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs index 4fe133f73ea..50ae16c845a 100644 --- a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs @@ -7,6 +7,7 @@ using Microsoft.Graph.Identity.ConditionalAccess; using Microsoft.Graph.Identity.CustomAuthenticationExtensions; using Microsoft.Graph.Identity.IdentityProviders; +using Microsoft.Graph.Identity.RiskPrevention; using Microsoft.Graph.Identity.UserFlowAttributes; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -61,6 +62,11 @@ public partial class IdentityRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Identity.IdentityProviders.IdentityProvidersRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the riskPrevention property of the microsoft.graph.identityContainer entity. + public global::Microsoft.Graph.Identity.RiskPrevention.RiskPreventionRequestBuilder RiskPrevention + { + get => new global::Microsoft.Graph.Identity.RiskPrevention.RiskPreventionRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the userFlowAttributes property of the microsoft.graph.identityContainer entity. public global::Microsoft.Graph.Identity.UserFlowAttributes.UserFlowAttributesRequestBuilder UserFlowAttributes { diff --git a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/RiskPreventionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/RiskPreventionRequestBuilder.cs new file mode 100644 index 00000000000..cb390362d47 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/RiskPreventionRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders; +using Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications; +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.RiskPrevention +{ + /// + /// Provides operations to manage the riskPrevention property of the microsoft.graph.identityContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RiskPreventionRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the webApplicationFirewallProviders property of the microsoft.graph.riskPreventionContainer entity. + public global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.WebApplicationFirewallProvidersRequestBuilder WebApplicationFirewallProviders + { + get => new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.WebApplicationFirewallProvidersRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the webApplicationFirewallVerifications property of the microsoft.graph.riskPreventionContainer entity. + public global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.WebApplicationFirewallVerificationsRequestBuilder WebApplicationFirewallVerifications + { + get => new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.WebApplicationFirewallVerificationsRequestBuilder(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 RiskPreventionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention{?%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 RiskPreventionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property riskPrevention 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); + } + /// + /// Get riskPrevention from identity + /// + /// 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.RiskPreventionContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property riskPrevention 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.RiskPreventionContainer body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.RiskPreventionContainer 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.RiskPreventionContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property riskPrevention 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; + } + /// + /// Get riskPrevention from 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 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 riskPrevention 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.RiskPreventionContainer body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.RiskPreventionContainer 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.RiskPrevention.RiskPreventionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.RiskPrevention.RiskPreventionRequestBuilder(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 RiskPreventionRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get riskPrevention from identity + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RiskPreventionRequestBuilderGetQueryParameters + { + /// 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 RiskPreventionRequestBuilderGetRequestConfiguration : 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 RiskPreventionRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..e0ab55132a3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/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.RiskPrevention.WebApplicationFirewallProviders.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/riskPrevention/webApplicationFirewallProviders/$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/riskPrevention/webApplicationFirewallProviders/$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.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.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/RiskPrevention/WebApplicationFirewallProviders/Item/Verify/VerifyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Item/Verify/VerifyPostRequestBody.cs new file mode 100644 index 00000000000..09b927698ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Item/Verify/VerifyPostRequestBody.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.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class VerifyPostRequestBody : 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 hostName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? HostName + { + get { return BackingStore?.Get("hostName"); } + set { BackingStore?.Set("hostName", value); } + } +#nullable restore +#else + public string HostName + { + get { return BackingStore?.Get("hostName"); } + set { BackingStore?.Set("hostName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public VerifyPostRequestBody() + { + 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.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "hostName", n => { HostName = 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("hostName", HostName); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Item/Verify/VerifyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Item/Verify/VerifyRequestBuilder.cs new file mode 100644 index 00000000000..96e65269f6f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Item/Verify/VerifyRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#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.RiskPrevention.WebApplicationFirewallProviders.Item.Verify +{ + /// + /// Provides operations to call the verify method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifyRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public VerifyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders/{webApplicationFirewallProvider%2Did}/verify", 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 VerifyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders/{webApplicationFirewallProvider%2Did}/verify", rawUrl) + { + } + /// + /// Invoke action verify + /// + /// 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.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyPostRequestBody 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.WebApplicationFirewallVerificationModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action verify + /// + /// 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.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyPostRequestBody 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.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyRequestBuilder(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 VerifyRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Item/WebApplicationFirewallProviderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Item/WebApplicationFirewallProviderItemRequestBuilder.cs new file mode 100644 index 00000000000..3f7e332d372 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/Item/WebApplicationFirewallProviderItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify; +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.RiskPrevention.WebApplicationFirewallProviders.Item +{ + /// + /// Provides operations to manage the webApplicationFirewallProviders property of the microsoft.graph.riskPreventionContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WebApplicationFirewallProviderItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the verify method. + public global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyRequestBuilder Verify + { + get => new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyRequestBuilder(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 WebApplicationFirewallProviderItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders/{webApplicationFirewallProvider%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 WebApplicationFirewallProviderItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders/{webApplicationFirewallProvider%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property webApplicationFirewallProviders 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); + } + /// + /// Get webApplicationFirewallProviders from identity + /// + /// 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.WebApplicationFirewallProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property webApplicationFirewallProviders 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.WebApplicationFirewallProvider body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.WebApplicationFirewallProvider 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.WebApplicationFirewallProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property webApplicationFirewallProviders 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; + } + /// + /// Get webApplicationFirewallProviders from 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 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 webApplicationFirewallProviders 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.WebApplicationFirewallProvider body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.WebApplicationFirewallProvider 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.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder(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 WebApplicationFirewallProviderItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get webApplicationFirewallProviders from identity + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WebApplicationFirewallProviderItemRequestBuilderGetQueryParameters + { + /// 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 WebApplicationFirewallProviderItemRequestBuilderGetRequestConfiguration : 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 WebApplicationFirewallProviderItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/WebApplicationFirewallProvidersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/WebApplicationFirewallProvidersRequestBuilder.cs new file mode 100644 index 00000000000..ad5b0289150 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallProviders/WebApplicationFirewallProvidersRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count; +using Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.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.RiskPrevention.WebApplicationFirewallProviders +{ + /// + /// Provides operations to manage the webApplicationFirewallProviders property of the microsoft.graph.riskPreventionContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WebApplicationFirewallProvidersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the webApplicationFirewallProviders property of the microsoft.graph.riskPreventionContainer entity. + /// The unique identifier of webApplicationFirewallProvider + /// A + public global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("webApplicationFirewallProvider%2Did", position); + return new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder(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 WebApplicationFirewallProvidersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders{?%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 WebApplicationFirewallProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get webApplicationFirewallProviders from identity + /// + /// 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.WebApplicationFirewallProviderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to webApplicationFirewallProviders for 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 PostAsync(global::Microsoft.Graph.Models.WebApplicationFirewallProvider body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.WebApplicationFirewallProvider 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.WebApplicationFirewallProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get webApplicationFirewallProviders from 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 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 webApplicationFirewallProviders for 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 ToPostRequestInformation(global::Microsoft.Graph.Models.WebApplicationFirewallProvider body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.WebApplicationFirewallProvider 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.RiskPrevention.WebApplicationFirewallProviders.WebApplicationFirewallProvidersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.WebApplicationFirewallProvidersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get webApplicationFirewallProviders from identity + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WebApplicationFirewallProvidersRequestBuilderGetQueryParameters + { + /// 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 WebApplicationFirewallProvidersRequestBuilderGetRequestConfiguration : 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 WebApplicationFirewallProvidersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..41827728e40 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/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.RiskPrevention.WebApplicationFirewallVerifications.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/riskPrevention/webApplicationFirewallVerifications/$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/riskPrevention/webApplicationFirewallVerifications/$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.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.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/RiskPrevention/WebApplicationFirewallVerifications/Item/Provider/ProviderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/Item/Provider/ProviderRequestBuilder.cs new file mode 100644 index 00000000000..ead5ed15ebf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/Item/Provider/ProviderRequestBuilder.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.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider +{ + /// + /// Provides operations to manage the provider property of the microsoft.graph.webApplicationFirewallVerificationModel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProviderRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProviderRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallVerifications/{webApplicationFirewallVerificationModel%2Did}/provider{?%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 ProviderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallVerifications/{webApplicationFirewallVerificationModel%2Did}/provider{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get provider from identity + /// + /// 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.WebApplicationFirewallProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get provider from 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 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.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.ProviderRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.ProviderRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get provider from identity + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProviderRequestBuilderGetQueryParameters + { + /// 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 ProviderRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/Item/WebApplicationFirewallVerificationModelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/Item/WebApplicationFirewallVerificationModelItemRequestBuilder.cs new file mode 100644 index 00000000000..803de016de0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/Item/WebApplicationFirewallVerificationModelItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider; +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.RiskPrevention.WebApplicationFirewallVerifications.Item +{ + /// + /// Provides operations to manage the webApplicationFirewallVerifications property of the microsoft.graph.riskPreventionContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WebApplicationFirewallVerificationModelItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the provider property of the microsoft.graph.webApplicationFirewallVerificationModel entity. + public global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.ProviderRequestBuilder Provider + { + get => new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.ProviderRequestBuilder(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 WebApplicationFirewallVerificationModelItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallVerifications/{webApplicationFirewallVerificationModel%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 WebApplicationFirewallVerificationModelItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallVerifications/{webApplicationFirewallVerificationModel%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property webApplicationFirewallVerifications 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); + } + /// + /// Get webApplicationFirewallVerifications from identity + /// + /// 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.WebApplicationFirewallVerificationModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property webApplicationFirewallVerifications 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.WebApplicationFirewallVerificationModel body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.WebApplicationFirewallVerificationModel 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.WebApplicationFirewallVerificationModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property webApplicationFirewallVerifications 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; + } + /// + /// Get webApplicationFirewallVerifications from 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 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 webApplicationFirewallVerifications 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.WebApplicationFirewallVerificationModel body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.WebApplicationFirewallVerificationModel 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.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder(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 WebApplicationFirewallVerificationModelItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get webApplicationFirewallVerifications from identity + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WebApplicationFirewallVerificationModelItemRequestBuilderGetQueryParameters + { + /// 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 WebApplicationFirewallVerificationModelItemRequestBuilderGetRequestConfiguration : 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 WebApplicationFirewallVerificationModelItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/WebApplicationFirewallVerificationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/WebApplicationFirewallVerificationsRequestBuilder.cs new file mode 100644 index 00000000000..433a3b72058 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/WebApplicationFirewallVerifications/WebApplicationFirewallVerificationsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count; +using Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.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.RiskPrevention.WebApplicationFirewallVerifications +{ + /// + /// Provides operations to manage the webApplicationFirewallVerifications property of the microsoft.graph.riskPreventionContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WebApplicationFirewallVerificationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the webApplicationFirewallVerifications property of the microsoft.graph.riskPreventionContainer entity. + /// The unique identifier of webApplicationFirewallVerificationModel + /// A + public global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("webApplicationFirewallVerificationModel%2Did", position); + return new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder(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 WebApplicationFirewallVerificationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallVerifications{?%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 WebApplicationFirewallVerificationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallVerifications{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get webApplicationFirewallVerifications from identity + /// + /// 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.WebApplicationFirewallVerificationModelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to webApplicationFirewallVerifications for 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 PostAsync(global::Microsoft.Graph.Models.WebApplicationFirewallVerificationModel body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.WebApplicationFirewallVerificationModel 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.WebApplicationFirewallVerificationModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get webApplicationFirewallVerifications from 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 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 webApplicationFirewallVerifications for 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 ToPostRequestInformation(global::Microsoft.Graph.Models.WebApplicationFirewallVerificationModel body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.WebApplicationFirewallVerificationModel 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.RiskPrevention.WebApplicationFirewallVerifications.WebApplicationFirewallVerificationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.WebApplicationFirewallVerificationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get webApplicationFirewallVerifications from identity + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WebApplicationFirewallVerificationsRequestBuilderGetQueryParameters + { + /// 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 WebApplicationFirewallVerificationsRequestBuilderGetRequestConfiguration : 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 WebApplicationFirewallVerificationsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/CloudPCsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/CloudPCsRequestBuilder.cs new file mode 100644 index 00000000000..74db8e6cf98 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/CloudPCsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.CloudPCs.Count; +using Microsoft.Graph.Me.CloudPCs.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.CloudPCs +{ + /// + /// Provides operations to manage the cloudPCs property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPCsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the cloudPCs property of the microsoft.graph.user entity. + /// The unique identifier of cloudPC + /// A + public global::Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("cloudPC%2Did", position); + return new global::Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder(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 CloudPCsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs{?%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 CloudPCsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// List the cloudPC devices that are attributed to the signed-in user. + /// 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.CloudPCCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to cloudPCs 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.CloudPC body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CloudPC 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.CloudPC.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// List the cloudPC devices that are attributed to the signed-in user. + /// + /// 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 cloudPCs 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.CloudPC body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CloudPC 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.CloudPCs.CloudPCsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.CloudPCs.CloudPCsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// List the cloudPC devices that are attributed to the signed-in user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPCsRequestBuilderGetQueryParameters + { + /// 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 CloudPCsRequestBuilderGetRequestConfiguration : 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 CloudPCsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..542757626c8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/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.CloudPCs.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/cloudPCs/$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/cloudPCs/$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.CloudPCs.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.CloudPCs.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/CloudPCs/Item/CloudPCItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/CloudPCItemRequestBuilder.cs new file mode 100644 index 00000000000..73bbf5fa921 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/CloudPCItemRequestBuilder.cs @@ -0,0 +1,265 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod; +using Microsoft.Graph.Me.CloudPCs.Item.Reboot; +using Microsoft.Graph.Me.CloudPCs.Item.Rename; +using Microsoft.Graph.Me.CloudPCs.Item.Resize; +using Microsoft.Graph.Me.CloudPCs.Item.Restore; +using Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot; +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.CloudPCs.Item +{ + /// + /// Provides operations to manage the cloudPCs property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPCItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the endGracePeriod method. + public global::Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder EndGracePeriod + { + get => new global::Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the reboot method. + public global::Microsoft.Graph.Me.CloudPCs.Item.Reboot.RebootRequestBuilder Reboot + { + get => new global::Microsoft.Graph.Me.CloudPCs.Item.Reboot.RebootRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the rename method. + public global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder Rename + { + get => new global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the resize method. + public global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizeRequestBuilder Resize + { + get => new global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizeRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the troubleshoot method. + public global::Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder Troubleshoot + { + get => new global::Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder(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 CloudPCItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%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 CloudPCItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property cloudPCs 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); + } + /// + /// The user's Cloud PCs. 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.CloudPC.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property cloudPCs 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.CloudPC body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CloudPC 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.CloudPC.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property cloudPCs 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; + } + /// + /// The user's Cloud PCs. 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; + } + /// + /// Update the navigation property cloudPCs 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.CloudPC body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CloudPC 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.CloudPCs.Item.CloudPCItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder(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 CloudPCItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The user's Cloud PCs. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPCItemRequestBuilderGetQueryParameters + { + /// 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 CloudPCItemRequestBuilderGetRequestConfiguration : 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 CloudPCItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.cs new file mode 100644 index 00000000000..13d28d2e94f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.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.CloudPCs.Item.EndGracePeriod +{ + /// + /// Provides operations to call the endGracePeriod method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EndGracePeriodRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EndGracePeriodRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/endGracePeriod", 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 EndGracePeriodRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/endGracePeriod", rawUrl) + { + } + /// + /// End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. + /// 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); + } + /// + /// End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. + /// + /// 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.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder(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 EndGracePeriodRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reboot/RebootRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reboot/RebootRequestBuilder.cs new file mode 100644 index 00000000000..d3ce0235cc1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reboot/RebootRequestBuilder.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.CloudPCs.Item.Reboot +{ + /// + /// Provides operations to call the reboot method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RebootRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RebootRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/reboot", 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 RebootRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/reboot", rawUrl) + { + } + /// + /// Reboot a specific cloudPC 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 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); + } + /// + /// Reboot a specific cloudPC 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 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.CloudPCs.Item.Reboot.RebootRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.CloudPCs.Item.Reboot.RebootRequestBuilder(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 RebootRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenamePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenamePostRequestBody.cs new file mode 100644 index 00000000000..847767bfe94 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenamePostRequestBody.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.CloudPCs.Item.Rename +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RenamePostRequestBody : 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 displayName property +#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 + /// + /// Instantiates a new and sets the default values. + /// + public RenamePostRequestBody() + { + 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.CloudPCs.Item.Rename.RenamePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = 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.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenameRequestBuilder.cs new file mode 100644 index 00000000000..1bef02e8b9b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenameRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.CloudPCs.Item.Rename +{ + /// + /// Provides operations to call the rename method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RenameRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RenameRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/rename", 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 RenameRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/rename", rawUrl) + { + } + /// + /// Rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity. + /// Find more info here + /// + /// 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.CloudPCs.Item.Rename.RenamePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody 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); + } + /// + /// Rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity. + /// + /// 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.CloudPCs.Item.Rename.RenamePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody 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.CloudPCs.Item.Rename.RenameRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder(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 RenameRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizePostRequestBody.cs new file mode 100644 index 00000000000..4ff5397c708 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizePostRequestBody.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.CloudPCs.Item.Resize +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ResizePostRequestBody : 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 targetServicePlanId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TargetServicePlanId + { + get { return BackingStore?.Get("targetServicePlanId"); } + set { BackingStore?.Set("targetServicePlanId", value); } + } +#nullable restore +#else + public string TargetServicePlanId + { + get { return BackingStore?.Get("targetServicePlanId"); } + set { BackingStore?.Set("targetServicePlanId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ResizePostRequestBody() + { + 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.CloudPCs.Item.Resize.ResizePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "targetServicePlanId", n => { TargetServicePlanId = 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("targetServicePlanId", TargetServicePlanId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizeRequestBuilder.cs new file mode 100644 index 00000000000..ca87bde142f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizeRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.CloudPCs.Item.Resize +{ + /// + /// Provides operations to call the resize method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ResizeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ResizeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/resize", 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 ResizeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/resize", rawUrl) + { + } + /// + /// Upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. + /// Find more info here + /// + /// 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.CloudPCs.Item.Resize.ResizePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizePostRequestBody 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); + } + /// + /// Upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. + /// + /// 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.CloudPCs.Item.Resize.ResizePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizePostRequestBody 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.CloudPCs.Item.Resize.ResizeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizeRequestBuilder(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 ResizeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..06cd44e5c5c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestorePostRequestBody.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.CloudPCs.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : 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 cloudPcSnapshotId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CloudPcSnapshotId + { + get { return BackingStore?.Get("cloudPcSnapshotId"); } + set { BackingStore?.Set("cloudPcSnapshotId", value); } + } +#nullable restore +#else + public string CloudPcSnapshotId + { + get { return BackingStore?.Get("cloudPcSnapshotId"); } + set { BackingStore?.Set("cloudPcSnapshotId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + 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.CloudPCs.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "cloudPcSnapshotId", n => { CloudPcSnapshotId = 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("cloudPcSnapshotId", CloudPcSnapshotId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..439f98b7546 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.CloudPCs.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/restore", 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 RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/restore", rawUrl) + { + } + /// + /// Restore a specific cloudPC object to a previous state from a snapshot. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. + /// Find more info here + /// + /// 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.CloudPCs.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody 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); + } + /// + /// Restore a specific cloudPC object to a previous state from a snapshot. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. + /// + /// 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.CloudPCs.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody 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.CloudPCs.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder(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 RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.cs new file mode 100644 index 00000000000..c04ce83a6be --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.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.CloudPCs.Item.Troubleshoot +{ + /// + /// Provides operations to call the troubleshoot method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TroubleshootRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TroubleshootRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/troubleshoot", 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 TroubleshootRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/troubleshoot", rawUrl) + { + } + /// + /// Troubleshoot a specific cloudPC object. Use this API to check the health status of the Cloud PC and the session host. + /// 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); + } + /// + /// Troubleshoot a specific cloudPC object. Use this API to check the health status of the Cloud PC and the session host. + /// + /// 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.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder(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 TroubleshootRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index a1f4241513e..596a1477732 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -34,7 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index 83cae2e348b..f5dc3e9e749 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -34,7 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs index 7f458550e77..e527a95dd38 100644 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Me.CheckMemberGroups; using Microsoft.Graph.Me.CheckMemberObjects; using Microsoft.Graph.Me.CloudClipboard; +using Microsoft.Graph.Me.CloudPCs; using Microsoft.Graph.Me.ContactFolders; using Microsoft.Graph.Me.Contacts; using Microsoft.Graph.Me.CreatedObjects; @@ -165,6 +166,11 @@ public partial class MeRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.CloudClipboard.CloudClipboardRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the cloudPCs property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Me.CloudPCs.CloudPCsRequestBuilder CloudPCs + { + get => new global::Microsoft.Graph.Me.CloudPCs.CloudPCsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the contactFolders property of the microsoft.graph.user entity. public global::Microsoft.Graph.Me.ContactFolders.ContactFoldersRequestBuilder ContactFolders { diff --git a/src/Microsoft.Graph/Generated/Models/AadUserConversationMember.cs b/src/Microsoft.Graph/Generated/Models/AadUserConversationMember.cs index 675d1b626e1..3fabe39f1cd 100644 --- a/src/Microsoft.Graph/Generated/Models/AadUserConversationMember.cs +++ b/src/Microsoft.Graph/Generated/Models/AadUserConversationMember.cs @@ -28,7 +28,7 @@ public string Email set { BackingStore?.Set("email", value); } } #endif - /// TenantId which the Microsoft Entra user belongs to. + /// The tenant ID of the Microsoft Entra user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TenantId @@ -60,7 +60,7 @@ public string TenantId set { BackingStore?.Set("user", value); } } #endif - /// The guid of the user. + /// The user ID of the Microsoft Entra user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? UserId diff --git a/src/Microsoft.Graph/Generated/Models/AkamaiAttackGroupActionModel.cs b/src/Microsoft.Graph/Generated/Models/AkamaiAttackGroupActionModel.cs new file mode 100644 index 00000000000..52e638acfa7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AkamaiAttackGroupActionModel.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 AkamaiAttackGroupActionModel : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The action property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", value); } + } +#nullable restore +#else + public string Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", 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; } + /// The group property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Group + { + get { return BackingStore?.Get("group"); } + set { BackingStore?.Set("group", value); } + } +#nullable restore +#else + public string Group + { + get { return BackingStore?.Get("group"); } + set { BackingStore?.Set("group", 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 AkamaiAttackGroupActionModel() + { + 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.AkamaiAttackGroupActionModel CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AkamaiAttackGroupActionModel(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "action", n => { Action = n.GetStringValue(); } }, + { "group", n => { Group = 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("action", Action); + writer.WriteStringValue("group", Group); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AkamaiCustomRuleModel.cs b/src/Microsoft.Graph/Generated/Models/AkamaiCustomRuleModel.cs new file mode 100644 index 00000000000..034cc671ebe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AkamaiCustomRuleModel.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 AkamaiCustomRuleModel : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The action property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", value); } + } +#nullable restore +#else + public string Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", 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; } + /// The name property +#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 ruleId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RuleId + { + get { return BackingStore?.Get("ruleId"); } + set { BackingStore?.Set("ruleId", value); } + } +#nullable restore +#else + public string RuleId + { + get { return BackingStore?.Get("ruleId"); } + set { BackingStore?.Set("ruleId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AkamaiCustomRuleModel() + { + 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.AkamaiCustomRuleModel CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AkamaiCustomRuleModel(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "action", n => { Action = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "ruleId", n => { RuleId = 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("action", Action); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("ruleId", RuleId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AkamaiRapidRulesModel.cs b/src/Microsoft.Graph/Generated/Models/AkamaiRapidRulesModel.cs new file mode 100644 index 00000000000..89fe61024ba --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AkamaiRapidRulesModel.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 AkamaiRapidRulesModel : 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 defaultAction property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DefaultAction + { + get { return BackingStore?.Get("defaultAction"); } + set { BackingStore?.Set("defaultAction", value); } + } +#nullable restore +#else + public string DefaultAction + { + get { return BackingStore?.Get("defaultAction"); } + set { BackingStore?.Set("defaultAction", value); } + } +#endif + /// The isEnabled property + 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 AkamaiRapidRulesModel() + { + 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.AkamaiRapidRulesModel CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AkamaiRapidRulesModel(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "defaultAction", n => { DefaultAction = 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("defaultAction", DefaultAction); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AkamaiVerifiedDetailsModel.cs b/src/Microsoft.Graph/Generated/Models/AkamaiVerifiedDetailsModel.cs new file mode 100644 index 00000000000..df622e67451 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AkamaiVerifiedDetailsModel.cs @@ -0,0 +1,107 @@ +// +#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 AkamaiVerifiedDetailsModel : global::Microsoft.Graph.Models.WebApplicationFirewallVerifiedDetails, IParsable + #pragma warning restore CS1591 + { + /// The activeAttackGroups property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ActiveAttackGroups + { + get { return BackingStore?.Get?>("activeAttackGroups"); } + set { BackingStore?.Set("activeAttackGroups", value); } + } +#nullable restore +#else + public List ActiveAttackGroups + { + get { return BackingStore?.Get>("activeAttackGroups"); } + set { BackingStore?.Set("activeAttackGroups", value); } + } +#endif + /// The activeCustomRules property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ActiveCustomRules + { + get { return BackingStore?.Get?>("activeCustomRules"); } + set { BackingStore?.Set("activeCustomRules", value); } + } +#nullable restore +#else + public List ActiveCustomRules + { + get { return BackingStore?.Get>("activeCustomRules"); } + set { BackingStore?.Set("activeCustomRules", value); } + } +#endif + /// The rapidRules property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.AkamaiRapidRulesModel? RapidRules + { + get { return BackingStore?.Get("rapidRules"); } + set { BackingStore?.Set("rapidRules", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.AkamaiRapidRulesModel RapidRules + { + get { return BackingStore?.Get("rapidRules"); } + set { BackingStore?.Set("rapidRules", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AkamaiVerifiedDetailsModel() : base() + { + OdataType = "#microsoft.graph.akamaiVerifiedDetailsModel"; + } + /// + /// 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.AkamaiVerifiedDetailsModel CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AkamaiVerifiedDetailsModel(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "activeAttackGroups", n => { ActiveAttackGroups = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AkamaiAttackGroupActionModel.CreateFromDiscriminatorValue)?.AsList(); } }, + { "activeCustomRules", n => { ActiveCustomRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AkamaiCustomRuleModel.CreateFromDiscriminatorValue)?.AsList(); } }, + { "rapidRules", n => { RapidRules = n.GetObjectValue(global::Microsoft.Graph.Models.AkamaiRapidRulesModel.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.WriteCollectionOfObjectValues("activeAttackGroups", ActiveAttackGroups); + writer.WriteCollectionOfObjectValues("activeCustomRules", ActiveCustomRules); + writer.WriteObjectValue("rapidRules", RapidRules); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AkamaiWebApplicationFirewallProvider.cs b/src/Microsoft.Graph/Generated/Models/AkamaiWebApplicationFirewallProvider.cs new file mode 100644 index 00000000000..06f0763be3a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AkamaiWebApplicationFirewallProvider.cs @@ -0,0 +1,125 @@ +// +#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 AkamaiWebApplicationFirewallProvider : global::Microsoft.Graph.Models.WebApplicationFirewallProvider, IParsable + #pragma warning restore CS1591 + { + /// The accessToken property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AccessToken + { + get { return BackingStore?.Get("accessToken"); } + set { BackingStore?.Set("accessToken", value); } + } +#nullable restore +#else + public string AccessToken + { + get { return BackingStore?.Get("accessToken"); } + set { BackingStore?.Set("accessToken", value); } + } +#endif + /// The clientSecret property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ClientSecret + { + get { return BackingStore?.Get("clientSecret"); } + set { BackingStore?.Set("clientSecret", value); } + } +#nullable restore +#else + public string ClientSecret + { + get { return BackingStore?.Get("clientSecret"); } + set { BackingStore?.Set("clientSecret", value); } + } +#endif + /// The clientToken property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ClientToken + { + get { return BackingStore?.Get("clientToken"); } + set { BackingStore?.Set("clientToken", value); } + } +#nullable restore +#else + public string ClientToken + { + get { return BackingStore?.Get("clientToken"); } + set { BackingStore?.Set("clientToken", value); } + } +#endif + /// The hostPrefix property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? HostPrefix + { + get { return BackingStore?.Get("hostPrefix"); } + set { BackingStore?.Set("hostPrefix", value); } + } +#nullable restore +#else + public string HostPrefix + { + get { return BackingStore?.Get("hostPrefix"); } + set { BackingStore?.Set("hostPrefix", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AkamaiWebApplicationFirewallProvider() : base() + { + OdataType = "#microsoft.graph.akamaiWebApplicationFirewallProvider"; + } + /// + /// 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.AkamaiWebApplicationFirewallProvider CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AkamaiWebApplicationFirewallProvider(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "accessToken", n => { AccessToken = n.GetStringValue(); } }, + { "clientSecret", n => { ClientSecret = n.GetStringValue(); } }, + { "clientToken", n => { ClientToken = n.GetStringValue(); } }, + { "hostPrefix", n => { HostPrefix = 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("accessToken", AccessToken); + writer.WriteStringValue("clientSecret", ClientSecret); + writer.WriteStringValue("clientToken", ClientToken); + writer.WriteStringValue("hostPrefix", HostPrefix); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs b/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs index e7a0a67d542..8edd84d0b62 100644 --- a/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs +++ b/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class ApplicationTemplate : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting. + /// The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting. Supports $filter (contains). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Categories @@ -44,7 +44,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// The name of the application. + /// The name of the application. Supports $filter (contains). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName diff --git a/src/Microsoft.Graph/Generated/Models/CloudFlareRuleModel.cs b/src/Microsoft.Graph/Generated/Models/CloudFlareRuleModel.cs new file mode 100644 index 00000000000..e11d7923357 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudFlareRuleModel.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 CloudFlareRuleModel : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The action property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", value); } + } +#nullable restore +#else + public string Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", 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; } + /// The name property +#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 ruleId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RuleId + { + get { return BackingStore?.Get("ruleId"); } + set { BackingStore?.Set("ruleId", value); } + } +#nullable restore +#else + public string RuleId + { + get { return BackingStore?.Get("ruleId"); } + set { BackingStore?.Set("ruleId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudFlareRuleModel() + { + 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.CloudFlareRuleModel CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CloudFlareRuleModel(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "action", n => { Action = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "ruleId", n => { RuleId = 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("action", Action); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("ruleId", RuleId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudFlareRulesetModel.cs b/src/Microsoft.Graph/Generated/Models/CloudFlareRulesetModel.cs new file mode 100644 index 00000000000..65e90b4d699 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudFlareRulesetModel.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 CloudFlareRulesetModel : 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 name property +#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 phaseName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PhaseName + { + get { return BackingStore?.Get("phaseName"); } + set { BackingStore?.Set("phaseName", value); } + } +#nullable restore +#else + public string PhaseName + { + get { return BackingStore?.Get("phaseName"); } + set { BackingStore?.Set("phaseName", value); } + } +#endif + /// The rulesetId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RulesetId + { + get { return BackingStore?.Get("rulesetId"); } + set { BackingStore?.Set("rulesetId", value); } + } +#nullable restore +#else + public string RulesetId + { + get { return BackingStore?.Get("rulesetId"); } + set { BackingStore?.Set("rulesetId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudFlareRulesetModel() + { + 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.CloudFlareRulesetModel CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CloudFlareRulesetModel(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "phaseName", n => { PhaseName = n.GetStringValue(); } }, + { "rulesetId", n => { RulesetId = 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("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("phaseName", PhaseName); + writer.WriteStringValue("rulesetId", RulesetId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudFlareVerifiedDetailsModel.cs b/src/Microsoft.Graph/Generated/Models/CloudFlareVerifiedDetailsModel.cs new file mode 100644 index 00000000000..a8548510921 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudFlareVerifiedDetailsModel.cs @@ -0,0 +1,107 @@ +// +#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 CloudFlareVerifiedDetailsModel : global::Microsoft.Graph.Models.WebApplicationFirewallVerifiedDetails, IParsable + #pragma warning restore CS1591 + { + /// The enabledCustomRules property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? EnabledCustomRules + { + get { return BackingStore?.Get?>("enabledCustomRules"); } + set { BackingStore?.Set("enabledCustomRules", value); } + } +#nullable restore +#else + public List EnabledCustomRules + { + get { return BackingStore?.Get>("enabledCustomRules"); } + set { BackingStore?.Set("enabledCustomRules", value); } + } +#endif + /// The enabledRecommendedRulesets property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? EnabledRecommendedRulesets + { + get { return BackingStore?.Get?>("enabledRecommendedRulesets"); } + set { BackingStore?.Set("enabledRecommendedRulesets", value); } + } +#nullable restore +#else + public List EnabledRecommendedRulesets + { + get { return BackingStore?.Get>("enabledRecommendedRulesets"); } + set { BackingStore?.Set("enabledRecommendedRulesets", value); } + } +#endif + /// The zoneId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ZoneId + { + get { return BackingStore?.Get("zoneId"); } + set { BackingStore?.Set("zoneId", value); } + } +#nullable restore +#else + public string ZoneId + { + get { return BackingStore?.Get("zoneId"); } + set { BackingStore?.Set("zoneId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudFlareVerifiedDetailsModel() : base() + { + OdataType = "#microsoft.graph.cloudFlareVerifiedDetailsModel"; + } + /// + /// 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.CloudFlareVerifiedDetailsModel CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CloudFlareVerifiedDetailsModel(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "enabledCustomRules", n => { EnabledCustomRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CloudFlareRuleModel.CreateFromDiscriminatorValue)?.AsList(); } }, + { "enabledRecommendedRulesets", n => { EnabledRecommendedRulesets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CloudFlareRulesetModel.CreateFromDiscriminatorValue)?.AsList(); } }, + { "zoneId", n => { ZoneId = 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.WriteCollectionOfObjectValues("enabledCustomRules", EnabledCustomRules); + writer.WriteCollectionOfObjectValues("enabledRecommendedRulesets", EnabledRecommendedRulesets); + writer.WriteStringValue("zoneId", ZoneId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudFlareWebApplicationFirewallProvider.cs b/src/Microsoft.Graph/Generated/Models/CloudFlareWebApplicationFirewallProvider.cs new file mode 100644 index 00000000000..8f3a18aa268 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudFlareWebApplicationFirewallProvider.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 CloudFlareWebApplicationFirewallProvider : global::Microsoft.Graph.Models.WebApplicationFirewallProvider, IParsable + #pragma warning restore CS1591 + { + /// The apiToken property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ApiToken + { + get { return BackingStore?.Get("apiToken"); } + set { BackingStore?.Set("apiToken", value); } + } +#nullable restore +#else + public string ApiToken + { + get { return BackingStore?.Get("apiToken"); } + set { BackingStore?.Set("apiToken", value); } + } +#endif + /// The zoneId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ZoneId + { + get { return BackingStore?.Get("zoneId"); } + set { BackingStore?.Set("zoneId", value); } + } +#nullable restore +#else + public string ZoneId + { + get { return BackingStore?.Get("zoneId"); } + set { BackingStore?.Set("zoneId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudFlareWebApplicationFirewallProvider() : base() + { + OdataType = "#microsoft.graph.cloudFlareWebApplicationFirewallProvider"; + } + /// + /// 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.CloudFlareWebApplicationFirewallProvider CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CloudFlareWebApplicationFirewallProvider(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "apiToken", n => { ApiToken = n.GetStringValue(); } }, + { "zoneId", n => { ZoneId = 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("apiToken", ApiToken); + writer.WriteStringValue("zoneId", ZoneId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/EducationAssignment.cs b/src/Microsoft.Graph/Generated/Models/EducationAssignment.cs index ea06185abdf..4fb0df09af7 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationAssignment.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationAssignment.cs @@ -193,6 +193,22 @@ public string FeedbackResourcesFolderUrl get { return BackingStore?.Get("gradingCategory"); } set { BackingStore?.Set("gradingCategory", value); } } +#endif + /// When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.EducationGradingScheme? GradingScheme + { + get { return BackingStore?.Get("gradingScheme"); } + set { BackingStore?.Set("gradingScheme", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.EducationGradingScheme GradingScheme + { + get { return BackingStore?.Get("gradingScheme"); } + set { BackingStore?.Set("gradingScheme", value); } + } #endif /// Instructions for the assignment. The instructions and the display name tell the student what to do. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -209,6 +225,22 @@ public string FeedbackResourcesFolderUrl get { return BackingStore?.Get("instructions"); } set { BackingStore?.Set("instructions", value); } } +#endif + /// Specifies the language in which UI notifications for the assignment are displayed. If languageTag isn't provided, the default language is en-US. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LanguageTag + { + get { return BackingStore?.Get("languageTag"); } + set { BackingStore?.Set("languageTag", value); } + } +#nullable restore +#else + public string LanguageTag + { + get { return BackingStore?.Get("languageTag"); } + set { BackingStore?.Set("languageTag", value); } + } #endif /// Who last modified the assignment. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -385,7 +417,9 @@ public override IDictionary> GetFieldDeserializers() { "feedbackResourcesFolderUrl", n => { FeedbackResourcesFolderUrl = n.GetStringValue(); } }, { "grading", n => { Grading = n.GetObjectValue(global::Microsoft.Graph.Models.EducationAssignmentGradeType.CreateFromDiscriminatorValue); } }, { "gradingCategory", n => { GradingCategory = n.GetObjectValue(global::Microsoft.Graph.Models.EducationGradingCategory.CreateFromDiscriminatorValue); } }, + { "gradingScheme", n => { GradingScheme = n.GetObjectValue(global::Microsoft.Graph.Models.EducationGradingScheme.CreateFromDiscriminatorValue); } }, { "instructions", n => { Instructions = n.GetObjectValue(global::Microsoft.Graph.Models.EducationItemBody.CreateFromDiscriminatorValue); } }, + { "languageTag", n => { LanguageTag = n.GetStringValue(); } }, { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "moduleUrl", n => { ModuleUrl = n.GetStringValue(); } }, @@ -418,7 +452,9 @@ public override void Serialize(ISerializationWriter writer) writer.WriteDateTimeOffsetValue("dueDateTime", DueDateTime); writer.WriteObjectValue("grading", Grading); writer.WriteObjectValue("gradingCategory", GradingCategory); + writer.WriteObjectValue("gradingScheme", GradingScheme); writer.WriteObjectValue("instructions", Instructions); + writer.WriteStringValue("languageTag", LanguageTag); writer.WriteStringValue("moduleUrl", ModuleUrl); writer.WriteStringValue("notificationChannelUrl", NotificationChannelUrl); writer.WriteCollectionOfObjectValues("resources", Resources); diff --git a/src/Microsoft.Graph/Generated/Models/EducationAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/EducationAssignmentSettings.cs index d405ea3ef47..7cc6d1a077f 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationAssignmentSettings.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class EducationAssignmentSettings : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The default grading scheme for assignments created in this class. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.EducationGradingScheme? DefaultGradingScheme + { + get { return BackingStore?.Get("defaultGradingScheme"); } + set { BackingStore?.Set("defaultGradingScheme", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.EducationGradingScheme DefaultGradingScheme + { + get { return BackingStore?.Get("defaultGradingScheme"); } + set { BackingStore?.Set("defaultGradingScheme", value); } + } +#endif /// When set, enables users to weight assignments differently when computing a class average grade. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -27,6 +43,22 @@ public partial class EducationAssignmentSettings : global::Microsoft.Graph.Model get { return BackingStore?.Get>("gradingCategories"); } set { BackingStore?.Set("gradingCategories", value); } } +#endif + /// The grading schemes that can be attached to assignments created in this class. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? GradingSchemes + { + get { return BackingStore?.Get?>("gradingSchemes"); } + set { BackingStore?.Set("gradingSchemes", value); } + } +#nullable restore +#else + public List GradingSchemes + { + get { return BackingStore?.Get>("gradingSchemes"); } + set { BackingStore?.Set("gradingSchemes", value); } + } #endif /// Indicates whether to show the turn-in celebration animation. If true, indicates to skip the animation. The default value is false. public bool? SubmissionAnimationDisabled @@ -52,7 +84,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "defaultGradingScheme", n => { DefaultGradingScheme = n.GetObjectValue(global::Microsoft.Graph.Models.EducationGradingScheme.CreateFromDiscriminatorValue); } }, { "gradingCategories", n => { GradingCategories = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.EducationGradingCategory.CreateFromDiscriminatorValue)?.AsList(); } }, + { "gradingSchemes", n => { GradingSchemes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.EducationGradingScheme.CreateFromDiscriminatorValue)?.AsList(); } }, { "submissionAnimationDisabled", n => { SubmissionAnimationDisabled = n.GetBoolValue(); } }, }; } @@ -64,7 +98,9 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("defaultGradingScheme", DefaultGradingScheme); writer.WriteCollectionOfObjectValues("gradingCategories", GradingCategories); + writer.WriteCollectionOfObjectValues("gradingSchemes", GradingSchemes); writer.WriteBoolValue("submissionAnimationDisabled", SubmissionAnimationDisabled); } } diff --git a/src/Microsoft.Graph/Generated/Models/EducationGradingScheme.cs b/src/Microsoft.Graph/Generated/Models/EducationGradingScheme.cs new file mode 100644 index 00000000000..19cc091934c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EducationGradingScheme.cs @@ -0,0 +1,90 @@ +// +#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 EducationGradingScheme : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The name of the grading scheme. +#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 + /// The grades that make up the scheme. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grades + { + get { return BackingStore?.Get?>("grades"); } + set { BackingStore?.Set("grades", value); } + } +#nullable restore +#else + public List Grades + { + get { return BackingStore?.Get>("grades"); } + set { BackingStore?.Set("grades", value); } + } +#endif + /// The display setting for the UI. Indicates whether teachers can grade with points in addition to letter grades. + public bool? HidePointsDuringGrading + { + get { return BackingStore?.Get("hidePointsDuringGrading"); } + set { BackingStore?.Set("hidePointsDuringGrading", 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.EducationGradingScheme CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.EducationGradingScheme(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "grades", n => { Grades = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.EducationGradingSchemeGrade.CreateFromDiscriminatorValue)?.AsList(); } }, + { "hidePointsDuringGrading", n => { HidePointsDuringGrading = n.GetBoolValue(); } }, + }; + } + /// + /// 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("displayName", DisplayName); + writer.WriteCollectionOfObjectValues("grades", Grades); + writer.WriteBoolValue("hidePointsDuringGrading", HidePointsDuringGrading); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/EducationGradingSchemeCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/EducationGradingSchemeCollectionResponse.cs new file mode 100644 index 00000000000..3937f8dbdcd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EducationGradingSchemeCollectionResponse.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 EducationGradingSchemeCollectionResponse : 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.EducationGradingSchemeCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.EducationGradingSchemeCollectionResponse(); + } + /// + /// 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.EducationGradingScheme.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/EducationGradingSchemeGrade.cs b/src/Microsoft.Graph/Generated/Models/EducationGradingSchemeGrade.cs new file mode 100644 index 00000000000..b591d6ca3ec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EducationGradingSchemeGrade.cs @@ -0,0 +1,115 @@ +// +#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 EducationGradingSchemeGrade : 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 midpoint of the grade range. + public float? DefaultPercentage + { + get { return BackingStore?.Get("defaultPercentage"); } + set { BackingStore?.Set("defaultPercentage", value); } + } + /// The name of this individual grade. +#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 + /// The minimum percentage of the total points needed to achieve this grade. + public float? MinPercentage + { + get { return BackingStore?.Get("minPercentage"); } + set { BackingStore?.Set("minPercentage", 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 EducationGradingSchemeGrade() + { + 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.EducationGradingSchemeGrade CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.EducationGradingSchemeGrade(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "defaultPercentage", n => { DefaultPercentage = n.GetFloatValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "minPercentage", n => { MinPercentage = n.GetFloatValue(); } }, + { "@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.WriteFloatValue("defaultPercentage", DefaultPercentage); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteFloatValue("minPercentage", MinPercentage); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index d8ca297e176..49a58207bd5 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -123,6 +123,7 @@ public Entity() "#microsoft.graph.aiInteraction" => new global::Microsoft.Graph.Models.AiInteraction(), "#microsoft.graph.aiInteractionHistory" => new global::Microsoft.Graph.Models.AiInteractionHistory(), "#microsoft.graph.aiUser" => new global::Microsoft.Graph.Models.AiUser(), + "#microsoft.graph.akamaiWebApplicationFirewallProvider" => new global::Microsoft.Graph.Models.AkamaiWebApplicationFirewallProvider(), "#microsoft.graph.alert" => new global::Microsoft.Graph.Models.Alert(), "#microsoft.graph.allowedValue" => new global::Microsoft.Graph.Models.AllowedValue(), "#microsoft.graph.androidCompliancePolicy" => new global::Microsoft.Graph.Models.AndroidCompliancePolicy(), @@ -229,6 +230,7 @@ public Entity() "#microsoft.graph.claimsMappingPolicy" => new global::Microsoft.Graph.Models.ClaimsMappingPolicy(), "#microsoft.graph.cloudClipboardItem" => new global::Microsoft.Graph.Models.CloudClipboardItem(), "#microsoft.graph.cloudClipboardRoot" => new global::Microsoft.Graph.Models.CloudClipboardRoot(), + "#microsoft.graph.cloudFlareWebApplicationFirewallProvider" => new global::Microsoft.Graph.Models.CloudFlareWebApplicationFirewallProvider(), "#microsoft.graph.cloudPC" => new global::Microsoft.Graph.Models.CloudPC(), "#microsoft.graph.cloudPcAuditEvent" => new global::Microsoft.Graph.Models.CloudPcAuditEvent(), "#microsoft.graph.cloudPcDeviceImage" => new global::Microsoft.Graph.Models.CloudPcDeviceImage(), @@ -358,6 +360,7 @@ public Entity() "#microsoft.graph.educationFeedbackOutcome" => new global::Microsoft.Graph.Models.EducationFeedbackOutcome(), "#microsoft.graph.educationFeedbackResourceOutcome" => new global::Microsoft.Graph.Models.EducationFeedbackResourceOutcome(), "#microsoft.graph.educationGradingCategory" => new global::Microsoft.Graph.Models.EducationGradingCategory(), + "#microsoft.graph.educationGradingScheme" => new global::Microsoft.Graph.Models.EducationGradingScheme(), "#microsoft.graph.educationModule" => new global::Microsoft.Graph.Models.EducationModule(), "#microsoft.graph.educationModuleResource" => new global::Microsoft.Graph.Models.EducationModuleResource(), "#microsoft.graph.educationOrganization" => new global::Microsoft.Graph.Models.EducationOrganization(), @@ -1008,6 +1011,8 @@ public Entity() "#microsoft.graph.voiceAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.VoiceAuthenticationMethodConfiguration(), "#microsoft.graph.vppToken" => new global::Microsoft.Graph.Models.VppToken(), "#microsoft.graph.webApp" => new global::Microsoft.Graph.Models.WebApp(), + "#microsoft.graph.webApplicationFirewallProvider" => new global::Microsoft.Graph.Models.WebApplicationFirewallProvider(), + "#microsoft.graph.webApplicationFirewallVerificationModel" => new global::Microsoft.Graph.Models.WebApplicationFirewallVerificationModel(), "#microsoft.graph.webPart" => new global::Microsoft.Graph.Models.WebPart(), "#microsoft.graph.whatIfAnalysisResult" => new global::Microsoft.Graph.Models.WhatIfAnalysisResult(), "#microsoft.graph.win32LobApp" => new global::Microsoft.Graph.Models.Win32LobApp(), diff --git a/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs b/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs index 16ae5922b8f..d6906dfb247 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs @@ -123,6 +123,22 @@ public partial class IdentityContainer : global::Microsoft.Graph.Models.Entity, get { return BackingStore?.Get>("identityProviders"); } set { BackingStore?.Set("identityProviders", value); } } +#endif + /// The riskPrevention property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.RiskPreventionContainer? RiskPrevention + { + get { return BackingStore?.Get("riskPrevention"); } + set { BackingStore?.Set("riskPrevention", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.RiskPreventionContainer RiskPrevention + { + get { return BackingStore?.Get("riskPrevention"); } + set { BackingStore?.Set("riskPrevention", value); } + } #endif /// Represents entry point for identity userflow attributes. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -165,6 +181,7 @@ public override IDictionary> GetFieldDeserializers() { "conditionalAccess", n => { ConditionalAccess = n.GetObjectValue(global::Microsoft.Graph.Models.ConditionalAccessRoot.CreateFromDiscriminatorValue); } }, { "customAuthenticationExtensions", n => { CustomAuthenticationExtensions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CustomAuthenticationExtension.CreateFromDiscriminatorValue)?.AsList(); } }, { "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(); } }, }; } @@ -183,6 +200,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("conditionalAccess", ConditionalAccess); writer.WriteCollectionOfObjectValues("customAuthenticationExtensions", CustomAuthenticationExtensions); writer.WriteCollectionOfObjectValues("identityProviders", IdentityProviders); + writer.WriteObjectValue("riskPrevention", RiskPrevention); writer.WriteCollectionOfObjectValues("userFlowAttributes", UserFlowAttributes); } } diff --git a/src/Microsoft.Graph/Generated/Models/IosDdmLobAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/IosDdmLobAppAssignmentSettings.cs deleted file mode 100644 index f5b8e9d98d9..00000000000 --- a/src/Microsoft.Graph/Generated/Models/IosDdmLobAppAssignmentSettings.cs +++ /dev/null @@ -1,114 +0,0 @@ -// -#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 -{ - /// - /// Contains properties used to assign an iOS iOS Declarative Device Management (DDM) Line Of Business (LOB) mobile app to a group. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class IosDdmLobAppAssignmentSettings : global::Microsoft.Graph.Models.MobileAppAssignmentSettings, IParsable - { - /// Domain names to associate with the app -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? AssociatedDomains - { - get { return BackingStore?.Get?>("associatedDomains"); } - set { BackingStore?.Set("associatedDomains", value); } - } -#nullable restore -#else - public List AssociatedDomains - { - get { return BackingStore?.Get>("associatedDomains"); } - set { BackingStore?.Set("associatedDomains", value); } - } -#endif - /// When true, the system allows direct downloads for the AssociatedDomains. When false, the system will not allow direct downloads for the AssociatedDomains. Default is false. - public bool? AssociatedDomainsDirectDownloadAllowed - { - get { return BackingStore?.Get("associatedDomainsDirectDownloadAllowed"); } - set { BackingStore?.Set("associatedDomainsDirectDownloadAllowed", value); } - } - /// When true, indicates that the app should not be backed up to iCloud. When false, indicates that the app may be backed up to iCloud. Default is false. - public bool? PreventManagedAppBackup - { - get { return BackingStore?.Get("preventManagedAppBackup"); } - set { BackingStore?.Set("preventManagedAppBackup", value); } - } - /// When true, the device locks its screen after every transaction that requires a customer’s card PIN. When false, the user can choose the behavior. Default value is false. - public bool? TapToPayScreenLockEnabled - { - get { return BackingStore?.Get("tapToPayScreenLockEnabled"); } - set { BackingStore?.Set("tapToPayScreenLockEnabled", value); } - } - /// The unique identifier of the relay to associate with the app. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? VpnConfigurationId - { - get { return BackingStore?.Get("vpnConfigurationId"); } - set { BackingStore?.Set("vpnConfigurationId", value); } - } -#nullable restore -#else - public string VpnConfigurationId - { - get { return BackingStore?.Get("vpnConfigurationId"); } - set { BackingStore?.Set("vpnConfigurationId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public IosDdmLobAppAssignmentSettings() : base() - { - OdataType = "#microsoft.graph.iosDdmLobAppAssignmentSettings"; - } - /// - /// 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.IosDdmLobAppAssignmentSettings CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Models.IosDdmLobAppAssignmentSettings(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "associatedDomains", n => { AssociatedDomains = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "associatedDomainsDirectDownloadAllowed", n => { AssociatedDomainsDirectDownloadAllowed = n.GetBoolValue(); } }, - { "preventManagedAppBackup", n => { PreventManagedAppBackup = n.GetBoolValue(); } }, - { "tapToPayScreenLockEnabled", n => { TapToPayScreenLockEnabled = n.GetBoolValue(); } }, - { "vpnConfigurationId", n => { VpnConfigurationId = 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.WriteCollectionOfPrimitiveValues("associatedDomains", AssociatedDomains); - writer.WriteBoolValue("associatedDomainsDirectDownloadAllowed", AssociatedDomainsDirectDownloadAllowed); - writer.WriteBoolValue("preventManagedAppBackup", PreventManagedAppBackup); - writer.WriteBoolValue("tapToPayScreenLockEnabled", TapToPayScreenLockEnabled); - writer.WriteStringValue("vpnConfigurationId", VpnConfigurationId); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Message.cs b/src/Microsoft.Graph/Generated/Models/Message.cs index 70565bcf412..bc95b0cccee 100644 --- a/src/Microsoft.Graph/Generated/Models/Message.cs +++ b/src/Microsoft.Graph/Generated/Models/Message.cs @@ -386,7 +386,7 @@ public string Subject set { BackingStore?.Set("uniqueBody", value); } } #endif - /// The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, the browser shows the message in the Outlook on the web review pane.The message opens in the browser if you are signed in to your mailbox via Outlook on the web. You are prompted to sign in if you are not already signed in with the browser.This URL cannot be accessed from within an iFrame. + /// The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, the browser shows the message in the Outlook on the web review pane.The message opens in the browser if you are signed in to your mailbox via Outlook on the web. You are prompted to sign in if you are not already signed in with the browser.This URL cannot be accessed from within an iFrame.NOTE: When using this URL to access a message from a mailbox with delegate permissions, both the signed-in user and the target mailbox must be in the same database region. For example, an error is returned when a user with a mailbox in the EUR (Europe) region attempts to access messages from a mailbox in the NAM (North America) region. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? WebLink diff --git a/src/Microsoft.Graph/Generated/Models/MobileAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/MobileAppAssignmentSettings.cs index 6ebd5911f7a..64220c7fc39 100644 --- a/src/Microsoft.Graph/Generated/Models/MobileAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/MobileAppAssignmentSettings.cs @@ -57,7 +57,6 @@ public MobileAppAssignmentSettings() var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { - "#microsoft.graph.iosDdmLobAppAssignmentSettings" => new global::Microsoft.Graph.Models.IosDdmLobAppAssignmentSettings(), "#microsoft.graph.iosLobAppAssignmentSettings" => new global::Microsoft.Graph.Models.IosLobAppAssignmentSettings(), "#microsoft.graph.iosStoreAppAssignmentSettings" => new global::Microsoft.Graph.Models.IosStoreAppAssignmentSettings(), "#microsoft.graph.iosVppAppAssignmentSettings" => new global::Microsoft.Graph.Models.IosVppAppAssignmentSettings(), diff --git a/src/Microsoft.Graph/Generated/Models/RiskPreventionContainer.cs b/src/Microsoft.Graph/Generated/Models/RiskPreventionContainer.cs new file mode 100644 index 00000000000..8a3ad303397 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RiskPreventionContainer.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 RiskPreventionContainer : 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 webApplicationFirewallProviders property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? WebApplicationFirewallProviders + { + get { return BackingStore?.Get?>("webApplicationFirewallProviders"); } + set { BackingStore?.Set("webApplicationFirewallProviders", value); } + } +#nullable restore +#else + public List WebApplicationFirewallProviders + { + get { return BackingStore?.Get>("webApplicationFirewallProviders"); } + set { BackingStore?.Set("webApplicationFirewallProviders", value); } + } +#endif + /// The webApplicationFirewallVerifications property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? WebApplicationFirewallVerifications + { + get { return BackingStore?.Get?>("webApplicationFirewallVerifications"); } + set { BackingStore?.Set("webApplicationFirewallVerifications", value); } + } +#nullable restore +#else + public List WebApplicationFirewallVerifications + { + get { return BackingStore?.Get>("webApplicationFirewallVerifications"); } + set { BackingStore?.Set("webApplicationFirewallVerifications", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RiskPreventionContainer() + { + 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.RiskPreventionContainer CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.RiskPreventionContainer(); + } + /// + /// 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(); } }, + { "webApplicationFirewallProviders", n => { WebApplicationFirewallProviders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.WebApplicationFirewallProvider.CreateFromDiscriminatorValue)?.AsList(); } }, + { "webApplicationFirewallVerifications", n => { WebApplicationFirewallVerifications = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.WebApplicationFirewallVerificationModel.CreateFromDiscriminatorValue)?.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.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("webApplicationFirewallProviders", WebApplicationFirewallProviders); + writer.WriteCollectionOfObjectValues("webApplicationFirewallVerifications", WebApplicationFirewallVerifications); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Alert.cs b/src/Microsoft.Graph/Generated/Models/Security/Alert.cs index 364fe79dd4b..60be94ba649 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/Alert.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/Alert.cs @@ -250,6 +250,12 @@ public string IncidentWebUrl set { BackingStore?.Set("incidentWebUrl", value); } } #endif + /// Information on the current status of the investigation. Possible values are: unknown, terminated, successfullyRemediated, benign, failed, partiallyRemediated, running, pendingApproval, pendingResource, queued, innerFailure, preexistingAlert, unsupportedOs, unsupportedAlertType, suppressedAlert, partiallyInvestigated, terminatedByUser, terminatedBySystem, unknownFutureValue. + public global::Microsoft.Graph.Models.Security.InvestigationState? InvestigationState + { + get { return BackingStore?.Get("investigationState"); } + set { BackingStore?.Set("investigationState", value); } + } /// The oldest activity associated with the alert. public DateTimeOffset? LastActivityDateTime { @@ -466,6 +472,7 @@ public override IDictionary> GetFieldDeserializers() { "firstActivityDateTime", n => { FirstActivityDateTime = n.GetDateTimeOffsetValue(); } }, { "incidentId", n => { IncidentId = n.GetStringValue(); } }, { "incidentWebUrl", n => { IncidentWebUrl = n.GetStringValue(); } }, + { "investigationState", n => { InvestigationState = n.GetEnumValue(); } }, { "lastActivityDateTime", n => { LastActivityDateTime = n.GetDateTimeOffsetValue(); } }, { "lastUpdateDateTime", n => { LastUpdateDateTime = n.GetDateTimeOffsetValue(); } }, { "mitreTechniques", n => { MitreTechniques = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, @@ -509,6 +516,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteDateTimeOffsetValue("firstActivityDateTime", FirstActivityDateTime); writer.WriteStringValue("incidentId", IncidentId); writer.WriteStringValue("incidentWebUrl", IncidentWebUrl); + writer.WriteEnumValue("investigationState", InvestigationState); writer.WriteDateTimeOffsetValue("lastActivityDateTime", LastActivityDateTime); writer.WriteDateTimeOffsetValue("lastUpdateDateTime", LastUpdateDateTime); writer.WriteCollectionOfPrimitiveValues("mitreTechniques", MitreTechniques); diff --git a/src/Microsoft.Graph/Generated/Models/Security/InvestigationState.cs b/src/Microsoft.Graph/Generated/Models/Security/InvestigationState.cs new file mode 100644 index 00000000000..c76c24bf130 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/InvestigationState.cs @@ -0,0 +1,88 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum InvestigationState + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "terminated")] + #pragma warning disable CS1591 + Terminated, + #pragma warning restore CS1591 + [EnumMember(Value = "successfullyRemediated")] + #pragma warning disable CS1591 + SuccessfullyRemediated, + #pragma warning restore CS1591 + [EnumMember(Value = "benign")] + #pragma warning disable CS1591 + Benign, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "partiallyRemediated")] + #pragma warning disable CS1591 + PartiallyRemediated, + #pragma warning restore CS1591 + [EnumMember(Value = "running")] + #pragma warning disable CS1591 + Running, + #pragma warning restore CS1591 + [EnumMember(Value = "pendingApproval")] + #pragma warning disable CS1591 + PendingApproval, + #pragma warning restore CS1591 + [EnumMember(Value = "pendingResource")] + #pragma warning disable CS1591 + PendingResource, + #pragma warning restore CS1591 + [EnumMember(Value = "queued")] + #pragma warning disable CS1591 + Queued, + #pragma warning restore CS1591 + [EnumMember(Value = "innerFailure")] + #pragma warning disable CS1591 + InnerFailure, + #pragma warning restore CS1591 + [EnumMember(Value = "preexistingAlert")] + #pragma warning disable CS1591 + PreexistingAlert, + #pragma warning restore CS1591 + [EnumMember(Value = "unsupportedOs")] + #pragma warning disable CS1591 + UnsupportedOs, + #pragma warning restore CS1591 + [EnumMember(Value = "unsupportedAlertType")] + #pragma warning disable CS1591 + UnsupportedAlertType, + #pragma warning restore CS1591 + [EnumMember(Value = "suppressedAlert")] + #pragma warning disable CS1591 + SuppressedAlert, + #pragma warning restore CS1591 + [EnumMember(Value = "partiallyInvestigated")] + #pragma warning disable CS1591 + PartiallyInvestigated, + #pragma warning restore CS1591 + [EnumMember(Value = "terminatedByUser")] + #pragma warning disable CS1591 + TerminatedByUser, + #pragma warning restore CS1591 + [EnumMember(Value = "terminatedBySystem")] + #pragma warning disable CS1591 + TerminatedBySystem, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index 30250db83ca..d1a4b807921 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -296,6 +296,22 @@ public string City get { return BackingStore?.Get("cloudClipboard"); } set { BackingStore?.Set("cloudClipboard", value); } } +#endif + /// The user's Cloud PCs. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CloudPCs + { + get { return BackingStore?.Get?>("cloudPCs"); } + set { BackingStore?.Set("cloudPCs", value); } + } +#nullable restore +#else + public List CloudPCs + { + get { return BackingStore?.Get>("cloudPCs"); } + set { BackingStore?.Set("cloudPCs", value); } + } #endif /// The name of the company that the user is associated with. This property can be useful for describing the company that a guest comes from. The maximum length is 64 characters.Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -1987,6 +2003,7 @@ public override IDictionary> GetFieldDeserializers() { "chats", n => { Chats = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue)?.AsList(); } }, { "city", n => { City = n.GetStringValue(); } }, { "cloudClipboard", n => { CloudClipboard = n.GetObjectValue(global::Microsoft.Graph.Models.CloudClipboardRoot.CreateFromDiscriminatorValue); } }, + { "cloudPCs", n => { CloudPCs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CloudPC.CreateFromDiscriminatorValue)?.AsList(); } }, { "companyName", n => { CompanyName = n.GetStringValue(); } }, { "consentProvidedForMinor", n => { ConsentProvidedForMinor = n.GetStringValue(); } }, { "contactFolders", n => { ContactFolders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ContactFolder.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -2127,6 +2144,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("chats", Chats); writer.WriteStringValue("city", City); writer.WriteObjectValue("cloudClipboard", CloudClipboard); + writer.WriteCollectionOfObjectValues("cloudPCs", CloudPCs); writer.WriteStringValue("companyName", CompanyName); writer.WriteStringValue("consentProvidedForMinor", ConsentProvidedForMinor); writer.WriteCollectionOfObjectValues("contactFolders", ContactFolders); diff --git a/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallDnsConfiguration.cs b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallDnsConfiguration.cs new file mode 100644 index 00000000000..3a5e9c26d0d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallDnsConfiguration.cs @@ -0,0 +1,141 @@ +// +#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 WebApplicationFirewallDnsConfiguration : 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 isDomainVerified property + public bool? IsDomainVerified + { + get { return BackingStore?.Get("isDomainVerified"); } + set { BackingStore?.Set("isDomainVerified", value); } + } + /// The isProxied property + public bool? IsProxied + { + get { return BackingStore?.Get("isProxied"); } + set { BackingStore?.Set("isProxied", value); } + } + /// The name property +#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 recordType property + public global::Microsoft.Graph.Models.WebApplicationFirewallDnsRecordType? RecordType + { + get { return BackingStore?.Get("recordType"); } + set { BackingStore?.Set("recordType", value); } + } + /// The value property +#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 WebApplicationFirewallDnsConfiguration() + { + 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.WebApplicationFirewallDnsConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebApplicationFirewallDnsConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isDomainVerified", n => { IsDomainVerified = n.GetBoolValue(); } }, + { "isProxied", n => { IsProxied = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "recordType", n => { RecordType = n.GetEnumValue(); } }, + { "value", n => { Value = 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("isDomainVerified", IsDomainVerified); + writer.WriteBoolValue("isProxied", IsProxied); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("recordType", RecordType); + writer.WriteStringValue("value", Value); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallDnsRecordType.cs b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallDnsRecordType.cs new file mode 100644 index 00000000000..02924022e96 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallDnsRecordType.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 WebApplicationFirewallDnsRecordType + #pragma warning restore CS1591 + { + [EnumMember(Value = "cname")] + #pragma warning disable CS1591 + Cname, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallProvider.cs b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallProvider.cs new file mode 100644 index 00000000000..b0b948d8051 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallProvider.cs @@ -0,0 +1,70 @@ +// +#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 WebApplicationFirewallProvider : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The displayName property +#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 + /// + /// 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.WebApplicationFirewallProvider CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.akamaiWebApplicationFirewallProvider" => new global::Microsoft.Graph.Models.AkamaiWebApplicationFirewallProvider(), + "#microsoft.graph.cloudFlareWebApplicationFirewallProvider" => new global::Microsoft.Graph.Models.CloudFlareWebApplicationFirewallProvider(), + _ => new global::Microsoft.Graph.Models.WebApplicationFirewallProvider(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "displayName", n => { DisplayName = 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("displayName", DisplayName); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallProviderCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallProviderCollectionResponse.cs new file mode 100644 index 00000000000..994a7b3974a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallProviderCollectionResponse.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 WebApplicationFirewallProviderCollectionResponse : 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.WebApplicationFirewallProviderCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebApplicationFirewallProviderCollectionResponse(); + } + /// + /// 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.WebApplicationFirewallProvider.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/WebApplicationFirewallProviderType.cs b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallProviderType.cs new file mode 100644 index 00000000000..be25100a5e1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallProviderType.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 WebApplicationFirewallProviderType + #pragma warning restore CS1591 + { + [EnumMember(Value = "akamai")] + #pragma warning disable CS1591 + Akamai, + #pragma warning restore CS1591 + [EnumMember(Value = "cloudflare")] + #pragma warning disable CS1591 + Cloudflare, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationModel.cs b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationModel.cs new file mode 100644 index 00000000000..b7cc787c58d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationModel.cs @@ -0,0 +1,126 @@ +// +#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 WebApplicationFirewallVerificationModel : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The provider property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebApplicationFirewallProvider? Provider + { + get { return BackingStore?.Get("provider"); } + set { BackingStore?.Set("provider", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebApplicationFirewallProvider Provider + { + get { return BackingStore?.Get("provider"); } + set { BackingStore?.Set("provider", value); } + } +#endif + /// The providerType property + public global::Microsoft.Graph.Models.WebApplicationFirewallProviderType? ProviderType + { + get { return BackingStore?.Get("providerType"); } + set { BackingStore?.Set("providerType", value); } + } + /// The verificationResult property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebApplicationFirewallVerificationResult? VerificationResult + { + get { return BackingStore?.Get("verificationResult"); } + set { BackingStore?.Set("verificationResult", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebApplicationFirewallVerificationResult VerificationResult + { + get { return BackingStore?.Get("verificationResult"); } + set { BackingStore?.Set("verificationResult", value); } + } +#endif + /// The verifiedDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebApplicationFirewallVerifiedDetails? VerifiedDetails + { + get { return BackingStore?.Get("verifiedDetails"); } + set { BackingStore?.Set("verifiedDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebApplicationFirewallVerifiedDetails VerifiedDetails + { + get { return BackingStore?.Get("verifiedDetails"); } + set { BackingStore?.Set("verifiedDetails", value); } + } +#endif + /// The verifiedHost property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? VerifiedHost + { + get { return BackingStore?.Get("verifiedHost"); } + set { BackingStore?.Set("verifiedHost", value); } + } +#nullable restore +#else + public string VerifiedHost + { + get { return BackingStore?.Get("verifiedHost"); } + set { BackingStore?.Set("verifiedHost", 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.WebApplicationFirewallVerificationModel CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebApplicationFirewallVerificationModel(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "provider", n => { Provider = n.GetObjectValue(global::Microsoft.Graph.Models.WebApplicationFirewallProvider.CreateFromDiscriminatorValue); } }, + { "providerType", n => { ProviderType = n.GetEnumValue(); } }, + { "verificationResult", n => { VerificationResult = n.GetObjectValue(global::Microsoft.Graph.Models.WebApplicationFirewallVerificationResult.CreateFromDiscriminatorValue); } }, + { "verifiedDetails", n => { VerifiedDetails = n.GetObjectValue(global::Microsoft.Graph.Models.WebApplicationFirewallVerifiedDetails.CreateFromDiscriminatorValue); } }, + { "verifiedHost", n => { VerifiedHost = 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.WriteObjectValue("provider", Provider); + writer.WriteEnumValue("providerType", ProviderType); + writer.WriteObjectValue("verificationResult", VerificationResult); + writer.WriteObjectValue("verifiedDetails", VerifiedDetails); + writer.WriteStringValue("verifiedHost", VerifiedHost); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationModelCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationModelCollectionResponse.cs new file mode 100644 index 00000000000..30eda2815bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationModelCollectionResponse.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 WebApplicationFirewallVerificationModelCollectionResponse : 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.WebApplicationFirewallVerificationModelCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebApplicationFirewallVerificationModelCollectionResponse(); + } + /// + /// 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.WebApplicationFirewallVerificationModel.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/WebApplicationFirewallVerificationResult.cs b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationResult.cs new file mode 100644 index 00000000000..be7300ebc4a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationResult.cs @@ -0,0 +1,133 @@ +// +#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 WebApplicationFirewallVerificationResult : 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 errors property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Errors + { + get { return BackingStore?.Get?>("errors"); } + set { BackingStore?.Set("errors", value); } + } +#nullable restore +#else + public List Errors + { + get { return BackingStore?.Get>("errors"); } + set { BackingStore?.Set("errors", 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 status property + public global::Microsoft.Graph.Models.WebApplicationFirewallVerificationStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// The verifiedOnDateTime property + public DateTimeOffset? VerifiedOnDateTime + { + get { return BackingStore?.Get("verifiedOnDateTime"); } + set { BackingStore?.Set("verifiedOnDateTime", value); } + } + /// The warnings property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Warnings + { + get { return BackingStore?.Get?>("warnings"); } + set { BackingStore?.Set("warnings", value); } + } +#nullable restore +#else + public List Warnings + { + get { return BackingStore?.Get>("warnings"); } + set { BackingStore?.Set("warnings", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebApplicationFirewallVerificationResult() + { + 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.WebApplicationFirewallVerificationResult CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebApplicationFirewallVerificationResult(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "errors", n => { Errors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.GenericError.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "verifiedOnDateTime", n => { VerifiedOnDateTime = n.GetDateTimeOffsetValue(); } }, + { "warnings", n => { Warnings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.GenericError.CreateFromDiscriminatorValue)?.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.WriteCollectionOfObjectValues("errors", Errors); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("status", Status); + writer.WriteDateTimeOffsetValue("verifiedOnDateTime", VerifiedOnDateTime); + writer.WriteCollectionOfObjectValues("warnings", Warnings); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationStatus.cs b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationStatus.cs new file mode 100644 index 00000000000..2a4f42e2401 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerificationStatus.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 WebApplicationFirewallVerificationStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "success")] + #pragma warning disable CS1591 + Success, + #pragma warning restore CS1591 + [EnumMember(Value = "warning")] + #pragma warning disable CS1591 + Warning, + #pragma warning restore CS1591 + [EnumMember(Value = "failure")] + #pragma warning disable CS1591 + Failure, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerifiedDetails.cs b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerifiedDetails.cs new file mode 100644 index 00000000000..8854a41755e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebApplicationFirewallVerifiedDetails.cs @@ -0,0 +1,105 @@ +// +#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 WebApplicationFirewallVerifiedDetails : 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 dnsConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebApplicationFirewallDnsConfiguration? DnsConfiguration + { + get { return BackingStore?.Get("dnsConfiguration"); } + set { BackingStore?.Set("dnsConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebApplicationFirewallDnsConfiguration DnsConfiguration + { + get { return BackingStore?.Get("dnsConfiguration"); } + set { BackingStore?.Set("dnsConfiguration", 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 WebApplicationFirewallVerifiedDetails() + { + 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.WebApplicationFirewallVerifiedDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.akamaiVerifiedDetailsModel" => new global::Microsoft.Graph.Models.AkamaiVerifiedDetailsModel(), + "#microsoft.graph.cloudFlareVerifiedDetailsModel" => new global::Microsoft.Graph.Models.CloudFlareVerifiedDetailsModel(), + _ => new global::Microsoft.Graph.Models.WebApplicationFirewallVerifiedDetails(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "dnsConfiguration", n => { DnsConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.WebApplicationFirewallDnsConfiguration.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("dnsConfiguration", DnsConfiguration); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/PlacesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/PlacesRequestBuilder.cs index aa9e0ae7c68..f3cf7c24f1e 100644 --- a/src/Microsoft.Graph/Generated/Places/PlacesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/PlacesRequestBuilder.cs @@ -1,19 +1,23 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; using Microsoft.Graph.Places.Count; using Microsoft.Graph.Places.GraphRoom; using Microsoft.Graph.Places.GraphRoomList; using Microsoft.Graph.Places.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.Places { /// - /// Builds and executes requests for operations under \places + /// Provides operations to manage the collection of place entities. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlacesRequestBuilder : BaseRequestBuilder @@ -61,6 +65,70 @@ public PlacesRequestBuilder(Dictionary pathParameters, IRequestA public PlacesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places", rawUrl) { } + /// + /// Add new entity to places + /// + /// 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.Place body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.Place 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.Place.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add new entity to places + /// + /// 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.Place body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Place 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.Places.PlacesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.PlacesRequestBuilder(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 PlacesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } } } #pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index f10ac6865fd..c0e50e79762 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -34,7 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index c909930fa89..52f9fc9c7d3 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -34,7 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index 6008690b9e5..7a4eda49b1b 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -34,7 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/CloudPCsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/CloudPCsRequestBuilder.cs new file mode 100644 index 00000000000..c83e44c63d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/CloudPCsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.CloudPCs.Count; +using Microsoft.Graph.Users.Item.CloudPCs.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.CloudPCs +{ + /// + /// Provides operations to manage the cloudPCs property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPCsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.CloudPCs.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.CloudPCs.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the cloudPCs property of the microsoft.graph.user entity. + /// The unique identifier of cloudPC + /// A + public global::Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("cloudPC%2Did", position); + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder(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 CloudPCsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs{?%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 CloudPCsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The user's Cloud PCs. 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.CloudPCCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to cloudPCs 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.CloudPC body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CloudPC 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.CloudPC.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user's Cloud PCs. 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; + } + /// + /// Create new navigation property to cloudPCs 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.CloudPC body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CloudPC 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.CloudPCs.CloudPCsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.CloudPCs.CloudPCsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user's Cloud PCs. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPCsRequestBuilderGetQueryParameters + { + /// 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 CloudPCsRequestBuilderGetRequestConfiguration : 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 CloudPCsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..400ae5640be --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/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.CloudPCs.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}/cloudPCs/$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}/cloudPCs/$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.CloudPCs.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.CloudPCs.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/CloudPCs/Item/CloudPCItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.cs new file mode 100644 index 00000000000..b594c734961 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.cs @@ -0,0 +1,265 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod; +using Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot; +using Microsoft.Graph.Users.Item.CloudPCs.Item.Rename; +using Microsoft.Graph.Users.Item.CloudPCs.Item.Resize; +using Microsoft.Graph.Users.Item.CloudPCs.Item.Restore; +using Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot; +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.CloudPCs.Item +{ + /// + /// Provides operations to manage the cloudPCs property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPCItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the endGracePeriod method. + public global::Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder EndGracePeriod + { + get => new global::Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the reboot method. + public global::Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot.RebootRequestBuilder Reboot + { + get => new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot.RebootRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the rename method. + public global::Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenameRequestBuilder Rename + { + get => new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenameRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the resize method. + public global::Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.ResizeRequestBuilder Resize + { + get => new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.ResizeRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the troubleshoot method. + public global::Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder Troubleshoot + { + get => new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder(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 CloudPCItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%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 CloudPCItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property cloudPCs 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); + } + /// + /// The user's Cloud PCs. 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.CloudPC.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property cloudPCs 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.CloudPC body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CloudPC 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.CloudPC.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property cloudPCs 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; + } + /// + /// The user's Cloud PCs. 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; + } + /// + /// Update the navigation property cloudPCs 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.CloudPC body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CloudPC 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.CloudPCs.Item.CloudPCItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder(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 CloudPCItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The user's Cloud PCs. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPCItemRequestBuilderGetQueryParameters + { + /// 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 CloudPCItemRequestBuilderGetRequestConfiguration : 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 CloudPCItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.cs new file mode 100644 index 00000000000..6e01753c8b4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.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.CloudPCs.Item.EndGracePeriod +{ + /// + /// Provides operations to call the endGracePeriod method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EndGracePeriodRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EndGracePeriodRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/endGracePeriod", 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 EndGracePeriodRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/endGracePeriod", rawUrl) + { + } + /// + /// End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. + /// 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); + } + /// + /// End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. + /// + /// 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.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder(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 EndGracePeriodRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Reboot/RebootRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Reboot/RebootRequestBuilder.cs new file mode 100644 index 00000000000..459ba398cc5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Reboot/RebootRequestBuilder.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.CloudPCs.Item.Reboot +{ + /// + /// Provides operations to call the reboot method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RebootRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RebootRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/reboot", 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 RebootRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/reboot", rawUrl) + { + } + /// + /// Reboot a specific cloudPC 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 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); + } + /// + /// Reboot a specific cloudPC 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 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.CloudPCs.Item.Reboot.RebootRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot.RebootRequestBuilder(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 RebootRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Rename/RenamePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Rename/RenamePostRequestBody.cs new file mode 100644 index 00000000000..8b881762a3b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Rename/RenamePostRequestBody.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.CloudPCs.Item.Rename +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RenamePostRequestBody : 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 displayName property +#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 + /// + /// Instantiates a new and sets the default values. + /// + public RenamePostRequestBody() + { + 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.CloudPCs.Item.Rename.RenamePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenamePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = 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.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Rename/RenameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Rename/RenameRequestBuilder.cs new file mode 100644 index 00000000000..aea06964800 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Rename/RenameRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.CloudPCs.Item.Rename +{ + /// + /// Provides operations to call the rename method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RenameRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RenameRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/rename", 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 RenameRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/rename", rawUrl) + { + } + /// + /// Rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity. + /// Find more info here + /// + /// 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.CloudPCs.Item.Rename.RenamePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenamePostRequestBody 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); + } + /// + /// Rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity. + /// + /// 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.CloudPCs.Item.Rename.RenamePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenamePostRequestBody 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.CloudPCs.Item.Rename.RenameRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenameRequestBuilder(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 RenameRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Resize/ResizePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Resize/ResizePostRequestBody.cs new file mode 100644 index 00000000000..0c5b5faf147 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Resize/ResizePostRequestBody.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.CloudPCs.Item.Resize +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ResizePostRequestBody : 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 targetServicePlanId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TargetServicePlanId + { + get { return BackingStore?.Get("targetServicePlanId"); } + set { BackingStore?.Set("targetServicePlanId", value); } + } +#nullable restore +#else + public string TargetServicePlanId + { + get { return BackingStore?.Get("targetServicePlanId"); } + set { BackingStore?.Set("targetServicePlanId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ResizePostRequestBody() + { + 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.CloudPCs.Item.Resize.ResizePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.ResizePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "targetServicePlanId", n => { TargetServicePlanId = 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("targetServicePlanId", TargetServicePlanId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Resize/ResizeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Resize/ResizeRequestBuilder.cs new file mode 100644 index 00000000000..3b8787b2d16 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Resize/ResizeRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.CloudPCs.Item.Resize +{ + /// + /// Provides operations to call the resize method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ResizeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ResizeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/resize", 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 ResizeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/resize", rawUrl) + { + } + /// + /// Upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. + /// Find more info here + /// + /// 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.CloudPCs.Item.Resize.ResizePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.ResizePostRequestBody 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); + } + /// + /// Upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. + /// + /// 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.CloudPCs.Item.Resize.ResizePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.ResizePostRequestBody 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.CloudPCs.Item.Resize.ResizeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.ResizeRequestBuilder(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 ResizeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..ac40866ce34 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Restore/RestorePostRequestBody.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.CloudPCs.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : 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 cloudPcSnapshotId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CloudPcSnapshotId + { + get { return BackingStore?.Get("cloudPcSnapshotId"); } + set { BackingStore?.Set("cloudPcSnapshotId", value); } + } +#nullable restore +#else + public string CloudPcSnapshotId + { + get { return BackingStore?.Get("cloudPcSnapshotId"); } + set { BackingStore?.Set("cloudPcSnapshotId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + 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.CloudPCs.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "cloudPcSnapshotId", n => { CloudPcSnapshotId = 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("cloudPcSnapshotId", CloudPcSnapshotId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..47f63d0b287 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.CloudPCs.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/restore", 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 RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/restore", rawUrl) + { + } + /// + /// Restore a specific cloudPC object to a previous state from a snapshot. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. + /// Find more info here + /// + /// 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.CloudPCs.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestorePostRequestBody 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); + } + /// + /// Restore a specific cloudPC object to a previous state from a snapshot. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. + /// + /// 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.CloudPCs.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestorePostRequestBody 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.CloudPCs.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestoreRequestBuilder(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 RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.cs new file mode 100644 index 00000000000..ca0f3cee0d3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.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.CloudPCs.Item.Troubleshoot +{ + /// + /// Provides operations to call the troubleshoot method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TroubleshootRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TroubleshootRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/troubleshoot", 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 TroubleshootRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/troubleshoot", rawUrl) + { + } + /// + /// Troubleshoot a specific cloudPC object. Use this API to check the health status of the Cloud PC and the session host. + /// 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); + } + /// + /// Troubleshoot a specific cloudPC object. Use this API to check the health status of the Cloud PC and the session host. + /// + /// 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.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder(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 TroubleshootRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index 4128a297eae..6eb9f2e70e6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -34,7 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index 4e5ee8b0d6c..0ae9cf9b2b6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -34,7 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Determine whether a user has access to a shared channel. + /// Determine whether a user has access to a channel. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs index c91c07f839f..7cdb0fd3950 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs @@ -16,6 +16,7 @@ using Microsoft.Graph.Users.Item.CheckMemberGroups; using Microsoft.Graph.Users.Item.CheckMemberObjects; using Microsoft.Graph.Users.Item.CloudClipboard; +using Microsoft.Graph.Users.Item.CloudPCs; using Microsoft.Graph.Users.Item.ContactFolders; using Microsoft.Graph.Users.Item.Contacts; using Microsoft.Graph.Users.Item.CreatedObjects; @@ -165,6 +166,11 @@ public partial class UserItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.CloudClipboard.CloudClipboardRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the cloudPCs property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Users.Item.CloudPCs.CloudPCsRequestBuilder CloudPCs + { + get => new global::Microsoft.Graph.Users.Item.CloudPCs.CloudPCsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the contactFolders property of the microsoft.graph.user entity. public global::Microsoft.Graph.Users.Item.ContactFolders.ContactFoldersRequestBuilder ContactFolders { diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 5dae3eec7e2..acf73bef703 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -42524,6 +42524,7 @@ Microsoft.Graph.Education.Classes.Item.Assignments.Item.EducationAssignmentItemR Microsoft.Graph.Education.Classes.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Education.Classes.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationAssignment Microsoft.Graph.Education.Classes.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|gradingCategory:global.Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingCategory.GradingCategoryRequestBuilder +Microsoft.Graph.Education.Classes.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|gradingScheme:global.Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder Microsoft.Graph.Education.Classes.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.EducationAssignment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationAssignment Microsoft.Graph.Education.Classes.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|publish:global.Microsoft.Graph.Education.Classes.Item.Assignments.Item.Publish.PublishRequestBuilder Microsoft.Graph.Education.Classes.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|resources:global.Microsoft.Graph.Education.Classes.Item.Assignments.Item.Resources.ResourcesRequestBuilder @@ -42544,6 +42545,15 @@ Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingCategory.gradingC Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingCategory.gradingCategoryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationGradingCategory Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingCategory.gradingCategoryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingCategory.gradingCategoryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingCategory.GradingCategoryRequestBuilder +Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder.gradingSchemeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder.gradingSchemeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder.gradingSchemeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationGradingScheme +Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Education.Classes.Item.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder Microsoft.Graph.Education.Classes.Item.Assignments.Item.Publish.publishRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Education.Classes.Item.Assignments.Item.Publish.publishRequestBuilder.publishRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Education.Classes.Item.Assignments.Item.Publish.publishRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -43008,14 +43018,25 @@ Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequ Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequestBuilder.assignmentSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequestBuilder::|public|defaultGradingScheme:global.Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.DefaultGradingSchemeRequestBuilder Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationAssignmentSettings Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequestBuilder::|public|gradingCategories:global.Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingCategories.GradingCategoriesRequestBuilder +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequestBuilder::|public|gradingSchemes:global.Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.GradingSchemesRequestBuilder Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.EducationAssignmentSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationAssignmentSettings Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.EducationAssignmentSettings; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Education.Classes.Item.AssignmentSettings.assignmentSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Education.Classes.Item.AssignmentSettings.AssignmentSettingsRequestBuilder +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.defaultGradingSchemeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.defaultGradingSchemeRequestBuilder.defaultGradingSchemeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.defaultGradingSchemeRequestBuilder.defaultGradingSchemeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.defaultGradingSchemeRequestBuilder.defaultGradingSchemeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.defaultGradingSchemeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.defaultGradingSchemeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.defaultGradingSchemeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationGradingScheme +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.defaultGradingSchemeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.defaultGradingSchemeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Education.Classes.Item.AssignmentSettings.DefaultGradingScheme.DefaultGradingSchemeRequestBuilder Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingCategories.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingCategories.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingCategories.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -43060,6 +43081,50 @@ Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingCategories.Item Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingCategories.Item.EducationGradingCategoryItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingCategories.Item.EducationGradingCategoryItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.EducationGradingCategory; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingCategories.Item.EducationGradingCategoryItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingCategories.Item.EducationGradingCategoryItemRequestBuilder +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder.gradingSchemesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder.gradingSchemesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder.gradingSchemesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder.gradingSchemesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder.gradingSchemesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder.gradingSchemesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder.gradingSchemesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder.gradingSchemesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder.gradingSchemesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder.gradingSchemesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder::[EducationGradingSchemeId:string]:global.Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder::|public|Count:global.Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Count.CountRequestBuilder +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationGradingSchemeCollectionResponse +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.EducationGradingScheme; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationGradingScheme +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.EducationGradingScheme; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.gradingSchemesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.GradingSchemesRequestBuilder +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder.EducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder.EducationGradingSchemeItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder.EducationGradingSchemeItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder.EducationGradingSchemeItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder.EducationGradingSchemeItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationGradingScheme +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.EducationGradingScheme; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationGradingScheme +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.EducationGradingScheme; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Education.Classes.Item.AssignmentSettings.GradingSchemes.Item.EducationGradingSchemeItemRequestBuilder Microsoft.Graph.Education.Classes.Item.EducationClassItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Education.Classes.Item.EducationClassItemRequestBuilder.EducationClassItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Education.Classes.Item.EducationClassItemRequestBuilder.EducationClassItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -43598,6 +43663,7 @@ Microsoft.Graph.Education.Me.Assignments.Item.EducationAssignmentItemRequestBuil Microsoft.Graph.Education.Me.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Education.Me.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationAssignment Microsoft.Graph.Education.Me.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|gradingCategory:global.Microsoft.Graph.Education.Me.Assignments.Item.GradingCategory.GradingCategoryRequestBuilder +Microsoft.Graph.Education.Me.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|gradingScheme:global.Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder Microsoft.Graph.Education.Me.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.EducationAssignment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationAssignment Microsoft.Graph.Education.Me.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|publish:global.Microsoft.Graph.Education.Me.Assignments.Item.Publish.PublishRequestBuilder Microsoft.Graph.Education.Me.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|resources:global.Microsoft.Graph.Education.Me.Assignments.Item.Resources.ResourcesRequestBuilder @@ -43618,6 +43684,15 @@ Microsoft.Graph.Education.Me.Assignments.Item.GradingCategory.gradingCategoryReq Microsoft.Graph.Education.Me.Assignments.Item.GradingCategory.gradingCategoryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationGradingCategory Microsoft.Graph.Education.Me.Assignments.Item.GradingCategory.gradingCategoryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Education.Me.Assignments.Item.GradingCategory.gradingCategoryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Education.Me.Assignments.Item.GradingCategory.GradingCategoryRequestBuilder +Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder.gradingSchemeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder.gradingSchemeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder.gradingSchemeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationGradingScheme +Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Education.Me.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder Microsoft.Graph.Education.Me.Assignments.Item.Publish.publishRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Education.Me.Assignments.Item.Publish.publishRequestBuilder.publishRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Education.Me.Assignments.Item.Publish.publishRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -44884,6 +44959,7 @@ Microsoft.Graph.Education.Users.Item.Assignments.Item.EducationAssignmentItemReq Microsoft.Graph.Education.Users.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Education.Users.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationAssignment Microsoft.Graph.Education.Users.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|gradingCategory:global.Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingCategory.GradingCategoryRequestBuilder +Microsoft.Graph.Education.Users.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|gradingScheme:global.Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder Microsoft.Graph.Education.Users.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.EducationAssignment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationAssignment Microsoft.Graph.Education.Users.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|publish:global.Microsoft.Graph.Education.Users.Item.Assignments.Item.Publish.PublishRequestBuilder Microsoft.Graph.Education.Users.Item.Assignments.Item.EducationAssignmentItemRequestBuilder::|public|resources:global.Microsoft.Graph.Education.Users.Item.Assignments.Item.Resources.ResourcesRequestBuilder @@ -44904,6 +44980,15 @@ Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingCategory.gradingCat Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingCategory.gradingCategoryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationGradingCategory Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingCategory.gradingCategoryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingCategory.gradingCategoryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingCategory.GradingCategoryRequestBuilder +Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder.gradingSchemeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder.gradingSchemeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder.gradingSchemeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EducationGradingScheme +Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.gradingSchemeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Education.Users.Item.Assignments.Item.GradingScheme.GradingSchemeRequestBuilder Microsoft.Graph.Education.Users.Item.Assignments.Item.Publish.publishRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Education.Users.Item.Assignments.Item.Publish.publishRequestBuilder.publishRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Education.Users.Item.Assignments.Item.Publish.publishRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -65516,10 +65601,142 @@ Microsoft.Graph.Identity.identityRequestBuilder::|public|customAuthenticationExt Microsoft.Graph.Identity.identityRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityContainer Microsoft.Graph.Identity.identityRequestBuilder::|public|identityProviders:global.Microsoft.Graph.Identity.IdentityProviders.IdentityProvidersRequestBuilder Microsoft.Graph.Identity.identityRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.IdentityContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityContainer +Microsoft.Graph.Identity.identityRequestBuilder::|public|riskPrevention:global.Microsoft.Graph.Identity.RiskPrevention.RiskPreventionRequestBuilder 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|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.IdentityRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder.riskPreventionRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder.riskPreventionRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder.riskPreventionRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder.riskPreventionRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder.riskPreventionRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RiskPreventionContainer +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.RiskPreventionContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RiskPreventionContainer +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.RiskPreventionContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder::|public|webApplicationFirewallProviders:global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.WebApplicationFirewallProvidersRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder::|public|webApplicationFirewallVerifications:global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.WebApplicationFirewallVerificationsRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.riskPreventionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.RiskPrevention.RiskPreventionRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyPostRequestBody::|public|constructor():void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyPostRequestBody::|public|HostName:string +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyPostRequestBody +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyRequestBuilder.verifyRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebApplicationFirewallVerificationModel +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.verifyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder.WebApplicationFirewallProviderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder.WebApplicationFirewallProviderItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder.WebApplicationFirewallProviderItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder.WebApplicationFirewallProviderItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder.WebApplicationFirewallProviderItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebApplicationFirewallProvider +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.WebApplicationFirewallProvider; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebApplicationFirewallProvider +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.WebApplicationFirewallProvider; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder::|public|verify:global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.Verify.VerifyRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder.webApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder.webApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder.webApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder.webApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder.webApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder.webApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder.webApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder.webApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder.webApplicationFirewallProvidersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder.webApplicationFirewallProvidersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder::[WebApplicationFirewallProviderId:string]:global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Item.WebApplicationFirewallProviderItemRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder::|public|Count:global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.Count.CountRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebApplicationFirewallProviderCollectionResponse +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.WebApplicationFirewallProvider; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebApplicationFirewallProvider +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.WebApplicationFirewallProvider; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.webApplicationFirewallProvidersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallProviders.WebApplicationFirewallProvidersRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.providerRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.providerRequestBuilder.providerRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.providerRequestBuilder.providerRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.providerRequestBuilder.providerRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.providerRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.providerRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.providerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebApplicationFirewallProvider +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.providerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.providerRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.ProviderRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder.WebApplicationFirewallVerificationModelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder.WebApplicationFirewallVerificationModelItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder.WebApplicationFirewallVerificationModelItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder.WebApplicationFirewallVerificationModelItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder.WebApplicationFirewallVerificationModelItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebApplicationFirewallVerificationModel +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.WebApplicationFirewallVerificationModel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebApplicationFirewallVerificationModel +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder::|public|provider:global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.Provider.ProviderRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.WebApplicationFirewallVerificationModel; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder.webApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder.webApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder.webApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder.webApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder.webApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder.webApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder.webApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder.webApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder.webApplicationFirewallVerificationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder.webApplicationFirewallVerificationsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder::[WebApplicationFirewallVerificationModelId:string]:global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Item.WebApplicationFirewallVerificationModelItemRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder::|public|Count:global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.Count.CountRequestBuilder +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebApplicationFirewallVerificationModelCollectionResponse +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.WebApplicationFirewallVerificationModel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebApplicationFirewallVerificationModel +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.WebApplicationFirewallVerificationModel; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.webApplicationFirewallVerificationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.RiskPrevention.WebApplicationFirewallVerifications.WebApplicationFirewallVerificationsRequestBuilder Microsoft.Graph.Identity.UserFlowAttributes.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Identity.UserFlowAttributes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Identity.UserFlowAttributes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -80451,6 +80668,122 @@ Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder::|public|PostAsync(b Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CloudClipboardItem; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudClipboard.Items.ItemsRequestBuilder +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::[CloudPCId:string]:global.Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPCCollectionResponse +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPC +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.CloudPCsRequestBuilder +Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|endGracePeriod:global.Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPC +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPC +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reboot:global.Microsoft.Graph.Me.CloudPCs.Item.Reboot.RebootRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|rename:global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|resize:global.Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizeRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|restore:global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|troubleshoot:global.Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder.endGracePeriodRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder.rebootRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Reboot.RebootRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|DisplayName:string +Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody +Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder.renameRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|TargetServicePlanId:string +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizePostRequestBody +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder.resizeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizeRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|public|CloudPcSnapshotId:string +Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody +Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder.troubleshootRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -87264,6 +87597,7 @@ Microsoft.Graph.Me.meRequestBuilder::|public|chats:global.Microsoft.Graph.Me.Cha Microsoft.Graph.Me.meRequestBuilder::|public|checkMemberGroups:global.Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|checkMemberObjects:global.Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|cloudClipboard:global.Microsoft.Graph.Me.CloudClipboard.CloudClipboardRequestBuilder +Microsoft.Graph.Me.meRequestBuilder::|public|cloudPCs:global.Microsoft.Graph.Me.CloudPCs.CloudPCsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.meRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.meRequestBuilder::|public|contactFolders:global.Microsoft.Graph.Me.ContactFolders.ContactFoldersRequestBuilder @@ -93354,6 +93688,56 @@ Microsoft.Graph.Models.aiUser::|public|InteractionHistory:global.Microsoft.Graph Microsoft.Graph.Models.aiUser::|public|OdataType:string Microsoft.Graph.Models.aiUser::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.aiUser::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AiUser +Microsoft.Graph.Models.akamaiAttackGroupActionModel::|public|Action:string +Microsoft.Graph.Models.akamaiAttackGroupActionModel::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.akamaiAttackGroupActionModel::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.akamaiAttackGroupActionModel::|public|constructor():void +Microsoft.Graph.Models.akamaiAttackGroupActionModel::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.akamaiAttackGroupActionModel::|public|Group:string +Microsoft.Graph.Models.akamaiAttackGroupActionModel::|public|OdataType:string +Microsoft.Graph.Models.akamaiAttackGroupActionModel::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.akamaiAttackGroupActionModel::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AkamaiAttackGroupActionModel +Microsoft.Graph.Models.akamaiAttackGroupActionModel~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.akamaiCustomRuleModel::|public|Action:string +Microsoft.Graph.Models.akamaiCustomRuleModel::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.akamaiCustomRuleModel::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.akamaiCustomRuleModel::|public|constructor():void +Microsoft.Graph.Models.akamaiCustomRuleModel::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.akamaiCustomRuleModel::|public|Name:string +Microsoft.Graph.Models.akamaiCustomRuleModel::|public|OdataType:string +Microsoft.Graph.Models.akamaiCustomRuleModel::|public|RuleId:string +Microsoft.Graph.Models.akamaiCustomRuleModel::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.akamaiCustomRuleModel::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AkamaiCustomRuleModel +Microsoft.Graph.Models.akamaiCustomRuleModel~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.akamaiRapidRulesModel::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.akamaiRapidRulesModel::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.akamaiRapidRulesModel::|public|constructor():void +Microsoft.Graph.Models.akamaiRapidRulesModel::|public|DefaultAction:string +Microsoft.Graph.Models.akamaiRapidRulesModel::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.akamaiRapidRulesModel::|public|IsEnabled:bool? +Microsoft.Graph.Models.akamaiRapidRulesModel::|public|OdataType:string +Microsoft.Graph.Models.akamaiRapidRulesModel::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.akamaiRapidRulesModel::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AkamaiRapidRulesModel +Microsoft.Graph.Models.akamaiRapidRulesModel~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.akamaiVerifiedDetailsModel-->global.Microsoft.Graph.Models.WebApplicationFirewallVerifiedDetails +Microsoft.Graph.Models.akamaiVerifiedDetailsModel::|public|ActiveAttackGroups:List +Microsoft.Graph.Models.akamaiVerifiedDetailsModel::|public|ActiveCustomRules:List +Microsoft.Graph.Models.akamaiVerifiedDetailsModel::|public|constructor():void +Microsoft.Graph.Models.akamaiVerifiedDetailsModel::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.akamaiVerifiedDetailsModel::|public|OdataType:string +Microsoft.Graph.Models.akamaiVerifiedDetailsModel::|public|RapidRules:global.Microsoft.Graph.Models.AkamaiRapidRulesModel +Microsoft.Graph.Models.akamaiVerifiedDetailsModel::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.akamaiVerifiedDetailsModel::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AkamaiVerifiedDetailsModel +Microsoft.Graph.Models.akamaiWebApplicationFirewallProvider-->global.Microsoft.Graph.Models.WebApplicationFirewallProvider +Microsoft.Graph.Models.akamaiWebApplicationFirewallProvider::|public|AccessToken:string +Microsoft.Graph.Models.akamaiWebApplicationFirewallProvider::|public|ClientSecret:string +Microsoft.Graph.Models.akamaiWebApplicationFirewallProvider::|public|ClientToken:string +Microsoft.Graph.Models.akamaiWebApplicationFirewallProvider::|public|constructor():void +Microsoft.Graph.Models.akamaiWebApplicationFirewallProvider::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.akamaiWebApplicationFirewallProvider::|public|HostPrefix:string +Microsoft.Graph.Models.akamaiWebApplicationFirewallProvider::|public|OdataType:string +Microsoft.Graph.Models.akamaiWebApplicationFirewallProvider::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.akamaiWebApplicationFirewallProvider::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AkamaiWebApplicationFirewallProvider Microsoft.Graph.Models.album::|public|AdditionalData:IDictionary Microsoft.Graph.Models.album::|public|BackingStore:IBackingStore Microsoft.Graph.Models.album::|public|constructor():void @@ -97618,6 +98002,45 @@ Microsoft.Graph.Models.cloudCommunications::|public|Presences:ListIAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.cloudFlareRuleModel::|public|Action:string +Microsoft.Graph.Models.cloudFlareRuleModel::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.cloudFlareRuleModel::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.cloudFlareRuleModel::|public|constructor():void +Microsoft.Graph.Models.cloudFlareRuleModel::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.cloudFlareRuleModel::|public|Name:string +Microsoft.Graph.Models.cloudFlareRuleModel::|public|OdataType:string +Microsoft.Graph.Models.cloudFlareRuleModel::|public|RuleId:string +Microsoft.Graph.Models.cloudFlareRuleModel::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.cloudFlareRuleModel::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CloudFlareRuleModel +Microsoft.Graph.Models.cloudFlareRuleModel~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.cloudFlareRulesetModel::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.cloudFlareRulesetModel::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.cloudFlareRulesetModel::|public|constructor():void +Microsoft.Graph.Models.cloudFlareRulesetModel::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.cloudFlareRulesetModel::|public|Name:string +Microsoft.Graph.Models.cloudFlareRulesetModel::|public|OdataType:string +Microsoft.Graph.Models.cloudFlareRulesetModel::|public|PhaseName:string +Microsoft.Graph.Models.cloudFlareRulesetModel::|public|RulesetId:string +Microsoft.Graph.Models.cloudFlareRulesetModel::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.cloudFlareRulesetModel::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CloudFlareRulesetModel +Microsoft.Graph.Models.cloudFlareRulesetModel~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.cloudFlareVerifiedDetailsModel-->global.Microsoft.Graph.Models.WebApplicationFirewallVerifiedDetails +Microsoft.Graph.Models.cloudFlareVerifiedDetailsModel::|public|constructor():void +Microsoft.Graph.Models.cloudFlareVerifiedDetailsModel::|public|EnabledCustomRules:List +Microsoft.Graph.Models.cloudFlareVerifiedDetailsModel::|public|EnabledRecommendedRulesets:List +Microsoft.Graph.Models.cloudFlareVerifiedDetailsModel::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.cloudFlareVerifiedDetailsModel::|public|OdataType:string +Microsoft.Graph.Models.cloudFlareVerifiedDetailsModel::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.cloudFlareVerifiedDetailsModel::|public|ZoneId:string +Microsoft.Graph.Models.cloudFlareVerifiedDetailsModel::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CloudFlareVerifiedDetailsModel +Microsoft.Graph.Models.cloudFlareWebApplicationFirewallProvider-->global.Microsoft.Graph.Models.WebApplicationFirewallProvider +Microsoft.Graph.Models.cloudFlareWebApplicationFirewallProvider::|public|ApiToken:string +Microsoft.Graph.Models.cloudFlareWebApplicationFirewallProvider::|public|constructor():void +Microsoft.Graph.Models.cloudFlareWebApplicationFirewallProvider::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.cloudFlareWebApplicationFirewallProvider::|public|OdataType:string +Microsoft.Graph.Models.cloudFlareWebApplicationFirewallProvider::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.cloudFlareWebApplicationFirewallProvider::|public|ZoneId:string +Microsoft.Graph.Models.cloudFlareWebApplicationFirewallProvider::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CloudFlareWebApplicationFirewallProvider Microsoft.Graph.Models.cloudPC-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.cloudPC::|public|AadDeviceId:string Microsoft.Graph.Models.cloudPC::|public|DisplayName:string @@ -101559,7 +101982,9 @@ Microsoft.Graph.Models.educationAssignment::|public|FeedbackResourcesFolderUrl:s Microsoft.Graph.Models.educationAssignment::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.educationAssignment::|public|Grading:global.Microsoft.Graph.Models.EducationAssignmentGradeType Microsoft.Graph.Models.educationAssignment::|public|GradingCategory:global.Microsoft.Graph.Models.EducationGradingCategory +Microsoft.Graph.Models.educationAssignment::|public|GradingScheme:global.Microsoft.Graph.Models.EducationGradingScheme Microsoft.Graph.Models.educationAssignment::|public|Instructions:global.Microsoft.Graph.Models.EducationItemBody +Microsoft.Graph.Models.educationAssignment::|public|LanguageTag:string Microsoft.Graph.Models.educationAssignment::|public|LastModifiedBy:global.Microsoft.Graph.Models.IdentitySet Microsoft.Graph.Models.educationAssignment::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Models.educationAssignment::|public|ModuleUrl:string @@ -101660,8 +102085,10 @@ Microsoft.Graph.Models.educationAssignmentResourceCollectionResponse::|public|Se Microsoft.Graph.Models.educationAssignmentResourceCollectionResponse::|public|Value:List Microsoft.Graph.Models.educationAssignmentResourceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EducationAssignmentResourceCollectionResponse Microsoft.Graph.Models.educationAssignmentSettings-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.educationAssignmentSettings::|public|DefaultGradingScheme:global.Microsoft.Graph.Models.EducationGradingScheme Microsoft.Graph.Models.educationAssignmentSettings::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.educationAssignmentSettings::|public|GradingCategories:List +Microsoft.Graph.Models.educationAssignmentSettings::|public|GradingSchemes:List Microsoft.Graph.Models.educationAssignmentSettings::|public|OdataType:string Microsoft.Graph.Models.educationAssignmentSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.educationAssignmentSettings::|public|SubmissionAnimationDisabled:bool? @@ -101805,6 +102232,30 @@ Microsoft.Graph.Models.educationGradingCategoryCollectionResponse::|public|GetFi Microsoft.Graph.Models.educationGradingCategoryCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.educationGradingCategoryCollectionResponse::|public|Value:List Microsoft.Graph.Models.educationGradingCategoryCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EducationGradingCategoryCollectionResponse +Microsoft.Graph.Models.educationGradingScheme-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.educationGradingScheme::|public|DisplayName:string +Microsoft.Graph.Models.educationGradingScheme::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.educationGradingScheme::|public|Grades:List +Microsoft.Graph.Models.educationGradingScheme::|public|HidePointsDuringGrading:bool? +Microsoft.Graph.Models.educationGradingScheme::|public|OdataType:string +Microsoft.Graph.Models.educationGradingScheme::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.educationGradingScheme::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EducationGradingScheme +Microsoft.Graph.Models.educationGradingSchemeCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.educationGradingSchemeCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.educationGradingSchemeCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.educationGradingSchemeCollectionResponse::|public|Value:List +Microsoft.Graph.Models.educationGradingSchemeCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EducationGradingSchemeCollectionResponse +Microsoft.Graph.Models.educationGradingSchemeGrade::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.educationGradingSchemeGrade::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.educationGradingSchemeGrade::|public|constructor():void +Microsoft.Graph.Models.educationGradingSchemeGrade::|public|DefaultPercentage:float? +Microsoft.Graph.Models.educationGradingSchemeGrade::|public|DisplayName:string +Microsoft.Graph.Models.educationGradingSchemeGrade::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.educationGradingSchemeGrade::|public|MinPercentage:float? +Microsoft.Graph.Models.educationGradingSchemeGrade::|public|OdataType:string +Microsoft.Graph.Models.educationGradingSchemeGrade::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.educationGradingSchemeGrade::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EducationGradingSchemeGrade +Microsoft.Graph.Models.educationGradingSchemeGrade~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.educationItemBody::|public|AdditionalData:IDictionary Microsoft.Graph.Models.educationItemBody::|public|BackingStore:IBackingStore Microsoft.Graph.Models.educationItemBody::|public|constructor():void @@ -103945,6 +104396,7 @@ Microsoft.Graph.Models.identityContainer::|public|CustomAuthenticationExtensions Microsoft.Graph.Models.identityContainer::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.identityContainer::|public|IdentityProviders:List 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::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityContainer @@ -105006,17 +105458,6 @@ Microsoft.Graph.Models.iosCustomConfiguration::|public|PayloadFileName:string Microsoft.Graph.Models.iosCustomConfiguration::|public|PayloadName:string Microsoft.Graph.Models.iosCustomConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.iosCustomConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IosCustomConfiguration -Microsoft.Graph.Models.iosDdmLobAppAssignmentSettings-->global.Microsoft.Graph.Models.MobileAppAssignmentSettings -Microsoft.Graph.Models.iosDdmLobAppAssignmentSettings::|public|AssociatedDomains:List -Microsoft.Graph.Models.iosDdmLobAppAssignmentSettings::|public|AssociatedDomainsDirectDownloadAllowed:bool? -Microsoft.Graph.Models.iosDdmLobAppAssignmentSettings::|public|constructor():void -Microsoft.Graph.Models.iosDdmLobAppAssignmentSettings::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Models.iosDdmLobAppAssignmentSettings::|public|OdataType:string -Microsoft.Graph.Models.iosDdmLobAppAssignmentSettings::|public|PreventManagedAppBackup:bool? -Microsoft.Graph.Models.iosDdmLobAppAssignmentSettings::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Models.iosDdmLobAppAssignmentSettings::|public|TapToPayScreenLockEnabled:bool? -Microsoft.Graph.Models.iosDdmLobAppAssignmentSettings::|public|VpnConfigurationId:string -Microsoft.Graph.Models.iosDdmLobAppAssignmentSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IosDdmLobAppAssignmentSettings Microsoft.Graph.Models.iosDeviceFeaturesConfiguration-->global.Microsoft.Graph.Models.AppleDeviceFeaturesConfigurationBase Microsoft.Graph.Models.iosDeviceFeaturesConfiguration::|public|AssetTagTemplate:string Microsoft.Graph.Models.iosDeviceFeaturesConfiguration::|public|constructor():void @@ -113721,6 +114162,16 @@ Microsoft.Graph.Models.riskLevel::0002-high Microsoft.Graph.Models.riskLevel::0003-hidden Microsoft.Graph.Models.riskLevel::0004-none Microsoft.Graph.Models.riskLevel::0005-unknownFutureValue +Microsoft.Graph.Models.riskPreventionContainer::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.riskPreventionContainer::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.riskPreventionContainer::|public|constructor():void +Microsoft.Graph.Models.riskPreventionContainer::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.riskPreventionContainer::|public|OdataType:string +Microsoft.Graph.Models.riskPreventionContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.riskPreventionContainer::|public|WebApplicationFirewallProviders:List +Microsoft.Graph.Models.riskPreventionContainer::|public|WebApplicationFirewallVerifications:List +Microsoft.Graph.Models.riskPreventionContainer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.RiskPreventionContainer +Microsoft.Graph.Models.riskPreventionContainer~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.riskServicePrincipalActivity::|public|AdditionalData:IDictionary Microsoft.Graph.Models.riskServicePrincipalActivity::|public|BackingStore:IBackingStore Microsoft.Graph.Models.riskServicePrincipalActivity::|public|constructor():void @@ -114584,6 +115035,7 @@ Microsoft.Graph.Models.Security.alert::|public|FirstActivityDateTime:DateTimeOff Microsoft.Graph.Models.Security.alert::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.Security.alert::|public|IncidentId:string Microsoft.Graph.Models.Security.alert::|public|IncidentWebUrl:string +Microsoft.Graph.Models.Security.alert::|public|InvestigationState:global.Microsoft.Graph.Models.Security.InvestigationState? Microsoft.Graph.Models.Security.alert::|public|LastActivityDateTime:DateTimeOffset? Microsoft.Graph.Models.Security.alert::|public|LastUpdateDateTime:DateTimeOffset? Microsoft.Graph.Models.Security.alert::|public|MitreTechniques:List @@ -116065,6 +116517,25 @@ Microsoft.Graph.Models.Security.intelligenceProfileIndicatorCollectionResponse:: Microsoft.Graph.Models.Security.intelligenceProfileKind::0000-actor Microsoft.Graph.Models.Security.intelligenceProfileKind::0001-tool Microsoft.Graph.Models.Security.intelligenceProfileKind::0002-unknownFutureValue +Microsoft.Graph.Models.Security.investigationState::0000-unknown +Microsoft.Graph.Models.Security.investigationState::0001-terminated +Microsoft.Graph.Models.Security.investigationState::0002-successfullyRemediated +Microsoft.Graph.Models.Security.investigationState::0003-benign +Microsoft.Graph.Models.Security.investigationState::0004-failed +Microsoft.Graph.Models.Security.investigationState::0005-partiallyRemediated +Microsoft.Graph.Models.Security.investigationState::0006-running +Microsoft.Graph.Models.Security.investigationState::0007-pendingApproval +Microsoft.Graph.Models.Security.investigationState::0008-pendingResource +Microsoft.Graph.Models.Security.investigationState::0009-queued +Microsoft.Graph.Models.Security.investigationState::0010-innerFailure +Microsoft.Graph.Models.Security.investigationState::0011-preexistingAlert +Microsoft.Graph.Models.Security.investigationState::0012-unsupportedOs +Microsoft.Graph.Models.Security.investigationState::0013-unsupportedAlertType +Microsoft.Graph.Models.Security.investigationState::0014-suppressedAlert +Microsoft.Graph.Models.Security.investigationState::0015-partiallyInvestigated +Microsoft.Graph.Models.Security.investigationState::0016-terminatedByUser +Microsoft.Graph.Models.Security.investigationState::0017-terminatedBySystem +Microsoft.Graph.Models.Security.investigationState::0018-unknownFutureValue Microsoft.Graph.Models.Security.ioTDeviceEvidence-->global.Microsoft.Graph.Models.Security.AlertEvidence Microsoft.Graph.Models.Security.ioTDeviceEvidence::|public|constructor():void Microsoft.Graph.Models.Security.ioTDeviceEvidence::|public|DeviceId:string @@ -121315,6 +121786,7 @@ Microsoft.Graph.Models.user::|public|CalendarView:List Microsoft.Graph.Models.user::|public|City:string Microsoft.Graph.Models.user::|public|CloudClipboard:global.Microsoft.Graph.Models.CloudClipboardRoot +Microsoft.Graph.Models.user::|public|CloudPCs:List Microsoft.Graph.Models.user::|public|CompanyName:string Microsoft.Graph.Models.user::|public|ConsentProvidedForMinor:string Microsoft.Graph.Models.user::|public|constructor():void @@ -122815,6 +123287,75 @@ Microsoft.Graph.Models.webApplication::|public|RedirectUris:List Microsoft.Graph.Models.webApplication::|public|RedirectUriSettings:List Microsoft.Graph.Models.webApplication::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.webApplication::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebApplication +Microsoft.Graph.Models.webApplicationFirewallDnsConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webApplicationFirewallDnsConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webApplicationFirewallDnsConfiguration::|public|constructor():void +Microsoft.Graph.Models.webApplicationFirewallDnsConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webApplicationFirewallDnsConfiguration::|public|IsDomainVerified:bool? +Microsoft.Graph.Models.webApplicationFirewallDnsConfiguration::|public|IsProxied:bool? +Microsoft.Graph.Models.webApplicationFirewallDnsConfiguration::|public|Name:string +Microsoft.Graph.Models.webApplicationFirewallDnsConfiguration::|public|OdataType:string +Microsoft.Graph.Models.webApplicationFirewallDnsConfiguration::|public|RecordType:global.Microsoft.Graph.Models.WebApplicationFirewallDnsRecordType? +Microsoft.Graph.Models.webApplicationFirewallDnsConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webApplicationFirewallDnsConfiguration::|public|Value:string +Microsoft.Graph.Models.webApplicationFirewallDnsConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebApplicationFirewallDnsConfiguration +Microsoft.Graph.Models.webApplicationFirewallDnsConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webApplicationFirewallDnsRecordType::0000-cname +Microsoft.Graph.Models.webApplicationFirewallDnsRecordType::0001-unknownFutureValue +Microsoft.Graph.Models.webApplicationFirewallProvider-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.webApplicationFirewallProvider::|public|DisplayName:string +Microsoft.Graph.Models.webApplicationFirewallProvider::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webApplicationFirewallProvider::|public|OdataType:string +Microsoft.Graph.Models.webApplicationFirewallProvider::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webApplicationFirewallProvider::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebApplicationFirewallProvider +Microsoft.Graph.Models.webApplicationFirewallProviderCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.webApplicationFirewallProviderCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webApplicationFirewallProviderCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webApplicationFirewallProviderCollectionResponse::|public|Value:List +Microsoft.Graph.Models.webApplicationFirewallProviderCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebApplicationFirewallProviderCollectionResponse +Microsoft.Graph.Models.webApplicationFirewallProviderType::0000-akamai +Microsoft.Graph.Models.webApplicationFirewallProviderType::0001-cloudflare +Microsoft.Graph.Models.webApplicationFirewallProviderType::0002-unknownFutureValue +Microsoft.Graph.Models.webApplicationFirewallVerificationModel-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.webApplicationFirewallVerificationModel::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webApplicationFirewallVerificationModel::|public|OdataType:string +Microsoft.Graph.Models.webApplicationFirewallVerificationModel::|public|Provider:global.Microsoft.Graph.Models.WebApplicationFirewallProvider +Microsoft.Graph.Models.webApplicationFirewallVerificationModel::|public|ProviderType:global.Microsoft.Graph.Models.WebApplicationFirewallProviderType? +Microsoft.Graph.Models.webApplicationFirewallVerificationModel::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webApplicationFirewallVerificationModel::|public|VerificationResult:global.Microsoft.Graph.Models.WebApplicationFirewallVerificationResult +Microsoft.Graph.Models.webApplicationFirewallVerificationModel::|public|VerifiedDetails:global.Microsoft.Graph.Models.WebApplicationFirewallVerifiedDetails +Microsoft.Graph.Models.webApplicationFirewallVerificationModel::|public|VerifiedHost:string +Microsoft.Graph.Models.webApplicationFirewallVerificationModel::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebApplicationFirewallVerificationModel +Microsoft.Graph.Models.webApplicationFirewallVerificationModelCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.webApplicationFirewallVerificationModelCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webApplicationFirewallVerificationModelCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webApplicationFirewallVerificationModelCollectionResponse::|public|Value:List +Microsoft.Graph.Models.webApplicationFirewallVerificationModelCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebApplicationFirewallVerificationModelCollectionResponse +Microsoft.Graph.Models.webApplicationFirewallVerificationResult::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webApplicationFirewallVerificationResult::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webApplicationFirewallVerificationResult::|public|constructor():void +Microsoft.Graph.Models.webApplicationFirewallVerificationResult::|public|Errors:List +Microsoft.Graph.Models.webApplicationFirewallVerificationResult::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webApplicationFirewallVerificationResult::|public|OdataType:string +Microsoft.Graph.Models.webApplicationFirewallVerificationResult::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webApplicationFirewallVerificationResult::|public|Status:global.Microsoft.Graph.Models.WebApplicationFirewallVerificationStatus? +Microsoft.Graph.Models.webApplicationFirewallVerificationResult::|public|VerifiedOnDateTime:DateTimeOffset? +Microsoft.Graph.Models.webApplicationFirewallVerificationResult::|public|Warnings:List +Microsoft.Graph.Models.webApplicationFirewallVerificationResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebApplicationFirewallVerificationResult +Microsoft.Graph.Models.webApplicationFirewallVerificationResult~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webApplicationFirewallVerificationStatus::0000-success +Microsoft.Graph.Models.webApplicationFirewallVerificationStatus::0001-warning +Microsoft.Graph.Models.webApplicationFirewallVerificationStatus::0002-failure +Microsoft.Graph.Models.webApplicationFirewallVerificationStatus::0003-unknownFutureValue +Microsoft.Graph.Models.webApplicationFirewallVerifiedDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webApplicationFirewallVerifiedDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webApplicationFirewallVerifiedDetails::|public|constructor():void +Microsoft.Graph.Models.webApplicationFirewallVerifiedDetails::|public|DnsConfiguration:global.Microsoft.Graph.Models.WebApplicationFirewallDnsConfiguration +Microsoft.Graph.Models.webApplicationFirewallVerifiedDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webApplicationFirewallVerifiedDetails::|public|OdataType:string +Microsoft.Graph.Models.webApplicationFirewallVerifiedDetails::|public|Serialize(writer:ISerializationWriter):void +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.webBrowserCookieSettings::0000-browserDefault Microsoft.Graph.Models.webBrowserCookieSettings::0001-blockAlways @@ -126155,12 +126696,16 @@ Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|ToDeleteRequestInfo Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Place; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.PlaceItemRequestBuilder Microsoft.Graph.Places.placesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.placesRequestBuilder.placesRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Places.placesRequestBuilder::[PlaceId:string]:global.Microsoft.Graph.Places.Item.PlaceItemRequestBuilder Microsoft.Graph.Places.placesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Places.placesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Places.placesRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Count.CountRequestBuilder Microsoft.Graph.Places.placesRequestBuilder::|public|graphRoom:global.Microsoft.Graph.Places.GraphRoom.GraphRoomRequestBuilder Microsoft.Graph.Places.placesRequestBuilder::|public|graphRoomList:global.Microsoft.Graph.Places.GraphRoomList.GraphRoomListRequestBuilder +Microsoft.Graph.Places.placesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Place; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Place +Microsoft.Graph.Places.placesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Place; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.placesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.PlacesRequestBuilder Microsoft.Graph.Planner.Buckets.bucketsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Planner.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Planner.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -162976,6 +163521,122 @@ Microsoft.Graph.Users.Item.CloudClipboard.Items.itemsRequestBuilder::|public|Pos Microsoft.Graph.Users.Item.CloudClipboard.Items.itemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.CloudClipboard.Items.itemsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CloudClipboardItem; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.CloudClipboard.Items.itemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudClipboard.Items.ItemsRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder::[CloudPCId:string]:global.Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.CloudPCs.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPCCollectionResponse +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPC +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.cloudPCsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudPCs.CloudPCsRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.CloudPCs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.CloudPCs.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.CloudPCs.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudPCs.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|endGracePeriod:global.Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPC +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPC +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reboot:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot.RebootRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|rename:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenameRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|resize:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.ResizeRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|restore:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|troubleshoot:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder.endGracePeriodRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot.rebootRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot.rebootRequestBuilder.rebootRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot.RebootRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renamePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renamePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renamePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renamePostRequestBody::|public|DisplayName:string +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renamePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renamePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renamePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenamePostRequestBody +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renamePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renameRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renameRequestBuilder.renameRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renameRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renameRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenamePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renameRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenamePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenameRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizePostRequestBody::|public|TargetServicePlanId:string +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.ResizePostRequestBody +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizeRequestBuilder.resizeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.ResizePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.ResizePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.ResizeRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restorePostRequestBody::|public|CloudPcSnapshotId:string +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestorePostRequestBody +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder.troubleshootRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder Microsoft.Graph.Users.Item.ContactFolders.contactFoldersRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Users.Item.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -174549,6 +175210,7 @@ Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|chats:global.Microsof Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|checkMemberGroups:global.Microsoft.Graph.Users.Item.CheckMemberGroups.CheckMemberGroupsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|checkMemberObjects:global.Microsoft.Graph.Users.Item.CheckMemberObjects.CheckMemberObjectsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|cloudClipboard:global.Microsoft.Graph.Users.Item.CloudClipboard.CloudClipboardRequestBuilder +Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|cloudPCs:global.Microsoft.Graph.Users.Item.CloudPCs.CloudPCsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|contactFolders:global.Microsoft.Graph.Users.Item.ContactFolders.ContactFoldersRequestBuilder diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index bf2c656b4be..93fd443152f 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "09B3DE9EE166BFC18140F402375EFA01FF3DA585E1E4688A5169A6918B1B898AE109D3806BEA5D18A11E75DABDE60D3E9DFFFD805299DAB61C8A735DA84DEAE6", + "descriptionHash": "E53D051E35FC74F965A18695FE222C797EB761F805B500E04D2C14403FB8B178578730E9F8EDC8705ACA7AA0ADC411560A3297227FB23125884DDDC5A1C2852B", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.30.0", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft.Graph",