-
Notifications
You must be signed in to change notification settings - Fork 22
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 131168
- Loading branch information
Microsoft Graph DevX Tooling
authored and
Microsoft Graph DevX Tooling
committed
Jan 9, 2024
1 parent
a31673a
commit b07b77e
Showing
287 changed files
with
3,366 additions
and
1,130 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
66 changes: 66 additions & 0 deletions
66
src/generated/Communications/Calls/Item/SendDtmfTones/SendDtmfTonesPostRequestBody.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,66 @@ | ||
// <auto-generated/> | ||
using ApiSdk.Models; | ||
using Microsoft.Kiota.Abstractions.Serialization; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System; | ||
namespace ApiSdk.Communications.Calls.Item.SendDtmfTones { | ||
public class SendDtmfTonesPostRequestBody : IAdditionalDataHolder, IParsable { | ||
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary> | ||
public IDictionary<string, object> AdditionalData { get; set; } | ||
/// <summary>The clientContext property</summary> | ||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER | ||
#nullable enable | ||
public string? ClientContext { get; set; } | ||
#nullable restore | ||
#else | ||
public string ClientContext { get; set; } | ||
#endif | ||
/// <summary>The delayBetweenTonesMs property</summary> | ||
public int? DelayBetweenTonesMs { get; set; } | ||
/// <summary>The tones property</summary> | ||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER | ||
#nullable enable | ||
public List<Tone?>? Tones { get; set; } | ||
#nullable restore | ||
#else | ||
public List<Tone?> Tones { get; set; } | ||
#endif | ||
/// <summary> | ||
/// Instantiates a new sendDtmfTonesPostRequestBody and sets the default values. | ||
/// </summary> | ||
public SendDtmfTonesPostRequestBody() { | ||
AdditionalData = new Dictionary<string, object>(); | ||
} | ||
/// <summary> | ||
/// Creates a new instance of the appropriate class based on discriminator value | ||
/// </summary> | ||
/// <param name="parseNode">The parse node to use to read the discriminator value and create the object</param> | ||
public static SendDtmfTonesPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) { | ||
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); | ||
return new SendDtmfTonesPostRequestBody(); | ||
} | ||
/// <summary> | ||
/// The deserialization information for the current model | ||
/// </summary> | ||
public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers() { | ||
return new Dictionary<string, Action<IParseNode>> { | ||
{"clientContext", n => { ClientContext = n.GetStringValue(); } }, | ||
{"delayBetweenTonesMs", n => { DelayBetweenTonesMs = n.GetIntValue(); } }, | ||
{"tones", n => { Tones = n.GetCollectionOfEnumValues<Tone>()?.ToList(); } }, | ||
}; | ||
} | ||
/// <summary> | ||
/// Serializes information the current object | ||
/// </summary> | ||
/// <param name="writer">Serialization writer to use to serialize this model</param> | ||
public virtual void Serialize(ISerializationWriter writer) { | ||
_ = writer ?? throw new ArgumentNullException(nameof(writer)); | ||
writer.WriteStringValue("clientContext", ClientContext); | ||
writer.WriteIntValue("delayBetweenTonesMs", DelayBetweenTonesMs); | ||
writer.WriteCollectionOfEnumValues<Tone>("tones", Tones); | ||
writer.WriteAdditionalData(AdditionalData); | ||
} | ||
} | ||
} |
Oops, something went wrong.