Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated models and request builders #1978

Merged
merged 2 commits into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v

## [Unreleased]

## [5.15.0] - 2023-06-21

- Fixes incorrect naming for the InnerError property in MainError (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1916)
- Latest metadata updates from 20th June 2023

## [5.14.0] - 2023-06-13

- Fixes missing GET method for teams singleton (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1956)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public async Task DeleteAsync(Action<ConversationMemberItemRequestBuilderDeleteR
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken);
}
/// <summary>
/// Retrieve a conversationMember from a chat.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0" />
/// Retrieve a conversationMember from a chat or channel.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/conversationmember-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>
Expand Down Expand Up @@ -113,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action<ConversationMemberIt
return requestInfo;
}
/// <summary>
/// Retrieve a conversationMember from a chat.
/// Retrieve a conversationMember from a chat or channel.
/// </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
Expand Down Expand Up @@ -183,7 +183,7 @@ public ConversationMemberItemRequestBuilderDeleteRequestConfiguration() {
}
}
/// <summary>
/// Retrieve a conversationMember from a chat.
/// Retrieve a conversationMember from a chat or channel.
/// </summary>
public class ConversationMemberItemRequestBuilderGetQueryParameters {
/// <summary>Expand related entities</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public async Task<ChatMessageCollectionResponse> GetAsync(Action<RepliesRequestB
return await RequestAdapter.SendAsync<ChatMessageCollectionResponse>(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// 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" />
/// 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" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action<RepliesRequestBuilderGe
return requestInfo;
}
/// <summary>
/// Create a new reply to a chatMessage in a specified channel.
/// Send 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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques
return await RequestAdapter.SendAsync<Microsoft.Graph.Models.DriveItem>(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// To move a DriveItem to a new parent item, your app requests to update the **parentReference** of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/driveitem-move?view=graph-rest-1.0" />
/// Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item&apos;s **parentReference** property.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/driveitem-update?view=graph-rest-1.0" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -290,7 +290,7 @@ public RequestInformation ToGetRequestInformation(Action<DriveItemItemRequestBui
return requestInfo;
}
/// <summary>
/// To move a DriveItem to a new parent item, your app requests to update the **parentReference** of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request.
/// Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item&apos;s **parentReference** property.
/// </summary>
/// <param name="body">The request body</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
/// 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" />
/// 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" />
/// </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>
Expand All @@ -48,7 +48,7 @@ public async Task<WorkbookRange> GetAsync(Action<RangeRequestBuilderGetRequestCo
return await RequestAdapter.SendAsync<WorkbookRange>(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Retrieve the properties and relationships of range object.
/// Returns the range object that is associated with the name. Throws an exception if the named item&apos;s type is not a range.
/// </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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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/workbook-list-names?view=graph-rest-1.0" />
/// Find more info here <see href="https://docs.microsoft.com/graph/api/nameditem-list?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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public ColumnsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
}
/// <summary>
/// Retrieve a list of tablecolumn objects.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0" />
/// Find more info here <see href="https://docs.microsoft.com/graph/api/tablecolumn-list?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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public TablesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas
}
/// <summary>
/// Retrieve a list of table objects.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/table-list?view=graph-rest-1.0" />
/// Find more info here <see href="https://docs.microsoft.com/graph/api/workbook-list-tables?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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public ChartsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas
}
/// <summary>
/// Retrieve a list of chart objects.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chart-list?view=graph-rest-1.0" />
/// Find more info here <see href="https://docs.microsoft.com/graph/api/worksheet-list-charts?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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 chartpoints objects.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chartseries-list-points?view=graph-rest-1.0" />
/// 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" />
/// </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>
Expand Down Expand Up @@ -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 chartpoints objects.
/// Retrieve a list of chartpoint 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
Expand Down Expand Up @@ -145,7 +145,7 @@ public RequestInformation ToPostRequestInformation(WorkbookChartPoint body, Acti
return requestInfo;
}
/// <summary>
/// Retrieve a list of chartpoints objects.
/// Retrieve a list of chartpoint objects.
/// </summary>
public class PointsRequestBuilderGetQueryParameters {
/// <summary>Include count of items</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public SeriesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas
}
/// <summary>
/// Retrieve a list of chartseries objects.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0" />
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chart-list-series?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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
/// 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" />
/// 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" />
/// </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>
Expand All @@ -48,7 +48,7 @@ public async Task<WorkbookRange> GetAsync(Action<RangeRequestBuilderGetRequestCo
return await RequestAdapter.SendAsync<WorkbookRange>(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Retrieve the properties and relationships of range object.
/// Returns the range object that is associated with the name. Throws an exception if the named item&apos;s type is not a range.
/// </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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public ColumnsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
}
/// <summary>
/// Retrieve a list of tablecolumn objects.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0" />
/// Find more info here <see href="https://docs.microsoft.com/graph/api/tablecolumn-list?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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ public async Task<ColumnDefinition> GetAsync(Action<ColumnDefinitionItemRequestB
return await RequestAdapter.SendAsync<ColumnDefinition>(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Update the navigation property columns in drives
/// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition].
/// Find more info here <see href="https://docs.microsoft.com/graph/api/columndefinition-update?view=graph-rest-1.0" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -144,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action<ColumnDefinitionItemReq
return requestInfo;
}
/// <summary>
/// Update the navigation property columns in drives
/// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition].
/// </summary>
/// <param name="body">The request body</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down
Loading