Skip to content

Commit

Permalink
Update generated files with build 151773
Browse files Browse the repository at this point in the history
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Jun 4, 2024
1 parent 5bc0968 commit 3346c39
Show file tree
Hide file tree
Showing 15,383 changed files with 244,851 additions and 239,557 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
48 changes: 24 additions & 24 deletions src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,40 +22,40 @@ namespace Microsoft.Graph.Admin
public class AdminRequestBuilder : BaseRequestBuilder
{
/// <summary>Provides operations to manage the edge property of the microsoft.graph.admin entity.</summary>
public EdgeRequestBuilder Edge
public Microsoft.Graph.Admin.Edge.EdgeRequestBuilder Edge
{
get => new EdgeRequestBuilder(PathParameters, RequestAdapter);
get => new Microsoft.Graph.Admin.Edge.EdgeRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the microsoft365Apps property of the microsoft.graph.admin entity.</summary>
public Microsoft365AppsRequestBuilder Microsoft365Apps
public Microsoft.Graph.Admin.Microsoft365Apps.Microsoft365AppsRequestBuilder Microsoft365Apps
{
get => new Microsoft365AppsRequestBuilder(PathParameters, RequestAdapter);
get => new Microsoft.Graph.Admin.Microsoft365Apps.Microsoft365AppsRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the people property of the microsoft.graph.admin entity.</summary>
public PeopleRequestBuilder People
public Microsoft.Graph.Admin.People.PeopleRequestBuilder People
{
get => new PeopleRequestBuilder(PathParameters, RequestAdapter);
get => new Microsoft.Graph.Admin.People.PeopleRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the serviceAnnouncement property of the microsoft.graph.admin entity.</summary>
public ServiceAnnouncementRequestBuilder ServiceAnnouncement
public Microsoft.Graph.Admin.ServiceAnnouncement.ServiceAnnouncementRequestBuilder ServiceAnnouncement
{
get => new ServiceAnnouncementRequestBuilder(PathParameters, RequestAdapter);
get => new Microsoft.Graph.Admin.ServiceAnnouncement.ServiceAnnouncementRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the sharepoint property of the microsoft.graph.admin entity.</summary>
public SharepointRequestBuilder Sharepoint
public Microsoft.Graph.Admin.Sharepoint.SharepointRequestBuilder Sharepoint
{
get => new SharepointRequestBuilder(PathParameters, RequestAdapter);
get => new Microsoft.Graph.Admin.Sharepoint.SharepointRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>
/// Instantiates a new <see cref="AdminRequestBuilder"/> and sets the default values.
/// Instantiates a new <see cref="Microsoft.Graph.Admin.AdminRequestBuilder"/> and sets the default values.
/// </summary>
/// <param name="pathParameters">Path parameters for the request</param>
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
public AdminRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin{?%24expand,%24select}", pathParameters)
{
}
/// <summary>
/// Instantiates a new <see cref="AdminRequestBuilder"/> and sets the default values.
/// Instantiates a new <see cref="Microsoft.Graph.Admin.AdminRequestBuilder"/> and sets the default values.
/// </summary>
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
Expand All @@ -68,20 +68,20 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
/// <returns>A <see cref="Microsoft.Graph.Models.Admin"/></returns>
/// <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>
/// <exception cref="Microsoft.Graph.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<Microsoft.Graph.Models.Admin?> GetAsync(Action<RequestConfiguration<AdminRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
public async Task<Microsoft.Graph.Models.Admin?> GetAsync(Action<RequestConfiguration<Microsoft.Graph.Admin.AdminRequestBuilder.AdminRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
{
#nullable restore
#else
public async Task<Microsoft.Graph.Models.Admin> GetAsync(Action<RequestConfiguration<AdminRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
public async Task<Microsoft.Graph.Models.Admin> GetAsync(Action<RequestConfiguration<Microsoft.Graph.Admin.AdminRequestBuilder.AdminRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
{
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{ "XXX", ODataError.CreateFromDiscriminatorValue },
{ "XXX", Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendAsync<Microsoft.Graph.Models.Admin>(requestInfo, Microsoft.Graph.Models.Admin.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand All @@ -92,7 +92,7 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
/// <param name="body">The request body</param>
/// <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>
/// <exception cref="Microsoft.Graph.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<Microsoft.Graph.Models.Admin?> PatchAsync(Microsoft.Graph.Models.Admin body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
Expand All @@ -106,7 +106,7 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{ "XXX", ODataError.CreateFromDiscriminatorValue },
{ "XXX", Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendAsync<Microsoft.Graph.Models.Admin>(requestInfo, Microsoft.Graph.Models.Admin.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand All @@ -117,11 +117,11 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<AdminRequestBuilderGetQueryParameters>>? requestConfiguration = default)
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Microsoft.Graph.Admin.AdminRequestBuilder.AdminRequestBuilderGetQueryParameters>>? requestConfiguration = default)
{
#nullable restore
#else
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<AdminRequestBuilderGetQueryParameters>> requestConfiguration = default)
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Microsoft.Graph.Admin.AdminRequestBuilder.AdminRequestBuilderGetQueryParameters>> requestConfiguration = default)
{
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
Expand Down Expand Up @@ -154,11 +154,11 @@ public RequestInformation ToPatchRequestInformation(Microsoft.Graph.Models.Admin
/// <summary>
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
/// </summary>
/// <returns>A <see cref="AdminRequestBuilder"/></returns>
/// <returns>A <see cref="Microsoft.Graph.Admin.AdminRequestBuilder"/></returns>
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
public AdminRequestBuilder WithUrl(string rawUrl)
public Microsoft.Graph.Admin.AdminRequestBuilder WithUrl(string rawUrl)
{
return new AdminRequestBuilder(rawUrl, RequestAdapter);
return new Microsoft.Graph.Admin.AdminRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// Get admin
Expand Down Expand Up @@ -190,7 +190,7 @@ public class AdminRequestBuilderGetQueryParameters
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class AdminRequestBuilderGetRequestConfiguration : RequestConfiguration<AdminRequestBuilderGetQueryParameters>
public class AdminRequestBuilderGetRequestConfiguration : RequestConfiguration<Microsoft.Graph.Admin.AdminRequestBuilder.AdminRequestBuilderGetQueryParameters>
{
}
/// <summary>
Expand Down
36 changes: 18 additions & 18 deletions src/Microsoft.Graph/Generated/Admin/Edge/EdgeRequestBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ namespace Microsoft.Graph.Admin.Edge
public class EdgeRequestBuilder : BaseRequestBuilder
{
/// <summary>Provides operations to manage the internetExplorerMode property of the microsoft.graph.edge entity.</summary>
public InternetExplorerModeRequestBuilder InternetExplorerMode
public Microsoft.Graph.Admin.Edge.InternetExplorerMode.InternetExplorerModeRequestBuilder InternetExplorerMode
{
get => new InternetExplorerModeRequestBuilder(PathParameters, RequestAdapter);
get => new Microsoft.Graph.Admin.Edge.InternetExplorerMode.InternetExplorerModeRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>
/// Instantiates a new <see cref="EdgeRequestBuilder"/> and sets the default values.
/// Instantiates a new <see cref="Microsoft.Graph.Admin.Edge.EdgeRequestBuilder"/> and sets the default values.
/// </summary>
/// <param name="pathParameters">Path parameters for the request</param>
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
public EdgeRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/edge{?%24expand,%24select}", pathParameters)
{
}
/// <summary>
/// Instantiates a new <see cref="EdgeRequestBuilder"/> and sets the default values.
/// Instantiates a new <see cref="Microsoft.Graph.Admin.Edge.EdgeRequestBuilder"/> and sets the default values.
/// </summary>
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
Expand All @@ -43,7 +43,7 @@ public EdgeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(
/// </summary>
/// <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>
/// <exception cref="Microsoft.Graph.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
Expand All @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{ "XXX", ODataError.CreateFromDiscriminatorValue },
{ "XXX", Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
};
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand All @@ -66,20 +66,20 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
/// <returns>A <see cref="Microsoft.Graph.Models.Edge"/></returns>
/// <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>
/// <exception cref="Microsoft.Graph.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<Microsoft.Graph.Models.Edge?> GetAsync(Action<RequestConfiguration<EdgeRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
public async Task<Microsoft.Graph.Models.Edge?> GetAsync(Action<RequestConfiguration<Microsoft.Graph.Admin.Edge.EdgeRequestBuilder.EdgeRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
{
#nullable restore
#else
public async Task<Microsoft.Graph.Models.Edge> GetAsync(Action<RequestConfiguration<EdgeRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
public async Task<Microsoft.Graph.Models.Edge> GetAsync(Action<RequestConfiguration<Microsoft.Graph.Admin.Edge.EdgeRequestBuilder.EdgeRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
{
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{ "XXX", ODataError.CreateFromDiscriminatorValue },
{ "XXX", Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendAsync<Microsoft.Graph.Models.Edge>(requestInfo, Microsoft.Graph.Models.Edge.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand All @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
/// <param name="body">The request body</param>
/// <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>
/// <exception cref="Microsoft.Graph.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<Microsoft.Graph.Models.Edge?> PatchAsync(Microsoft.Graph.Models.Edge body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
Expand All @@ -104,7 +104,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{ "XXX", ODataError.CreateFromDiscriminatorValue },
{ "XXX", Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendAsync<Microsoft.Graph.Models.Edge>(requestInfo, Microsoft.Graph.Models.Edge.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand Down Expand Up @@ -134,11 +134,11 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<EdgeRequestBuilderGetQueryParameters>>? requestConfiguration = default)
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Microsoft.Graph.Admin.Edge.EdgeRequestBuilder.EdgeRequestBuilderGetQueryParameters>>? requestConfiguration = default)
{
#nullable restore
#else
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<EdgeRequestBuilderGetQueryParameters>> requestConfiguration = default)
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Microsoft.Graph.Admin.Edge.EdgeRequestBuilder.EdgeRequestBuilderGetQueryParameters>> requestConfiguration = default)
{
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
Expand Down Expand Up @@ -171,11 +171,11 @@ public RequestInformation ToPatchRequestInformation(Microsoft.Graph.Models.Edge
/// <summary>
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
/// </summary>
/// <returns>A <see cref="EdgeRequestBuilder"/></returns>
/// <returns>A <see cref="Microsoft.Graph.Admin.Edge.EdgeRequestBuilder"/></returns>
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
public EdgeRequestBuilder WithUrl(string rawUrl)
public Microsoft.Graph.Admin.Edge.EdgeRequestBuilder WithUrl(string rawUrl)
{
return new EdgeRequestBuilder(rawUrl, RequestAdapter);
return new Microsoft.Graph.Admin.Edge.EdgeRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// Configuration for the request such as headers, query parameters, and middleware options.
Expand Down Expand Up @@ -214,7 +214,7 @@ public class EdgeRequestBuilderGetQueryParameters
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class EdgeRequestBuilderGetRequestConfiguration : RequestConfiguration<EdgeRequestBuilderGetQueryParameters>
public class EdgeRequestBuilderGetRequestConfiguration : RequestConfiguration<Microsoft.Graph.Admin.Edge.EdgeRequestBuilder.EdgeRequestBuilderGetQueryParameters>
{
}
/// <summary>
Expand Down
Loading

0 comments on commit 3346c39

Please sign in to comment.