Skip to content

Commit

Permalink
Merge pull request #1845 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
Release 5.7.0
  • Loading branch information
andrueastman authored Apr 20, 2023
2 parents bc0a5d5 + e3c1344 commit 15c90cb
Showing 149 changed files with 6,328 additions and 265 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge-dependabot.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.3.6
uses: dependabot/fetch-metadata@v1.4.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

2 changes: 1 addition & 1 deletion .github/workflows/validatePullRequest.yml
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ jobs:
env:
solutionName: Microsoft.Graph.sln
steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v3.5.2
- name: Setup .NET
uses: actions/setup-dotnet@v3.0.3
with:
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -7,6 +7,13 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v

## [Unreleased]

## [5.7.0] - 2023-04-18

- Latest metadata updates from 18th April 2023
- Fixes missing /mailBoxSettings paths on user objects (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1712)
- Adds response headers collection to ApiException object (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1755)
- Fixes missing query parameters for mailFolders api (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1814)

## [5.6.0] - 2023-04-12

- Latest metadata updates from 12th April 2023
Original file line number Diff line number Diff line change
@@ -65,8 +65,8 @@ public async Task<ChatMessageCollectionResponse> GetAsync(Action<RepliesRequestB
return await RequestAdapter.SendAsync<ChatMessageCollectionResponse>(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Send a new reply to a chatMessage in a specified channel.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0" />
/// Create a new reply to a chatMessage in a specified channel.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action<RepliesRequestBuilderGe
return requestInfo;
}
/// <summary>
/// Send a new reply to a chatMessage in a specified channel.
/// Create a new reply to a chatMessage in a specified channel.
/// </summary>
/// <param name="body">The request body</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Original file line number Diff line number Diff line change
@@ -65,8 +65,8 @@ public async Task<ChatMessageCollectionResponse> GetAsync(Action<MessagesRequest
return await RequestAdapter.SendAsync<ChatMessageCollectionResponse>(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Send a new chatMessage in the specified channel or a chat.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0" />
/// Send a new chatMessage in the specified chat. This API can&apos;t create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action<MessagesRequestBuilderG
return requestInfo;
}
/// <summary>
/// Send a new chatMessage in the specified channel or a chat.
/// Send a new chatMessage in the specified chat. This API can&apos;t create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
/// </summary>
/// <param name="body">The request body</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Original file line number Diff line number Diff line change
@@ -28,8 +28,8 @@ public InviteRequestBuilder(Dictionary<string, object> pathParameters, IRequestA
public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite", rawUrl) {
}
/// <summary>
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0" />
/// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -50,7 +50,7 @@ public async Task<InviteParticipantsOperation> PostAsync(InvitePostRequestBody b
return await RequestAdapter.SendAsync<InviteParticipantsOperation>(requestInfo, InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
/// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
/// </summary>
/// <param name="body">The request body</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Original file line number Diff line number Diff line change
@@ -27,7 +27,8 @@ public PromoteRequestBuilder(Dictionary<string, object> pathParameters, IRequest
public PromoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/domains/{domain%2Did}/promote", rawUrl) {
}
/// <summary>
/// Invoke action promote
/// Promote a verified subdomain to the root domain. A verified domain has its **isVerified** property set to `true`.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/domain-promote?view=graph-rest-1.0" />
/// </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>
@@ -46,7 +47,7 @@ public async Task<PromoteResponse> PostAsync(Action<PromoteRequestBuilderPostReq
return await RequestAdapter.SendAsync<PromoteResponse>(requestInfo, PromoteResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Invoke action promote
/// Promote a verified subdomain to the root domain. A verified domain has its **isVerified** property set to `true`.
/// </summary>
/// <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
6 changes: 3 additions & 3 deletions src/Microsoft.Graph/Generated/Drives/DrivesRequestBuilder.cs
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ public DrivesRequestBuilder(Dictionary<string, object> pathParameters, IRequestA
public DrivesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
/// <summary>
/// Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries.
/// Get entities from drives
/// </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>
@@ -80,7 +80,7 @@ public async Task<DriveCollectionResponse> GetAsync(Action<DrivesRequestBuilderG
return await RequestAdapter.SendAsync<Microsoft.Graph.Models.Drive>(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries.
/// Get entities from drives
/// </summary>
/// <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
@@ -134,7 +134,7 @@ public RequestInformation ToPostRequestInformation(Microsoft.Graph.Models.Drive
return requestInfo;
}
/// <summary>
/// Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries.
/// Get entities from drives
/// </summary>
public class DrivesRequestBuilderGetQueryParameters {
/// <summary>Include count of items</summary>
Original file line number Diff line number Diff line change
@@ -88,8 +88,7 @@ public async Task DeleteAsync(Action<DriveItemRequestBuilderDeleteRequestConfigu
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken);
}
/// <summary>
/// Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/drive-get?view=graph-rest-1.0" />
/// Get entity from drives by key
/// </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>
@@ -161,7 +160,7 @@ public RequestInformation ToDeleteRequestInformation(Action<DriveItemRequestBuil
return requestInfo;
}
/// <summary>
/// Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries.
/// Get entity from drives by key
/// </summary>
/// <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
@@ -231,7 +230,7 @@ public DriveItemRequestBuilderDeleteRequestConfiguration() {
}
}
/// <summary>
/// Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries.
/// Get entity from drives by key
/// </summary>
public class DriveItemRequestBuilderGetQueryParameters {
/// <summary>Expand related entities</summary>
Original file line number Diff line number Diff line change
@@ -28,8 +28,8 @@ public RangeRequestBuilder(Dictionary<string, object> pathParameters, IRequestAd
public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%2Did}/range()", rawUrl) {
}
/// <summary>
/// Returns the range object that is associated with the name. Throws an exception if the named item&apos;s type is not a range.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0" />
/// Retrieve the properties and relationships of range object.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/range-get?view=graph-rest-1.0" />
/// </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>
@@ -48,7 +48,7 @@ public async Task<WorkbookRange> GetAsync(Action<RangeRequestBuilderGetRequestCo
return await RequestAdapter.SendAsync<WorkbookRange>(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Returns the range object that is associated with the name. Throws an exception if the named item&apos;s type is not a range.
/// Retrieve the properties and relationships of range object.
/// </summary>
/// <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
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ public NamesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
}
/// <summary>
/// Retrieve a list of nameditem objects.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/nameditem-list?view=graph-rest-1.0" />
/// Find more info here <see href="https://docs.microsoft.com/graph/api/workbook-list-names?view=graph-rest-1.0" />
/// </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>
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ public RowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(
}
/// <summary>
/// Retrieve a list of tablerow objects.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0" />
/// Find more info here <see href="https://docs.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0" />
/// </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>
Original file line number Diff line number Diff line change
@@ -41,8 +41,8 @@ public PointsRequestBuilder(Dictionary<string, object> pathParameters, IRequestA
public PointsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
/// <summary>
/// Retrieve a list of chartpoint objects.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chartpoint-list?view=graph-rest-1.0" />
/// Retrieve a list of chartpoints objects.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chartseries-list-points?view=graph-rest-1.0" />
/// </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>
@@ -91,7 +91,7 @@ public async Task<WorkbookChartPoint> PostAsync(WorkbookChartPoint body, Action<
return await RequestAdapter.SendAsync<WorkbookChartPoint>(requestInfo, WorkbookChartPoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Retrieve a list of chartpoint objects.
/// Retrieve a list of chartpoints objects.
/// </summary>
/// <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
@@ -145,7 +145,7 @@ public RequestInformation ToPostRequestInformation(WorkbookChartPoint body, Acti
return requestInfo;
}
/// <summary>
/// Retrieve a list of chartpoint objects.
/// Retrieve a list of chartpoints objects.
/// </summary>
public class PointsRequestBuilderGetQueryParameters {
/// <summary>Include count of items</summary>
Original file line number Diff line number Diff line change
@@ -28,8 +28,8 @@ public RangeRequestBuilder(Dictionary<string, object> pathParameters, IRequestAd
public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%2Did}/range()", rawUrl) {
}
/// <summary>
/// Returns the range object that is associated with the name. Throws an exception if the named item&apos;s type is not a range.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0" />
/// Retrieve the properties and relationships of range object.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/range-get?view=graph-rest-1.0" />
/// </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>
@@ -48,7 +48,7 @@ public async Task<WorkbookRange> GetAsync(Action<RangeRequestBuilderGetRequestCo
return await RequestAdapter.SendAsync<WorkbookRange>(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Returns the range object that is associated with the name. Throws an exception if the named item&apos;s type is not a range.
/// Retrieve the properties and relationships of range object.
/// </summary>
/// <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
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ public RowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(
}
/// <summary>
/// Retrieve a list of tablerow objects.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0" />
/// Find more info here <see href="https://docs.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0" />
/// </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>
Loading

0 comments on commit 15c90cb

Please sign in to comment.