Skip to content

Commit 7285d9f

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 193250
1 parent 9381f63 commit 7285d9f

File tree

9,260 files changed

+46625
-79455
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

9,260 files changed

+46625
-79455
lines changed

src/Microsoft.Graph/Generated/AccessReviewDecisions/AccessReviewDecisionsRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,10 @@ public partial class AccessReviewDecisionsRequestBuilderGetQueryParameters
212212
#endif
213213
/// <summary>Skip the first n items</summary>
214214
[QueryParameter("%24skip")]
215-
public int? Skip { get; set; }
215+
public long? Skip { get; set; }
216216
/// <summary>Show only the first n items</summary>
217217
[QueryParameter("%24top")]
218-
public int? Top { get; set; }
218+
public long? Top { get; set; }
219219
}
220220
/// <summary>
221221
/// Configuration for the request such as headers, query parameters, and middleware options.

src/Microsoft.Graph/Generated/AccessReviewDecisions/Count/CountRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,25 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
3636
/// <summary>
3737
/// Get the number of the resource
3838
/// </summary>
39-
/// <returns>A <see cref="int"/></returns>
39+
/// <returns>A <see cref="long"/></returns>
4040
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
4141
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
4242
/// <exception cref="global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
4343
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
4444
#nullable enable
45-
public async Task<int?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviewDecisions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
45+
public async Task<long?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviewDecisions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
4646
{
4747
#nullable restore
4848
#else
49-
public async Task<int?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviewDecisions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
49+
public async Task<long?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviewDecisions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
5050
{
5151
#endif
5252
var requestInfo = ToGetRequestInformation(requestConfiguration);
5353
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
5454
{
5555
{ "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
5656
};
57-
return await RequestAdapter.SendPrimitiveAsync<int?>(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
57+
return await RequestAdapter.SendPrimitiveAsync<long?>(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
5858
}
5959
/// <summary>
6060
/// Get the number of the resource

src/Microsoft.Graph/Generated/AccessReviews/AccessReviewsRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,10 @@ public partial class AccessReviewsRequestBuilderGetQueryParameters
214214
#endif
215215
/// <summary>Skip the first n items</summary>
216216
[QueryParameter("%24skip")]
217-
public int? Skip { get; set; }
217+
public long? Skip { get; set; }
218218
/// <summary>Show only the first n items</summary>
219219
[QueryParameter("%24top")]
220-
public int? Top { get; set; }
220+
public long? Top { get; set; }
221221
}
222222
/// <summary>
223223
/// Configuration for the request such as headers, query parameters, and middleware options.

src/Microsoft.Graph/Generated/AccessReviews/Count/CountRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,25 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
3636
/// <summary>
3737
/// Get the number of the resource
3838
/// </summary>
39-
/// <returns>A <see cref="int"/></returns>
39+
/// <returns>A <see cref="long"/></returns>
4040
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
4141
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
4242
/// <exception cref="global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
4343
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
4444
#nullable enable
45-
public async Task<int?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
45+
public async Task<long?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
4646
{
4747
#nullable restore
4848
#else
49-
public async Task<int?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
49+
public async Task<long?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
5050
{
5151
#endif
5252
var requestInfo = ToGetRequestInformation(requestConfiguration);
5353
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
5454
{
5555
{ "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
5656
};
57-
return await RequestAdapter.SendPrimitiveAsync<int?>(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
57+
return await RequestAdapter.SendPrimitiveAsync<long?>(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
5858
}
5959
/// <summary>
6060
/// Get the number of the resource

src/Microsoft.Graph/Generated/AccessReviews/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public ApplyDecisionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
3535
}
3636
/// <summary>
3737
/// In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn&apos;t configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user&apos;s access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn&apos;t have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.
38-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-beta" />
3938
/// </summary>
4039
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
4140
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>

src/Microsoft.Graph/Generated/AccessReviews/Item/Decisions/Count/CountRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,25 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
3636
/// <summary>
3737
/// Get the number of the resource
3838
/// </summary>
39-
/// <returns>A <see cref="int"/></returns>
39+
/// <returns>A <see cref="long"/></returns>
4040
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
4141
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
4242
/// <exception cref="global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
4343
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
4444
#nullable enable
45-
public async Task<int?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Item.Decisions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
45+
public async Task<long?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Item.Decisions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
4646
{
4747
#nullable restore
4848
#else
49-
public async Task<int?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Item.Decisions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
49+
public async Task<long?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Item.Decisions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
5050
{
5151
#endif
5252
var requestInfo = ToGetRequestInformation(requestConfiguration);
5353
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
5454
{
5555
{ "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
5656
};
57-
return await RequestAdapter.SendPrimitiveAsync<int?>(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
57+
return await RequestAdapter.SendPrimitiveAsync<long?>(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
5858
}
5959
/// <summary>
6060
/// Get the number of the resource

src/Microsoft.Graph/Generated/AccessReviews/Item/Decisions/DecisionsRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ public partial class DecisionsRequestBuilderGetQueryParameters
213213
#endif
214214
/// <summary>Skip the first n items</summary>
215215
[QueryParameter("%24skip")]
216-
public int? Skip { get; set; }
216+
public long? Skip { get; set; }
217217
/// <summary>Show only the first n items</summary>
218218
[QueryParameter("%24top")]
219-
public int? Top { get; set; }
219+
public long? Top { get; set; }
220220
}
221221
/// <summary>
222222
/// Configuration for the request such as headers, query parameters, and middleware options.

src/Microsoft.Graph/Generated/AccessReviews/Item/Instances/Count/CountRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,25 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
3636
/// <summary>
3737
/// Get the number of the resource
3838
/// </summary>
39-
/// <returns>A <see cref="int"/></returns>
39+
/// <returns>A <see cref="long"/></returns>
4040
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
4141
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
4242
/// <exception cref="global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
4343
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
4444
#nullable enable
45-
public async Task<int?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Item.Instances.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
45+
public async Task<long?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Item.Instances.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
4646
{
4747
#nullable restore
4848
#else
49-
public async Task<int?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Item.Instances.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
49+
public async Task<long?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Item.Instances.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
5050
{
5151
#endif
5252
var requestInfo = ToGetRequestInformation(requestConfiguration);
5353
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
5454
{
5555
{ "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
5656
};
57-
return await RequestAdapter.SendPrimitiveAsync<int?>(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
57+
return await RequestAdapter.SendPrimitiveAsync<long?>(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
5858
}
5959
/// <summary>
6060
/// Get the number of the resource

src/Microsoft.Graph/Generated/AccessReviews/Item/Instances/InstancesRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,10 @@ public partial class InstancesRequestBuilderGetQueryParameters
212212
#endif
213213
/// <summary>Skip the first n items</summary>
214214
[QueryParameter("%24skip")]
215-
public int? Skip { get; set; }
215+
public long? Skip { get; set; }
216216
/// <summary>Show only the first n items</summary>
217217
[QueryParameter("%24top")]
218-
public int? Top { get; set; }
218+
public long? Top { get; set; }
219219
}
220220
/// <summary>
221221
/// Configuration for the request such as headers, query parameters, and middleware options.

src/Microsoft.Graph/Generated/AccessReviews/Item/Instances/Item/Decisions/Count/CountRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,25 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
3636
/// <summary>
3737
/// Get the number of the resource
3838
/// </summary>
39-
/// <returns>A <see cref="int"/></returns>
39+
/// <returns>A <see cref="long"/></returns>
4040
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
4141
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
4242
/// <exception cref="global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
4343
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
4444
#nullable enable
45-
public async Task<int?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Item.Instances.Item.Decisions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
45+
public async Task<long?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Item.Instances.Item.Decisions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
4646
{
4747
#nullable restore
4848
#else
49-
public async Task<int?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Item.Instances.Item.Decisions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
49+
public async Task<long?> GetAsync(Action<RequestConfiguration<global::Microsoft.Graph.Beta.AccessReviews.Item.Instances.Item.Decisions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
5050
{
5151
#endif
5252
var requestInfo = ToGetRequestInformation(requestConfiguration);
5353
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
5454
{
5555
{ "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
5656
};
57-
return await RequestAdapter.SendPrimitiveAsync<int?>(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
57+
return await RequestAdapter.SendPrimitiveAsync<long?>(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
5858
}
5959
/// <summary>
6060
/// Get the number of the resource

0 commit comments

Comments
 (0)