diff --git a/.github/policies/msgraph-sdk-dotnet-branch-protection.yml b/.github/policies/msgraph-sdk-dotnet-branch-protection.yml new file mode 100644 index 00000000000..0acf240f40b --- /dev/null +++ b/.github/policies/msgraph-sdk-dotnet-branch-protection.yml @@ -0,0 +1,71 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + +# File initially created using https://github.com/MIchaelMainer/policyservicetoolkit/blob/main/branch_protection_export.ps1. + +name: msgraph-sdk-dotnet-branch-protection +description: Branch protection policy for the msgraph-sdk-dotnet repository +resource: repository +configuration: + branchProtectionRules: + + # The following GitHub PolicyService properties are not supported: whoCanDismissReviews and whoCanPush + - branchNamePattern: master + # Specifies whether this branch can be deleted. boolean + allowsDeletions: false + # Specifies whether forced pushes are allowed on this branch. boolean + allowsForcePushes: false + # Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean + dismissStaleReviews: true + # Specifies whether admins can overwrite branch protection. boolean + isAdminEnforced: false + # Specifies the number of pull request reviews before merging. int (0-6) + requiredApprovingReviewsCount: 1 + # Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean + requireCodeOwnersReview: true + # Are commits required to be signed. boolean + requiresCommitSignatures: false + # Are conversations required to be resolved before merging? boolean + requiresConversationResolution: true + # Are merge commits prohibited from being pushed to this branch. boolean + requiresLinearHistory: false + # Requires requiresStrictStatusChecks. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status + requiredStatusChecks: + - build + - license/cla + # The docs conflict. Are branches required to be up to date before merging. Or Require status checks to pass before merging + requiresStrictStatusChecks: true + # Restrict who can push to matching branches + restrictsPushes: false + # Restrict who can dismiss pull request reviews + restrictsReviewDismissals: false + + - branchNamePattern: dev + # Specifies whether this branch can be deleted. boolean + allowsDeletions: false + # Specifies whether forced pushes are allowed on this branch. boolean + allowsForcePushes: false + # Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean + dismissStaleReviews: true + # Specifies whether admins can overwrite branch protection. boolean + isAdminEnforced: false + # Specifies the number of pull request reviews before merging. int (0-6) + requiredApprovingReviewsCount: 1 + # Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean + requireCodeOwnersReview: true + # Are commits required to be signed. boolean + requiresCommitSignatures: false + # Are conversations required to be resolved before merging? boolean + requiresConversationResolution: true + # Are merge commits prohibited from being pushed to this branch. boolean + requiresLinearHistory: false + # Requires requiresStrictStatusChecks. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status + requiredStatusChecks: + - build + - license/cla + # The docs conflict. Are branches required to be up to date before merging. Or Require status checks to pass before merging + requiresStrictStatusChecks: true + # Restrict who can push to matching branches + restrictsPushes: false + # Restrict who can dismiss pull request reviews + restrictsReviewDismissals: false diff --git a/.github/workflows/validatePullRequest.yml b/.github/workflows/validatePullRequest.yml index dfa1e439fcc..3fa04dd6a32 100644 --- a/.github/workflows/validatePullRequest.yml +++ b/.github/workflows/validatePullRequest.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v3.5.2 - name: Setup .NET - uses: actions/setup-dotnet@v3.0.3 + uses: actions/setup-dotnet@v3.2.0 with: dotnet-version: 6.0.x - name: Initialize CodeQL diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f0e1589323..6368c0f7f4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,14 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v ## [Unreleased] +## [5.12.0] - 2023-06-09 + +- Latest metadata updates from 6th June 2023 + ## [5.12.0] - 2023-05-24 - Latest metadata updates from 23rd May 2023 -- + ## [5.11.0] - 2023-05-17 - Latest metadata updates from 16th May 2023 diff --git a/docs/upgrade-to-v5.md b/docs/upgrade-to-v5.md index cffc598ae30..f45a47957d9 100644 --- a/docs/upgrade-to-v5.md +++ b/docs/upgrade-to-v5.md @@ -14,7 +14,7 @@ The following section lists out the breaking changes requiring code changes from The types in the sdk are now organized into namespaces reflecting their usage as compared to all types being present in the single `Microsoft.Graph` namespace and therefore makes it easier to consume multiple libraries(e.g v1.0 and beta) in the same application. This therefore comes with the following changes, -- The beta v1.0 service library uses `Microsoft.Graph` as its root namespace. +- The v1.0 service library uses `Microsoft.Graph` as its root namespace. - The beta service library uses `Microsoft.Graph.Beta` as its root namespace. - Model types are now in the `Microsoft.Graph.Models`/`Microsoft.Graph.Beta.Models` namespaces. - RequestBuilder and RequestBody types reside in namespaces relative to the path they are calling. e.g. The `SendMailPostRequestBody` type will reside in the `Microsoft.Graph.Beta.Me.SendMail/Microsoft.Graph.Me.SendMail` namespace if you are sending a mail via the `client.Me.SendMail.PostAsync(sendMailPostRequestBody)` path using the request builders diff --git a/src/Microsoft.Graph/Extensions/DriveItemRequestBuilderExtensions.cs b/src/Microsoft.Graph/Extensions/DriveItemRequestBuilderExtensions.cs index d21c83a2902..47877e2fc13 100644 --- a/src/Microsoft.Graph/Extensions/DriveItemRequestBuilderExtensions.cs +++ b/src/Microsoft.Graph/Extensions/DriveItemRequestBuilderExtensions.cs @@ -20,6 +20,7 @@ using Microsoft.Graph.Drives.Item.Items.Item.Permissions; using Microsoft.Graph.Drives.Item.Items.Item.Subscriptions; using Microsoft.Graph.Drives.Item.Items.Item.Thumbnails; +using Microsoft.Graph.Drives.Item.Items.Item.Workbook; using Microsoft.Graph.Drives.Item.List.Items.Item.Versions; using Microsoft.Kiota.Abstractions; @@ -220,4 +221,9 @@ public CustomDriveItemItemRequestBuilder(Dictionary pathParamete { get => new VersionsRequestBuilder(PathParameters, RequestAdapter).UpdateUrlTemplate(this.UrlTemplate); } + /// Provides operations to manage the workbook property of the microsoft.graph.driveItem entity. + public new WorkbookRequestBuilder Workbook + { + get => new WorkbookRequestBuilder(PathParameters, RequestAdapter).UpdateUrlTemplate(this.UrlTemplate); + } } diff --git a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs index db846542c85..79706d4b59b 100644 --- a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs +++ b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs @@ -7,7 +7,6 @@ using Microsoft.Graph.AuditLogs; using Microsoft.Graph.AuthenticationMethodConfigurations; using Microsoft.Graph.AuthenticationMethodsPolicy; -using Microsoft.Graph.Branding; using Microsoft.Graph.CertificateBasedAuthConfiguration; using Microsoft.Graph.Chats; using Microsoft.Graph.Communications; @@ -120,10 +119,6 @@ public class BaseGraphServiceClient : BaseRequestBuilder { public AuthenticationMethodsPolicyRequestBuilder AuthenticationMethodsPolicy { get => new AuthenticationMethodsPolicyRequestBuilder(PathParameters, RequestAdapter); } - /// Provides operations to manage the organizationalBranding singleton. - public BrandingRequestBuilder Branding { get => - new BrandingRequestBuilder(PathParameters, RequestAdapter); - } /// Provides operations to manage the collection of certificateBasedAuthConfiguration entities. public CertificateBasedAuthConfigurationRequestBuilder CertificateBasedAuthConfiguration { get => new CertificateBasedAuthConfigurationRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Branding/BrandingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Branding/BrandingRequestBuilder.cs deleted file mode 100644 index 3d1a356a645..00000000000 --- a/src/Microsoft.Graph/Generated/Branding/BrandingRequestBuilder.cs +++ /dev/null @@ -1,204 +0,0 @@ -using Microsoft.Graph.Branding.BackgroundImage; -using Microsoft.Graph.Branding.BannerLogo; -using Microsoft.Graph.Branding.Localizations; -using Microsoft.Graph.Branding.SquareLogo; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.Branding { - /// - /// Provides operations to manage the organizationalBranding singleton. - /// - public class BrandingRequestBuilder : BaseRequestBuilder { - /// Provides operations to manage the media for the organizationalBranding entity. - public BackgroundImageRequestBuilder BackgroundImage { get => - new BackgroundImageRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the media for the organizationalBranding entity. - public BannerLogoRequestBuilder BannerLogo { get => - new BannerLogoRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the localizations property of the microsoft.graph.organizationalBranding entity. - public LocalizationsRequestBuilder Localizations { get => - new LocalizationsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the media for the organizationalBranding entity. - public SquareLogoRequestBuilder SquareLogo { get => - new SquareLogoRequestBuilder(PathParameters, RequestAdapter); - } - /// - /// Instantiates a new BrandingRequestBuilder and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public BrandingRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding{?%24select,%24expand}", pathParameters) { - } - /// - /// Instantiates a new BrandingRequestBuilder and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public BrandingRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding{?%24select,%24expand}", rawUrl) { - } - /// - /// Get branding - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. -#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> { - {"4XX", ODataError.CreateFromDiscriminatorValue}, - {"5XX", ODataError.CreateFromDiscriminatorValue}, - }; - return await RequestAdapter.SendAsync(requestInfo, OrganizationalBranding.CreateFromDiscriminatorValue, errorMapping, cancellationToken); - } - /// - /// Update branding - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(OrganizationalBranding body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { -#nullable restore -#else - public async Task PatchAsync(OrganizationalBranding body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> { - {"4XX", ODataError.CreateFromDiscriminatorValue}, - {"5XX", ODataError.CreateFromDiscriminatorValue}, - }; - return await RequestAdapter.SendAsync(requestInfo, OrganizationalBranding.CreateFromDiscriminatorValue, errorMapping, cancellationToken); - } - /// - /// Get branding - /// - /// 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 { - HttpMethod = Method.GET, - UrlTemplate = UrlTemplate, - PathParameters = PathParameters, - }; - requestInfo.Headers.Add("Accept", "application/json"); - if (requestConfiguration != null) { - var requestConfig = new BrandingRequestBuilderGetRequestConfiguration(); - requestConfiguration.Invoke(requestConfig); - requestInfo.AddQueryParameters(requestConfig.QueryParameters); - requestInfo.AddRequestOptions(requestConfig.Options); - requestInfo.AddHeaders(requestConfig.Headers); - } - return requestInfo; - } - /// - /// Update branding - /// - /// 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(OrganizationalBranding body, Action? requestConfiguration = default) { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(OrganizationalBranding body, Action requestConfiguration = default) { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation { - HttpMethod = Method.PATCH, - UrlTemplate = UrlTemplate, - PathParameters = PathParameters, - }; - requestInfo.Headers.Add("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - if (requestConfiguration != null) { - var requestConfig = new BrandingRequestBuilderPatchRequestConfiguration(); - requestConfiguration.Invoke(requestConfig); - requestInfo.AddRequestOptions(requestConfig.Options); - requestInfo.AddHeaders(requestConfig.Headers); - } - return requestInfo; - } - /// - /// Get branding - /// - public class BrandingRequestBuilderGetQueryParameters { - /// 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. - /// - public class BrandingRequestBuilderGetRequestConfiguration { - /// Request headers - public RequestHeaders Headers { get; set; } - /// Request options - public IList Options { get; set; } - /// Request query parameters - public BrandingRequestBuilderGetQueryParameters QueryParameters { get; set; } = new BrandingRequestBuilderGetQueryParameters(); - /// - /// Instantiates a new brandingRequestBuilderGetRequestConfiguration and sets the default values. - /// - public BrandingRequestBuilderGetRequestConfiguration() { - Options = new List(); - Headers = new RequestHeaders(); - } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - public class BrandingRequestBuilderPatchRequestConfiguration { - /// Request headers - public RequestHeaders Headers { get; set; } - /// Request options - public IList Options { get; set; } - /// - /// Instantiates a new brandingRequestBuilderPatchRequestConfiguration and sets the default values. - /// - public BrandingRequestBuilderPatchRequestConfiguration() { - Options = new List(); - Headers = new RequestHeaders(); - } - } - } -} diff --git a/src/Microsoft.Graph/Generated/Branding/Localizations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Branding/Localizations/Count/CountRequestBuilder.cs deleted file mode 100644 index fc389d84f92..00000000000 --- a/src/Microsoft.Graph/Generated/Branding/Localizations/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,118 +0,0 @@ -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.Branding.Localizations.Count { - /// - /// Provides operations to count the resources in the collection. - /// - public class CountRequestBuilder : BaseRequestBuilder { - /// - /// Instantiates a new CountRequestBuilder 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}/branding/localizations/$count{?%24search,%24filter}", pathParameters) { - } - /// - /// Instantiates a new CountRequestBuilder 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}/branding/localizations/$count{?%24search,%24filter}", rawUrl) { - } - /// - /// Get the number of the resource - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. -#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> { - {"4XX", ODataError.CreateFromDiscriminatorValue}, - {"5XX", ODataError.CreateFromDiscriminatorValue}, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); - } - /// - /// Get the number of the resource - /// - /// 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 { - HttpMethod = Method.GET, - UrlTemplate = UrlTemplate, - PathParameters = PathParameters, - }; - requestInfo.Headers.Add("Accept", "text/plain"); - if (requestConfiguration != null) { - var requestConfig = new CountRequestBuilderGetRequestConfiguration(); - requestConfiguration.Invoke(requestConfig); - requestInfo.AddQueryParameters(requestConfig.QueryParameters); - requestInfo.AddRequestOptions(requestConfig.Options); - requestInfo.AddHeaders(requestConfig.Headers); - } - return requestInfo; - } - /// - /// Get the number of the resource - /// - public 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. - /// - public class CountRequestBuilderGetRequestConfiguration { - /// Request headers - public RequestHeaders Headers { get; set; } - /// Request options - public IList Options { get; set; } - /// Request query parameters - public CountRequestBuilderGetQueryParameters QueryParameters { get; set; } = new CountRequestBuilderGetQueryParameters(); - /// - /// Instantiates a new CountRequestBuilderGetRequestConfiguration and sets the default values. - /// - public CountRequestBuilderGetRequestConfiguration() { - Options = new List(); - Headers = new RequestHeaders(); - } - } - } -} diff --git a/src/Microsoft.Graph/Generated/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs deleted file mode 100644 index 0e80c9060e4..00000000000 --- a/src/Microsoft.Graph/Generated/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs +++ /dev/null @@ -1,261 +0,0 @@ -using Microsoft.Graph.Branding.Localizations.Item.BackgroundImage; -using Microsoft.Graph.Branding.Localizations.Item.BannerLogo; -using Microsoft.Graph.Branding.Localizations.Item.SquareLogo; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.Branding.Localizations.Item { - /// - /// Provides operations to manage the localizations property of the microsoft.graph.organizationalBranding entity. - /// - public class OrganizationalBrandingLocalizationItemRequestBuilder : BaseRequestBuilder { - /// Provides operations to manage the media for the organizationalBranding entity. - public BackgroundImageRequestBuilder BackgroundImage { get => - new BackgroundImageRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the media for the organizationalBranding entity. - public BannerLogoRequestBuilder BannerLogo { get => - new BannerLogoRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the media for the organizationalBranding entity. - public SquareLogoRequestBuilder SquareLogo { get => - new SquareLogoRequestBuilder(PathParameters, RequestAdapter); - } - /// - /// Instantiates a new OrganizationalBrandingLocalizationItemRequestBuilder and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OrganizationalBrandingLocalizationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/localizations/{organizationalBrandingLocalization%2Did}{?%24select,%24expand}", pathParameters) { - } - /// - /// Instantiates a new OrganizationalBrandingLocalizationItemRequestBuilder and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public OrganizationalBrandingLocalizationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/localizations/{organizationalBrandingLocalization%2Did}{?%24select,%24expand}", rawUrl) { - } - /// - /// Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object. - /// Find more info here - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. -#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> { - {"4XX", ODataError.CreateFromDiscriminatorValue}, - {"5XX", ODataError.CreateFromDiscriminatorValue}, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); - } - /// - /// Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of **id** in the URL. - /// Find more info here - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. -#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> { - {"4XX", ODataError.CreateFromDiscriminatorValue}, - {"5XX", ODataError.CreateFromDiscriminatorValue}, - }; - return await RequestAdapter.SendAsync(requestInfo, OrganizationalBrandingLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); - } - /// - /// Update the properties of an organizationalBrandingLocalization object for a specific localization. - /// 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. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(OrganizationalBrandingLocalization body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { -#nullable restore -#else - public async Task PatchAsync(OrganizationalBrandingLocalization body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> { - {"4XX", ODataError.CreateFromDiscriminatorValue}, - {"5XX", ODataError.CreateFromDiscriminatorValue}, - }; - return await RequestAdapter.SendAsync(requestInfo, OrganizationalBrandingLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); - } - /// - /// Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object. - /// - /// 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 { - HttpMethod = Method.DELETE, - UrlTemplate = UrlTemplate, - PathParameters = PathParameters, - }; - if (requestConfiguration != null) { - var requestConfig = new OrganizationalBrandingLocalizationItemRequestBuilderDeleteRequestConfiguration(); - requestConfiguration.Invoke(requestConfig); - requestInfo.AddRequestOptions(requestConfig.Options); - requestInfo.AddHeaders(requestConfig.Headers); - } - return requestInfo; - } - /// - /// Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of **id** in the URL. - /// - /// 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 { - HttpMethod = Method.GET, - UrlTemplate = UrlTemplate, - PathParameters = PathParameters, - }; - requestInfo.Headers.Add("Accept", "application/json"); - if (requestConfiguration != null) { - var requestConfig = new OrganizationalBrandingLocalizationItemRequestBuilderGetRequestConfiguration(); - requestConfiguration.Invoke(requestConfig); - requestInfo.AddQueryParameters(requestConfig.QueryParameters); - requestInfo.AddRequestOptions(requestConfig.Options); - requestInfo.AddHeaders(requestConfig.Headers); - } - return requestInfo; - } - /// - /// Update the properties of an organizationalBrandingLocalization object for a specific localization. - /// - /// 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(OrganizationalBrandingLocalization body, Action? requestConfiguration = default) { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(OrganizationalBrandingLocalization body, Action requestConfiguration = default) { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation { - HttpMethod = Method.PATCH, - UrlTemplate = UrlTemplate, - PathParameters = PathParameters, - }; - requestInfo.Headers.Add("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - if (requestConfiguration != null) { - var requestConfig = new OrganizationalBrandingLocalizationItemRequestBuilderPatchRequestConfiguration(); - requestConfiguration.Invoke(requestConfig); - requestInfo.AddRequestOptions(requestConfig.Options); - requestInfo.AddHeaders(requestConfig.Headers); - } - return requestInfo; - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - public class OrganizationalBrandingLocalizationItemRequestBuilderDeleteRequestConfiguration { - /// Request headers - public RequestHeaders Headers { get; set; } - /// Request options - public IList Options { get; set; } - /// - /// Instantiates a new OrganizationalBrandingLocalizationItemRequestBuilderDeleteRequestConfiguration and sets the default values. - /// - public OrganizationalBrandingLocalizationItemRequestBuilderDeleteRequestConfiguration() { - Options = new List(); - Headers = new RequestHeaders(); - } - } - /// - /// Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of **id** in the URL. - /// - public class OrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters { - /// 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. - /// - public class OrganizationalBrandingLocalizationItemRequestBuilderGetRequestConfiguration { - /// Request headers - public RequestHeaders Headers { get; set; } - /// Request options - public IList Options { get; set; } - /// Request query parameters - public OrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters QueryParameters { get; set; } = new OrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters(); - /// - /// Instantiates a new OrganizationalBrandingLocalizationItemRequestBuilderGetRequestConfiguration and sets the default values. - /// - public OrganizationalBrandingLocalizationItemRequestBuilderGetRequestConfiguration() { - Options = new List(); - Headers = new RequestHeaders(); - } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - public class OrganizationalBrandingLocalizationItemRequestBuilderPatchRequestConfiguration { - /// Request headers - public RequestHeaders Headers { get; set; } - /// Request options - public IList Options { get; set; } - /// - /// Instantiates a new OrganizationalBrandingLocalizationItemRequestBuilderPatchRequestConfiguration and sets the default values. - /// - public OrganizationalBrandingLocalizationItemRequestBuilderPatchRequestConfiguration() { - Options = new List(); - Headers = new RequestHeaders(); - } - } - } -} diff --git a/src/Microsoft.Graph/Generated/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.cs deleted file mode 100644 index bd5b89ee253..00000000000 --- a/src/Microsoft.Graph/Generated/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.cs +++ /dev/null @@ -1,154 +0,0 @@ -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.Branding.Localizations.Item.SquareLogo { - /// - /// Provides operations to manage the media for the organizationalBranding entity. - /// - public class SquareLogoRequestBuilder : BaseRequestBuilder { - /// - /// Instantiates a new SquareLogoRequestBuilder and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SquareLogoRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/localizations/{organizationalBrandingLocalization%2Did}/squareLogo", pathParameters) { - } - /// - /// Instantiates a new SquareLogoRequestBuilder and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public SquareLogoRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/localizations/{organizationalBrandingLocalization%2Did}/squareLogo", rawUrl) { - } - /// - /// A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. - /// Find more info here - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. -#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> { - {"4XX", ODataError.CreateFromDiscriminatorValue}, - {"5XX", ODataError.CreateFromDiscriminatorValue}, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); - } - /// - /// A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. - /// - /// Binary request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { -#nullable restore -#else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> { - {"4XX", ODataError.CreateFromDiscriminatorValue}, - {"5XX", ODataError.CreateFromDiscriminatorValue}, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); - } - /// - /// A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. - /// - /// 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 { - HttpMethod = Method.GET, - UrlTemplate = UrlTemplate, - PathParameters = PathParameters, - }; - if (requestConfiguration != null) { - var requestConfig = new SquareLogoRequestBuilderGetRequestConfiguration(); - requestConfiguration.Invoke(requestConfig); - requestInfo.AddRequestOptions(requestConfig.Options); - requestInfo.AddHeaders(requestConfig.Headers); - } - return requestInfo; - } - /// - /// A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. - /// - /// Binary request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation { - HttpMethod = Method.PUT, - UrlTemplate = UrlTemplate, - PathParameters = PathParameters, - }; - requestInfo.SetStreamContent(body); - if (requestConfiguration != null) { - var requestConfig = new SquareLogoRequestBuilderPutRequestConfiguration(); - requestConfiguration.Invoke(requestConfig); - requestInfo.AddRequestOptions(requestConfig.Options); - requestInfo.AddHeaders(requestConfig.Headers); - } - return requestInfo; - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - public class SquareLogoRequestBuilderGetRequestConfiguration { - /// Request headers - public RequestHeaders Headers { get; set; } - /// Request options - public IList Options { get; set; } - /// - /// Instantiates a new squareLogoRequestBuilderGetRequestConfiguration and sets the default values. - /// - public SquareLogoRequestBuilderGetRequestConfiguration() { - Options = new List(); - Headers = new RequestHeaders(); - } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - public class SquareLogoRequestBuilderPutRequestConfiguration { - /// Request headers - public RequestHeaders Headers { get; set; } - /// Request options - public IList Options { get; set; } - /// - /// Instantiates a new squareLogoRequestBuilderPutRequestConfiguration and sets the default values. - /// - public SquareLogoRequestBuilderPutRequestConfiguration() { - Options = new List(); - Headers = new RequestHeaders(); - } - } - } -} diff --git a/src/Microsoft.Graph/Generated/Branding/Localizations/LocalizationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Branding/Localizations/LocalizationsRequestBuilder.cs deleted file mode 100644 index 6d2729e15a1..00000000000 --- a/src/Microsoft.Graph/Generated/Branding/Localizations/LocalizationsRequestBuilder.cs +++ /dev/null @@ -1,237 +0,0 @@ -using Microsoft.Graph.Branding.Localizations.Count; -using Microsoft.Graph.Branding.Localizations.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.Branding.Localizations { - /// - /// Provides operations to manage the localizations property of the microsoft.graph.organizationalBranding entity. - /// - public class LocalizationsRequestBuilder : BaseRequestBuilder { - /// Provides operations to count the resources in the collection. - public CountRequestBuilder Count { get => - new CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the localizations property of the microsoft.graph.organizationalBranding entity. - public OrganizationalBrandingLocalizationItemRequestBuilder this[string position] { get { - var urlTplParams = new Dictionary(PathParameters); - if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("organizationalBrandingLocalization%2Did", position); - return new OrganizationalBrandingLocalizationItemRequestBuilder(urlTplParams, RequestAdapter); - } } - /// - /// Instantiates a new LocalizationsRequestBuilder and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public LocalizationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/localizations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { - } - /// - /// Instantiates a new LocalizationsRequestBuilder and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public LocalizationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/localizations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { - } - /// - /// Retrieve all localization branding objects, including the default branding. - /// Find more info here - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. -#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> { - {"4XX", ODataError.CreateFromDiscriminatorValue}, - {"5XX", ODataError.CreateFromDiscriminatorValue}, - }; - return await RequestAdapter.SendAsync(requestInfo, OrganizationalBrandingLocalizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); - } - /// - /// Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding. - /// 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. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(OrganizationalBrandingLocalization body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { -#nullable restore -#else - public async Task PostAsync(OrganizationalBrandingLocalization body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> { - {"4XX", ODataError.CreateFromDiscriminatorValue}, - {"5XX", ODataError.CreateFromDiscriminatorValue}, - }; - return await RequestAdapter.SendAsync(requestInfo, OrganizationalBrandingLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); - } - /// - /// Retrieve all localization branding objects, including the default branding. - /// - /// 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 { - HttpMethod = Method.GET, - UrlTemplate = UrlTemplate, - PathParameters = PathParameters, - }; - requestInfo.Headers.Add("Accept", "application/json"); - if (requestConfiguration != null) { - var requestConfig = new LocalizationsRequestBuilderGetRequestConfiguration(); - requestConfiguration.Invoke(requestConfig); - requestInfo.AddQueryParameters(requestConfig.QueryParameters); - requestInfo.AddRequestOptions(requestConfig.Options); - requestInfo.AddHeaders(requestConfig.Headers); - } - return requestInfo; - } - /// - /// Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding. - /// - /// 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(OrganizationalBrandingLocalization body, Action? requestConfiguration = default) { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(OrganizationalBrandingLocalization body, Action requestConfiguration = default) { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation { - HttpMethod = Method.POST, - UrlTemplate = UrlTemplate, - PathParameters = PathParameters, - }; - requestInfo.Headers.Add("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - if (requestConfiguration != null) { - var requestConfig = new LocalizationsRequestBuilderPostRequestConfiguration(); - requestConfiguration.Invoke(requestConfig); - requestInfo.AddRequestOptions(requestConfig.Options); - requestInfo.AddHeaders(requestConfig.Headers); - } - return requestInfo; - } - /// - /// Retrieve all localization branding objects, including the default branding. - /// - public class LocalizationsRequestBuilderGetQueryParameters { - /// 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. - /// - public class LocalizationsRequestBuilderGetRequestConfiguration { - /// Request headers - public RequestHeaders Headers { get; set; } - /// Request options - public IList Options { get; set; } - /// Request query parameters - public LocalizationsRequestBuilderGetQueryParameters QueryParameters { get; set; } = new LocalizationsRequestBuilderGetQueryParameters(); - /// - /// Instantiates a new localizationsRequestBuilderGetRequestConfiguration and sets the default values. - /// - public LocalizationsRequestBuilderGetRequestConfiguration() { - Options = new List(); - Headers = new RequestHeaders(); - } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - public class LocalizationsRequestBuilderPostRequestConfiguration { - /// Request headers - public RequestHeaders Headers { get; set; } - /// Request options - public IList Options { get; set; } - /// - /// Instantiates a new localizationsRequestBuilderPostRequestConfiguration and sets the default values. - /// - public LocalizationsRequestBuilderPostRequestConfiguration() { - Options = new List(); - Headers = new RequestHeaders(); - } - } - } -} diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Members/MembersRequestBuilder.cs index d839a6f10e8..08661ae2030 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Members/MembersRequestBuilder.cs @@ -45,8 +45,8 @@ public MembersRequestBuilder(Dictionary pathParameters, IRequest public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/members{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a conversationMember from a chat or channel. - /// Find more info here + /// List all conversation members in a chat or channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -87,7 +87,7 @@ public async Task PostAsync(ConversationMember body, Action< return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Retrieve a conversationMember from a chat or channel. + /// List all conversation members in a chat or channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -141,7 +141,7 @@ public RequestInformation ToPostRequestInformation(ConversationMember body, Acti return requestInfo; } /// - /// Retrieve a conversationMember from a chat or channel. + /// List all conversation members in a chat or channel. /// public class MembersRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index cd40f6e6163..176200b1a3b 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index ad9c45fd406..84728858190 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 7a42f5bd1c2..2a100a57b67 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index e714abea8c5..8f688d3e8c5 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index e2c2ca3d627..49604985880 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/AttributeSetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/AttributeSetsRequestBuilder.cs index d837fd76333..542862f9617 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/AttributeSetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/AttributeSetsRequestBuilder.cs @@ -40,7 +40,8 @@ public AttributeSetsRequestBuilder(Dictionary pathParameters, IR public AttributeSetsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/attributeSets{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get attributeSets from directory + /// Get a list of the attributeSet objects and their properties. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -59,7 +60,8 @@ public async Task GetAsync(Action(requestInfo, AttributeSetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create new navigation property to attributeSets for directory + /// Create a new attributeSet object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -80,7 +82,7 @@ public async Task PostAsync(AttributeSet body, Action(requestInfo, AttributeSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Get attributeSets from directory + /// Get a list of the attributeSet objects and their properties. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -106,7 +108,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to attributeSets for directory + /// Create a new attributeSet object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -134,7 +136,7 @@ public RequestInformation ToPostRequestInformation(AttributeSet body, Action - /// Get attributeSets from directory + /// Get a list of the attributeSet objects and their properties. /// public class AttributeSetsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/Item/AttributeSetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/Item/AttributeSetItemRequestBuilder.cs index 85bf3e9477f..8e5c2748a1c 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/Item/AttributeSetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/Item/AttributeSetItemRequestBuilder.cs @@ -47,7 +47,8 @@ public async Task DeleteAsync(Action - /// Get attributeSets from directory + /// Read the properties and relationships of an attributeSet object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -66,7 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttributeSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the navigation property attributeSets in directory + /// Update the properties of an attributeSet object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -111,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get attributeSets from directory + /// Read the properties and relationships of an attributeSet object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -137,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property attributeSets in directory + /// Update the properties of an attributeSet object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +183,7 @@ public AttributeSetItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get attributeSets from directory + /// Read the properties and relationships of an attributeSet object. /// public class AttributeSetItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.cs index 699e58a7928..e7b0a4ecb6e 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.cs @@ -40,7 +40,8 @@ public CustomSecurityAttributeDefinitionsRequestBuilder(Dictionary - /// Get customSecurityAttributeDefinitions from directory + /// Get a list of the customSecurityAttributeDefinition objects and their properties. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -59,7 +60,8 @@ public async Task GetAsync( return await RequestAdapter.SendAsync(requestInfo, CustomSecurityAttributeDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create new navigation property to customSecurityAttributeDefinitions for directory + /// Create a new customSecurityAttributeDefinition object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -80,7 +82,7 @@ public async Task PostAsync(CustomSecurityAtt return await RequestAdapter.SendAsync(requestInfo, CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Get customSecurityAttributeDefinitions from directory + /// Get a list of the customSecurityAttributeDefinition objects and their properties. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -106,7 +108,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to customSecurityAttributeDefinitions for directory + /// Create a new customSecurityAttributeDefinition object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -134,7 +136,7 @@ public RequestInformation ToPostRequestInformation(CustomSecurityAttributeDefini return requestInfo; } /// - /// Get customSecurityAttributeDefinitions from directory + /// Get a list of the customSecurityAttributeDefinition objects and their properties. /// public class CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.cs index 2d8c1e5ddbd..826f226fb8a 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.cs @@ -40,7 +40,8 @@ public AllowedValuesRequestBuilder(Dictionary pathParameters, IR public AllowedValuesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get allowedValues from directory + /// Get a list of the allowedValue objects and their properties. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -59,7 +60,8 @@ public async Task GetAsync(Action(requestInfo, AllowedValueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create new navigation property to allowedValues for directory + /// Create a new allowedValue object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -80,7 +82,7 @@ public async Task PostAsync(AllowedValue body, Action(requestInfo, AllowedValue.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Get allowedValues from directory + /// Get a list of the allowedValue objects and their properties. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -106,7 +108,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to allowedValues for directory + /// Create a new allowedValue object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -134,7 +136,7 @@ public RequestInformation ToPostRequestInformation(AllowedValue body, Action - /// Get allowedValues from directory + /// Get a list of the allowedValue objects and their properties. /// public class AllowedValuesRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.cs index 8f7a71f3c61..0b106cca013 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.cs @@ -47,7 +47,8 @@ public async Task DeleteAsync(Action - /// Get allowedValues from directory + /// Read the properties and relationships of an allowedValue object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -66,7 +67,8 @@ public async Task GetAsync(Action(requestInfo, AllowedValue.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the navigation property allowedValues in directory + /// Update the properties of an allowedValue object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -111,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get allowedValues from directory + /// Read the properties and relationships of an allowedValue object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -137,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property allowedValues in directory + /// Update the properties of an allowedValue object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +183,7 @@ public AllowedValueItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get allowedValues from directory + /// Read the properties and relationships of an allowedValue object. /// public class AllowedValueItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.cs index c6657cbffb2..9e4d7a3403c 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.cs @@ -52,7 +52,8 @@ public async Task DeleteAsync(Action - /// Get customSecurityAttributeDefinitions from directory + /// Read the properties and relationships of a customSecurityAttributeDefinition object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -71,7 +72,8 @@ public async Task GetAsync(Action(requestInfo, CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the navigation property customSecurityAttributeDefinitions in directory + /// Update the properties of a customSecurityAttributeDefinition object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -116,7 +118,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get customSecurityAttributeDefinitions from directory + /// Read the properties and relationships of a customSecurityAttributeDefinition object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -142,7 +144,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property customSecurityAttributeDefinitions in directory + /// Update the properties of a customSecurityAttributeDefinition object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -186,7 +188,7 @@ public CustomSecurityAttributeDefinitionItemRequestBuilderDeleteRequestConfigura } } /// - /// Get customSecurityAttributeDefinitions from directory + /// Read the properties and relationships of a customSecurityAttributeDefinition object. /// public class CustomSecurityAttributeDefinitionItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs index 46245676498..6c4367d8dbe 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs @@ -210,8 +210,8 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's **parentReference** property. - /// Find more info here + /// To move a DriveItem to a new parent item, your app requests to update the **parentReference** of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -290,7 +290,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's **parentReference** property. + /// To move a DriveItem to a new parent item, your app requests to update the **parentReference** of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DatePostRequestBody.cs similarity index 99% rename from src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DatePostRequestBody.cs rename to src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DatePostRequestBody.cs index ad448c3e159..7f49ea109b0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DatePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DatePostRequestBody.cs @@ -5,7 +5,7 @@ using System.IO; using System.Linq; using System; -namespace Microsoft.Graph.Drives.Item.Items.Item.Workbook.Functions.Date { +namespace Microsoft.Graph.Drives.Item.Items.Item.Workbook.Functions.DateNamespace { public class DatePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DateRequestBuilder.cs similarity index 99% rename from src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DateRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DateRequestBuilder.cs index 57af450ec95..88879305816 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DateRequestBuilder.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Drives.Item.Items.Item.Workbook.Functions.Date { +namespace Microsoft.Graph.Drives.Item.Items.Item.Workbook.Functions.DateNamespace { /// /// Provides operations to call the date method. /// diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.cs index 31d4f11d70c..0b67352d9b7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.cs @@ -77,7 +77,7 @@ using Microsoft.Graph.Drives.Item.Items.Item.Workbook.Functions.Csch; using Microsoft.Graph.Drives.Item.Items.Item.Workbook.Functions.CumIPmt; using Microsoft.Graph.Drives.Item.Items.Item.Workbook.Functions.CumPrinc; -using Microsoft.Graph.Drives.Item.Items.Item.Workbook.Functions.Date; +using Microsoft.Graph.Drives.Item.Items.Item.Workbook.Functions.DateNamespace; using Microsoft.Graph.Drives.Item.Items.Item.Workbook.Functions.Datevalue; using Microsoft.Graph.Drives.Item.Items.Item.Workbook.Functions.Daverage; using Microsoft.Graph.Drives.Item.Items.Item.Workbook.Functions.Day; diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs index d0c94daf406..46f08e18b67 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -28,8 +28,8 @@ public RangeRequestBuilder(Dictionary pathParameters, IRequestAd public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%2Did}/range()", rawUrl) { } /// - /// Retrieve the properties and relationships of range object. - /// Find more info here + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -48,7 +48,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Retrieve the properties and relationships of range object. + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs index 03321216c9a..f0e9d56a91f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs @@ -51,7 +51,7 @@ public NamesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base } /// /// Retrieve a list of nameditem objects. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs index da9fd8cc043..09bf716c6bd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs @@ -47,7 +47,7 @@ public TablesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas } /// /// Retrieve a list of table objects. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs index bb0ea90511b..2c263c8c347 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs @@ -48,7 +48,7 @@ public ChartsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas } /// /// Retrieve a list of chart objects. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs index 7dffc323b00..9d4e497a61f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs @@ -41,8 +41,8 @@ public PointsRequestBuilder(Dictionary pathParameters, IRequestA public PointsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of chartpoints objects. - /// Find more info here + /// Retrieve a list of chartpoint objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -91,7 +91,7 @@ public async Task PostAsync(WorkbookChartPoint body, Action< return await RequestAdapter.SendAsync(requestInfo, WorkbookChartPoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Retrieve a list of chartpoints objects. + /// Retrieve a list of chartpoint objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -145,7 +145,7 @@ public RequestInformation ToPostRequestInformation(WorkbookChartPoint body, Acti return requestInfo; } /// - /// Retrieve a list of chartpoints objects. + /// Retrieve a list of chartpoint objects. /// public class PointsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.cs index 57613ca5c7b..da095281e07 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.cs @@ -42,7 +42,7 @@ public SeriesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas } /// /// Retrieve a list of chartseries objects. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs index e79554ef4ea..c57256d145a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -28,8 +28,8 @@ public RangeRequestBuilder(Dictionary pathParameters, IRequestAd public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%2Did}/range()", rawUrl) { } /// - /// Retrieve the properties and relationships of range object. - /// Find more info here + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -48,7 +48,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Retrieve the properties and relationships of range object. + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 6fa4de77270..bee30c09546 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 3201506fa76..00a7cf4fa9a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs index fd0bc374f8b..5aaa5b5eb1c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index b3450969346..fb0a4fa5243 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 895fb0960a2..3d7fdefd4e4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index e068f2a9769..03d3ae9c8b8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs index 9f06ea5761d..868be5ebe4e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs @@ -60,8 +60,8 @@ public async Task GetAsync(Action(requestInfo, ConversationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use reply thread or reply post to further post to that conversation. - /// Find more info here + /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -108,7 +108,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use reply thread or reply post to further post to that conversation. + /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs index 28c40bf4552..c3b87b31b4e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -34,7 +34,7 @@ public ConversationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Delete conversation. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs index 36ead25c80d..37881603ccd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs @@ -27,8 +27,8 @@ public ReplyRequestBuilder(Dictionary pathParameters, IRequestAd public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/reply", rawUrl) { } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -49,7 +49,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs index 00c1d3a29ee..51bc363209c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs @@ -27,8 +27,8 @@ public ReplyRequestBuilder(Dictionary pathParameters, IRequestAd public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/reply", rawUrl) { } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -49,7 +49,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.cs index 86b96feed2a..bb87bc2df55 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.cs @@ -40,8 +40,8 @@ public PostsRequestBuilder(Dictionary pathParameters, IRequestAd public PostsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance. - /// Find more info here + /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, PostCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance. + /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance. + /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. /// public class PostsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index a0f263e1a7c..16294e986cd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 8e0694eac3d..3ff74b2cd95 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/GroupItemRequestBuilder.cs index 8f79517df84..4d2afb5d28b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GroupItemRequestBuilder.cs @@ -273,8 +273,8 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Add a member to a security or Microsoft 365 group through the **members** navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. - /// Find more info here + /// Update the properties of a group object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -345,7 +345,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add a member to a security or Microsoft 365 group through the **members** navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. + /// Update the properties of a group object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs index 1cf69201c6f..5520af1acde 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -87,8 +87,8 @@ public async Task DeleteAsync(Action - /// Get a list of rich long-running operations associated with a list. - /// Find more info here + /// Returns the metadata for a [list][]. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a list of rich long-running operations associated with a list. + /// Returns the metadata for a [list][]. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -222,7 +222,7 @@ public ListItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get a list of rich long-running operations associated with a list. + /// Returns the metadata for a [list][]. /// public class ListItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 4d8e0cf7470..a9444a54a9e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -68,8 +68,8 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the role of a conversationMember in a team or channel. - /// Find more info here + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team or channel. + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index b13924b9be5..94923144f0b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 022ddc8e05a..703863e6550 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index f8be8f7f9bf..83d43dad462 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index bf8ccc2f883..d4581f724fa 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 02ed8ab7b5d..0a0f5a4ccd6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs index ab8cf078c9d..e9e9ce473f2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs index 420bae76065..52826af59fc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -68,8 +68,8 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the role of a conversationMember in a team or channel. - /// Find more info here + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team or channel. + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 26902ba788e..69a4dd68928 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 9f18c6f7038..039a73ac264 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index a47cb584daa..d7a439251f3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 11b46f96ea6..1c95d7dfc1f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 813905adf78..9fb7c4e194f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs index dda6616e03e..285aab11558 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs index 4bf169eae6b..bdc997cc237 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs @@ -27,8 +27,8 @@ public ReplyRequestBuilder(Dictionary pathParameters, IRequestAd public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/reply", rawUrl) { } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -49,7 +49,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs index ff306bd20ec..e16a82728d5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs @@ -27,8 +27,8 @@ public ReplyRequestBuilder(Dictionary pathParameters, IRequestAd public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/reply", rawUrl) { } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -49,7 +49,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs index 85ea5ac3a97..42dbd415bbb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs @@ -40,8 +40,8 @@ public PostsRequestBuilder(Dictionary pathParameters, IRequestAd public PostsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance. - /// Find more info here + /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, PostCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance. + /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance. + /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. /// public class PostsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.cs index 5709b1d23a0..3aa244a6ece 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.cs @@ -28,7 +28,8 @@ public AuthenticationContextClassReferenceItemRequestBuilder(Dictionary - /// Delete navigation property authenticationContextClassReferences for identity + /// Delete an authenticationContextClassReference object that's not published or used by a conditional access policy. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -47,7 +48,8 @@ public async Task DeleteAsync(Action - /// Read-only. Nullable. Returns a collection of the specified authentication context class references. + /// Retrieve the properties and relationships of a authenticationContextClassReference object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -66,7 +68,8 @@ public async Task GetAsync(Action(requestInfo, AuthenticationContextClassReference.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the navigation property authenticationContextClassReferences in identity + /// Create an authenticationContextClassReference object, if the ID has not been used. If ID has been used, this call updates the authenticationContextClassReference object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -87,7 +90,7 @@ public async Task PatchAsync(Authentication return await RequestAdapter.SendAsync(requestInfo, AuthenticationContextClassReference.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Delete navigation property authenticationContextClassReferences for identity + /// Delete an authenticationContextClassReference object that's not published or used by a conditional access policy. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -111,7 +114,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read-only. Nullable. Returns a collection of the specified authentication context class references. + /// Retrieve the properties and relationships of a authenticationContextClassReference object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -137,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property authenticationContextClassReferences in identity + /// Create an authenticationContextClassReference object, if the ID has not been used. If ID has been used, this call updates the authenticationContextClassReference object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +184,7 @@ public AuthenticationContextClassReferenceItemRequestBuilderDeleteRequestConfigu } } /// - /// Read-only. Nullable. Returns a collection of the specified authentication context class references. + /// Retrieve the properties and relationships of a authenticationContextClassReference object. /// public class AuthenticationContextClassReferenceItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs index 8603771c290..29b263eaf4b 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs @@ -28,8 +28,8 @@ public NamedLocationItemRequestBuilder(Dictionary pathParameters public NamedLocationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/namedLocations/{namedLocation%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a namedLocation object. - /// Find more info here + /// Delete a countryNamedLocation object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -68,8 +68,8 @@ public async Task GetAsync(Action(requestInfo, NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the properties of an ipNamedLocation object. - /// Find more info here + /// Update the properties of a countryNamedLocation object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -90,7 +90,7 @@ public async Task PatchAsync(NamedLocation body, Action(requestInfo, NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Delete a namedLocation object. + /// Delete a countryNamedLocation object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an ipNamedLocation object. + /// Update the properties of a countryNamedLocation object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs index d7a84a0ae71..3f03c56b80a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs @@ -47,7 +47,8 @@ public async Task DeleteAsync(Action - /// Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. + /// Read the properties and relationships of an accessReviewInstanceDecisionItem object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -112,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. + /// Read the properties and relationships of an accessReviewInstanceDecisionItem object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -182,7 +183,7 @@ public AccessReviewInstanceDecisionItemItemRequestBuilderDeleteRequestConfigurat } } /// - /// Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. + /// Read the properties and relationships of an accessReviewInstanceDecisionItem object. /// public class AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs b/src/Microsoft.Graph/Generated/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs new file mode 100644 index 00000000000..74dd6a3c15e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs @@ -0,0 +1,153 @@ +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Localizations.Item.CustomCSS { + /// + /// Provides operations to manage the media for the organizationalBrandingLocalization entity. + /// + public class CustomCSSRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new CustomCSSRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CustomCSSRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/localizations/{organizationalBrandingLocalization%2Did}/customCSS", pathParameters) { + } + /// + /// Instantiates a new CustomCSSRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CustomCSSRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/localizations/{organizationalBrandingLocalization%2Did}/customCSS", rawUrl) { + } + /// + /// Get customCSS for organizationalBrandingLocalization from localizations + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Update customCSS for organizationalBrandingLocalization in localizations + /// + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Get customCSS for organizationalBrandingLocalization from localizations + /// + /// 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 { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new CustomCSSRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Update customCSS for organizationalBrandingLocalization in localizations + /// + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.PUT, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.SetStreamContent(body); + if (requestConfiguration != null) { + var requestConfig = new CustomCSSRequestBuilderPutRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class CustomCSSRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new customCSSRequestBuilderGetRequestConfiguration and sets the default values. + /// + public CustomCSSRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class CustomCSSRequestBuilderPutRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new customCSSRequestBuilderPutRequestConfiguration and sets the default values. + /// + public CustomCSSRequestBuilderPutRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Localizations/Item/Favicon/FaviconRequestBuilder.cs b/src/Microsoft.Graph/Generated/Localizations/Item/Favicon/FaviconRequestBuilder.cs new file mode 100644 index 00000000000..f7018a2b711 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Localizations/Item/Favicon/FaviconRequestBuilder.cs @@ -0,0 +1,153 @@ +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Localizations.Item.Favicon { + /// + /// Provides operations to manage the media for the organizationalBrandingLocalization entity. + /// + public class FaviconRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new FaviconRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public FaviconRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/localizations/{organizationalBrandingLocalization%2Did}/favicon", pathParameters) { + } + /// + /// Instantiates a new FaviconRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public FaviconRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/localizations/{organizationalBrandingLocalization%2Did}/favicon", rawUrl) { + } + /// + /// Get favicon for organizationalBrandingLocalization from localizations + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Update favicon for organizationalBrandingLocalization in localizations + /// + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Get favicon for organizationalBrandingLocalization from localizations + /// + /// 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 { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new FaviconRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Update favicon for organizationalBrandingLocalization in localizations + /// + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.PUT, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.SetStreamContent(body); + if (requestConfiguration != null) { + var requestConfig = new FaviconRequestBuilderPutRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class FaviconRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new faviconRequestBuilderGetRequestConfiguration and sets the default values. + /// + public FaviconRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class FaviconRequestBuilderPutRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new faviconRequestBuilderPutRequestConfiguration and sets the default values. + /// + public FaviconRequestBuilderPutRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Branding/BannerLogo/BannerLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs similarity index 72% rename from src/Microsoft.Graph/Generated/Branding/BannerLogo/BannerLogoRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs index 1e29e37ec2a..cef0032c780 100644 --- a/src/Microsoft.Graph/Generated/Branding/BannerLogo/BannerLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs @@ -7,36 +7,36 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Branding.BannerLogo { +namespace Microsoft.Graph.Localizations.Item.HeaderLogo { /// - /// Provides operations to manage the media for the organizationalBranding entity. + /// Provides operations to manage the media for the organizationalBrandingLocalization entity. /// - public class BannerLogoRequestBuilder : BaseRequestBuilder { + public class HeaderLogoRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new BannerLogoRequestBuilder and sets the default values. + /// Instantiates a new HeaderLogoRequestBuilder and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public BannerLogoRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/bannerLogo", pathParameters) { + public HeaderLogoRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/localizations/{organizationalBrandingLocalization%2Did}/headerLogo", pathParameters) { } /// - /// Instantiates a new BannerLogoRequestBuilder and sets the default values. + /// Instantiates a new HeaderLogoRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public BannerLogoRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/bannerLogo", rawUrl) { + public HeaderLogoRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/localizations/{organizationalBrandingLocalization%2Did}/headerLogo", rawUrl) { } /// - /// A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + /// Get headerLogo for organizationalBrandingLocalization from localizations /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); var errorMapping = new Dictionary> { @@ -46,17 +46,17 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); } /// - /// A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + /// Update headerLogo for organizationalBrandingLocalization in localizations /// /// Binary request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); @@ -67,15 +67,15 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); } /// - /// A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + /// Get headerLogo for organizationalBrandingLocalization from localizations /// /// 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) { + public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { + public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { #endif var requestInfo = new RequestInformation { HttpMethod = Method.GET, @@ -83,7 +83,7 @@ public RequestInformation ToGetRequestInformation(Action - /// A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + /// Update headerLogo for organizationalBrandingLocalization in localizations /// /// Binary request body /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation { @@ -110,7 +110,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action /// Configuration for the request such as headers, query parameters, and middleware options. /// - public class BannerLogoRequestBuilderGetRequestConfiguration { + public class HeaderLogoRequestBuilderGetRequestConfiguration { /// Request headers public RequestHeaders Headers { get; set; } /// Request options public IList Options { get; set; } /// - /// Instantiates a new bannerLogoRequestBuilderGetRequestConfiguration and sets the default values. + /// Instantiates a new headerLogoRequestBuilderGetRequestConfiguration and sets the default values. /// - public BannerLogoRequestBuilderGetRequestConfiguration() { + public HeaderLogoRequestBuilderGetRequestConfiguration() { Options = new List(); Headers = new RequestHeaders(); } @@ -136,15 +136,15 @@ public BannerLogoRequestBuilderGetRequestConfiguration() { /// /// Configuration for the request such as headers, query parameters, and middleware options. /// - public class BannerLogoRequestBuilderPutRequestConfiguration { + public class HeaderLogoRequestBuilderPutRequestConfiguration { /// Request headers public RequestHeaders Headers { get; set; } /// Request options public IList Options { get; set; } /// - /// Instantiates a new bannerLogoRequestBuilderPutRequestConfiguration and sets the default values. + /// Instantiates a new headerLogoRequestBuilderPutRequestConfiguration and sets the default values. /// - public BannerLogoRequestBuilderPutRequestConfiguration() { + public HeaderLogoRequestBuilderPutRequestConfiguration() { Options = new List(); Headers = new RequestHeaders(); } diff --git a/src/Microsoft.Graph/Generated/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs index 8c6a8dbda1e..66a7fe6bca5 100644 --- a/src/Microsoft.Graph/Generated/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs @@ -1,6 +1,10 @@ using Microsoft.Graph.Localizations.Item.BackgroundImage; using Microsoft.Graph.Localizations.Item.BannerLogo; +using Microsoft.Graph.Localizations.Item.CustomCSS; +using Microsoft.Graph.Localizations.Item.Favicon; +using Microsoft.Graph.Localizations.Item.HeaderLogo; using Microsoft.Graph.Localizations.Item.SquareLogo; +using Microsoft.Graph.Localizations.Item.SquareLogoDark; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Serialization; @@ -25,9 +29,25 @@ public class OrganizationalBrandingLocalizationItemRequestBuilder : BaseRequestB new BannerLogoRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the media for the organizationalBrandingLocalization entity. + public CustomCSSRequestBuilder CustomCSS { get => + new CustomCSSRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the media for the organizationalBrandingLocalization entity. + public FaviconRequestBuilder Favicon { get => + new FaviconRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the media for the organizationalBrandingLocalization entity. + public HeaderLogoRequestBuilder HeaderLogo { get => + new HeaderLogoRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the media for the organizationalBrandingLocalization entity. public SquareLogoRequestBuilder SquareLogo { get => new SquareLogoRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the media for the organizationalBrandingLocalization entity. + public SquareLogoDarkRequestBuilder SquareLogoDark { get => + new SquareLogoDarkRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new OrganizationalBrandingLocalizationItemRequestBuilder and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Branding/BackgroundImage/BackgroundImageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs similarity index 62% rename from src/Microsoft.Graph/Generated/Branding/BackgroundImage/BackgroundImageRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs index 1aa5feb8fe4..93cc560a2c4 100644 --- a/src/Microsoft.Graph/Generated/Branding/BackgroundImage/BackgroundImageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs @@ -7,36 +7,36 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Branding.BackgroundImage { +namespace Microsoft.Graph.Localizations.Item.SquareLogoDark { /// - /// Provides operations to manage the media for the organizationalBranding entity. + /// Provides operations to manage the media for the organizationalBrandingLocalization entity. /// - public class BackgroundImageRequestBuilder : BaseRequestBuilder { + public class SquareLogoDarkRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new BackgroundImageRequestBuilder and sets the default values. + /// Instantiates a new SquareLogoDarkRequestBuilder and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public BackgroundImageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/backgroundImage", pathParameters) { + public SquareLogoDarkRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/localizations/{organizationalBrandingLocalization%2Did}/squareLogoDark", pathParameters) { } /// - /// Instantiates a new BackgroundImageRequestBuilder and sets the default values. + /// Instantiates a new SquareLogoDarkRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public BackgroundImageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/backgroundImage", rawUrl) { + public SquareLogoDarkRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/localizations/{organizationalBrandingLocalization%2Did}/squareLogoDark", rawUrl) { } /// - /// Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. + /// Get squareLogoDark for organizationalBrandingLocalization from localizations /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); var errorMapping = new Dictionary> { @@ -46,17 +46,17 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); } /// - /// Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. + /// Update squareLogoDark for organizationalBrandingLocalization in localizations /// /// Binary request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); @@ -67,15 +67,15 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); } /// - /// Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. + /// Get squareLogoDark for organizationalBrandingLocalization from localizations /// /// 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) { + public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { + public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { #endif var requestInfo = new RequestInformation { HttpMethod = Method.GET, @@ -83,7 +83,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. + /// Update squareLogoDark for organizationalBrandingLocalization in localizations /// /// Binary request body /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation { @@ -110,7 +110,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action /// Configuration for the request such as headers, query parameters, and middleware options. /// - public class BackgroundImageRequestBuilderGetRequestConfiguration { + public class SquareLogoDarkRequestBuilderGetRequestConfiguration { /// Request headers public RequestHeaders Headers { get; set; } /// Request options public IList Options { get; set; } /// - /// Instantiates a new backgroundImageRequestBuilderGetRequestConfiguration and sets the default values. + /// Instantiates a new squareLogoDarkRequestBuilderGetRequestConfiguration and sets the default values. /// - public BackgroundImageRequestBuilderGetRequestConfiguration() { + public SquareLogoDarkRequestBuilderGetRequestConfiguration() { Options = new List(); Headers = new RequestHeaders(); } @@ -136,15 +136,15 @@ public BackgroundImageRequestBuilderGetRequestConfiguration() { /// /// Configuration for the request such as headers, query parameters, and middleware options. /// - public class BackgroundImageRequestBuilderPutRequestConfiguration { + public class SquareLogoDarkRequestBuilderPutRequestConfiguration { /// Request headers public RequestHeaders Headers { get; set; } /// Request options public IList Options { get; set; } /// - /// Instantiates a new backgroundImageRequestBuilderPutRequestConfiguration and sets the default values. + /// Instantiates a new squareLogoDarkRequestBuilderPutRequestConfiguration and sets the default values. /// - public BackgroundImageRequestBuilderPutRequestConfiguration() { + public SquareLogoDarkRequestBuilderPutRequestConfiguration() { Options = new List(); Headers = new RequestHeaders(); } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 938e4807abd..3ad5acd1505 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index d041db6d856..f997ce9dc11 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 13ae6bd641f..c73ba7d68ba 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index ce00ab4b99e..ed8f2397acc 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 3edcd2f8c3f..e8f16825a6a 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index c365e24deff..71d23f983f6 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 66aa620ab42..cc8bacd4311 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 0a1b155bb82..ddad796b12e 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index fb29926075f..b9acd3c5f9e 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 463167bf071..79299955a1f 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index f0fa64ea1c1..0e61972e648 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index f76bc6256b9..9b7d22b4564 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 4d7955c51bb..d6ceb9a69cf 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index b92b6ec7525..9c2d39f2016 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs index 5a3f2a0a7ef..a379df50e13 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs @@ -45,8 +45,8 @@ public MembersRequestBuilder(Dictionary pathParameters, IRequest public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/members{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a conversationMember from a chat or channel. - /// Find more info here + /// List all conversation members in a chat or channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -87,7 +87,7 @@ public async Task PostAsync(ConversationMember body, Action< return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Retrieve a conversationMember from a chat or channel. + /// List all conversation members in a chat or channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -141,7 +141,7 @@ public RequestInformation ToPostRequestInformation(ConversationMember body, Acti return requestInfo; } /// - /// Retrieve a conversationMember from a chat or channel. + /// List all conversation members in a chat or channel. /// public class MembersRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 132a58f9484..87efb30bcd6 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index f61d3cef44f..fbca8ab1ec3 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 0df958d0a00..cdd9baf7324 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 3fff7a1ceaa..508761727d6 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 4b750bd7adb..882dee25547 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 2104c1e2376..c1bbe8df1bd 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 3e379df420e..2e8845438e5 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index e0a16aecb68..46a6260c713 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -68,8 +68,8 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the role of a conversationMember in a team or channel. - /// Find more info here + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team or channel. + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 2c88c6c06b9..a985d48b0bb 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 52a1ebf6d31..d774504bf74 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 622c20aac16..d75a604db71 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index bcbef08bf8d..25b1d968ccc 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 10b1085038c..544962bcdc8 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 4b5feeb2361..307fa64c935 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs index 2765306ba60..8dd97b040cd 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -68,8 +68,8 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the role of a conversationMember in a team or channel. - /// Find more info here + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team or channel. + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 1906ab4321d..733a79a6d1a 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index c2c27357554..1de104a3aa8 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index e0aff4710c0..82e1d912a4b 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 52facde6718..ad794c1b402 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 39f29592609..e2d8b096377 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs index 725a3b30c39..e24b957b421 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index ad4f59c8e6b..9880f270c19 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new mailSearchFolder in the specified user's mailbox. - /// Find more info here + /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the **isHidden** property to `true` on creation. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mailSearchFolder in the specified user's mailbox. + /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the **isHidden** property to `true` on creation. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index d1617b8909e..bffc5c47514 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -35,14 +35,14 @@ public AttachmentItemRequestBuilder this[string position] { get { /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { + public AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { } /// /// Instantiates a new AttachmentsRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { + public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// /// Retrieve a list of attachment objects. @@ -187,12 +187,6 @@ public class AttachmentsRequestBuilderGetQueryParameters { [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. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 129e947e01a..04969f540fc 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -35,14 +35,14 @@ public AttachmentItemRequestBuilder this[string position] { get { /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { + public AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { } /// /// Instantiates a new AttachmentsRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { + public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// /// Retrieve a list of attachment objects. @@ -187,12 +187,6 @@ public class AttachmentsRequestBuilderGetQueryParameters { [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. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 3c7b4d030d1..9b87e26e054 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -35,14 +35,14 @@ public AttachmentItemRequestBuilder this[string position] { get { /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/attachments{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { + public AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { } /// /// Instantiates a new AttachmentsRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/attachments{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { + public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// /// Retrieve a list of attachment objects. @@ -187,12 +187,6 @@ public class AttachmentsRequestBuilderGetQueryParameters { [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. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 66d88c12b17..c3d929b60b5 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -109,7 +109,7 @@ public async Task DeleteAsync(Action /// The messages in a mailbox or folder. Read-only. Nullable. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs index f8e39623599..85ac7af6c35 100644 --- a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs @@ -27,7 +27,8 @@ public RevokeSignInSessionsRequestBuilder(Dictionary pathParamet public RevokeSignInSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/revokeSignInSessions", rawUrl) { } /// - /// Invoke action revokeSignInSessions + /// Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the **signInSessionsValidFromDateTime** user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action(requestInfo, RevokeSignInSessionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Invoke action revokeSignInSessions + /// Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the **signInSessionsValidFromDateTime** user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Models/AllowedValue.cs b/src/Microsoft.Graph/Generated/Models/AllowedValue.cs index ceb61faf08c..c6ee0b09410 100644 --- a/src/Microsoft.Graph/Generated/Models/AllowedValue.cs +++ b/src/Microsoft.Graph/Generated/Models/AllowedValue.cs @@ -5,7 +5,7 @@ using System; namespace Microsoft.Graph.Models { public class AllowedValue : Entity, IParsable { - /// The isActive property + /// Indicates whether the predefined value is active or deactivated. If set to false, this predefined value cannot be assigned to any additional supported directory objects. public bool? IsActive { get { return BackingStore?.Get("isActive"); } set { BackingStore?.Set("isActive", value); } diff --git a/src/Microsoft.Graph/Generated/Models/AttributeSet.cs b/src/Microsoft.Graph/Generated/Models/AttributeSet.cs index 41d7e7a313c..69eee8d0788 100644 --- a/src/Microsoft.Graph/Generated/Models/AttributeSet.cs +++ b/src/Microsoft.Graph/Generated/Models/AttributeSet.cs @@ -5,7 +5,7 @@ using System; namespace Microsoft.Graph.Models { public class AttributeSet : Entity, IParsable { - /// The description property + /// Description of the attribute set. Can be up to 128 characters long and include Unicode characters. Can be changed later. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description { @@ -19,7 +19,7 @@ public string Description { set { BackingStore?.Set("description", value); } } #endif - /// The maxAttributesPerSet property + /// Maximum number of custom security attributes that can be defined in this attribute set. Default value is null. If not specified, the administrator can add up to the maximum of 500 active attributes per tenant. Can be changed later. public int? MaxAttributesPerSet { get { return BackingStore?.Get("maxAttributesPerSet"); } set { BackingStore?.Set("maxAttributesPerSet", value); } diff --git a/src/Microsoft.Graph/Generated/Models/AuditEvent.cs b/src/Microsoft.Graph/Generated/Models/AuditEvent.cs index 1a4d1882524..59e8abe9392 100644 --- a/src/Microsoft.Graph/Generated/Models/AuditEvent.cs +++ b/src/Microsoft.Graph/Generated/Models/AuditEvent.cs @@ -4,9 +4,6 @@ using System.Linq; using System; namespace Microsoft.Graph.Models { - /// - /// A class containing the properties for Audit Event. - /// public class AuditEvent : Entity, IParsable { /// Friendly name of the activity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Models/CallRecords/MediaStream.cs b/src/Microsoft.Graph/Generated/Models/CallRecords/MediaStream.cs index 405882bcfd1..35930a78250 100644 --- a/src/Microsoft.Graph/Generated/Models/CallRecords/MediaStream.cs +++ b/src/Microsoft.Graph/Generated/Models/CallRecords/MediaStream.cs @@ -11,7 +11,7 @@ public IDictionary AdditionalData { get { return BackingStore?.Get>("additionalData"); } set { BackingStore?.Set("additionalData", value); } } - /// Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRTA, unknownFutureValue. + /// Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue. public Microsoft.Graph.Models.CallRecords.AudioCodec? AudioCodec { get { return BackingStore?.Get("audioCodec"); } set { BackingStore?.Set("audioCodec", value); } diff --git a/src/Microsoft.Graph/Generated/Models/CollapseProperty.cs b/src/Microsoft.Graph/Generated/Models/CollapseProperty.cs index 2e0be56b6a7..af081835a1b 100644 --- a/src/Microsoft.Graph/Generated/Models/CollapseProperty.cs +++ b/src/Microsoft.Graph/Generated/Models/CollapseProperty.cs @@ -13,7 +13,7 @@ public IDictionary AdditionalData { } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The fields property + /// Defines the collapse group to trim results. The properties in this collection must be sortable/refinable properties. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Fields { @@ -27,7 +27,7 @@ public List Fields { set { BackingStore?.Set("fields", value); } } #endif - /// The limit property + /// Defines a maximum limit count for this field. This numeric value must be a positive integer. Required. public int? Limit { get { return BackingStore?.Get("limit"); } set { BackingStore?.Set("limit", value); } diff --git a/src/Microsoft.Graph/Generated/Models/Contract.cs b/src/Microsoft.Graph/Generated/Models/Contract.cs index 897800ee6e2..5499cbac066 100644 --- a/src/Microsoft.Graph/Generated/Models/Contract.cs +++ b/src/Microsoft.Graph/Generated/Models/Contract.cs @@ -53,7 +53,7 @@ public string DisplayName { } #endif /// - /// Instantiates a new contract and sets the default values. + /// Instantiates a new Contract and sets the default values. /// public Contract() : base() { OdataType = "#microsoft.graph.contract"; diff --git a/src/Microsoft.Graph/Generated/Models/ConversationMember.cs b/src/Microsoft.Graph/Generated/Models/ConversationMember.cs index 8ba70f2dc97..28c56ac45cd 100644 --- a/src/Microsoft.Graph/Generated/Models/ConversationMember.cs +++ b/src/Microsoft.Graph/Generated/Models/ConversationMember.cs @@ -19,7 +19,7 @@ public string DisplayName { set { BackingStore?.Set("displayName", value); } } #endif - /// The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. + /// The roles for that user. This property contains additional qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Roles { diff --git a/src/Microsoft.Graph/Generated/Models/CustomSecurityAttributeDefinition.cs b/src/Microsoft.Graph/Generated/Models/CustomSecurityAttributeDefinition.cs index 120fc44d040..cb93cd50bb9 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomSecurityAttributeDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomSecurityAttributeDefinition.cs @@ -5,7 +5,7 @@ using System; namespace Microsoft.Graph.Models { public class CustomSecurityAttributeDefinition : Entity, IParsable { - /// The allowedValues property + /// Values that are predefined for this custom security attribute. This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AllowedValues { @@ -19,7 +19,7 @@ public List AllowedValues { set { BackingStore?.Set("allowedValues", value); } } #endif - /// The attributeSet property + /// Name of the attribute set. Case insensitive. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AttributeSet { @@ -33,7 +33,7 @@ public string AttributeSet { set { BackingStore?.Set("attributeSet", value); } } #endif - /// The description property + /// Description of the custom security attribute. Can be up to 128 characters long and include Unicode characters. Can be changed later. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description { @@ -47,17 +47,17 @@ public string Description { set { BackingStore?.Set("description", value); } } #endif - /// The isCollection property + /// Indicates whether multiple values can be assigned to the custom security attribute. Cannot be changed later. If type is set to Boolean, isCollection cannot be set to true. public bool? IsCollection { get { return BackingStore?.Get("isCollection"); } set { BackingStore?.Set("isCollection", value); } } - /// The isSearchable property + /// Indicates whether custom security attribute values are indexed for searching on objects that are assigned attribute values. Cannot be changed later. public bool? IsSearchable { get { return BackingStore?.Get("isSearchable"); } set { BackingStore?.Set("isSearchable", value); } } - /// The name property + /// Name of the custom security attribute. Must be unique within an attribute set. Can be up to 32 characters long and include Unicode characters. Cannot contain spaces or special characters. Cannot be changed later. Case insensitive. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name { @@ -71,7 +71,7 @@ public string Name { set { BackingStore?.Set("name", value); } } #endif - /// The status property + /// Specifies whether the custom security attribute is active or deactivated. Acceptable values are: Available and Deprecated. Can be changed later. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Status { @@ -85,7 +85,7 @@ public string Status { set { BackingStore?.Set("status", value); } } #endif - /// The type property + /// Data type for the custom security attribute values. Supported types are: Boolean, Integer, and String. Cannot be changed later. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Type { @@ -99,7 +99,7 @@ public string Type { set { BackingStore?.Set("type", value); } } #endif - /// The usePreDefinedValuesOnly property + /// Indicates whether only predefined values can be assigned to the custom security attribute. If set to false, free-form values are allowed. Can later be changed from true to false, but cannot be changed from false to true. If type is set to Boolean, usePreDefinedValuesOnly cannot be set to true. public bool? UsePreDefinedValuesOnly { get { return BackingStore?.Get("usePreDefinedValuesOnly"); } set { BackingStore?.Set("usePreDefinedValuesOnly", value); } diff --git a/src/Microsoft.Graph/Generated/Models/DefaultUserRolePermissions.cs b/src/Microsoft.Graph/Generated/Models/DefaultUserRolePermissions.cs index f8ec98885ba..1cf1f8609a6 100644 --- a/src/Microsoft.Graph/Generated/Models/DefaultUserRolePermissions.cs +++ b/src/Microsoft.Graph/Generated/Models/DefaultUserRolePermissions.cs @@ -11,17 +11,17 @@ public IDictionary AdditionalData { get { return BackingStore?.Get>("additionalData"); } set { BackingStore?.Set("additionalData", value); } } - /// Indicates whether the default user role can create applications. + /// Indicates whether the default user role can create applications. This setting corresponds to the Users can register applications setting in the User settings menu in the Azure portal. public bool? AllowedToCreateApps { get { return BackingStore?.Get("allowedToCreateApps"); } set { BackingStore?.Set("allowedToCreateApps", value); } } - /// Indicates whether the default user role can create security groups. This setting corresponds to the The Users can create security groups in Azure portals, API or PowerShell setting in the group settings menu in the Azure portal. + /// Indicates whether the default user role can create security groups. This setting corresponds to the following menus in the Azure portal: The Users can create security groups in Azure portals, API or PowerShell setting in the Group settings menu. Users can create security groups setting in the User settings menu. public bool? AllowedToCreateSecurityGroups { get { return BackingStore?.Get("allowedToCreateSecurityGroups"); } set { BackingStore?.Set("allowedToCreateSecurityGroups", value); } } - /// Indicates whether the default user role can create tenants. + /// Indicates whether the default user role can create tenants. This setting corresponds to the Restrict non-admin users from creating tenants setting in the User settings menu in the Azure portal. When this setting is false, users assigned the Tenant Creator role can still create tenants. public bool? AllowedToCreateTenants { get { return BackingStore?.Get("allowedToCreateTenants"); } set { BackingStore?.Set("allowedToCreateTenants", value); } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceCategory.cs b/src/Microsoft.Graph/Generated/Models/DeviceCategory.cs index e6ea8517b9b..10808146015 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceCategory.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceCategory.cs @@ -4,6 +4,9 @@ using System.Linq; using System; namespace Microsoft.Graph.Models { + /// + /// Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories. + /// public class DeviceCategory : Entity, IParsable { /// Optional description for the device category. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs b/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs index 99f9e2494bb..f089e7e0e5b 100644 --- a/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs +++ b/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs @@ -19,7 +19,7 @@ public List AdministrativeUnits { set { BackingStore?.Set("administrativeUnits", value); } } #endif - /// The attributeSets property + /// Group of related custom security attribute definitions. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AttributeSets { @@ -33,7 +33,7 @@ public List AttributeSets { set { BackingStore?.Set("attributeSets", value); } } #endif - /// The customSecurityAttributeDefinitions property + /// Schema of a custom security attributes (key-value pairs). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? CustomSecurityAttributeDefinitions { diff --git a/src/Microsoft.Graph/Generated/Models/EducationSubmission.cs b/src/Microsoft.Graph/Generated/Models/EducationSubmission.cs index 2b9c3a5b6da..2b89de77c74 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationSubmission.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationSubmission.cs @@ -99,7 +99,7 @@ public DateTimeOffset? ReturnedDateTime { get { return BackingStore?.Get("returnedDateTime"); } set { BackingStore?.Set("returnedDateTime", value); } } - /// Read-only. Possible values are: working, submitted, released, returned, and reassigned. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reassigned. + /// Read-only. Possible values are: working, submitted, returned, and reassigned. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reassigned. public EducationSubmissionStatus? Status { get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } diff --git a/src/Microsoft.Graph/Generated/Models/Group.cs b/src/Microsoft.Graph/Generated/Models/Group.cs index caf6c511757..b89143b1239 100644 --- a/src/Microsoft.Graph/Generated/Models/Group.cs +++ b/src/Microsoft.Graph/Generated/Models/Group.cs @@ -772,7 +772,7 @@ public string Visibility { } #endif /// - /// Instantiates a new group and sets the default values. + /// Instantiates a new Group and sets the default values. /// public Group() : base() { OdataType = "#microsoft.graph.group"; diff --git a/src/Microsoft.Graph/Generated/Models/KeyCredential.cs b/src/Microsoft.Graph/Generated/Models/KeyCredential.cs index 01a8ea22850..3d26e6c683b 100644 --- a/src/Microsoft.Graph/Generated/Models/KeyCredential.cs +++ b/src/Microsoft.Graph/Generated/Models/KeyCredential.cs @@ -46,7 +46,7 @@ public DateTimeOffset? EndDateTime { get { return BackingStore?.Get("endDateTime"); } set { BackingStore?.Set("endDateTime", value); } } - /// The certificate's raw data in byte array converted to Base64 string. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. + /// The certificate's raw data in byte array converted to Base64 string. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. From a .cer certificate, you can read the key using the Convert.ToBase64String() method. For more information, see Get the certificate key. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public byte[]? Key { diff --git a/src/Microsoft.Graph/Generated/Models/LayoutTemplateType.cs b/src/Microsoft.Graph/Generated/Models/LayoutTemplateType.cs new file mode 100644 index 00000000000..7fb7efae2d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/LayoutTemplateType.cs @@ -0,0 +1,12 @@ +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models { + public enum LayoutTemplateType { + [EnumMember(Value = "default")] + Default, + [EnumMember(Value = "verticalSplit")] + VerticalSplit, + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/LoginPageLayoutConfiguration.cs b/src/Microsoft.Graph/Generated/Models/LoginPageLayoutConfiguration.cs new file mode 100644 index 00000000000..9f425e4ac96 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/LoginPageLayoutConfiguration.cs @@ -0,0 +1,84 @@ +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models { + public class LoginPageLayoutConfiguration : IAdditionalDataHolder, IBackedModel, IParsable { + /// 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"); } + set { BackingStore?.Set("additionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The isFooterShown property + public bool? IsFooterShown { + get { return BackingStore?.Get("isFooterShown"); } + set { BackingStore?.Set("isFooterShown", value); } + } + /// The isHeaderShown property + public bool? IsHeaderShown { + get { return BackingStore?.Get("isHeaderShown"); } + set { BackingStore?.Set("isHeaderShown", value); } + } + /// The layoutTemplateType property + public Microsoft.Graph.Models.LayoutTemplateType? LayoutTemplateType { + get { return BackingStore?.Get("layoutTemplateType"); } + set { BackingStore?.Set("layoutTemplateType", 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 loginPageLayoutConfiguration and sets the default values. + /// + public LoginPageLayoutConfiguration() { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static LoginPageLayoutConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new LoginPageLayoutConfiguration(); + } + /// + /// The deserialization information for the current model + /// + public IDictionary> GetFieldDeserializers() { + return new Dictionary> { + {"isFooterShown", n => { IsFooterShown = n.GetBoolValue(); } }, + {"isHeaderShown", n => { IsHeaderShown = n.GetBoolValue(); } }, + {"layoutTemplateType", n => { LayoutTemplateType = n.GetEnumValue(); } }, + {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isFooterShown", IsFooterShown); + writer.WriteBoolValue("isHeaderShown", IsHeaderShown); + writer.WriteEnumValue("layoutTemplateType", LayoutTemplateType); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/LoginPageTextVisibilitySettings.cs b/src/Microsoft.Graph/Generated/Models/LoginPageTextVisibilitySettings.cs new file mode 100644 index 00000000000..d3f4ed051d5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/LoginPageTextVisibilitySettings.cs @@ -0,0 +1,105 @@ +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models { + public class LoginPageTextVisibilitySettings : IAdditionalDataHolder, IBackedModel, IParsable { + /// 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"); } + set { BackingStore?.Set("additionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The hideAccountResetCredentials property + public bool? HideAccountResetCredentials { + get { return BackingStore?.Get("hideAccountResetCredentials"); } + set { BackingStore?.Set("hideAccountResetCredentials", value); } + } + /// The hideCannotAccessYourAccount property + public bool? HideCannotAccessYourAccount { + get { return BackingStore?.Get("hideCannotAccessYourAccount"); } + set { BackingStore?.Set("hideCannotAccessYourAccount", value); } + } + /// The hideForgotMyPassword property + public bool? HideForgotMyPassword { + get { return BackingStore?.Get("hideForgotMyPassword"); } + set { BackingStore?.Set("hideForgotMyPassword", value); } + } + /// The hidePrivacyAndCookies property + public bool? HidePrivacyAndCookies { + get { return BackingStore?.Get("hidePrivacyAndCookies"); } + set { BackingStore?.Set("hidePrivacyAndCookies", value); } + } + /// The hideResetItNow property + public bool? HideResetItNow { + get { return BackingStore?.Get("hideResetItNow"); } + set { BackingStore?.Set("hideResetItNow", value); } + } + /// The hideTermsOfUse property + public bool? HideTermsOfUse { + get { return BackingStore?.Get("hideTermsOfUse"); } + set { BackingStore?.Set("hideTermsOfUse", 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 loginPageTextVisibilitySettings and sets the default values. + /// + public LoginPageTextVisibilitySettings() { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static LoginPageTextVisibilitySettings CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new LoginPageTextVisibilitySettings(); + } + /// + /// The deserialization information for the current model + /// + public IDictionary> GetFieldDeserializers() { + return new Dictionary> { + {"hideAccountResetCredentials", n => { HideAccountResetCredentials = n.GetBoolValue(); } }, + {"hideCannotAccessYourAccount", n => { HideCannotAccessYourAccount = n.GetBoolValue(); } }, + {"hideForgotMyPassword", n => { HideForgotMyPassword = n.GetBoolValue(); } }, + {"hidePrivacyAndCookies", n => { HidePrivacyAndCookies = n.GetBoolValue(); } }, + {"hideResetItNow", n => { HideResetItNow = n.GetBoolValue(); } }, + {"hideTermsOfUse", n => { HideTermsOfUse = n.GetBoolValue(); } }, + {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("hideAccountResetCredentials", HideAccountResetCredentials); + writer.WriteBoolValue("hideCannotAccessYourAccount", HideCannotAccessYourAccount); + writer.WriteBoolValue("hideForgotMyPassword", HideForgotMyPassword); + writer.WriteBoolValue("hidePrivacyAndCookies", HidePrivacyAndCookies); + writer.WriteBoolValue("hideResetItNow", HideResetItNow); + writer.WriteBoolValue("hideTermsOfUse", HideTermsOfUse); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Organization.cs b/src/Microsoft.Graph/Generated/Models/Organization.cs index a5394816892..8d133a469b7 100644 --- a/src/Microsoft.Graph/Generated/Models/Organization.cs +++ b/src/Microsoft.Graph/Generated/Models/Organization.cs @@ -339,7 +339,7 @@ public List VerifiedDomains { } #endif /// - /// Instantiates a new Organization and sets the default values. + /// Instantiates a new organization and sets the default values. /// public Organization() : base() { OdataType = "#microsoft.graph.organization"; diff --git a/src/Microsoft.Graph/Generated/Models/OrganizationalBrandingProperties.cs b/src/Microsoft.Graph/Generated/Models/OrganizationalBrandingProperties.cs index 2232ef6e754..cd3e425bc3c 100644 --- a/src/Microsoft.Graph/Generated/Models/OrganizationalBrandingProperties.cs +++ b/src/Microsoft.Graph/Generated/Models/OrganizationalBrandingProperties.cs @@ -88,6 +88,258 @@ public List CdnList { get { return BackingStore?.Get>("cdnList"); } set { BackingStore?.Set("cdnList", value); } } +#endif + /// The customAccountResetCredentialsUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomAccountResetCredentialsUrl { + get { return BackingStore?.Get("customAccountResetCredentialsUrl"); } + set { BackingStore?.Set("customAccountResetCredentialsUrl", value); } + } +#nullable restore +#else + public string CustomAccountResetCredentialsUrl { + get { return BackingStore?.Get("customAccountResetCredentialsUrl"); } + set { BackingStore?.Set("customAccountResetCredentialsUrl", value); } + } +#endif + /// The customCannotAccessYourAccountText property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomCannotAccessYourAccountText { + get { return BackingStore?.Get("customCannotAccessYourAccountText"); } + set { BackingStore?.Set("customCannotAccessYourAccountText", value); } + } +#nullable restore +#else + public string CustomCannotAccessYourAccountText { + get { return BackingStore?.Get("customCannotAccessYourAccountText"); } + set { BackingStore?.Set("customCannotAccessYourAccountText", value); } + } +#endif + /// The customCannotAccessYourAccountUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomCannotAccessYourAccountUrl { + get { return BackingStore?.Get("customCannotAccessYourAccountUrl"); } + set { BackingStore?.Set("customCannotAccessYourAccountUrl", value); } + } +#nullable restore +#else + public string CustomCannotAccessYourAccountUrl { + get { return BackingStore?.Get("customCannotAccessYourAccountUrl"); } + set { BackingStore?.Set("customCannotAccessYourAccountUrl", value); } + } +#endif + /// The customCSS property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public byte[]? CustomCSS { + get { return BackingStore?.Get("customCSS"); } + set { BackingStore?.Set("customCSS", value); } + } +#nullable restore +#else + public byte[] CustomCSS { + get { return BackingStore?.Get("customCSS"); } + set { BackingStore?.Set("customCSS", value); } + } +#endif + /// The customCSSRelativeUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomCSSRelativeUrl { + get { return BackingStore?.Get("customCSSRelativeUrl"); } + set { BackingStore?.Set("customCSSRelativeUrl", value); } + } +#nullable restore +#else + public string CustomCSSRelativeUrl { + get { return BackingStore?.Get("customCSSRelativeUrl"); } + set { BackingStore?.Set("customCSSRelativeUrl", value); } + } +#endif + /// The customForgotMyPasswordText property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomForgotMyPasswordText { + get { return BackingStore?.Get("customForgotMyPasswordText"); } + set { BackingStore?.Set("customForgotMyPasswordText", value); } + } +#nullable restore +#else + public string CustomForgotMyPasswordText { + get { return BackingStore?.Get("customForgotMyPasswordText"); } + set { BackingStore?.Set("customForgotMyPasswordText", value); } + } +#endif + /// The customPrivacyAndCookiesText property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomPrivacyAndCookiesText { + get { return BackingStore?.Get("customPrivacyAndCookiesText"); } + set { BackingStore?.Set("customPrivacyAndCookiesText", value); } + } +#nullable restore +#else + public string CustomPrivacyAndCookiesText { + get { return BackingStore?.Get("customPrivacyAndCookiesText"); } + set { BackingStore?.Set("customPrivacyAndCookiesText", value); } + } +#endif + /// The customPrivacyAndCookiesUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomPrivacyAndCookiesUrl { + get { return BackingStore?.Get("customPrivacyAndCookiesUrl"); } + set { BackingStore?.Set("customPrivacyAndCookiesUrl", value); } + } +#nullable restore +#else + public string CustomPrivacyAndCookiesUrl { + get { return BackingStore?.Get("customPrivacyAndCookiesUrl"); } + set { BackingStore?.Set("customPrivacyAndCookiesUrl", value); } + } +#endif + /// The customResetItNowText property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomResetItNowText { + get { return BackingStore?.Get("customResetItNowText"); } + set { BackingStore?.Set("customResetItNowText", value); } + } +#nullable restore +#else + public string CustomResetItNowText { + get { return BackingStore?.Get("customResetItNowText"); } + set { BackingStore?.Set("customResetItNowText", value); } + } +#endif + /// The customTermsOfUseText property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomTermsOfUseText { + get { return BackingStore?.Get("customTermsOfUseText"); } + set { BackingStore?.Set("customTermsOfUseText", value); } + } +#nullable restore +#else + public string CustomTermsOfUseText { + get { return BackingStore?.Get("customTermsOfUseText"); } + set { BackingStore?.Set("customTermsOfUseText", value); } + } +#endif + /// The customTermsOfUseUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomTermsOfUseUrl { + get { return BackingStore?.Get("customTermsOfUseUrl"); } + set { BackingStore?.Set("customTermsOfUseUrl", value); } + } +#nullable restore +#else + public string CustomTermsOfUseUrl { + get { return BackingStore?.Get("customTermsOfUseUrl"); } + set { BackingStore?.Set("customTermsOfUseUrl", value); } + } +#endif + /// The favicon property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public byte[]? Favicon { + get { return BackingStore?.Get("favicon"); } + set { BackingStore?.Set("favicon", value); } + } +#nullable restore +#else + public byte[] Favicon { + get { return BackingStore?.Get("favicon"); } + set { BackingStore?.Set("favicon", value); } + } +#endif + /// The faviconRelativeUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FaviconRelativeUrl { + get { return BackingStore?.Get("faviconRelativeUrl"); } + set { BackingStore?.Set("faviconRelativeUrl", value); } + } +#nullable restore +#else + public string FaviconRelativeUrl { + get { return BackingStore?.Get("faviconRelativeUrl"); } + set { BackingStore?.Set("faviconRelativeUrl", value); } + } +#endif + /// The headerBackgroundColor property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? HeaderBackgroundColor { + get { return BackingStore?.Get("headerBackgroundColor"); } + set { BackingStore?.Set("headerBackgroundColor", value); } + } +#nullable restore +#else + public string HeaderBackgroundColor { + get { return BackingStore?.Get("headerBackgroundColor"); } + set { BackingStore?.Set("headerBackgroundColor", value); } + } +#endif + /// The headerLogo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public byte[]? HeaderLogo { + get { return BackingStore?.Get("headerLogo"); } + set { BackingStore?.Set("headerLogo", value); } + } +#nullable restore +#else + public byte[] HeaderLogo { + get { return BackingStore?.Get("headerLogo"); } + set { BackingStore?.Set("headerLogo", value); } + } +#endif + /// The headerLogoRelativeUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? HeaderLogoRelativeUrl { + get { return BackingStore?.Get("headerLogoRelativeUrl"); } + set { BackingStore?.Set("headerLogoRelativeUrl", value); } + } +#nullable restore +#else + public string HeaderLogoRelativeUrl { + get { return BackingStore?.Get("headerLogoRelativeUrl"); } + set { BackingStore?.Set("headerLogoRelativeUrl", value); } + } +#endif + /// The loginPageLayoutConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public Microsoft.Graph.Models.LoginPageLayoutConfiguration? LoginPageLayoutConfiguration { + get { return BackingStore?.Get("loginPageLayoutConfiguration"); } + set { BackingStore?.Set("loginPageLayoutConfiguration", value); } + } +#nullable restore +#else + public Microsoft.Graph.Models.LoginPageLayoutConfiguration LoginPageLayoutConfiguration { + get { return BackingStore?.Get("loginPageLayoutConfiguration"); } + set { BackingStore?.Set("loginPageLayoutConfiguration", value); } + } +#endif + /// The loginPageTextVisibilitySettings property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public Microsoft.Graph.Models.LoginPageTextVisibilitySettings? LoginPageTextVisibilitySettings { + get { return BackingStore?.Get("loginPageTextVisibilitySettings"); } + set { BackingStore?.Set("loginPageTextVisibilitySettings", value); } + } +#nullable restore +#else + public Microsoft.Graph.Models.LoginPageTextVisibilitySettings LoginPageTextVisibilitySettings { + get { return BackingStore?.Get("loginPageTextVisibilitySettings"); } + set { BackingStore?.Set("loginPageTextVisibilitySettings", value); } + } #endif /// Text that appears at the bottom of the sign-in box. You can use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be Unicode and not exceed 1024 characters. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -116,6 +368,34 @@ public byte[] SquareLogo { get { return BackingStore?.Get("squareLogo"); } set { BackingStore?.Set("squareLogo", value); } } +#endif + /// The squareLogoDark property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public byte[]? SquareLogoDark { + get { return BackingStore?.Get("squareLogoDark"); } + set { BackingStore?.Set("squareLogoDark", value); } + } +#nullable restore +#else + public byte[] SquareLogoDark { + get { return BackingStore?.Get("squareLogoDark"); } + set { BackingStore?.Set("squareLogoDark", value); } + } +#endif + /// The squareLogoDarkRelativeUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SquareLogoDarkRelativeUrl { + get { return BackingStore?.Get("squareLogoDarkRelativeUrl"); } + set { BackingStore?.Set("squareLogoDarkRelativeUrl", value); } + } +#nullable restore +#else + public string SquareLogoDarkRelativeUrl { + get { return BackingStore?.Get("squareLogoDarkRelativeUrl"); } + set { BackingStore?.Set("squareLogoDarkRelativeUrl", value); } + } #endif /// A relative url for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -169,8 +449,28 @@ public string UsernameHintText { {"bannerLogo", n => { BannerLogo = n.GetByteArrayValue(); } }, {"bannerLogoRelativeUrl", n => { BannerLogoRelativeUrl = n.GetStringValue(); } }, {"cdnList", n => { CdnList = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + {"customAccountResetCredentialsUrl", n => { CustomAccountResetCredentialsUrl = n.GetStringValue(); } }, + {"customCannotAccessYourAccountText", n => { CustomCannotAccessYourAccountText = n.GetStringValue(); } }, + {"customCannotAccessYourAccountUrl", n => { CustomCannotAccessYourAccountUrl = n.GetStringValue(); } }, + {"customCSS", n => { CustomCSS = n.GetByteArrayValue(); } }, + {"customCSSRelativeUrl", n => { CustomCSSRelativeUrl = n.GetStringValue(); } }, + {"customForgotMyPasswordText", n => { CustomForgotMyPasswordText = n.GetStringValue(); } }, + {"customPrivacyAndCookiesText", n => { CustomPrivacyAndCookiesText = n.GetStringValue(); } }, + {"customPrivacyAndCookiesUrl", n => { CustomPrivacyAndCookiesUrl = n.GetStringValue(); } }, + {"customResetItNowText", n => { CustomResetItNowText = n.GetStringValue(); } }, + {"customTermsOfUseText", n => { CustomTermsOfUseText = n.GetStringValue(); } }, + {"customTermsOfUseUrl", n => { CustomTermsOfUseUrl = n.GetStringValue(); } }, + {"favicon", n => { Favicon = n.GetByteArrayValue(); } }, + {"faviconRelativeUrl", n => { FaviconRelativeUrl = n.GetStringValue(); } }, + {"headerBackgroundColor", n => { HeaderBackgroundColor = n.GetStringValue(); } }, + {"headerLogo", n => { HeaderLogo = n.GetByteArrayValue(); } }, + {"headerLogoRelativeUrl", n => { HeaderLogoRelativeUrl = n.GetStringValue(); } }, + {"loginPageLayoutConfiguration", n => { LoginPageLayoutConfiguration = n.GetObjectValue(Microsoft.Graph.Models.LoginPageLayoutConfiguration.CreateFromDiscriminatorValue); } }, + {"loginPageTextVisibilitySettings", n => { LoginPageTextVisibilitySettings = n.GetObjectValue(Microsoft.Graph.Models.LoginPageTextVisibilitySettings.CreateFromDiscriminatorValue); } }, {"signInPageText", n => { SignInPageText = n.GetStringValue(); } }, {"squareLogo", n => { SquareLogo = n.GetByteArrayValue(); } }, + {"squareLogoDark", n => { SquareLogoDark = n.GetByteArrayValue(); } }, + {"squareLogoDarkRelativeUrl", n => { SquareLogoDarkRelativeUrl = n.GetStringValue(); } }, {"squareLogoRelativeUrl", n => { SquareLogoRelativeUrl = n.GetStringValue(); } }, {"usernameHintText", n => { UsernameHintText = n.GetStringValue(); } }, }; @@ -188,8 +488,28 @@ public string UsernameHintText { writer.WriteByteArrayValue("bannerLogo", BannerLogo); writer.WriteStringValue("bannerLogoRelativeUrl", BannerLogoRelativeUrl); writer.WriteCollectionOfPrimitiveValues("cdnList", CdnList); + writer.WriteStringValue("customAccountResetCredentialsUrl", CustomAccountResetCredentialsUrl); + writer.WriteStringValue("customCannotAccessYourAccountText", CustomCannotAccessYourAccountText); + writer.WriteStringValue("customCannotAccessYourAccountUrl", CustomCannotAccessYourAccountUrl); + writer.WriteByteArrayValue("customCSS", CustomCSS); + writer.WriteStringValue("customCSSRelativeUrl", CustomCSSRelativeUrl); + writer.WriteStringValue("customForgotMyPasswordText", CustomForgotMyPasswordText); + writer.WriteStringValue("customPrivacyAndCookiesText", CustomPrivacyAndCookiesText); + writer.WriteStringValue("customPrivacyAndCookiesUrl", CustomPrivacyAndCookiesUrl); + writer.WriteStringValue("customResetItNowText", CustomResetItNowText); + writer.WriteStringValue("customTermsOfUseText", CustomTermsOfUseText); + writer.WriteStringValue("customTermsOfUseUrl", CustomTermsOfUseUrl); + writer.WriteByteArrayValue("favicon", Favicon); + writer.WriteStringValue("faviconRelativeUrl", FaviconRelativeUrl); + writer.WriteStringValue("headerBackgroundColor", HeaderBackgroundColor); + writer.WriteByteArrayValue("headerLogo", HeaderLogo); + writer.WriteStringValue("headerLogoRelativeUrl", HeaderLogoRelativeUrl); + writer.WriteObjectValue("loginPageLayoutConfiguration", LoginPageLayoutConfiguration); + writer.WriteObjectValue("loginPageTextVisibilitySettings", LoginPageTextVisibilitySettings); writer.WriteStringValue("signInPageText", SignInPageText); writer.WriteByteArrayValue("squareLogo", SquareLogo); + writer.WriteByteArrayValue("squareLogoDark", SquareLogoDark); + writer.WriteStringValue("squareLogoDarkRelativeUrl", SquareLogoDarkRelativeUrl); writer.WriteStringValue("squareLogoRelativeUrl", SquareLogoRelativeUrl); writer.WriteStringValue("usernameHintText", UsernameHintText); } diff --git a/src/Microsoft.Graph/Generated/Models/Person.cs b/src/Microsoft.Graph/Generated/Models/Person.cs index 6dbd242b7ee..439f3cf3c51 100644 --- a/src/Microsoft.Graph/Generated/Models/Person.cs +++ b/src/Microsoft.Graph/Generated/Models/Person.cs @@ -89,7 +89,7 @@ public string ImAddress { set { BackingStore?.Set("imAddress", value); } } #endif - /// true if the user has flagged this person as a favorite. + /// True if the user has flagged this person as a favorite. public bool? IsFavorite { get { return BackingStore?.Get("isFavorite"); } set { BackingStore?.Set("isFavorite", value); } diff --git a/src/Microsoft.Graph/Generated/Models/RoleDefinition.cs b/src/Microsoft.Graph/Generated/Models/RoleDefinition.cs index 9f0b1934e16..b80be29c142 100644 --- a/src/Microsoft.Graph/Generated/Models/RoleDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/RoleDefinition.cs @@ -4,6 +4,9 @@ using System.Linq; using System; namespace Microsoft.Graph.Models { + /// + /// The Role Definition resource. The role definition is the foundation of role based access in Intune. The role combines an Intune resource such as a Mobile App and associated role permissions such as Create or Read for the resource. There are two types of roles, built-in and custom. Built-in roles cannot be modified. Both built-in roles and custom roles must have assignments to be enforced. Create custom roles if you want to define a role that allows any of the available resources and role permissions to be combined into a single role. + /// public class RoleDefinition : Entity, IParsable { /// Description of the Role definition. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Models/SearchHit.cs b/src/Microsoft.Graph/Generated/Models/SearchHit.cs index c83c7b6d7bf..256c3fd32fc 100644 --- a/src/Microsoft.Graph/Generated/Models/SearchHit.cs +++ b/src/Microsoft.Graph/Generated/Models/SearchHit.cs @@ -41,7 +41,7 @@ public string HitId { set { BackingStore?.Set("hitId", value); } } #endif - /// The isCollapsed property + /// Indicates whether the current result is collapsed when the collapseProperties property is used. public bool? IsCollapsed { get { return BackingStore?.Get("isCollapsed"); } set { BackingStore?.Set("isCollapsed", value); } diff --git a/src/Microsoft.Graph/Generated/Models/SecureScoreControlProfile.cs b/src/Microsoft.Graph/Generated/Models/SecureScoreControlProfile.cs index 30cd58a7445..94f39beebf4 100644 --- a/src/Microsoft.Graph/Generated/Models/SecureScoreControlProfile.cs +++ b/src/Microsoft.Graph/Generated/Models/SecureScoreControlProfile.cs @@ -165,7 +165,7 @@ public string Service { set { BackingStore?.Set("service", value); } } #endif - /// List of threats the control mitigates (accountBreach,dataDeletion,dataExfiltration,dataSpillage, + /// List of threats the control mitigates (accountBreach, dataDeletion, dataExfiltration, dataSpillage, #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Threats { diff --git a/src/Microsoft.Graph/Generated/Models/Security/Alert.cs b/src/Microsoft.Graph/Generated/Models/Security/Alert.cs index 8bf09ef66b1..817f1ba1638 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/Alert.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/Alert.cs @@ -99,7 +99,7 @@ public string Description { set { BackingStore?.Set("description", value); } } #endif - /// Detection technology or sensor that identified the notable component or activity. + /// Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud. public Microsoft.Graph.Models.Security.DetectionSource? DetectionSource { get { return BackingStore?.Get("detectionSource"); } set { BackingStore?.Set("detectionSource", value); } diff --git a/src/Microsoft.Graph/Generated/Models/Security/AlertEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/AlertEvidence.cs index 575807bb035..d5c8d5bc839 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AlertEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AlertEvidence.cs @@ -13,11 +13,25 @@ public IDictionary AdditionalData { } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The time the evidence was created and added to the alert. + /// The date and time when the evidence was created and added to the alert. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } + /// The detailedRoles property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DetailedRoles { + get { return BackingStore?.Get?>("detailedRoles"); } + set { BackingStore?.Set("detailedRoles", value); } + } +#nullable restore +#else + public List DetailedRoles { + get { return BackingStore?.Get>("detailedRoles"); } + set { BackingStore?.Set("detailedRoles", value); } + } +#endif /// The OdataType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -51,7 +65,7 @@ public string RemediationStatusDetails { set { BackingStore?.Set("remediationStatusDetails", value); } } #endif - /// The role/s that an evidence entity represents in an alert, e.g., an IP address that is associated with an attacker will have the evidence role 'Attacker'. + /// One or more roles that an evidence entity represents in an alert. For example, an IP address that is associated with an attacker has the evidence role Attacker. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Roles { @@ -65,7 +79,7 @@ public List Roles { set { BackingStore?.Set("roles", value); } } #endif - /// Array of custom tags associated with an evidence instance, for example to denote a group of devices, high value assets, etc. + /// Array of custom tags associated with an evidence instance. For example, to denote a group of devices or high value assets. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Tags { @@ -99,10 +113,13 @@ public static AlertEvidence CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.security.amazonResourceEvidence" => new AmazonResourceEvidence(), "#microsoft.graph.security.analyzedMessageEvidence" => new AnalyzedMessageEvidence(), + "#microsoft.graph.security.azureResourceEvidence" => new AzureResourceEvidence(), "#microsoft.graph.security.cloudApplicationEvidence" => new CloudApplicationEvidence(), "#microsoft.graph.security.deviceEvidence" => new DeviceEvidence(), "#microsoft.graph.security.fileEvidence" => new FileEvidence(), + "#microsoft.graph.security.googleCloudResourceEvidence" => new GoogleCloudResourceEvidence(), "#microsoft.graph.security.ipEvidence" => new IpEvidence(), "#microsoft.graph.security.mailboxEvidence" => new MailboxEvidence(), "#microsoft.graph.security.mailClusterEvidence" => new MailClusterEvidence(), @@ -122,6 +139,7 @@ public static AlertEvidence CreateFromDiscriminatorValue(IParseNode parseNode) { public IDictionary> GetFieldDeserializers() { return new Dictionary> { {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + {"detailedRoles", n => { DetailedRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, {"@odata.type", n => { OdataType = n.GetStringValue(); } }, {"remediationStatus", n => { RemediationStatus = n.GetEnumValue(); } }, {"remediationStatusDetails", n => { RemediationStatusDetails = n.GetStringValue(); } }, @@ -137,6 +155,7 @@ public IDictionary> GetFieldDeserializers() { public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteCollectionOfPrimitiveValues("detailedRoles", DetailedRoles); writer.WriteStringValue("@odata.type", OdataType); writer.WriteEnumValue("remediationStatus", RemediationStatus); writer.WriteStringValue("remediationStatusDetails", RemediationStatusDetails); diff --git a/src/Microsoft.Graph/Generated/Models/Security/AmazonResourceEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/AmazonResourceEvidence.cs new file mode 100644 index 00000000000..9cd7c8eec17 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AmazonResourceEvidence.cs @@ -0,0 +1,96 @@ +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models.Security { + public class AmazonResourceEvidence : AlertEvidence, IParsable { + /// The unique identifier for the Amazon account. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AmazonAccountId { + get { return BackingStore?.Get("amazonAccountId"); } + set { BackingStore?.Set("amazonAccountId", value); } + } +#nullable restore +#else + public string AmazonAccountId { + get { return BackingStore?.Get("amazonAccountId"); } + set { BackingStore?.Set("amazonAccountId", value); } + } +#endif + /// The Amazon resource identifier (ARN) for the cloud resource. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AmazonResourceId { + get { return BackingStore?.Get("amazonResourceId"); } + set { BackingStore?.Set("amazonResourceId", value); } + } +#nullable restore +#else + public string AmazonResourceId { + get { return BackingStore?.Get("amazonResourceId"); } + set { BackingStore?.Set("amazonResourceId", value); } + } +#endif + /// The name of the resource. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceName { + get { return BackingStore?.Get("resourceName"); } + set { BackingStore?.Set("resourceName", value); } + } +#nullable restore +#else + public string ResourceName { + get { return BackingStore?.Get("resourceName"); } + set { BackingStore?.Set("resourceName", value); } + } +#endif + /// The type of the resource. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceType { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#nullable restore +#else + public string ResourceType { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static new AmazonResourceEvidence CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new AmazonResourceEvidence(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"amazonAccountId", n => { AmazonAccountId = n.GetStringValue(); } }, + {"amazonResourceId", n => { AmazonResourceId = n.GetStringValue(); } }, + {"resourceName", n => { ResourceName = n.GetStringValue(); } }, + {"resourceType", n => { ResourceType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("amazonAccountId", AmazonAccountId); + writer.WriteStringValue("amazonResourceId", AmazonResourceId); + writer.WriteStringValue("resourceName", ResourceName); + writer.WriteStringValue("resourceType", ResourceType); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/AzureResourceEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/AzureResourceEvidence.cs new file mode 100644 index 00000000000..e88e4f2c167 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AzureResourceEvidence.cs @@ -0,0 +1,80 @@ +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models.Security { + public class AzureResourceEvidence : AlertEvidence, IParsable { + /// The unique identifier for the Azure resource. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceId { + get { return BackingStore?.Get("resourceId"); } + set { BackingStore?.Set("resourceId", value); } + } +#nullable restore +#else + public string ResourceId { + get { return BackingStore?.Get("resourceId"); } + set { BackingStore?.Set("resourceId", value); } + } +#endif + /// The name of the resource. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceName { + get { return BackingStore?.Get("resourceName"); } + set { BackingStore?.Set("resourceName", value); } + } +#nullable restore +#else + public string ResourceName { + get { return BackingStore?.Get("resourceName"); } + set { BackingStore?.Set("resourceName", value); } + } +#endif + /// The type of the resource. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceType { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#nullable restore +#else + public string ResourceType { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static new AzureResourceEvidence CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new AzureResourceEvidence(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"resourceId", n => { ResourceId = n.GetStringValue(); } }, + {"resourceName", n => { ResourceName = n.GetStringValue(); } }, + {"resourceType", n => { ResourceType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("resourceId", ResourceId); + writer.WriteStringValue("resourceName", ResourceName); + writer.WriteStringValue("resourceType", ResourceType); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/DetectionSource.cs b/src/Microsoft.Graph/Generated/Models/Security/DetectionSource.cs index ec34a93782e..9722db518c8 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/DetectionSource.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/DetectionSource.cs @@ -38,5 +38,7 @@ public enum DetectionSource { AppGovernanceDetection, [EnumMember(Value = "unknownFutureValue")] UnknownFutureValue, + [EnumMember(Value = "microsoftDefenderForCloud")] + MicrosoftDefenderForCloud, } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/DeviceEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/DeviceEvidence.cs index 4ca31398c0b..80757902554 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/DeviceEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/DeviceEvidence.cs @@ -48,6 +48,20 @@ public DeviceHealthStatus? HealthStatus { get { return BackingStore?.Get("healthStatus"); } set { BackingStore?.Set("healthStatus", value); } } + /// The ipInterfaces property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? IpInterfaces { + get { return BackingStore?.Get?>("ipInterfaces"); } + set { BackingStore?.Set("ipInterfaces", value); } + } +#nullable restore +#else + public List IpInterfaces { + get { return BackingStore?.Get>("ipInterfaces"); } + set { BackingStore?.Set("ipInterfaces", value); } + } +#endif /// Users that were logged on the machine during the time of the alert. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -170,6 +184,7 @@ public Microsoft.Graph.Models.Security.VmMetadata VmMetadata { {"deviceDnsName", n => { DeviceDnsName = n.GetStringValue(); } }, {"firstSeenDateTime", n => { FirstSeenDateTime = n.GetDateTimeOffsetValue(); } }, {"healthStatus", n => { HealthStatus = n.GetEnumValue(); } }, + {"ipInterfaces", n => { IpInterfaces = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, {"loggedOnUsers", n => { LoggedOnUsers = n.GetCollectionOfObjectValues(LoggedOnUser.CreateFromDiscriminatorValue)?.ToList(); } }, {"mdeDeviceId", n => { MdeDeviceId = n.GetStringValue(); } }, {"onboardingStatus", n => { OnboardingStatus = n.GetEnumValue(); } }, @@ -194,6 +209,7 @@ public Microsoft.Graph.Models.Security.VmMetadata VmMetadata { writer.WriteStringValue("deviceDnsName", DeviceDnsName); writer.WriteDateTimeOffsetValue("firstSeenDateTime", FirstSeenDateTime); writer.WriteEnumValue("healthStatus", HealthStatus); + writer.WriteCollectionOfPrimitiveValues("ipInterfaces", IpInterfaces); writer.WriteCollectionOfObjectValues("loggedOnUsers", LoggedOnUsers); writer.WriteStringValue("mdeDeviceId", MdeDeviceId); writer.WriteEnumValue("onboardingStatus", OnboardingStatus); diff --git a/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryNoncustodialDataSource.cs b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryNoncustodialDataSource.cs index d7125fed292..65ddda85e44 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryNoncustodialDataSource.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryNoncustodialDataSource.cs @@ -34,7 +34,7 @@ public EdiscoveryIndexOperation LastIndexOperation { } #endif /// - /// Instantiates a new EdiscoveryNoncustodialDataSource and sets the default values. + /// Instantiates a new ediscoveryNoncustodialDataSource and sets the default values. /// public EdiscoveryNoncustodialDataSource() : base() { OdataType = "#microsoft.graph.security.ediscoveryNoncustodialDataSource"; diff --git a/src/Microsoft.Graph/Generated/Models/Security/GoogleCloudLocationType.cs b/src/Microsoft.Graph/Generated/Models/Security/GoogleCloudLocationType.cs new file mode 100644 index 00000000000..304a34f19f9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/GoogleCloudLocationType.cs @@ -0,0 +1,16 @@ +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security { + public enum GoogleCloudLocationType { + [EnumMember(Value = "unknown")] + Unknown, + [EnumMember(Value = "regional")] + Regional, + [EnumMember(Value = "zonal")] + Zonal, + [EnumMember(Value = "global")] + Global, + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/GoogleCloudResourceEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/GoogleCloudResourceEvidence.cs new file mode 100644 index 00000000000..5324311005f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/GoogleCloudResourceEvidence.cs @@ -0,0 +1,110 @@ +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models.Security { + public class GoogleCloudResourceEvidence : AlertEvidence, IParsable { + /// The zone or region where the resource is located. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Location { + get { return BackingStore?.Get("location"); } + set { BackingStore?.Set("location", value); } + } +#nullable restore +#else + public string Location { + get { return BackingStore?.Get("location"); } + set { BackingStore?.Set("location", value); } + } +#endif + /// The type of location. Possible values are: unknown, regional, zonal, global, unknownFutureValue. + public GoogleCloudLocationType? LocationType { + get { return BackingStore?.Get("locationType"); } + set { BackingStore?.Set("locationType", value); } + } + /// The Google project ID as defined by the user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProjectId { + get { return BackingStore?.Get("projectId"); } + set { BackingStore?.Set("projectId", value); } + } +#nullable restore +#else + public string ProjectId { + get { return BackingStore?.Get("projectId"); } + set { BackingStore?.Set("projectId", value); } + } +#endif + /// The project number assigned by Google. + public long? ProjectNumber { + get { return BackingStore?.Get("projectNumber"); } + set { BackingStore?.Set("projectNumber", value); } + } + /// The name of the resource. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceName { + get { return BackingStore?.Get("resourceName"); } + set { BackingStore?.Set("resourceName", value); } + } +#nullable restore +#else + public string ResourceName { + get { return BackingStore?.Get("resourceName"); } + set { BackingStore?.Set("resourceName", value); } + } +#endif + /// The type of the resource. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceType { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#nullable restore +#else + public string ResourceType { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static new GoogleCloudResourceEvidence CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new GoogleCloudResourceEvidence(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"location", n => { Location = n.GetStringValue(); } }, + {"locationType", n => { LocationType = n.GetEnumValue(); } }, + {"projectId", n => { ProjectId = n.GetStringValue(); } }, + {"projectNumber", n => { ProjectNumber = n.GetLongValue(); } }, + {"resourceName", n => { ResourceName = n.GetStringValue(); } }, + {"resourceType", n => { ResourceType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("location", Location); + writer.WriteEnumValue("locationType", LocationType); + writer.WriteStringValue("projectId", ProjectId); + writer.WriteLongValue("projectNumber", ProjectNumber); + writer.WriteStringValue("resourceName", ResourceName); + writer.WriteStringValue("resourceType", ResourceType); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/IncidentStatus.cs b/src/Microsoft.Graph/Generated/Models/Security/IncidentStatus.cs index 632e581984c..59a7c8badf2 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/IncidentStatus.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/IncidentStatus.cs @@ -12,5 +12,7 @@ public enum IncidentStatus { Redirected, [EnumMember(Value = "unknownFutureValue")] UnknownFutureValue, + [EnumMember(Value = "awaitingAction")] + AwaitingAction, } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/RegistryValueEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/RegistryValueEvidence.cs index 01c3013043b..02f4508a7cf 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/RegistryValueEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/RegistryValueEvidence.cs @@ -5,6 +5,20 @@ using System; namespace Microsoft.Graph.Models.Security { public class RegistryValueEvidence : AlertEvidence, IParsable { + /// The mdeDeviceId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MdeDeviceId { + get { return BackingStore?.Get("mdeDeviceId"); } + set { BackingStore?.Set("mdeDeviceId", value); } + } +#nullable restore +#else + public string MdeDeviceId { + get { return BackingStore?.Get("mdeDeviceId"); } + set { BackingStore?.Set("mdeDeviceId", value); } + } +#endif /// Registry hive of the key that the recorded action was applied to. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -88,6 +102,7 @@ public string RegistryValueType { /// public new IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + {"mdeDeviceId", n => { MdeDeviceId = n.GetStringValue(); } }, {"registryHive", n => { RegistryHive = n.GetStringValue(); } }, {"registryKey", n => { RegistryKey = n.GetStringValue(); } }, {"registryValue", n => { RegistryValue = n.GetStringValue(); } }, @@ -102,6 +117,7 @@ public string RegistryValueType { public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteStringValue("mdeDeviceId", MdeDeviceId); writer.WriteStringValue("registryHive", RegistryHive); writer.WriteStringValue("registryKey", RegistryKey); writer.WriteStringValue("registryValue", RegistryValue); diff --git a/src/Microsoft.Graph/Generated/Models/Security/ServiceSource.cs b/src/Microsoft.Graph/Generated/Models/Security/ServiceSource.cs index 969e7809512..c0097bc0d48 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/ServiceSource.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/ServiceSource.cs @@ -22,5 +22,7 @@ public enum ServiceSource { DataLossPrevention, [EnumMember(Value = "unknownFutureValue")] UnknownFutureValue, + [EnumMember(Value = "microsoftDefenderForCloud")] + MicrosoftDefenderForCloud, } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs b/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs index d0937765896..ec69c5ba4d8 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models.Security { public class UserAccount : IAdditionalDataHolder, IBackedModel, IParsable { - /// The user account's displayed name. + /// The displayed name of the user account. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AccountName { @@ -25,7 +25,7 @@ public IDictionary AdditionalData { get { return BackingStore?.Get>("additionalData"); } set { BackingStore?.Set("additionalData", value); } } - /// The user object identifier in Azure AD. + /// The user object identifier in Azure Active Directory (Azure AD). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AzureAdUserId { @@ -41,7 +41,7 @@ public string AzureAdUserId { #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The displayName property + /// The user display name in Azure AD. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { diff --git a/src/Microsoft.Graph/Generated/Models/Security/UserSource.cs b/src/Microsoft.Graph/Generated/Models/Security/UserSource.cs index f3165f609b0..a21f2d87384 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/UserSource.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/UserSource.cs @@ -39,7 +39,7 @@ public string SiteWebUrl { } #endif /// - /// Instantiates a new UserSource and sets the default values. + /// Instantiates a new userSource and sets the default values. /// public UserSource() : base() { OdataType = "#microsoft.graph.security.userSource"; diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/BrandingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/BrandingRequestBuilder.cs index 80a43887997..8e0d969840d 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/BrandingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/BrandingRequestBuilder.cs @@ -2,8 +2,12 @@ using Microsoft.Graph.Models; using Microsoft.Graph.Organization.Item.Branding.BackgroundImage; using Microsoft.Graph.Organization.Item.Branding.BannerLogo; +using Microsoft.Graph.Organization.Item.Branding.CustomCSS; +using Microsoft.Graph.Organization.Item.Branding.Favicon; +using Microsoft.Graph.Organization.Item.Branding.HeaderLogo; using Microsoft.Graph.Organization.Item.Branding.Localizations; using Microsoft.Graph.Organization.Item.Branding.SquareLogo; +using Microsoft.Graph.Organization.Item.Branding.SquareLogoDark; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; using System.Collections.Generic; @@ -25,6 +29,18 @@ public class BrandingRequestBuilder : BaseRequestBuilder { public BannerLogoRequestBuilder BannerLogo { get => new BannerLogoRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the media for the organization entity. + public CustomCSSRequestBuilder CustomCSS { get => + new CustomCSSRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the media for the organization entity. + public FaviconRequestBuilder Favicon { get => + new FaviconRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the media for the organization entity. + public HeaderLogoRequestBuilder HeaderLogo { get => + new HeaderLogoRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the localizations property of the microsoft.graph.organizationalBranding entity. public LocalizationsRequestBuilder Localizations { get => new LocalizationsRequestBuilder(PathParameters, RequestAdapter); @@ -33,6 +49,10 @@ public class BrandingRequestBuilder : BaseRequestBuilder { public SquareLogoRequestBuilder SquareLogo { get => new SquareLogoRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the media for the organization entity. + public SquareLogoDarkRequestBuilder SquareLogoDark { get => + new SquareLogoDarkRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new BrandingRequestBuilder and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.cs new file mode 100644 index 00000000000..0c3bc03d685 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.cs @@ -0,0 +1,154 @@ +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Organization.Item.Branding.CustomCSS { + /// + /// Provides operations to manage the media for the organization entity. + /// + public class CustomCSSRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new CustomCSSRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CustomCSSRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/customCSS", pathParameters) { + } + /// + /// Instantiates a new CustomCSSRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CustomCSSRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/customCSS", rawUrl) { + } + /// + /// Get customCSS for the navigation property branding from organization + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Update customCSS for the navigation property branding in organization + /// + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Get customCSS for the navigation property branding from organization + /// + /// 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 { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new CustomCSSRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Update customCSS for the navigation property branding in organization + /// + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.PUT, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.SetStreamContent(body); + if (requestConfiguration != null) { + var requestConfig = new CustomCSSRequestBuilderPutRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class CustomCSSRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new customCSSRequestBuilderGetRequestConfiguration and sets the default values. + /// + public CustomCSSRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class CustomCSSRequestBuilderPutRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new customCSSRequestBuilderPutRequestConfiguration and sets the default values. + /// + public CustomCSSRequestBuilderPutRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.cs new file mode 100644 index 00000000000..19ae5ab209a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.cs @@ -0,0 +1,154 @@ +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Organization.Item.Branding.Favicon { + /// + /// Provides operations to manage the media for the organization entity. + /// + public class FaviconRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new FaviconRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public FaviconRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/favicon", pathParameters) { + } + /// + /// Instantiates a new FaviconRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public FaviconRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/favicon", rawUrl) { + } + /// + /// Get favicon for the navigation property branding from organization + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Update favicon for the navigation property branding in organization + /// + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Get favicon for the navigation property branding from organization + /// + /// 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 { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new FaviconRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Update favicon for the navigation property branding in organization + /// + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.PUT, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.SetStreamContent(body); + if (requestConfiguration != null) { + var requestConfig = new FaviconRequestBuilderPutRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class FaviconRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new faviconRequestBuilderGetRequestConfiguration and sets the default values. + /// + public FaviconRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class FaviconRequestBuilderPutRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new faviconRequestBuilderPutRequestConfiguration and sets the default values. + /// + public FaviconRequestBuilderPutRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Branding/SquareLogo/SquareLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.cs similarity index 69% rename from src/Microsoft.Graph/Generated/Branding/SquareLogo/SquareLogoRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.cs index 7b54d89ace4..24a23665343 100644 --- a/src/Microsoft.Graph/Generated/Branding/SquareLogo/SquareLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.cs @@ -7,36 +7,37 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Branding.SquareLogo { +namespace Microsoft.Graph.Organization.Item.Branding.HeaderLogo { /// - /// Provides operations to manage the media for the organizationalBranding entity. + /// Provides operations to manage the media for the organization entity. /// - public class SquareLogoRequestBuilder : BaseRequestBuilder { + public class HeaderLogoRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new SquareLogoRequestBuilder and sets the default values. + /// Instantiates a new HeaderLogoRequestBuilder and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public SquareLogoRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/squareLogo", pathParameters) { + public HeaderLogoRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/headerLogo", pathParameters) { } /// - /// Instantiates a new SquareLogoRequestBuilder and sets the default values. + /// Instantiates a new HeaderLogoRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public SquareLogoRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/squareLogo", rawUrl) { + public HeaderLogoRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/headerLogo", rawUrl) { } /// - /// A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. + /// Get headerLogo for the navigation property branding from organization + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); var errorMapping = new Dictionary> { @@ -46,17 +47,17 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); } /// - /// A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. + /// Update headerLogo for the navigation property branding in organization /// /// Binary request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); @@ -67,15 +68,15 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); } /// - /// A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. + /// Get headerLogo for the navigation property branding from organization /// /// 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) { + public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { + public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { #endif var requestInfo = new RequestInformation { HttpMethod = Method.GET, @@ -83,7 +84,7 @@ public RequestInformation ToGetRequestInformation(Action - /// A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. + /// Update headerLogo for the navigation property branding in organization /// /// Binary request body /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation { @@ -110,7 +111,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action /// Configuration for the request such as headers, query parameters, and middleware options. /// - public class SquareLogoRequestBuilderGetRequestConfiguration { + public class HeaderLogoRequestBuilderGetRequestConfiguration { /// Request headers public RequestHeaders Headers { get; set; } /// Request options public IList Options { get; set; } /// - /// Instantiates a new squareLogoRequestBuilderGetRequestConfiguration and sets the default values. + /// Instantiates a new headerLogoRequestBuilderGetRequestConfiguration and sets the default values. /// - public SquareLogoRequestBuilderGetRequestConfiguration() { + public HeaderLogoRequestBuilderGetRequestConfiguration() { Options = new List(); Headers = new RequestHeaders(); } @@ -136,15 +137,15 @@ public SquareLogoRequestBuilderGetRequestConfiguration() { /// /// Configuration for the request such as headers, query parameters, and middleware options. /// - public class SquareLogoRequestBuilderPutRequestConfiguration { + public class HeaderLogoRequestBuilderPutRequestConfiguration { /// Request headers public RequestHeaders Headers { get; set; } /// Request options public IList Options { get; set; } /// - /// Instantiates a new squareLogoRequestBuilderPutRequestConfiguration and sets the default values. + /// Instantiates a new headerLogoRequestBuilderPutRequestConfiguration and sets the default values. /// - public SquareLogoRequestBuilderPutRequestConfiguration() { + public HeaderLogoRequestBuilderPutRequestConfiguration() { Options = new List(); Headers = new RequestHeaders(); } diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs new file mode 100644 index 00000000000..11b038df175 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs @@ -0,0 +1,154 @@ +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Organization.Item.Branding.Localizations.Item.CustomCSS { + /// + /// Provides operations to manage the media for the organization entity. + /// + public class CustomCSSRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new CustomCSSRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CustomCSSRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/customCSS", pathParameters) { + } + /// + /// Instantiates a new CustomCSSRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CustomCSSRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/customCSS", rawUrl) { + } + /// + /// Get customCSS for the navigation property localizations from organization + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Update customCSS for the navigation property localizations in organization + /// + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Get customCSS for the navigation property localizations from organization + /// + /// 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 { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new CustomCSSRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Update customCSS for the navigation property localizations in organization + /// + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.PUT, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.SetStreamContent(body); + if (requestConfiguration != null) { + var requestConfig = new CustomCSSRequestBuilderPutRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class CustomCSSRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new customCSSRequestBuilderGetRequestConfiguration and sets the default values. + /// + public CustomCSSRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class CustomCSSRequestBuilderPutRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new customCSSRequestBuilderPutRequestConfiguration and sets the default values. + /// + public CustomCSSRequestBuilderPutRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.cs new file mode 100644 index 00000000000..142fcb9531c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.cs @@ -0,0 +1,154 @@ +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Organization.Item.Branding.Localizations.Item.Favicon { + /// + /// Provides operations to manage the media for the organization entity. + /// + public class FaviconRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new FaviconRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public FaviconRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/favicon", pathParameters) { + } + /// + /// Instantiates a new FaviconRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public FaviconRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/favicon", rawUrl) { + } + /// + /// Get favicon for the navigation property localizations from organization + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Update favicon for the navigation property localizations in organization + /// + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Get favicon for the navigation property localizations from organization + /// + /// 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 { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new FaviconRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Update favicon for the navigation property localizations in organization + /// + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.PUT, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.SetStreamContent(body); + if (requestConfiguration != null) { + var requestConfig = new FaviconRequestBuilderPutRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class FaviconRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new faviconRequestBuilderGetRequestConfiguration and sets the default values. + /// + public FaviconRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class FaviconRequestBuilderPutRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new faviconRequestBuilderPutRequestConfiguration and sets the default values. + /// + public FaviconRequestBuilderPutRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs similarity index 71% rename from src/Microsoft.Graph/Generated/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs index 611909990d5..aa2d02ac4ce 100644 --- a/src/Microsoft.Graph/Generated/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs @@ -7,37 +7,37 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Branding.Localizations.Item.BannerLogo { +namespace Microsoft.Graph.Organization.Item.Branding.Localizations.Item.HeaderLogo { /// - /// Provides operations to manage the media for the organizationalBranding entity. + /// Provides operations to manage the media for the organization entity. /// - public class BannerLogoRequestBuilder : BaseRequestBuilder { + public class HeaderLogoRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new BannerLogoRequestBuilder and sets the default values. + /// Instantiates a new HeaderLogoRequestBuilder and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public BannerLogoRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/localizations/{organizationalBrandingLocalization%2Did}/bannerLogo", pathParameters) { + public HeaderLogoRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/headerLogo", pathParameters) { } /// - /// Instantiates a new BannerLogoRequestBuilder and sets the default values. + /// Instantiates a new HeaderLogoRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public BannerLogoRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/localizations/{organizationalBrandingLocalization%2Did}/bannerLogo", rawUrl) { + public HeaderLogoRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/headerLogo", rawUrl) { } /// - /// A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + /// Get headerLogo for the navigation property localizations from organization /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); var errorMapping = new Dictionary> { @@ -47,17 +47,17 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); } /// - /// A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + /// Update headerLogo for the navigation property localizations in organization /// /// Binary request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); @@ -68,15 +68,15 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); } /// - /// A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + /// Get headerLogo for the navigation property localizations from organization /// /// 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) { + public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { + public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { #endif var requestInfo = new RequestInformation { HttpMethod = Method.GET, @@ -84,7 +84,7 @@ public RequestInformation ToGetRequestInformation(Action - /// A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + /// Update headerLogo for the navigation property localizations in organization /// /// Binary request body /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation { @@ -111,7 +111,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action /// Configuration for the request such as headers, query parameters, and middleware options. /// - public class BannerLogoRequestBuilderGetRequestConfiguration { + public class HeaderLogoRequestBuilderGetRequestConfiguration { /// Request headers public RequestHeaders Headers { get; set; } /// Request options public IList Options { get; set; } /// - /// Instantiates a new bannerLogoRequestBuilderGetRequestConfiguration and sets the default values. + /// Instantiates a new headerLogoRequestBuilderGetRequestConfiguration and sets the default values. /// - public BannerLogoRequestBuilderGetRequestConfiguration() { + public HeaderLogoRequestBuilderGetRequestConfiguration() { Options = new List(); Headers = new RequestHeaders(); } @@ -137,15 +137,15 @@ public BannerLogoRequestBuilderGetRequestConfiguration() { /// /// Configuration for the request such as headers, query parameters, and middleware options. /// - public class BannerLogoRequestBuilderPutRequestConfiguration { + public class HeaderLogoRequestBuilderPutRequestConfiguration { /// Request headers public RequestHeaders Headers { get; set; } /// Request options public IList Options { get; set; } /// - /// Instantiates a new bannerLogoRequestBuilderPutRequestConfiguration and sets the default values. + /// Instantiates a new headerLogoRequestBuilderPutRequestConfiguration and sets the default values. /// - public BannerLogoRequestBuilderPutRequestConfiguration() { + public HeaderLogoRequestBuilderPutRequestConfiguration() { Options = new List(); Headers = new RequestHeaders(); } diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs index cf2606304ec..384d305a095 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs @@ -2,7 +2,11 @@ using Microsoft.Graph.Models; using Microsoft.Graph.Organization.Item.Branding.Localizations.Item.BackgroundImage; using Microsoft.Graph.Organization.Item.Branding.Localizations.Item.BannerLogo; +using Microsoft.Graph.Organization.Item.Branding.Localizations.Item.CustomCSS; +using Microsoft.Graph.Organization.Item.Branding.Localizations.Item.Favicon; +using Microsoft.Graph.Organization.Item.Branding.Localizations.Item.HeaderLogo; using Microsoft.Graph.Organization.Item.Branding.Localizations.Item.SquareLogo; +using Microsoft.Graph.Organization.Item.Branding.Localizations.Item.SquareLogoDark; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; using System.Collections.Generic; @@ -25,9 +29,25 @@ public class OrganizationalBrandingLocalizationItemRequestBuilder : BaseRequestB new BannerLogoRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the media for the organization entity. + public CustomCSSRequestBuilder CustomCSS { get => + new CustomCSSRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the media for the organization entity. + public FaviconRequestBuilder Favicon { get => + new FaviconRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the media for the organization entity. + public HeaderLogoRequestBuilder HeaderLogo { get => + new HeaderLogoRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the media for the organization entity. public SquareLogoRequestBuilder SquareLogo { get => new SquareLogoRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the media for the organization entity. + public SquareLogoDarkRequestBuilder SquareLogoDark { get => + new SquareLogoDarkRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new OrganizationalBrandingLocalizationItemRequestBuilder and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs similarity index 62% rename from src/Microsoft.Graph/Generated/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs index 02c124f9c32..34c08a612bf 100644 --- a/src/Microsoft.Graph/Generated/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs @@ -7,37 +7,37 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Branding.Localizations.Item.BackgroundImage { +namespace Microsoft.Graph.Organization.Item.Branding.Localizations.Item.SquareLogoDark { /// - /// Provides operations to manage the media for the organizationalBranding entity. + /// Provides operations to manage the media for the organization entity. /// - public class BackgroundImageRequestBuilder : BaseRequestBuilder { + public class SquareLogoDarkRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new BackgroundImageRequestBuilder and sets the default values. + /// Instantiates a new SquareLogoDarkRequestBuilder and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public BackgroundImageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/localizations/{organizationalBrandingLocalization%2Did}/backgroundImage", pathParameters) { + public SquareLogoDarkRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/squareLogoDark", pathParameters) { } /// - /// Instantiates a new BackgroundImageRequestBuilder and sets the default values. + /// Instantiates a new SquareLogoDarkRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public BackgroundImageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/branding/localizations/{organizationalBrandingLocalization%2Did}/backgroundImage", rawUrl) { + public SquareLogoDarkRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/squareLogoDark", rawUrl) { } /// - /// Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. + /// Get squareLogoDark for the navigation property localizations from organization /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); var errorMapping = new Dictionary> { @@ -47,17 +47,17 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); } /// - /// Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. + /// Update squareLogoDark for the navigation property localizations in organization /// /// Binary request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); @@ -68,15 +68,15 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); } /// - /// Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. + /// Get squareLogoDark for the navigation property localizations from organization /// /// 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) { + public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { + public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { #endif var requestInfo = new RequestInformation { HttpMethod = Method.GET, @@ -84,7 +84,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. + /// Update squareLogoDark for the navigation property localizations in organization /// /// Binary request body /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation { @@ -111,7 +111,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action /// Configuration for the request such as headers, query parameters, and middleware options. /// - public class BackgroundImageRequestBuilderGetRequestConfiguration { + public class SquareLogoDarkRequestBuilderGetRequestConfiguration { /// Request headers public RequestHeaders Headers { get; set; } /// Request options public IList Options { get; set; } /// - /// Instantiates a new backgroundImageRequestBuilderGetRequestConfiguration and sets the default values. + /// Instantiates a new squareLogoDarkRequestBuilderGetRequestConfiguration and sets the default values. /// - public BackgroundImageRequestBuilderGetRequestConfiguration() { + public SquareLogoDarkRequestBuilderGetRequestConfiguration() { Options = new List(); Headers = new RequestHeaders(); } @@ -137,15 +137,15 @@ public BackgroundImageRequestBuilderGetRequestConfiguration() { /// /// Configuration for the request such as headers, query parameters, and middleware options. /// - public class BackgroundImageRequestBuilderPutRequestConfiguration { + public class SquareLogoDarkRequestBuilderPutRequestConfiguration { /// Request headers public RequestHeaders Headers { get; set; } /// Request options public IList Options { get; set; } /// - /// Instantiates a new backgroundImageRequestBuilderPutRequestConfiguration and sets the default values. + /// Instantiates a new squareLogoDarkRequestBuilderPutRequestConfiguration and sets the default values. /// - public BackgroundImageRequestBuilderPutRequestConfiguration() { + public SquareLogoDarkRequestBuilderPutRequestConfiguration() { Options = new List(); Headers = new RequestHeaders(); } diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.cs new file mode 100644 index 00000000000..954c153433d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.cs @@ -0,0 +1,154 @@ +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Organization.Item.Branding.SquareLogoDark { + /// + /// Provides operations to manage the media for the organization entity. + /// + public class SquareLogoDarkRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new SquareLogoDarkRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SquareLogoDarkRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/squareLogoDark", pathParameters) { + } + /// + /// Instantiates a new SquareLogoDarkRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SquareLogoDarkRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization/{organization%2Did}/branding/squareLogoDark", rawUrl) { + } + /// + /// Get squareLogoDark for the navigation property branding from organization + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Update squareLogoDark for the navigation property branding in organization + /// + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + } + /// + /// Get squareLogoDark for the navigation property branding from organization + /// + /// 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 { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new SquareLogoDarkRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Update squareLogoDark for the navigation property branding in organization + /// + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.PUT, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.SetStreamContent(body); + if (requestConfiguration != null) { + var requestConfig = new SquareLogoDarkRequestBuilderPutRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class SquareLogoDarkRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new squareLogoDarkRequestBuilderGetRequestConfiguration and sets the default values. + /// + public SquareLogoDarkRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class SquareLogoDarkRequestBuilderPutRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new squareLogoDarkRequestBuilderPutRequestConfiguration and sets the default values. + /// + public SquareLogoDarkRequestBuilderPutRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs index cf8cba19301..3cbc446072f 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs @@ -68,8 +68,8 @@ public async Task GetAsync(Action(requestInfo, CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a cross-tenant user synchronization policy for a partner-specific configuration. - /// Find more info here + /// Update the user synchronization policy of a partner-specific configuration. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a cross-tenant user synchronization policy for a partner-specific configuration. + /// Update the user synchronization policy of a partner-specific configuration. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Print/Connectors/Item/PrintConnectorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Connectors/Item/PrintConnectorItemRequestBuilder.cs index a0946e5f49c..a65e9321496 100644 --- a/src/Microsoft.Graph/Generated/Print/Connectors/Item/PrintConnectorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Connectors/Item/PrintConnectorItemRequestBuilder.cs @@ -28,7 +28,7 @@ public PrintConnectorItemRequestBuilder(Dictionary pathParameter public PrintConnectorItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/connectors/{printConnector%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete (unregister) a **printConnector**. + /// Delete (unregister) a printConnector. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -90,7 +90,7 @@ public async Task PatchAsync(PrintConnector body, Action(requestInfo, PrintConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Delete (unregister) a **printConnector**. + /// Delete (unregister) a printConnector. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.cs index 5f2378f7efc..f72910a3572 100644 --- a/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.cs @@ -28,7 +28,8 @@ public RetentionEventTypeItemRequestBuilder(Dictionary pathParam public RetentionEventTypeItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/triggerTypes/retentionEventTypes/{retentionEventType%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete navigation property retentionEventTypes for security + /// Delete a retentionEventType object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -47,7 +48,8 @@ public async Task DeleteAsync(Action - /// Get retentionEventTypes from security + /// Read the properties and relationships of a retentionEventType object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -87,7 +89,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Security.RetentionEventType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Delete navigation property retentionEventTypes for security + /// Delete a retentionEventType object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -111,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get retentionEventTypes from security + /// Read the properties and relationships of a retentionEventType object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -181,7 +183,7 @@ public RetentionEventTypeItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get retentionEventTypes from security + /// Read the properties and relationships of a retentionEventType object. /// public class RetentionEventTypeItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.cs index d5f4c11beb0..54b1226c959 100644 --- a/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.cs @@ -40,7 +40,8 @@ public RetentionEventTypesRequestBuilder(Dictionary pathParamete public RetentionEventTypesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/triggerTypes/retentionEventTypes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get retentionEventTypes from security + /// Get a list of the retentionEventType objects and their properties. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -59,7 +60,8 @@ public async Task GetAsync(Action(requestInfo, RetentionEventTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create new navigation property to retentionEventTypes for security + /// Create a new retentionEventType object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -80,7 +82,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Security.RetentionEventType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Get retentionEventTypes from security + /// Get a list of the retentionEventType objects and their properties. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -106,7 +108,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to retentionEventTypes for security + /// Create a new retentionEventType object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -134,7 +136,7 @@ public RequestInformation ToPostRequestInformation(Microsoft.Graph.Models.Securi return requestInfo; } /// - /// Get retentionEventTypes from security + /// Get a list of the retentionEventType objects and their properties. /// public class RetentionEventTypesRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.cs index f3e40658123..a7e7143ced3 100644 --- a/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.cs @@ -33,7 +33,8 @@ public RetentionEventItemRequestBuilder(Dictionary pathParameter public RetentionEventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/triggers/retentionEvents/{retentionEvent%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete navigation property retentionEvents for security + /// Delete a retentionEvent object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -52,7 +53,8 @@ public async Task DeleteAsync(Action - /// Get retentionEvents from security + /// Read the properties and relationships of a retentionEvent object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -92,7 +94,7 @@ public async Task PatchAsync(RetentionEvent body, Action(requestInfo, RetentionEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Delete navigation property retentionEvents for security + /// Delete a retentionEvent object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -116,7 +118,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get retentionEvents from security + /// Read the properties and relationships of a retentionEvent object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -186,7 +188,7 @@ public RetentionEventItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get retentionEvents from security + /// Read the properties and relationships of a retentionEvent object. /// public class RetentionEventItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.cs index 587de2feae0..a97eaacedba 100644 --- a/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.cs @@ -40,7 +40,8 @@ public RetentionEventsRequestBuilder(Dictionary pathParameters, public RetentionEventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/triggers/retentionEvents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get retentionEvents from security + /// Get a list of the retentionEvent objects and their properties. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -59,7 +60,8 @@ public async Task GetAsync(Action(requestInfo, RetentionEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create new navigation property to retentionEvents for security + /// Create a new retentionEvent object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -80,7 +82,7 @@ public async Task PostAsync(RetentionEvent body, Action(requestInfo, RetentionEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Get retentionEvents from security + /// Get a list of the retentionEvent objects and their properties. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -106,7 +108,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to retentionEvents for security + /// Create a new retentionEvent object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -134,7 +136,7 @@ public RequestInformation ToPostRequestInformation(RetentionEvent body, Action - /// Get retentionEvents from security + /// Get a list of the retentionEvent objects and their properties. /// public class RetentionEventsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs index 9a634320542..12c1a53e059 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -87,8 +87,8 @@ public async Task DeleteAsync(Action - /// Get a list of rich long-running operations associated with a list. - /// Find more info here + /// Returns the metadata for a [list][]. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a list of rich long-running operations associated with a list. + /// Returns the metadata for a [list][]. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -222,7 +222,7 @@ public ListItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get a list of rich long-running operations associated with a list. + /// Returns the metadata for a [list][]. /// public class ListItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs index e12215ec27d..dccd81e3706 100644 --- a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs @@ -55,8 +55,8 @@ public SitesRequestBuilder(Dictionary pathParameters, IRequestAd public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List all available [sites][] in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a **[$search][]** query against the `/sites` collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites][]. For more guidance about building applications that use site discovery for scanning purposes, see [Best practices for discovering files and detecting changes at scale. - /// Find more info here + /// Search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is **createdDateTime**. The search filter is a free text search that uses multiple properties when retrieving the search results. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// List all available [sites][] in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a **[$search][]** query against the `/sites` collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites][]. For more guidance about building applications that use site discovery for scanning purposes, see [Best practices for discovering files and detecting changes at scale. + /// Search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is **createdDateTime**. The search filter is a free text search that uses multiple properties when retrieving the search results. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -101,7 +101,7 @@ public RequestInformation ToGetRequestInformation(Action - /// List all available [sites][] in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a **[$search][]** query against the `/sites` collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites][]. For more guidance about building applications that use site discovery for scanning purposes, see [Best practices for discovering files and detecting changes at scale. + /// Search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is **createdDateTime**. The search filter is a free text search that uses multiple properties when retrieving the search results. /// public class SitesRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Subscriptions/SubscriptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Subscriptions/SubscriptionsRequestBuilder.cs index ec414f10f22..c56ee478a48 100644 --- a/src/Microsoft.Graph/Generated/Subscriptions/SubscriptionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Subscriptions/SubscriptionsRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, SubscriptionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. See the table in the Permissions section for the list of resources that support subscribing to change notifications. Some resources support the option to include encrypted resource data in change notifications. These resources include chatMessage, contact, event, message, and presence. For more information, see Set up change notifications that include resource data and Change notifications for Outlook resources in Microsoft Graph. + /// Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. /// Find more info here /// /// The request body @@ -103,7 +103,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. See the table in the Permissions section for the list of resources that support subscribing to change notifications. Some resources support the option to include encrypted resource data in change notifications. These resources include chatMessage, contact, event, message, and presence. For more information, see Set up change notifications that include resource data and Change notifications for Outlook resources in Microsoft Graph. + /// Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index ca53289ffb9..ace0635b98c 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -68,8 +68,8 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the role of a conversationMember in a team or channel. - /// Find more info here + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team or channel. + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 48f668348be..0ea7564543a 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index dd7a2a7ee1d..dc7a9e57f1b 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 57ce78fb64d..33acdc21636 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 89fa5287333..ef79463d5d6 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index b153e7f5674..d6378b3d265 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 240fc535b73..a1880dc674b 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs index e04272e8137..dd359d711a1 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -68,8 +68,8 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the role of a conversationMember in a team or channel. - /// Find more info here + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team or channel. + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index fb35d879f31..47b8c357900 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index e12078d8822..958ca53c88d 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index 75503809356..ea4eb0bf5c4 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 6e892642deb..fa267527c4c 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 650936ba3db..0389f193e30 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs index 21aa351bf54..c73a9a6eeae 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 571317b78bb..7380fcd99c4 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -68,8 +68,8 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the role of a conversationMember in a team or channel. - /// Find more info here + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team or channel. + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 4c054f34cb9..9e9a2bef9fb 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index a0f54e7f5a4..304a113b732 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index e7f457c15b0..b6cd815dcf0 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index ea6ea31d1c9..ff23f81d99c 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 91cfb5e45a9..c5e211b2ffb 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 3aab159971b..d3039965c29 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.cs index 5c382efc3c2..2423f6061fa 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.cs @@ -48,7 +48,8 @@ public async Task DeleteAsync(Action - /// The access assignments associated with the delegated admin relationship. + /// Read the properties of a delegatedAdminAccessAssignment object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -67,7 +68,8 @@ public async Task GetAsync(Action(requestInfo, DelegatedAdminAccessAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the navigation property accessAssignments in tenantRelationships + /// Update the properties of a delegatedAdminAccessAssignment object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -112,7 +114,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The access assignments associated with the delegated admin relationship. + /// Read the properties of a delegatedAdminAccessAssignment object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -138,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property accessAssignments in tenantRelationships + /// Update the properties of a delegatedAdminAccessAssignment object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +184,7 @@ public DelegatedAdminAccessAssignmentItemRequestBuilderDeleteRequestConfiguratio } } /// - /// The access assignments associated with the delegated admin relationship. + /// Read the properties of a delegatedAdminAccessAssignment object. /// public class DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 0aba6404e50..05e77d3d46a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 075cbfcccfb..cf06252259f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs index efc264b45e0..7df62266153 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index df42e83a065..3746bfbb906 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index eb608936605..7f0a4ee57d0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 6d541699846..b12d89b750e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index b7f0fae5ec4..31452e15268 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index e987d59621f..2027b935949 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index e3723811ebb..31dabbf9ae3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 866e92ca483..a82c5e648b1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 86da955ca8b..984d634b8b4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 0fdd7fc86ad..c036ce9549f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index fca4d8d2811..e6f54c287f0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index c6225c818a2..b4a1dd4be38 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.cs index 6a87c011c5c..c7582ed538a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.cs @@ -45,8 +45,8 @@ public MembersRequestBuilder(Dictionary pathParameters, IRequest public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/members{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a conversationMember from a chat or channel. - /// Find more info here + /// List all conversation members in a chat or channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -87,7 +87,7 @@ public async Task PostAsync(ConversationMember body, Action< return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Retrieve a conversationMember from a chat or channel. + /// List all conversation members in a chat or channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -141,7 +141,7 @@ public RequestInformation ToPostRequestInformation(ConversationMember body, Acti return requestInfo; } /// - /// Retrieve a conversationMember from a chat or channel. + /// List all conversation members in a chat or channel. /// public class MembersRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 7483894979c..02f2ef3e423 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 243d3a4b512..4860316a0b5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index eed0ebe24d3..085680a1de8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index fd8be8a6cb0..cace04f5fd4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index b6f3d0872b3..b2a94948e11 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 85933317ab7..2daee0033d0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index d3f39c6da14..161ea616b21 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index dc27cddb337..d307e94861c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -68,8 +68,8 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the role of a conversationMember in a team or channel. - /// Find more info here + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team or channel. + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 82a952917b4..f3d2465f54e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index dc833018ad9..39801a06df6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 7310955e2e5..5d44e0b4a3f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index ddee6ddfb5d..9d2cebe9913 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 6f8b1c253fb..f10d9e9df45 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 36d21edda28..5d17dfc8d94 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs index 15ef11b03fb..14fbe53a2e6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -68,8 +68,8 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Update the role of a conversationMember in a team or channel. - /// Find more info here + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team or channel. + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index e139d7d354d..4b6128c584a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index cb6def2d79a..d9bcd3f1b1d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index 94e39b249dc..0c36bbbc723 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 1e060e6707f..8b59c7c2f67 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequ public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/softDelete", rawUrl) { } /// - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action softDelete + /// Delete a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 7b8fcdb4c0b..e7aa2fa4399 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -27,7 +27,8 @@ public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, I public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) { } /// - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action - /// Invoke action undoSoftDelete + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs index a9b3d527337..ddf2a5045cd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index a9892a52285..7c39ea82656 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Create a new mailSearchFolder in the specified user's mailbox. - /// Find more info here + /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the **isHidden** property to `true` on creation. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mailSearchFolder in the specified user's mailbox. + /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the **isHidden** property to `true` on creation. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 742693d5947..351366f1734 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -35,14 +35,14 @@ public AttachmentItemRequestBuilder this[string position] { get { /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { + public AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { } /// /// Instantiates a new AttachmentsRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { + public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// /// Retrieve a list of attachment objects. @@ -187,12 +187,6 @@ public class AttachmentsRequestBuilderGetQueryParameters { [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. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 594f6ec5708..c46dc680370 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -35,14 +35,14 @@ public AttachmentItemRequestBuilder this[string position] { get { /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { + public AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { } /// /// Instantiates a new AttachmentsRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { + public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// /// Retrieve a list of attachment objects. @@ -187,12 +187,6 @@ public class AttachmentsRequestBuilderGetQueryParameters { [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. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index a3c5553ca35..5ded0bccdb6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -35,14 +35,14 @@ public AttachmentItemRequestBuilder this[string position] { get { /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}/attachments{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { + public AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { } /// /// Instantiates a new AttachmentsRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}/attachments{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { + public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// /// Retrieve a list of attachment objects. @@ -187,12 +187,6 @@ public class AttachmentsRequestBuilderGetQueryParameters { [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. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs index c2b6b7a0678..07c8d48f99e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -109,7 +109,7 @@ public async Task DeleteAsync(Action /// The messages in a mailbox or folder. Read-only. Nullable. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs index bb6b3fccbb5..1dbd223612d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs @@ -27,7 +27,8 @@ public RevokeSignInSessionsRequestBuilder(Dictionary pathParamet public RevokeSignInSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/revokeSignInSessions", rawUrl) { } /// - /// Invoke action revokeSignInSessions + /// Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the **signInSessionsValidFromDateTime** user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +47,7 @@ public async Task PostAsync(Action(requestInfo, RevokeSignInSessionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Invoke action revokeSignInSessions + /// Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the **signInSessionsValidFromDateTime** user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs index dbd020406f0..f29c43277a3 100644 --- a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs @@ -60,8 +60,8 @@ public UsersRequestBuilder(Dictionary pathParameters, IRequestAd public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users{?%24top,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of user objects. - /// Find more info here + /// Retrieve the properties and relationships of user object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -102,7 +102,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); } /// - /// Retrieve a list of user objects. + /// Retrieve the properties and relationships of user object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -156,7 +156,7 @@ public RequestInformation ToPostRequestInformation(Microsoft.Graph.Models.User b return requestInfo; } /// - /// Retrieve a list of user objects. + /// Retrieve the properties and relationships of user object. /// public class UsersRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index a34b59c3813..dbaf05c63d4 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "18582DB6C5E13E8DE4FDF9AE782EBEE3E5DFE8BE3E1199CFC24BAB6621792FCC8252C99BA8B0D69CBB08251AEC2D4D5CE8A6911AB14DE3EF0C9F993E77D982FC", + "descriptionHash": "7B264CEE1E8D8AF6322DB6B162D374EED5E705DD990B5A1EE4A253B3A7CF415EAEA490D950AED46A188C04AEE7F2B22A8FDDE60674B2592FA7CC3B31CEBBE73B", "descriptionLocation": "/mnt/vss/_work/1/s/msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.2.1", diff --git a/src/Microsoft.Graph/Microsoft.Graph.csproj b/src/Microsoft.Graph/Microsoft.Graph.csproj index df2fc5254f8..9fdf911e8ff 100644 --- a/src/Microsoft.Graph/Microsoft.Graph.csproj +++ b/src/Microsoft.Graph/Microsoft.Graph.csproj @@ -21,7 +21,7 @@ false 35MSSharedLib1024.snk true - 5.12.0 + 5.13.0 diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj b/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj index b8958cb0c77..f187675849a 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj +++ b/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj @@ -16,7 +16,7 @@ - +