Skip to content

Commit c079f2d

Browse files
authored
Merge pull request #2530 from microsoftgraph/kiota/v1.0/pipelinebuild/151773
Generated models and request builders
2 parents 5b74afe + b547ee2 commit c079f2d

File tree

15,384 files changed

+244856
-239557
lines changed

Some content is hidden

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

15,384 files changed

+244856
-239557
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project does adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [5.56.0] - 2024-06-06
9+
10+
- Latest metadata updates from 4th June 2024.
11+
12+
813
## [5.55.0] - 2024-05-31
914

1015
- Latest metadata updates from 28th May 2024.

src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,40 +22,40 @@ namespace Microsoft.Graph.Admin
2222
public class AdminRequestBuilder : BaseRequestBuilder
2323
{
2424
/// <summary>Provides operations to manage the edge property of the microsoft.graph.admin entity.</summary>
25-
public EdgeRequestBuilder Edge
25+
public Microsoft.Graph.Admin.Edge.EdgeRequestBuilder Edge
2626
{
27-
get => new EdgeRequestBuilder(PathParameters, RequestAdapter);
27+
get => new Microsoft.Graph.Admin.Edge.EdgeRequestBuilder(PathParameters, RequestAdapter);
2828
}
2929
/// <summary>Provides operations to manage the microsoft365Apps property of the microsoft.graph.admin entity.</summary>
30-
public Microsoft365AppsRequestBuilder Microsoft365Apps
30+
public Microsoft.Graph.Admin.Microsoft365Apps.Microsoft365AppsRequestBuilder Microsoft365Apps
3131
{
32-
get => new Microsoft365AppsRequestBuilder(PathParameters, RequestAdapter);
32+
get => new Microsoft.Graph.Admin.Microsoft365Apps.Microsoft365AppsRequestBuilder(PathParameters, RequestAdapter);
3333
}
3434
/// <summary>Provides operations to manage the people property of the microsoft.graph.admin entity.</summary>
35-
public PeopleRequestBuilder People
35+
public Microsoft.Graph.Admin.People.PeopleRequestBuilder People
3636
{
37-
get => new PeopleRequestBuilder(PathParameters, RequestAdapter);
37+
get => new Microsoft.Graph.Admin.People.PeopleRequestBuilder(PathParameters, RequestAdapter);
3838
}
3939
/// <summary>Provides operations to manage the serviceAnnouncement property of the microsoft.graph.admin entity.</summary>
40-
public ServiceAnnouncementRequestBuilder ServiceAnnouncement
40+
public Microsoft.Graph.Admin.ServiceAnnouncement.ServiceAnnouncementRequestBuilder ServiceAnnouncement
4141
{
42-
get => new ServiceAnnouncementRequestBuilder(PathParameters, RequestAdapter);
42+
get => new Microsoft.Graph.Admin.ServiceAnnouncement.ServiceAnnouncementRequestBuilder(PathParameters, RequestAdapter);
4343
}
4444
/// <summary>Provides operations to manage the sharepoint property of the microsoft.graph.admin entity.</summary>
45-
public SharepointRequestBuilder Sharepoint
45+
public Microsoft.Graph.Admin.Sharepoint.SharepointRequestBuilder Sharepoint
4646
{
47-
get => new SharepointRequestBuilder(PathParameters, RequestAdapter);
47+
get => new Microsoft.Graph.Admin.Sharepoint.SharepointRequestBuilder(PathParameters, RequestAdapter);
4848
}
4949
/// <summary>
50-
/// Instantiates a new <see cref="AdminRequestBuilder"/> and sets the default values.
50+
/// Instantiates a new <see cref="Microsoft.Graph.Admin.AdminRequestBuilder"/> and sets the default values.
5151
/// </summary>
5252
/// <param name="pathParameters">Path parameters for the request</param>
5353
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
5454
public AdminRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin{?%24expand,%24select}", pathParameters)
5555
{
5656
}
5757
/// <summary>
58-
/// Instantiates a new <see cref="AdminRequestBuilder"/> and sets the default values.
58+
/// Instantiates a new <see cref="Microsoft.Graph.Admin.AdminRequestBuilder"/> and sets the default values.
5959
/// </summary>
6060
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
6161
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
@@ -68,20 +68,20 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
6868
/// <returns>A <see cref="Microsoft.Graph.Models.Admin"/></returns>
6969
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
7070
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
71-
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
71+
/// <exception cref="Microsoft.Graph.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
7272
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
7373
#nullable enable
74-
public async Task<Microsoft.Graph.Models.Admin?> GetAsync(Action<RequestConfiguration<AdminRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
74+
public async Task<Microsoft.Graph.Models.Admin?> GetAsync(Action<RequestConfiguration<Microsoft.Graph.Admin.AdminRequestBuilder.AdminRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
7575
{
7676
#nullable restore
7777
#else
78-
public async Task<Microsoft.Graph.Models.Admin> GetAsync(Action<RequestConfiguration<AdminRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
78+
public async Task<Microsoft.Graph.Models.Admin> GetAsync(Action<RequestConfiguration<Microsoft.Graph.Admin.AdminRequestBuilder.AdminRequestBuilderGetQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
7979
{
8080
#endif
8181
var requestInfo = ToGetRequestInformation(requestConfiguration);
8282
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
8383
{
84-
{ "XXX", ODataError.CreateFromDiscriminatorValue },
84+
{ "XXX", Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
8585
};
8686
return await RequestAdapter.SendAsync<Microsoft.Graph.Models.Admin>(requestInfo, Microsoft.Graph.Models.Admin.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
8787
}
@@ -92,7 +92,7 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
9292
/// <param name="body">The request body</param>
9393
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
9494
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
95-
/// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
95+
/// <exception cref="Microsoft.Graph.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
9696
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
9797
#nullable enable
9898
public async Task<Microsoft.Graph.Models.Admin?> PatchAsync(Microsoft.Graph.Models.Admin body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -106,7 +106,7 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
106106
var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
107107
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
108108
{
109-
{ "XXX", ODataError.CreateFromDiscriminatorValue },
109+
{ "XXX", Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
110110
};
111111
return await RequestAdapter.SendAsync<Microsoft.Graph.Models.Admin>(requestInfo, Microsoft.Graph.Models.Admin.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
112112
}
@@ -117,11 +117,11 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
117117
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
118118
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
119119
#nullable enable
120-
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<AdminRequestBuilderGetQueryParameters>>? requestConfiguration = default)
120+
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Microsoft.Graph.Admin.AdminRequestBuilder.AdminRequestBuilderGetQueryParameters>>? requestConfiguration = default)
121121
{
122122
#nullable restore
123123
#else
124-
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<AdminRequestBuilderGetQueryParameters>> requestConfiguration = default)
124+
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Microsoft.Graph.Admin.AdminRequestBuilder.AdminRequestBuilderGetQueryParameters>> requestConfiguration = default)
125125
{
126126
#endif
127127
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
@@ -154,11 +154,11 @@ public RequestInformation ToPatchRequestInformation(Microsoft.Graph.Models.Admin
154154
/// <summary>
155155
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
156156
/// </summary>
157-
/// <returns>A <see cref="AdminRequestBuilder"/></returns>
157+
/// <returns>A <see cref="Microsoft.Graph.Admin.AdminRequestBuilder"/></returns>
158158
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
159-
public AdminRequestBuilder WithUrl(string rawUrl)
159+
public Microsoft.Graph.Admin.AdminRequestBuilder WithUrl(string rawUrl)
160160
{
161-
return new AdminRequestBuilder(rawUrl, RequestAdapter);
161+
return new Microsoft.Graph.Admin.AdminRequestBuilder(rawUrl, RequestAdapter);
162162
}
163163
/// <summary>
164164
/// Get admin
@@ -190,7 +190,7 @@ public class AdminRequestBuilderGetQueryParameters
190190
/// Configuration for the request such as headers, query parameters, and middleware options.
191191
/// </summary>
192192
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
193-
public class AdminRequestBuilderGetRequestConfiguration : RequestConfiguration<AdminRequestBuilderGetQueryParameters>
193+
public class AdminRequestBuilderGetRequestConfiguration : RequestConfiguration<Microsoft.Graph.Admin.AdminRequestBuilder.AdminRequestBuilderGetQueryParameters>
194194
{
195195
}
196196
/// <summary>

0 commit comments

Comments
 (0)