Skip to content

Commit

Permalink
Merge pull request #2535 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
Release 5.56.0
  • Loading branch information
shemogumbe authored Jun 6, 2024
2 parents 5dce377 + c079f2d commit 1354831
Show file tree
Hide file tree
Showing 15,386 changed files with 244,871 additions and 239,572 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
26 changes: 13 additions & 13 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ configuration:
- isIssue
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
- hasLabel:
label: 'Status: No recent activity'
- noActivitySince:
Expand All @@ -31,7 +31,7 @@ configuration:
- isIssue
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
- noActivitySince:
days: 4
- isNotLabeledWith:
Expand Down Expand Up @@ -64,7 +64,7 @@ configuration:
- isPullRequest
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
- hasLabel:
label: 'Status: No recent activity'
- noActivitySince:
Expand All @@ -79,7 +79,7 @@ configuration:
- isPullRequest
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
- noActivitySince:
days: 7
- isNotLabeledWith:
Expand All @@ -97,12 +97,12 @@ configuration:
- isActivitySender:
issueAuthor: True
- hasLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
then:
- addLabel:
label: 'Needs: Attention :wave:'
- removeLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
description:
- if:
- payloadType: Issues
Expand Down Expand Up @@ -148,7 +148,7 @@ configuration:
reviewState: Changes_requested
then:
- addLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
description:
- if:
- payloadType: Pull_Request
Expand All @@ -158,30 +158,30 @@ configuration:
isAction:
action: Closed
- hasLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
then:
- removeLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
description:
- if:
- payloadType: Issue_Comment
- isActivitySender:
issueAuthor: True
- hasLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
then:
- removeLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
description:
- if:
- payloadType: Pull_Request_Review
- isActivitySender:
issueAuthor: True
- hasLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
then:
- removeLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
description:
- if:
- payloadType: Pull_Request
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/project-auto-add.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ on:
types:
- opened
branches:
- 'dev'
- "dev"

jobs:
track_issue:
if: github.actor != 'dependabot[bot]'
if: github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-latest
steps:
- name: Generate token
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project does adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [5.56.0] - 2024-06-06

- Latest metadata updates from 4th June 2024.


## [5.55.0] - 2024-05-31

- Latest metadata updates from 28th May 2024.
Expand Down
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
Loading

0 comments on commit 1354831

Please sign in to comment.