Skip to content

Commit

Permalink
Update generated files with build 111513
Browse files Browse the repository at this point in the history
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Mar 28, 2023
1 parent 8bd7ddc commit d5334ad
Show file tree
Hide file tree
Showing 63 changed files with 200 additions and 207 deletions.
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>
/// 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>
Expand Down Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 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" />
/// 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" />
/// </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<MessagesRequestBuilderG
return requestInfo;
}
/// <summary>
/// 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.
/// Send a new chatMessage in the specified channel or a chat.
/// </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 InviteRequestBuilder(Dictionary<string, object> pathParameters, IRequestA
public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite", rawUrl) {
}
/// <summary>
/// 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" />
/// 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" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand All @@ -50,7 +50,7 @@ public async Task<InviteParticipantsOperation> PostAsync(InvitePostRequestBody b
return await RequestAdapter.SendAsync<InviteParticipantsOperation>(requestInfo, InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// 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.
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
/// </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 @@ -73,13 +73,13 @@ public async Task<ExternalItem> GetAsync(Action<ExternalItemItemRequestBuilderGe
/// <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 async Task<ExternalItem?> PatchAsync(ExternalItem body, Action<ExternalItemItemRequestBuilderPatchRequestConfiguration>? requestConfiguration = default, CancellationToken cancellationToken = default) {
public async Task<ExternalItem?> PutAsync(ExternalItem body, Action<ExternalItemItemRequestBuilderPutRequestConfiguration>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
public async Task<ExternalItem> PatchAsync(ExternalItem body, Action<ExternalItemItemRequestBuilderPatchRequestConfiguration> requestConfiguration = default, CancellationToken cancellationToken = default) {
public async Task<ExternalItem> PutAsync(ExternalItem body, Action<ExternalItemItemRequestBuilderPutRequestConfiguration> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
var requestInfo = ToPutRequestInformation(body, requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>> {
{"4XX", ODataError.CreateFromDiscriminatorValue},
{"5XX", ODataError.CreateFromDiscriminatorValue},
Expand Down Expand Up @@ -143,21 +143,21 @@ public RequestInformation ToGetRequestInformation(Action<ExternalItemItemRequest
/// <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 ToPatchRequestInformation(ExternalItem body, Action<ExternalItemItemRequestBuilderPatchRequestConfiguration>? requestConfiguration = default) {
public RequestInformation ToPutRequestInformation(ExternalItem body, Action<ExternalItemItemRequestBuilderPutRequestConfiguration>? requestConfiguration = default) {
#nullable restore
#else
public RequestInformation ToPatchRequestInformation(ExternalItem body, Action<ExternalItemItemRequestBuilderPatchRequestConfiguration> requestConfiguration = default) {
public RequestInformation ToPutRequestInformation(ExternalItem body, Action<ExternalItemItemRequestBuilderPutRequestConfiguration> requestConfiguration = default) {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation {
HttpMethod = Method.PATCH,
HttpMethod = Method.PUT,
UrlTemplate = UrlTemplate,
PathParameters = PathParameters,
};
requestInfo.Headers.Add("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
if (requestConfiguration != null) {
var requestConfig = new ExternalItemItemRequestBuilderPatchRequestConfiguration();
var requestConfig = new ExternalItemItemRequestBuilderPutRequestConfiguration();
requestConfiguration.Invoke(requestConfig);
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
Expand Down Expand Up @@ -226,15 +226,15 @@ public ExternalItemItemRequestBuilderGetRequestConfiguration() {
/// <summary>
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
public class ExternalItemItemRequestBuilderPatchRequestConfiguration {
public class ExternalItemItemRequestBuilderPutRequestConfiguration {
/// <summary>Request headers</summary>
public RequestHeaders Headers { get; set; }
/// <summary>Request options</summary>
public IList<IRequestOption> Options { get; set; }
/// <summary>
/// Instantiates a new ExternalItemItemRequestBuilderPatchRequestConfiguration and sets the default values.
/// Instantiates a new ExternalItemItemRequestBuilderPutRequestConfiguration and sets the default values.
/// </summary>
public ExternalItemItemRequestBuilderPatchRequestConfiguration() {
public ExternalItemItemRequestBuilderPutRequestConfiguration() {
Options = new List<IRequestOption>();
Headers = new RequestHeaders();
}
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 @@ -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/chart-list-series?view=graph-rest-1.0" />
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chartseries-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 @@ -73,13 +73,13 @@ public async Task<ExternalItem> GetAsync(Action<ExternalItemItemRequestBuilderGe
/// <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 async Task<ExternalItem?> PatchAsync(ExternalItem body, Action<ExternalItemItemRequestBuilderPatchRequestConfiguration>? requestConfiguration = default, CancellationToken cancellationToken = default) {
public async Task<ExternalItem?> PutAsync(ExternalItem body, Action<ExternalItemItemRequestBuilderPutRequestConfiguration>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
public async Task<ExternalItem> PatchAsync(ExternalItem body, Action<ExternalItemItemRequestBuilderPatchRequestConfiguration> requestConfiguration = default, CancellationToken cancellationToken = default) {
public async Task<ExternalItem> PutAsync(ExternalItem body, Action<ExternalItemItemRequestBuilderPutRequestConfiguration> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
var requestInfo = ToPutRequestInformation(body, requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>> {
{"4XX", ODataError.CreateFromDiscriminatorValue},
{"5XX", ODataError.CreateFromDiscriminatorValue},
Expand Down Expand Up @@ -143,21 +143,21 @@ public RequestInformation ToGetRequestInformation(Action<ExternalItemItemRequest
/// <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 ToPatchRequestInformation(ExternalItem body, Action<ExternalItemItemRequestBuilderPatchRequestConfiguration>? requestConfiguration = default) {
public RequestInformation ToPutRequestInformation(ExternalItem body, Action<ExternalItemItemRequestBuilderPutRequestConfiguration>? requestConfiguration = default) {
#nullable restore
#else
public RequestInformation ToPatchRequestInformation(ExternalItem body, Action<ExternalItemItemRequestBuilderPatchRequestConfiguration> requestConfiguration = default) {
public RequestInformation ToPutRequestInformation(ExternalItem body, Action<ExternalItemItemRequestBuilderPutRequestConfiguration> requestConfiguration = default) {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation {
HttpMethod = Method.PATCH,
HttpMethod = Method.PUT,
UrlTemplate = UrlTemplate,
PathParameters = PathParameters,
};
requestInfo.Headers.Add("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
if (requestConfiguration != null) {
var requestConfig = new ExternalItemItemRequestBuilderPatchRequestConfiguration();
var requestConfig = new ExternalItemItemRequestBuilderPutRequestConfiguration();
requestConfiguration.Invoke(requestConfig);
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
Expand Down Expand Up @@ -226,15 +226,15 @@ public ExternalItemItemRequestBuilderGetRequestConfiguration() {
/// <summary>
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
public class ExternalItemItemRequestBuilderPatchRequestConfiguration {
public class ExternalItemItemRequestBuilderPutRequestConfiguration {
/// <summary>Request headers</summary>
public RequestHeaders Headers { get; set; }
/// <summary>Request options</summary>
public IList<IRequestOption> Options { get; set; }
/// <summary>
/// Instantiates a new ExternalItemItemRequestBuilderPatchRequestConfiguration and sets the default values.
/// Instantiates a new ExternalItemItemRequestBuilderPutRequestConfiguration and sets the default values.
/// </summary>
public ExternalItemItemRequestBuilderPatchRequestConfiguration() {
public ExternalItemItemRequestBuilderPutRequestConfiguration() {
Options = new List<IRequestOption>();
Headers = new RequestHeaders();
}
Expand Down
Loading

0 comments on commit d5334ad

Please sign in to comment.