-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update generated files with build 99727
- Loading branch information
Microsoft Graph DevX Tooling
authored and
Microsoft Graph DevX Tooling
committed
Jan 3, 2023
1 parent
f06c3d1
commit 10a426b
Showing
50 changed files
with
633 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
src/Microsoft.Graph/Generated/requests/ChatMessageSoftDeleteRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
// ------------------------------------------------------------------------------ | ||
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
// ------------------------------------------------------------------------------ | ||
|
||
// **NOTE** This file was generated by a tool and any changes will be overwritten. | ||
// <auto-generated/> | ||
|
||
// Template Source: MethodRequest.cs.tt | ||
|
||
namespace Microsoft.Graph | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Net.Http; | ||
using System.Threading; | ||
|
||
/// <summary> | ||
/// The type ChatMessageSoftDeleteRequest. | ||
/// </summary> | ||
public partial class ChatMessageSoftDeleteRequest : BaseRequest, IChatMessageSoftDeleteRequest | ||
{ | ||
/// <summary> | ||
/// Constructs a new ChatMessageSoftDeleteRequest. | ||
/// </summary> | ||
public ChatMessageSoftDeleteRequest( | ||
string requestUrl, | ||
IBaseClient client, | ||
IEnumerable<Option> options) | ||
: base(requestUrl, client, options) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Issues the POST request. | ||
/// </summary> | ||
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param> | ||
/// <returns>The task to await for async call.</returns> | ||
public System.Threading.Tasks.Task PostAsync( | ||
CancellationToken cancellationToken = default) | ||
{ | ||
this.Method = HttpMethods.POST; | ||
return this.SendAsync(null, cancellationToken); | ||
} | ||
|
||
/// <summary> | ||
/// Issues the POST request and returns a <see cref="GraphResponse"/> object. | ||
/// </summary> | ||
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param> | ||
/// <returns>The <see cref="GraphResponse"/> object of the request</returns> | ||
public System.Threading.Tasks.Task<GraphResponse> PostResponseAsync(CancellationToken cancellationToken = default) | ||
{ | ||
this.Method = HttpMethods.POST; | ||
return this.SendAsyncWithGraphResponse(null, cancellationToken); | ||
} | ||
|
||
|
||
|
||
/// <summary> | ||
/// Adds the specified expand value to the request. | ||
/// </summary> | ||
/// <param name="value">The expand value.</param> | ||
/// <returns>The request object to send.</returns> | ||
public IChatMessageSoftDeleteRequest Expand(string value) | ||
{ | ||
this.QueryOptions.Add(new QueryOption("$expand", value)); | ||
return this; | ||
} | ||
|
||
/// <summary> | ||
/// Adds the specified select value to the request. | ||
/// </summary> | ||
/// <param name="value">The select value.</param> | ||
/// <returns>The request object to send.</returns> | ||
public IChatMessageSoftDeleteRequest Select(string value) | ||
{ | ||
this.QueryOptions.Add(new QueryOption("$select", value)); | ||
return this; | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
src/Microsoft.Graph/Generated/requests/ChatMessageSoftDeleteRequestBuilder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// ------------------------------------------------------------------------------ | ||
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
// ------------------------------------------------------------------------------ | ||
|
||
// **NOTE** This file was generated by a tool and any changes will be overwritten. | ||
// <auto-generated/> | ||
|
||
// Template Source: MethodRequestBuilder.cs.tt | ||
|
||
namespace Microsoft.Graph | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
|
||
/// <summary> | ||
/// The type ChatMessageSoftDeleteRequestBuilder. | ||
/// </summary> | ||
public partial class ChatMessageSoftDeleteRequestBuilder : BaseActionMethodRequestBuilder<IChatMessageSoftDeleteRequest>, IChatMessageSoftDeleteRequestBuilder | ||
{ | ||
/// <summary> | ||
/// Constructs a new <see cref="ChatMessageSoftDeleteRequestBuilder"/>. | ||
/// </summary> | ||
/// <param name="requestUrl">The URL for the request.</param> | ||
/// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param> | ||
public ChatMessageSoftDeleteRequestBuilder( | ||
string requestUrl, | ||
IBaseClient client) | ||
: base(requestUrl, client) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// A method used by the base class to construct a request class instance. | ||
/// </summary> | ||
/// <param name="functionUrl">The request URL to </param> | ||
/// <param name="options">The query and header options for the request.</param> | ||
/// <returns>An instance of a specific request class.</returns> | ||
protected override IChatMessageSoftDeleteRequest CreateRequest(string functionUrl, IEnumerable<Option> options) | ||
{ | ||
var request = new ChatMessageSoftDeleteRequest(functionUrl, this.Client, options); | ||
|
||
return request; | ||
} | ||
} | ||
} |
Oops, something went wrong.