Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.43.0 #2346

Merged
merged 11 commits into from
Feb 20, 2024
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v

## [Unreleased]

## [5.43.0] - 2024-02-21

- Latest metadata updates from 20th February 2024.
- Fixes missing type information in deprecation information

## [5.42.0] - 2024-02-14

- Latest metadata updates from 13th February 2024.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task<ArchivePostResponse> PostAsArchivePostResponseAsync(ArchivePos
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
[Obsolete("This method is obsolete. Use {TypeName} instead.")]
[Obsolete("This method is obsolete. Use PostAsArchivePostResponseAsync instead.")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<ArchiveResponse?> PostAsync(ArchivePostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using System;
namespace Microsoft.Graph.Admin.ServiceAnnouncement.Messages.Archive {
[Obsolete("This class is obsolete. Use {TypeName} instead.")]
[Obsolete("This class is obsolete. Use ArchivePostResponse instead.")]
public class ArchiveResponse : ArchivePostResponse, IParsable {
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task<FavoritePostResponse> PostAsFavoritePostResponseAsync(Favorite
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
[Obsolete("This method is obsolete. Use {TypeName} instead.")]
[Obsolete("This method is obsolete. Use PostAsFavoritePostResponseAsync instead.")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<FavoriteResponse?> PostAsync(FavoritePostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using System;
namespace Microsoft.Graph.Admin.ServiceAnnouncement.Messages.Favorite {
[Obsolete("This class is obsolete. Use {TypeName} instead.")]
[Obsolete("This class is obsolete. Use FavoritePostResponse instead.")]
public class FavoriteResponse : FavoritePostResponse, IParsable {
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task<MarkReadPostResponse> PostAsMarkReadPostResponseAsync(MarkRead
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
[Obsolete("This method is obsolete. Use {TypeName} instead.")]
[Obsolete("This method is obsolete. Use PostAsMarkReadPostResponseAsync instead.")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<MarkReadResponse?> PostAsync(MarkReadPostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using System;
namespace Microsoft.Graph.Admin.ServiceAnnouncement.Messages.MarkRead {
[Obsolete("This class is obsolete. Use {TypeName} instead.")]
[Obsolete("This class is obsolete. Use MarkReadPostResponse instead.")]
public class MarkReadResponse : MarkReadPostResponse, IParsable {
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task<MarkUnreadPostResponse> PostAsMarkUnreadPostResponseAsync(Mark
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
[Obsolete("This method is obsolete. Use {TypeName} instead.")]
[Obsolete("This method is obsolete. Use PostAsMarkUnreadPostResponseAsync instead.")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<MarkUnreadResponse?> PostAsync(MarkUnreadPostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using System;
namespace Microsoft.Graph.Admin.ServiceAnnouncement.Messages.MarkUnread {
[Obsolete("This class is obsolete. Use {TypeName} instead.")]
[Obsolete("This class is obsolete. Use MarkUnreadPostResponse instead.")]
public class MarkUnreadResponse : MarkUnreadPostResponse, IParsable {
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task<UnarchivePostResponse> PostAsUnarchivePostResponseAsync(Unarch
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
[Obsolete("This method is obsolete. Use {TypeName} instead.")]
[Obsolete("This method is obsolete. Use PostAsUnarchivePostResponseAsync instead.")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<UnarchiveResponse?> PostAsync(UnarchivePostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using System;
namespace Microsoft.Graph.Admin.ServiceAnnouncement.Messages.Unarchive {
[Obsolete("This class is obsolete. Use {TypeName} instead.")]
[Obsolete("This class is obsolete. Use UnarchivePostResponse instead.")]
public class UnarchiveResponse : UnarchivePostResponse, IParsable {
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task<UnfavoritePostResponse> PostAsUnfavoritePostResponseAsync(Unfa
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
[Obsolete("This method is obsolete. Use {TypeName} instead.")]
[Obsolete("This method is obsolete. Use PostAsUnfavoritePostResponseAsync instead.")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<UnfavoriteResponse?> PostAsync(UnfavoritePostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using System;
namespace Microsoft.Graph.Admin.ServiceAnnouncement.Messages.Unfavorite {
[Obsolete("This class is obsolete. Use {TypeName} instead.")]
[Obsolete("This class is obsolete. Use UnfavoritePostResponse instead.")]
public class UnfavoriteResponse : UnfavoritePostResponse, IParsable {
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public async Task<DeltaGetResponse> GetAsDeltaGetResponseAsync(Action<RequestCon
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
[Obsolete("This method is obsolete. Use {TypeName} instead.")]
[Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<DeltaResponse?> GetAsync(Action<RequestConfiguration<DeltaRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using System;
namespace Microsoft.Graph.Applications.Delta {
[Obsolete("This class is obsolete. Use {TypeName} instead.")]
[Obsolete("This class is obsolete. Use DeltaGetResponse instead.")]
public class DeltaResponse : DeltaGetResponse, IParsable {
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task<GetAvailableExtensionPropertiesPostResponse> PostAsGetAvailabl
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
[Obsolete("This method is obsolete. Use {TypeName} instead.")]
[Obsolete("This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponseAsync instead.")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<GetAvailableExtensionPropertiesResponse?> PostAsync(GetAvailableExtensionPropertiesPostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using System;
namespace Microsoft.Graph.Applications.GetAvailableExtensionProperties {
[Obsolete("This class is obsolete. Use {TypeName} instead.")]
[Obsolete("This class is obsolete. Use GetAvailableExtensionPropertiesPostResponse instead.")]
public class GetAvailableExtensionPropertiesResponse : GetAvailableExtensionPropertiesPostResponse, IParsable {
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task<GetByIdsPostResponse> PostAsGetByIdsPostResponseAsync(GetByIds
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
[Obsolete("This method is obsolete. Use {TypeName} instead.")]
[Obsolete("This method is obsolete. Use PostAsGetByIdsPostResponseAsync instead.")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<GetByIdsResponse?> PostAsync(GetByIdsPostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using System;
namespace Microsoft.Graph.Applications.GetByIds {
[Obsolete("This class is obsolete. Use {TypeName} instead.")]
[Obsolete("This class is obsolete. Use GetByIdsPostResponse instead.")]
public class GetByIdsResponse : GetByIdsPostResponse, IParsable {
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task<CheckMemberGroupsPostResponse> PostAsCheckMemberGroupsPostResp
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
[Obsolete("This method is obsolete. Use {TypeName} instead.")]
[Obsolete("This method is obsolete. Use PostAsCheckMemberGroupsPostResponseAsync instead.")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<CheckMemberGroupsResponse?> PostAsync(CheckMemberGroupsPostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using System;
namespace Microsoft.Graph.Applications.Item.CheckMemberGroups {
[Obsolete("This class is obsolete. Use {TypeName} instead.")]
[Obsolete("This class is obsolete. Use CheckMemberGroupsPostResponse instead.")]
public class CheckMemberGroupsResponse : CheckMemberGroupsPostResponse, IParsable {
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public async Task<CheckMemberObjectsPostResponse> PostAsCheckMemberObjectsPostRe
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
[Obsolete("This method is obsolete. Use {TypeName} instead.")]
[Obsolete("This method is obsolete. Use PostAsCheckMemberObjectsPostResponseAsync instead.")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<CheckMemberObjectsResponse?> PostAsync(CheckMemberObjectsPostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using System;
namespace Microsoft.Graph.Applications.Item.CheckMemberObjects {
[Obsolete("This class is obsolete. Use {TypeName} instead.")]
[Obsolete("This class is obsolete. Use CheckMemberObjectsPostResponse instead.")]
public class CheckMemberObjectsResponse : CheckMemberObjectsPostResponse, IParsable {
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task<GetMemberGroupsPostResponse> PostAsGetMemberGroupsPostResponse
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
[Obsolete("This method is obsolete. Use {TypeName} instead.")]
[Obsolete("This method is obsolete. Use PostAsGetMemberGroupsPostResponseAsync instead.")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<GetMemberGroupsResponse?> PostAsync(GetMemberGroupsPostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using System;
namespace Microsoft.Graph.Applications.Item.GetMemberGroups {
[Obsolete("This class is obsolete. Use {TypeName} instead.")]
[Obsolete("This class is obsolete. Use GetMemberGroupsPostResponse instead.")]
public class GetMemberGroupsResponse : GetMemberGroupsPostResponse, IParsable {
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task<GetMemberObjectsPostResponse> PostAsGetMemberObjectsPostRespon
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
[Obsolete("This method is obsolete. Use {TypeName} instead.")]
[Obsolete("This method is obsolete. Use PostAsGetMemberObjectsPostResponseAsync instead.")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<GetMemberObjectsResponse?> PostAsync(GetMemberObjectsPostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using System;
namespace Microsoft.Graph.Applications.Item.GetMemberObjects {
[Obsolete("This class is obsolete. Use {TypeName} instead.")]
[Obsolete("This class is obsolete. Use GetMemberObjectsPostResponse instead.")]
public class GetMemberObjectsResponse : GetMemberObjectsPostResponse, IParsable {
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public ProvisionOnDemandRequestBuilder(Dictionary<string, object> pathParameters
public ProvisionOnDemandRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/provisionOnDemand", rawUrl) {
}
/// <summary>
/// Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
/// Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-provisionondemand?view=graph-rest-1.0" />
/// </summary>
/// <returns>A <see cref="StringKeyStringValuePair"/></returns>
Expand All @@ -52,7 +52,7 @@ public async Task<StringKeyStringValuePair> PostAsync(ProvisionOnDemandPostReque
return await RequestAdapter.SendAsync<StringKeyStringValuePair>(requestInfo, StringKeyStringValuePair.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
/// Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="body">The request body</param>
Expand Down
Loading
Loading