Skip to content

Commit 1354831

Browse files
authored
Merge pull request #2535 from microsoftgraph/dev
Release 5.56.0
2 parents 5dce377 + c079f2d commit 1354831

File tree

15,386 files changed

+244871
-239572
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,386 files changed

+244871
-239572
lines changed

.github/policies/resourceManagement.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ configuration:
1616
- isIssue
1717
- isOpen
1818
- hasLabel:
19-
label: 'Needs: Author Feedback'
19+
label: 'status:waiting-for-author-feedback'
2020
- hasLabel:
2121
label: 'Status: No recent activity'
2222
- noActivitySince:
@@ -31,7 +31,7 @@ configuration:
3131
- isIssue
3232
- isOpen
3333
- hasLabel:
34-
label: 'Needs: Author Feedback'
34+
label: 'status:waiting-for-author-feedback'
3535
- noActivitySince:
3636
days: 4
3737
- isNotLabeledWith:
@@ -64,7 +64,7 @@ configuration:
6464
- isPullRequest
6565
- isOpen
6666
- hasLabel:
67-
label: 'Needs: Author Feedback'
67+
label: 'status:waiting-for-author-feedback'
6868
- hasLabel:
6969
label: 'Status: No recent activity'
7070
- noActivitySince:
@@ -79,7 +79,7 @@ configuration:
7979
- isPullRequest
8080
- isOpen
8181
- hasLabel:
82-
label: 'Needs: Author Feedback'
82+
label: 'status:waiting-for-author-feedback'
8383
- noActivitySince:
8484
days: 7
8585
- isNotLabeledWith:
@@ -97,12 +97,12 @@ configuration:
9797
- isActivitySender:
9898
issueAuthor: True
9999
- hasLabel:
100-
label: 'Needs: Author Feedback'
100+
label: 'status:waiting-for-author-feedback'
101101
then:
102102
- addLabel:
103103
label: 'Needs: Attention :wave:'
104104
- removeLabel:
105-
label: 'Needs: Author Feedback'
105+
label: 'status:waiting-for-author-feedback'
106106
description:
107107
- if:
108108
- payloadType: Issues
@@ -148,7 +148,7 @@ configuration:
148148
reviewState: Changes_requested
149149
then:
150150
- addLabel:
151-
label: 'Needs: Author Feedback'
151+
label: 'status:waiting-for-author-feedback'
152152
description:
153153
- if:
154154
- payloadType: Pull_Request
@@ -158,30 +158,30 @@ configuration:
158158
isAction:
159159
action: Closed
160160
- hasLabel:
161-
label: 'Needs: Author Feedback'
161+
label: 'status:waiting-for-author-feedback'
162162
then:
163163
- removeLabel:
164-
label: 'Needs: Author Feedback'
164+
label: 'status:waiting-for-author-feedback'
165165
description:
166166
- if:
167167
- payloadType: Issue_Comment
168168
- isActivitySender:
169169
issueAuthor: True
170170
- hasLabel:
171-
label: 'Needs: Author Feedback'
171+
label: 'status:waiting-for-author-feedback'
172172
then:
173173
- removeLabel:
174-
label: 'Needs: Author Feedback'
174+
label: 'status:waiting-for-author-feedback'
175175
description:
176176
- if:
177177
- payloadType: Pull_Request_Review
178178
- isActivitySender:
179179
issueAuthor: True
180180
- hasLabel:
181-
label: 'Needs: Author Feedback'
181+
label: 'status:waiting-for-author-feedback'
182182
then:
183183
- removeLabel:
184-
label: 'Needs: Author Feedback'
184+
label: 'status:waiting-for-author-feedback'
185185
description:
186186
- if:
187187
- payloadType: Pull_Request

.github/workflows/project-auto-add.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ on:
99
types:
1010
- opened
1111
branches:
12-
- 'dev'
12+
- "dev"
1313

1414
jobs:
1515
track_issue:
16-
if: github.actor != 'dependabot[bot]'
16+
if: github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork == false
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Generate token

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)