diff --git a/MusicCast.Net.Api.Client/Models/Audio.cs b/MusicCast.Net.Api.Client/Models/Audio.cs
new file mode 100644
index 0000000..9416bb6
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Audio.cs
@@ -0,0 +1,79 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Audio : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The error property
+ public int? Error { get; set; }
+ /// The format property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Format { get; set; }
+#nullable restore
+#else
+ public string Format { get; set; }
+#endif
+ /// The fs property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Fs { get; set; }
+#nullable restore
+#else
+ public string Fs { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Audio()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Audio CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Audio();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "error", n => { Error = n.GetIntValue(); } },
+ { "format", n => { Format = n.GetStringValue(); } },
+ { "fs", n => { Fs = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("error", Error);
+ writer.WriteStringValue("format", Format);
+ writer.WriteStringValue("fs", Fs);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/BaseResponse.cs b/MusicCast.Net.Api.Client/Models/BaseResponse.cs
new file mode 100644
index 0000000..588d645
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/BaseResponse.cs
@@ -0,0 +1,65 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class BaseResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The response_code property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ResponseCode { get; set; }
+#nullable restore
+#else
+ public string ResponseCode { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public BaseResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.BaseResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.BaseResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "response_code", n => { ResponseCode = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("response_code", ResponseCode);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/Ccs.cs b/MusicCast.Net.Api.Client/Models/Ccs.cs
new file mode 100644
index 0000000..1534b5c
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Ccs.cs
@@ -0,0 +1,59 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Ccs : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The supported property
+ public bool? Supported { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Ccs()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Ccs CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Ccs();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "supported", n => { Supported = n.GetBoolValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteBoolValue("supported", Supported);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/Common.cs b/MusicCast.Net.Api.Client/Models/Common.cs
new file mode 100644
index 0000000..acec69b
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Common.cs
@@ -0,0 +1,79 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Common : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The attribute property
+ public int? Attribute { get; set; }
+ /// The speaker_size property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? SpeakerSize { get; set; }
+#nullable restore
+#else
+ public List SpeakerSize { get; set; }
+#endif
+ /// The swfr_crossover_list property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? SwfrCrossoverList { get; set; }
+#nullable restore
+#else
+ public List SwfrCrossoverList { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Common()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Common CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Common();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "attribute", n => { Attribute = n.GetIntValue(); } },
+ { "speaker_size", n => { SpeakerSize = n.GetCollectionOfObjectValues(global::MusicCast.Net.Api.Client.Models.Speaker_size.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "swfr_crossover_list", n => { SwfrCrossoverList = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("attribute", Attribute);
+ writer.WriteCollectionOfObjectValues("speaker_size", SpeakerSize);
+ writer.WriteCollectionOfPrimitiveValues("swfr_crossover_list", SwfrCrossoverList);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/Disklavier.cs b/MusicCast.Net.Api.Client/Models/Disklavier.cs
new file mode 100644
index 0000000..d4f2d9c
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Disklavier.cs
@@ -0,0 +1,65 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Disklavier : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The ip_address property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? IpAddress { get; set; }
+#nullable restore
+#else
+ public string IpAddress { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Disklavier()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Disklavier CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Disklavier();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "ip_address", n => { IpAddress = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("ip_address", IpAddress);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/Distribution.cs b/MusicCast.Net.Api.Client/Models/Distribution.cs
new file mode 100644
index 0000000..fcfbdca
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Distribution.cs
@@ -0,0 +1,83 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Distribution : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The client_max property
+ public int? ClientMax { get; set; }
+ /// The compatible_client property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? CompatibleClient { get; set; }
+#nullable restore
+#else
+ public List CompatibleClient { get; set; }
+#endif
+ /// The server_zone_list property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? ServerZoneList { get; set; }
+#nullable restore
+#else
+ public List ServerZoneList { get; set; }
+#endif
+ /// The version property
+ public int? Version { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Distribution()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Distribution CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Distribution();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "client_max", n => { ClientMax = n.GetIntValue(); } },
+ { "compatible_client", n => { CompatibleClient = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
+ { "server_zone_list", n => { ServerZoneList = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
+ { "version", n => { Version = n.GetIntValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("client_max", ClientMax);
+ writer.WriteCollectionOfPrimitiveValues("compatible_client", CompatibleClient);
+ writer.WriteCollectionOfPrimitiveValues("server_zone_list", ServerZoneList);
+ writer.WriteIntValue("version", Version);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/Front_l.cs b/MusicCast.Net.Api.Client/Models/Front_l.cs
new file mode 100644
index 0000000..01110f3
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Front_l.cs
@@ -0,0 +1,69 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Front_l : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The attribute property
+ public int? Attribute { get; set; }
+ /// The range_step property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? RangeStep { get; set; }
+#nullable restore
+#else
+ public List RangeStep { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Front_l()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Front_l CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Front_l();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "attribute", n => { Attribute = n.GetIntValue(); } },
+ { "range_step", n => { RangeStep = n.GetCollectionOfObjectValues(global::MusicCast.Net.Api.Client.Models.Range_step.CreateFromDiscriminatorValue)?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("attribute", Attribute);
+ writer.WriteCollectionOfObjectValues("range_step", RangeStep);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/Front_r.cs b/MusicCast.Net.Api.Client/Models/Front_r.cs
new file mode 100644
index 0000000..b7dfdf1
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Front_r.cs
@@ -0,0 +1,69 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Front_r : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The attribute property
+ public int? Attribute { get; set; }
+ /// The range_step property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? RangeStep { get; set; }
+#nullable restore
+#else
+ public List RangeStep { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Front_r()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Front_r CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Front_r();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "attribute", n => { Attribute = n.GetIntValue(); } },
+ { "range_step", n => { RangeStep = n.GetCollectionOfObjectValues(global::MusicCast.Net.Api.Client.Models.Range_step1.CreateFromDiscriminatorValue)?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("attribute", Attribute);
+ writer.WriteCollectionOfObjectValues("range_step", RangeStep);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetDeviceInfoResponse.cs b/MusicCast.Net.Api.Client/Models/GetDeviceInfoResponse.cs
new file mode 100644
index 0000000..d83dd64
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetDeviceInfoResponse.cs
@@ -0,0 +1,151 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetDeviceInfoResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The api_version property
+ public double? ApiVersion { get; set; }
+ /// The destination property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Destination { get; set; }
+#nullable restore
+#else
+ public string Destination { get; set; }
+#endif
+ /// The device_id property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DeviceId { get; set; }
+#nullable restore
+#else
+ public string DeviceId { get; set; }
+#endif
+ /// The model_name property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ModelName { get; set; }
+#nullable restore
+#else
+ public string ModelName { get; set; }
+#endif
+ /// The netmodule_checksum property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? NetmoduleChecksum { get; set; }
+#nullable restore
+#else
+ public string NetmoduleChecksum { get; set; }
+#endif
+ /// The netmodule_generation property
+ public int? NetmoduleGeneration { get; set; }
+ /// The netmodule_version property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? NetmoduleVersion { get; set; }
+#nullable restore
+#else
+ public string NetmoduleVersion { get; set; }
+#endif
+ /// The operation_mode property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? OperationMode { get; set; }
+#nullable restore
+#else
+ public string OperationMode { get; set; }
+#endif
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ /// The system_id property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? SystemId { get; set; }
+#nullable restore
+#else
+ public string SystemId { get; set; }
+#endif
+ /// The system_version property
+ public int? SystemVersion { get; set; }
+ /// The update_error_code property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? UpdateErrorCode { get; set; }
+#nullable restore
+#else
+ public string UpdateErrorCode { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetDeviceInfoResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetDeviceInfoResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetDeviceInfoResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "api_version", n => { ApiVersion = n.GetDoubleValue(); } },
+ { "destination", n => { Destination = n.GetStringValue(); } },
+ { "device_id", n => { DeviceId = n.GetStringValue(); } },
+ { "model_name", n => { ModelName = n.GetStringValue(); } },
+ { "netmodule_checksum", n => { NetmoduleChecksum = n.GetStringValue(); } },
+ { "netmodule_generation", n => { NetmoduleGeneration = n.GetIntValue(); } },
+ { "netmodule_version", n => { NetmoduleVersion = n.GetStringValue(); } },
+ { "operation_mode", n => { OperationMode = n.GetStringValue(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ { "system_id", n => { SystemId = n.GetStringValue(); } },
+ { "system_version", n => { SystemVersion = n.GetIntValue(); } },
+ { "update_error_code", n => { UpdateErrorCode = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteDoubleValue("api_version", ApiVersion);
+ writer.WriteStringValue("destination", Destination);
+ writer.WriteStringValue("device_id", DeviceId);
+ writer.WriteStringValue("model_name", ModelName);
+ writer.WriteStringValue("netmodule_checksum", NetmoduleChecksum);
+ writer.WriteIntValue("netmodule_generation", NetmoduleGeneration);
+ writer.WriteStringValue("netmodule_version", NetmoduleVersion);
+ writer.WriteStringValue("operation_mode", OperationMode);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteStringValue("system_id", SystemId);
+ writer.WriteIntValue("system_version", SystemVersion);
+ writer.WriteStringValue("update_error_code", UpdateErrorCode);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetDisklavierSettingsResponse.cs b/MusicCast.Net.Api.Client/Models/GetDisklavierSettingsResponse.cs
new file mode 100644
index 0000000..38710ea
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetDisklavierSettingsResponse.cs
@@ -0,0 +1,103 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetDisklavierSettingsResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The disklavier property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Disklavier? Disklavier { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Disklavier Disklavier { get; set; }
+#endif
+ /// The enable property
+ public bool? Enable { get; set; }
+ /// The input property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Input { get; set; }
+#nullable restore
+#else
+ public string Input { get; set; }
+#endif
+ /// The mode property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Mode { get; set; }
+#nullable restore
+#else
+ public string Mode { get; set; }
+#endif
+ /// The pair property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Pair? Pair { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Pair Pair { get; set; }
+#endif
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetDisklavierSettingsResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetDisklavierSettingsResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetDisklavierSettingsResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "disklavier", n => { Disklavier = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Disklavier.CreateFromDiscriminatorValue); } },
+ { "enable", n => { Enable = n.GetBoolValue(); } },
+ { "input", n => { Input = n.GetStringValue(); } },
+ { "mode", n => { Mode = n.GetStringValue(); } },
+ { "pair", n => { Pair = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Pair.CreateFromDiscriminatorValue); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteObjectValue("disklavier", Disklavier);
+ writer.WriteBoolValue("enable", Enable);
+ writer.WriteStringValue("input", Input);
+ writer.WriteStringValue("mode", Mode);
+ writer.WriteObjectValue("pair", Pair);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetDistributionInfoResponse.cs b/MusicCast.Net.Api.Client/Models/GetDistributionInfoResponse.cs
new file mode 100644
index 0000000..d3a86d7
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetDistributionInfoResponse.cs
@@ -0,0 +1,109 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetDistributionInfoResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The client_list property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public UntypedNode? ClientList { get; set; }
+#nullable restore
+#else
+ public UntypedNode ClientList { get; set; }
+#endif
+ /// The group_id property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? GroupId { get; set; }
+#nullable restore
+#else
+ public string GroupId { get; set; }
+#endif
+ /// The group_name property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? GroupName { get; set; }
+#nullable restore
+#else
+ public string GroupName { get; set; }
+#endif
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ /// The role property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Role { get; set; }
+#nullable restore
+#else
+ public string Role { get; set; }
+#endif
+ /// The server_zone property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ServerZone { get; set; }
+#nullable restore
+#else
+ public string ServerZone { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetDistributionInfoResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetDistributionInfoResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetDistributionInfoResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "client_list", n => { ClientList = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } },
+ { "group_id", n => { GroupId = n.GetStringValue(); } },
+ { "group_name", n => { GroupName = n.GetStringValue(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ { "role", n => { Role = n.GetStringValue(); } },
+ { "server_zone", n => { ServerZone = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteObjectValue("client_list", ClientList);
+ writer.WriteStringValue("group_id", GroupId);
+ writer.WriteStringValue("group_name", GroupName);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteStringValue("role", Role);
+ writer.WriteStringValue("server_zone", ServerZone);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetFeaturesResponse.cs b/MusicCast.Net.Api.Client/Models/GetFeaturesResponse.cs
new file mode 100644
index 0000000..09746e2
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetFeaturesResponse.cs
@@ -0,0 +1,119 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetFeaturesResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The ccs property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Ccs? Ccs { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Ccs Ccs { get; set; }
+#endif
+ /// The distribution property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Distribution? Distribution { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Distribution Distribution { get; set; }
+#endif
+ /// The netusb property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Netusb? Netusb { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Netusb Netusb { get; set; }
+#endif
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ /// The system property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.System? System { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.System System { get; set; }
+#endif
+ /// The tuner property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Tuner? Tuner { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Tuner Tuner { get; set; }
+#endif
+ /// The zone property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? Zone { get; set; }
+#nullable restore
+#else
+ public List Zone { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetFeaturesResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetFeaturesResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetFeaturesResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "ccs", n => { Ccs = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Ccs.CreateFromDiscriminatorValue); } },
+ { "distribution", n => { Distribution = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Distribution.CreateFromDiscriminatorValue); } },
+ { "netusb", n => { Netusb = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Netusb.CreateFromDiscriminatorValue); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ { "system", n => { System = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.System.CreateFromDiscriminatorValue); } },
+ { "tuner", n => { Tuner = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Tuner.CreateFromDiscriminatorValue); } },
+ { "zone", n => { Zone = n.GetCollectionOfObjectValues(global::MusicCast.Net.Api.Client.Models.Zone.CreateFromDiscriminatorValue)?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteObjectValue("ccs", Ccs);
+ writer.WriteObjectValue("distribution", Distribution);
+ writer.WriteObjectValue("netusb", Netusb);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteObjectValue("system", System);
+ writer.WriteObjectValue("tuner", Tuner);
+ writer.WriteCollectionOfObjectValues("zone", Zone);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetFuncStatusResponse.cs b/MusicCast.Net.Api.Client/Models/GetFuncStatusResponse.cs
new file mode 100644
index 0000000..209db63
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetFuncStatusResponse.cs
@@ -0,0 +1,75 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetFuncStatusResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The auto_power_standby property
+ public bool? AutoPowerStandby { get; set; }
+ /// The headphone property
+ public bool? Headphone { get; set; }
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ /// The speaker_a property
+ public bool? SpeakerA { get; set; }
+ /// The speaker_b property
+ public bool? SpeakerB { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetFuncStatusResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetFuncStatusResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetFuncStatusResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "auto_power_standby", n => { AutoPowerStandby = n.GetBoolValue(); } },
+ { "headphone", n => { Headphone = n.GetBoolValue(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ { "speaker_a", n => { SpeakerA = n.GetBoolValue(); } },
+ { "speaker_b", n => { SpeakerB = n.GetBoolValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteBoolValue("auto_power_standby", AutoPowerStandby);
+ writer.WriteBoolValue("headphone", Headphone);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteBoolValue("speaker_a", SpeakerA);
+ writer.WriteBoolValue("speaker_b", SpeakerB);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetListInfoResponse.cs b/MusicCast.Net.Api.Client/Models/GetListInfoResponse.cs
new file mode 100644
index 0000000..8edc3cd
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetListInfoResponse.cs
@@ -0,0 +1,105 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetListInfoResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The index property
+ public int? Index { get; set; }
+ /// The input property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Input { get; set; }
+#nullable restore
+#else
+ public string Input { get; set; }
+#endif
+ /// The list_info property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? ListInfo { get; set; }
+#nullable restore
+#else
+ public List ListInfo { get; set; }
+#endif
+ /// The max_line property
+ public int? MaxLine { get; set; }
+ /// The menu_layer property
+ public int? MenuLayer { get; set; }
+ /// The menu_name property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? MenuName { get; set; }
+#nullable restore
+#else
+ public string MenuName { get; set; }
+#endif
+ /// The playing_index property
+ public int? PlayingIndex { get; set; }
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetListInfoResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetListInfoResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetListInfoResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "index", n => { Index = n.GetIntValue(); } },
+ { "input", n => { Input = n.GetStringValue(); } },
+ { "list_info", n => { ListInfo = n.GetCollectionOfObjectValues(global::MusicCast.Net.Api.Client.Models.List_info.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "max_line", n => { MaxLine = n.GetIntValue(); } },
+ { "menu_layer", n => { MenuLayer = n.GetIntValue(); } },
+ { "menu_name", n => { MenuName = n.GetStringValue(); } },
+ { "playing_index", n => { PlayingIndex = n.GetIntValue(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("index", Index);
+ writer.WriteStringValue("input", Input);
+ writer.WriteCollectionOfObjectValues("list_info", ListInfo);
+ writer.WriteIntValue("max_line", MaxLine);
+ writer.WriteIntValue("menu_layer", MenuLayer);
+ writer.WriteStringValue("menu_name", MenuName);
+ writer.WriteIntValue("playing_index", PlayingIndex);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetLocationInfoResponse.cs b/MusicCast.Net.Api.Client/Models/GetLocationInfoResponse.cs
new file mode 100644
index 0000000..bd3b98c
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetLocationInfoResponse.cs
@@ -0,0 +1,89 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetLocationInfoResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The id property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Id { get; set; }
+#nullable restore
+#else
+ public string Id { get; set; }
+#endif
+ /// The name property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Name { get; set; }
+#nullable restore
+#else
+ public string Name { get; set; }
+#endif
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ /// The zone_list property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Zone_list? ZoneList { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Zone_list ZoneList { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetLocationInfoResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetLocationInfoResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetLocationInfoResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "id", n => { Id = n.GetStringValue(); } },
+ { "name", n => { Name = n.GetStringValue(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ { "zone_list", n => { ZoneList = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Zone_list.CreateFromDiscriminatorValue); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("id", Id);
+ writer.WriteStringValue("name", Name);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteObjectValue("zone_list", ZoneList);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetMcPlaylistNameResponse.cs b/MusicCast.Net.Api.Client/Models/GetMcPlaylistNameResponse.cs
new file mode 100644
index 0000000..229ff64
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetMcPlaylistNameResponse.cs
@@ -0,0 +1,69 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetMcPlaylistNameResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The name_list property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? NameList { get; set; }
+#nullable restore
+#else
+ public List NameList { get; set; }
+#endif
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetMcPlaylistNameResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetMcPlaylistNameResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetMcPlaylistNameResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "name_list", n => { NameList = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteCollectionOfPrimitiveValues("name_list", NameList);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetNameTextResponse.cs b/MusicCast.Net.Api.Client/Models/GetNameTextResponse.cs
new file mode 100644
index 0000000..856a8f8
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetNameTextResponse.cs
@@ -0,0 +1,89 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetNameTextResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The input_list property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? InputList { get; set; }
+#nullable restore
+#else
+ public List InputList { get; set; }
+#endif
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ /// The sound_program_list property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public UntypedNode? SoundProgramList { get; set; }
+#nullable restore
+#else
+ public UntypedNode SoundProgramList { get; set; }
+#endif
+ /// The zone_list property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? ZoneList { get; set; }
+#nullable restore
+#else
+ public List ZoneList { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetNameTextResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetNameTextResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetNameTextResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "input_list", n => { InputList = n.GetCollectionOfObjectValues(global::MusicCast.Net.Api.Client.Models.Input_list2.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ { "sound_program_list", n => { SoundProgramList = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } },
+ { "zone_list", n => { ZoneList = n.GetCollectionOfObjectValues(global::MusicCast.Net.Api.Client.Models.Zone_list2.CreateFromDiscriminatorValue)?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteCollectionOfObjectValues("input_list", InputList);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteObjectValue("sound_program_list", SoundProgramList);
+ writer.WriteCollectionOfObjectValues("zone_list", ZoneList);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetNetworkStandbyResponse.cs b/MusicCast.Net.Api.Client/Models/GetNetworkStandbyResponse.cs
new file mode 100644
index 0000000..1ad58ee
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetNetworkStandbyResponse.cs
@@ -0,0 +1,69 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetNetworkStandbyResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The network_standby property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? NetworkStandby { get; set; }
+#nullable restore
+#else
+ public string NetworkStandby { get; set; }
+#endif
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetNetworkStandbyResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetNetworkStandbyResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetNetworkStandbyResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "network_standby", n => { NetworkStandby = n.GetStringValue(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("network_standby", NetworkStandby);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetPlayInfoResponse.cs b/MusicCast.Net.Api.Client/Models/GetPlayInfoResponse.cs
new file mode 100644
index 0000000..2773992
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetPlayInfoResponse.cs
@@ -0,0 +1,199 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetPlayInfoResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The album property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Album { get; set; }
+#nullable restore
+#else
+ public string Album { get; set; }
+#endif
+ /// The albumart_id property
+ public int? AlbumartId { get; set; }
+ /// The albumart_url property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? AlbumartUrl { get; set; }
+#nullable restore
+#else
+ public string AlbumartUrl { get; set; }
+#endif
+ /// The artist property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Artist { get; set; }
+#nullable restore
+#else
+ public string Artist { get; set; }
+#endif
+ /// The attribute property
+ public int? Attribute { get; set; }
+ /// The auto_stopped property
+ public bool? AutoStopped { get; set; }
+ /// The input property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Input { get; set; }
+#nullable restore
+#else
+ public string Input { get; set; }
+#endif
+ /// The playback property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Playback { get; set; }
+#nullable restore
+#else
+ public string Playback { get; set; }
+#endif
+ /// The play_queue_type property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? PlayQueueType { get; set; }
+#nullable restore
+#else
+ public string PlayQueueType { get; set; }
+#endif
+ /// The play_time property
+ public int? PlayTime { get; set; }
+ /// The repeat property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Repeat { get; set; }
+#nullable restore
+#else
+ public string Repeat { get; set; }
+#endif
+ /// The repeat_available property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? RepeatAvailable { get; set; }
+#nullable restore
+#else
+ public List RepeatAvailable { get; set; }
+#endif
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ /// The shuffle property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Shuffle { get; set; }
+#nullable restore
+#else
+ public string Shuffle { get; set; }
+#endif
+ /// The shuffle_available property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? ShuffleAvailable { get; set; }
+#nullable restore
+#else
+ public List ShuffleAvailable { get; set; }
+#endif
+ /// The total_time property
+ public int? TotalTime { get; set; }
+ /// The track property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Track { get; set; }
+#nullable restore
+#else
+ public string Track { get; set; }
+#endif
+ /// The usb_devicetype property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? UsbDevicetype { get; set; }
+#nullable restore
+#else
+ public string UsbDevicetype { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetPlayInfoResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetPlayInfoResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetPlayInfoResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "album", n => { Album = n.GetStringValue(); } },
+ { "albumart_id", n => { AlbumartId = n.GetIntValue(); } },
+ { "albumart_url", n => { AlbumartUrl = n.GetStringValue(); } },
+ { "artist", n => { Artist = n.GetStringValue(); } },
+ { "attribute", n => { Attribute = n.GetIntValue(); } },
+ { "auto_stopped", n => { AutoStopped = n.GetBoolValue(); } },
+ { "input", n => { Input = n.GetStringValue(); } },
+ { "play_queue_type", n => { PlayQueueType = n.GetStringValue(); } },
+ { "play_time", n => { PlayTime = n.GetIntValue(); } },
+ { "playback", n => { Playback = n.GetStringValue(); } },
+ { "repeat", n => { Repeat = n.GetStringValue(); } },
+ { "repeat_available", n => { RepeatAvailable = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ { "shuffle", n => { Shuffle = n.GetStringValue(); } },
+ { "shuffle_available", n => { ShuffleAvailable = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
+ { "total_time", n => { TotalTime = n.GetIntValue(); } },
+ { "track", n => { Track = n.GetStringValue(); } },
+ { "usb_devicetype", n => { UsbDevicetype = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("album", Album);
+ writer.WriteIntValue("albumart_id", AlbumartId);
+ writer.WriteStringValue("albumart_url", AlbumartUrl);
+ writer.WriteStringValue("artist", Artist);
+ writer.WriteIntValue("attribute", Attribute);
+ writer.WriteBoolValue("auto_stopped", AutoStopped);
+ writer.WriteStringValue("input", Input);
+ writer.WriteStringValue("playback", Playback);
+ writer.WriteStringValue("play_queue_type", PlayQueueType);
+ writer.WriteIntValue("play_time", PlayTime);
+ writer.WriteStringValue("repeat", Repeat);
+ writer.WriteCollectionOfPrimitiveValues("repeat_available", RepeatAvailable);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteStringValue("shuffle", Shuffle);
+ writer.WriteCollectionOfPrimitiveValues("shuffle_available", ShuffleAvailable);
+ writer.WriteIntValue("total_time", TotalTime);
+ writer.WriteStringValue("track", Track);
+ writer.WriteStringValue("usb_devicetype", UsbDevicetype);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetPlayQueueResponse.cs b/MusicCast.Net.Api.Client/Models/GetPlayQueueResponse.cs
new file mode 100644
index 0000000..a23c951
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetPlayQueueResponse.cs
@@ -0,0 +1,91 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetPlayQueueResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The index property
+ public int? Index { get; set; }
+ /// The max_line property
+ public int? MaxLine { get; set; }
+ /// The playing_index property
+ public int? PlayingIndex { get; set; }
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ /// The track_info property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? TrackInfo { get; set; }
+#nullable restore
+#else
+ public List TrackInfo { get; set; }
+#endif
+ /// The type property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Type { get; set; }
+#nullable restore
+#else
+ public string Type { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetPlayQueueResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetPlayQueueResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetPlayQueueResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "index", n => { Index = n.GetIntValue(); } },
+ { "max_line", n => { MaxLine = n.GetIntValue(); } },
+ { "playing_index", n => { PlayingIndex = n.GetIntValue(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ { "track_info", n => { TrackInfo = n.GetCollectionOfObjectValues(global::MusicCast.Net.Api.Client.Models.Track_info.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "type", n => { Type = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("index", Index);
+ writer.WriteIntValue("max_line", MaxLine);
+ writer.WriteIntValue("playing_index", PlayingIndex);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteCollectionOfObjectValues("track_info", TrackInfo);
+ writer.WriteStringValue("type", Type);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetRecentInfoResponse.cs b/MusicCast.Net.Api.Client/Models/GetRecentInfoResponse.cs
new file mode 100644
index 0000000..4225d1e
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetRecentInfoResponse.cs
@@ -0,0 +1,69 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetRecentInfoResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The recent_info property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? RecentInfo { get; set; }
+#nullable restore
+#else
+ public List RecentInfo { get; set; }
+#endif
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetRecentInfoResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetRecentInfoResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetRecentInfoResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "recent_info", n => { RecentInfo = n.GetCollectionOfObjectValues(global::MusicCast.Net.Api.Client.Models.Recent_info.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteCollectionOfObjectValues("recent_info", RecentInfo);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetSignalInfoResponse.cs b/MusicCast.Net.Api.Client/Models/GetSignalInfoResponse.cs
new file mode 100644
index 0000000..d8bb689
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetSignalInfoResponse.cs
@@ -0,0 +1,69 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetSignalInfoResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The audio property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Audio? Audio { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Audio Audio { get; set; }
+#endif
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetSignalInfoResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetSignalInfoResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetSignalInfoResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "audio", n => { Audio = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Audio.CreateFromDiscriminatorValue); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteObjectValue("audio", Audio);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetStatusResponse.cs b/MusicCast.Net.Api.Client/Models/GetStatusResponse.cs
new file mode 100644
index 0000000..a69abd9
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetStatusResponse.cs
@@ -0,0 +1,133 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetStatusResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The disable_flags property
+ public int? DisableFlags { get; set; }
+ /// The distribution_enable property
+ public bool? DistributionEnable { get; set; }
+ /// The input property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Input { get; set; }
+#nullable restore
+#else
+ public string Input { get; set; }
+#endif
+ /// The link_audio_delay property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? LinkAudioDelay { get; set; }
+#nullable restore
+#else
+ public string LinkAudioDelay { get; set; }
+#endif
+ /// The link_audio_quality property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? LinkAudioQuality { get; set; }
+#nullable restore
+#else
+ public string LinkAudioQuality { get; set; }
+#endif
+ /// The link_control property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? LinkControl { get; set; }
+#nullable restore
+#else
+ public string LinkControl { get; set; }
+#endif
+ /// The max_volume property
+ public int? MaxVolume { get; set; }
+ /// The mute property
+ public bool? Mute { get; set; }
+ /// The power property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Power { get; set; }
+#nullable restore
+#else
+ public string Power { get; set; }
+#endif
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ /// The sleep property
+ public int? Sleep { get; set; }
+ /// The volume property
+ public int? Volume { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetStatusResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetStatusResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetStatusResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "disable_flags", n => { DisableFlags = n.GetIntValue(); } },
+ { "distribution_enable", n => { DistributionEnable = n.GetBoolValue(); } },
+ { "input", n => { Input = n.GetStringValue(); } },
+ { "link_audio_delay", n => { LinkAudioDelay = n.GetStringValue(); } },
+ { "link_audio_quality", n => { LinkAudioQuality = n.GetStringValue(); } },
+ { "link_control", n => { LinkControl = n.GetStringValue(); } },
+ { "max_volume", n => { MaxVolume = n.GetIntValue(); } },
+ { "mute", n => { Mute = n.GetBoolValue(); } },
+ { "power", n => { Power = n.GetStringValue(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ { "sleep", n => { Sleep = n.GetIntValue(); } },
+ { "volume", n => { Volume = n.GetIntValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("disable_flags", DisableFlags);
+ writer.WriteBoolValue("distribution_enable", DistributionEnable);
+ writer.WriteStringValue("input", Input);
+ writer.WriteStringValue("link_audio_delay", LinkAudioDelay);
+ writer.WriteStringValue("link_audio_quality", LinkAudioQuality);
+ writer.WriteStringValue("link_control", LinkControl);
+ writer.WriteIntValue("max_volume", MaxVolume);
+ writer.WriteBoolValue("mute", Mute);
+ writer.WriteStringValue("power", Power);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteIntValue("sleep", Sleep);
+ writer.WriteIntValue("volume", Volume);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetStreamingServiceSettingsResponse.cs b/MusicCast.Net.Api.Client/Models/GetStreamingServiceSettingsResponse.cs
new file mode 100644
index 0000000..734cc89
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetStreamingServiceSettingsResponse.cs
@@ -0,0 +1,69 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetStreamingServiceSettingsResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ /// The services property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? Services { get; set; }
+#nullable restore
+#else
+ public List Services { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetStreamingServiceSettingsResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetStreamingServiceSettingsResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetStreamingServiceSettingsResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ { "services", n => { Services = n.GetCollectionOfObjectValues(global::MusicCast.Net.Api.Client.Models.Services.CreateFromDiscriminatorValue)?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteCollectionOfObjectValues("services", Services);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetTagResponse.cs b/MusicCast.Net.Api.Client/Models/GetTagResponse.cs
new file mode 100644
index 0000000..8a8406c
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetTagResponse.cs
@@ -0,0 +1,79 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetTagResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The input_list property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? InputList { get; set; }
+#nullable restore
+#else
+ public List InputList { get; set; }
+#endif
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ /// The zone_list property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? ZoneList { get; set; }
+#nullable restore
+#else
+ public List ZoneList { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetTagResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetTagResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetTagResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "input_list", n => { InputList = n.GetCollectionOfObjectValues(global::MusicCast.Net.Api.Client.Models.Input_list3.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ { "zone_list", n => { ZoneList = n.GetCollectionOfObjectValues(global::MusicCast.Net.Api.Client.Models.Zone_list3.CreateFromDiscriminatorValue)?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteCollectionOfObjectValues("input_list", InputList);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteCollectionOfObjectValues("zone_list", ZoneList);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/GetYpaoConfigResponse.cs b/MusicCast.Net.Api.Client/Models/GetYpaoConfigResponse.cs
new file mode 100644
index 0000000..367a798
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/GetYpaoConfigResponse.cs
@@ -0,0 +1,91 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetYpaoConfigResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The disable_flags property
+ public int? DisableFlags { get; set; }
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ /// The ypao_setting property
+ public bool? YpaoSetting { get; set; }
+ /// The ypao_speaker_unit property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? YpaoSpeakerUnit { get; set; }
+#nullable restore
+#else
+ public string YpaoSpeakerUnit { get; set; }
+#endif
+ /// The ypao_status property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? YpaoStatus { get; set; }
+#nullable restore
+#else
+ public string YpaoStatus { get; set; }
+#endif
+ /// The ypao_volume property
+ public bool? YpaoVolume { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public GetYpaoConfigResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.GetYpaoConfigResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.GetYpaoConfigResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "disable_flags", n => { DisableFlags = n.GetIntValue(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ { "ypao_setting", n => { YpaoSetting = n.GetBoolValue(); } },
+ { "ypao_speaker_unit", n => { YpaoSpeakerUnit = n.GetStringValue(); } },
+ { "ypao_status", n => { YpaoStatus = n.GetStringValue(); } },
+ { "ypao_volume", n => { YpaoVolume = n.GetBoolValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("disable_flags", DisableFlags);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteBoolValue("ypao_setting", YpaoSetting);
+ writer.WriteStringValue("ypao_speaker_unit", YpaoSpeakerUnit);
+ writer.WriteStringValue("ypao_status", YpaoStatus);
+ writer.WriteBoolValue("ypao_volume", YpaoVolume);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/Input_list.cs b/MusicCast.Net.Api.Client/Models/Input_list.cs
new file mode 100644
index 0000000..e8cb3f8
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Input_list.cs
@@ -0,0 +1,87 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Input_list : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// The account_enable property
+ public bool? AccountEnable { get; set; }
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The distribution_enable property
+ public bool? DistributionEnable { get; set; }
+ /// The id property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Id { get; set; }
+#nullable restore
+#else
+ public string Id { get; set; }
+#endif
+ /// The play_info_type property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? PlayInfoType { get; set; }
+#nullable restore
+#else
+ public string PlayInfoType { get; set; }
+#endif
+ /// The rename_enable property
+ public bool? RenameEnable { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Input_list()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Input_list CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Input_list();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "account_enable", n => { AccountEnable = n.GetBoolValue(); } },
+ { "distribution_enable", n => { DistributionEnable = n.GetBoolValue(); } },
+ { "id", n => { Id = n.GetStringValue(); } },
+ { "play_info_type", n => { PlayInfoType = n.GetStringValue(); } },
+ { "rename_enable", n => { RenameEnable = n.GetBoolValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteBoolValue("account_enable", AccountEnable);
+ writer.WriteBoolValue("distribution_enable", DistributionEnable);
+ writer.WriteStringValue("id", Id);
+ writer.WriteStringValue("play_info_type", PlayInfoType);
+ writer.WriteBoolValue("rename_enable", RenameEnable);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/Input_list2.cs b/MusicCast.Net.Api.Client/Models/Input_list2.cs
new file mode 100644
index 0000000..6618199
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Input_list2.cs
@@ -0,0 +1,75 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Input_list2 : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The id property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Id { get; set; }
+#nullable restore
+#else
+ public string Id { get; set; }
+#endif
+ /// The text property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Text { get; set; }
+#nullable restore
+#else
+ public string Text { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Input_list2()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Input_list2 CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Input_list2();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "id", n => { Id = n.GetStringValue(); } },
+ { "text", n => { Text = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("id", Id);
+ writer.WriteStringValue("text", Text);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/Input_list3.cs b/MusicCast.Net.Api.Client/Models/Input_list3.cs
new file mode 100644
index 0000000..3f19304
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Input_list3.cs
@@ -0,0 +1,69 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Input_list3 : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The id property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Id { get; set; }
+#nullable restore
+#else
+ public string Id { get; set; }
+#endif
+ /// The tag property
+ public int? Tag { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Input_list3()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Input_list3 CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Input_list3();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "id", n => { Id = n.GetStringValue(); } },
+ { "tag", n => { Tag = n.GetIntValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("id", Id);
+ writer.WriteIntValue("tag", Tag);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/IsNewFirmwareAvailableResponse.cs b/MusicCast.Net.Api.Client/Models/IsNewFirmwareAvailableResponse.cs
new file mode 100644
index 0000000..7cfb919
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/IsNewFirmwareAvailableResponse.cs
@@ -0,0 +1,63 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class IsNewFirmwareAvailableResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The available property
+ public bool? Available { get; set; }
+ /// The response_code property
+ public int? ResponseCode { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public IsNewFirmwareAvailableResponse()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.IsNewFirmwareAvailableResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.IsNewFirmwareAvailableResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "available", n => { Available = n.GetBoolValue(); } },
+ { "response_code", n => { ResponseCode = n.GetIntValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteBoolValue("available", Available);
+ writer.WriteIntValue("response_code", ResponseCode);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/List_info.cs b/MusicCast.Net.Api.Client/Models/List_info.cs
new file mode 100644
index 0000000..d7b4062
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/List_info.cs
@@ -0,0 +1,99 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class List_info : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The attribute property
+ public int? Attribute { get; set; }
+ /// The logo property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Logo { get; set; }
+#nullable restore
+#else
+ public string Logo { get; set; }
+#endif
+ /// The subtexts property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public UntypedNode? Subtexts { get; set; }
+#nullable restore
+#else
+ public UntypedNode Subtexts { get; set; }
+#endif
+ /// The text property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Text { get; set; }
+#nullable restore
+#else
+ public string Text { get; set; }
+#endif
+ /// The thumbnail property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Thumbnail { get; set; }
+#nullable restore
+#else
+ public string Thumbnail { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public List_info()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.List_info CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.List_info();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "attribute", n => { Attribute = n.GetIntValue(); } },
+ { "logo", n => { Logo = n.GetStringValue(); } },
+ { "subtexts", n => { Subtexts = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } },
+ { "text", n => { Text = n.GetStringValue(); } },
+ { "thumbnail", n => { Thumbnail = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("attribute", Attribute);
+ writer.WriteStringValue("logo", Logo);
+ writer.WriteObjectValue("subtexts", Subtexts);
+ writer.WriteStringValue("text", Text);
+ writer.WriteStringValue("thumbnail", Thumbnail);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/Mc_playlist.cs b/MusicCast.Net.Api.Client/Models/Mc_playlist.cs
new file mode 100644
index 0000000..d266739
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Mc_playlist.cs
@@ -0,0 +1,63 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Mc_playlist : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The num property
+ public int? Num { get; set; }
+ /// The size property
+ public int? Size { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Mc_playlist()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Mc_playlist CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Mc_playlist();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "num", n => { Num = n.GetIntValue(); } },
+ { "size", n => { Size = n.GetIntValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("num", Num);
+ writer.WriteIntValue("size", Size);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/Netusb.cs b/MusicCast.Net.Api.Client/Models/Netusb.cs
new file mode 100644
index 0000000..6f7e60b
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Netusb.cs
@@ -0,0 +1,135 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Netusb : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The func_list property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? FuncList { get; set; }
+#nullable restore
+#else
+ public List FuncList { get; set; }
+#endif
+ /// The mc_playlist property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Mc_playlist? McPlaylist { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Mc_playlist McPlaylist { get; set; }
+#endif
+ /// The net_radio_type property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? NetRadioType { get; set; }
+#nullable restore
+#else
+ public string NetRadioType { get; set; }
+#endif
+ /// The pandora property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Pandora? Pandora { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Pandora Pandora { get; set; }
+#endif
+ /// The play_queue property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Play_queue? PlayQueue { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Play_queue PlayQueue { get; set; }
+#endif
+ /// The preset property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Preset1? Preset { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Preset1 Preset { get; set; }
+#endif
+ /// The recent_info property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Recent_info2? RecentInfo { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Recent_info2 RecentInfo { get; set; }
+#endif
+ /// The siriusxm property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::MusicCast.Net.Api.Client.Models.Siriusxm? Siriusxm { get; set; }
+#nullable restore
+#else
+ public global::MusicCast.Net.Api.Client.Models.Siriusxm Siriusxm { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Netusb()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Netusb CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Netusb();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "func_list", n => { FuncList = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
+ { "mc_playlist", n => { McPlaylist = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Mc_playlist.CreateFromDiscriminatorValue); } },
+ { "net_radio_type", n => { NetRadioType = n.GetStringValue(); } },
+ { "pandora", n => { Pandora = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Pandora.CreateFromDiscriminatorValue); } },
+ { "play_queue", n => { PlayQueue = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Play_queue.CreateFromDiscriminatorValue); } },
+ { "preset", n => { Preset = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Preset1.CreateFromDiscriminatorValue); } },
+ { "recent_info", n => { RecentInfo = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Recent_info2.CreateFromDiscriminatorValue); } },
+ { "siriusxm", n => { Siriusxm = n.GetObjectValue(global::MusicCast.Net.Api.Client.Models.Siriusxm.CreateFromDiscriminatorValue); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteCollectionOfPrimitiveValues("func_list", FuncList);
+ writer.WriteObjectValue("mc_playlist", McPlaylist);
+ writer.WriteStringValue("net_radio_type", NetRadioType);
+ writer.WriteObjectValue("pandora", Pandora);
+ writer.WriteObjectValue("play_queue", PlayQueue);
+ writer.WriteObjectValue("preset", Preset);
+ writer.WriteObjectValue("recent_info", RecentInfo);
+ writer.WriteObjectValue("siriusxm", Siriusxm);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/Pair.cs b/MusicCast.Net.Api.Client/Models/Pair.cs
new file mode 100644
index 0000000..ad4e2b5
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Pair.cs
@@ -0,0 +1,65 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Pair : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The mac_address property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? MacAddress { get; set; }
+#nullable restore
+#else
+ public string MacAddress { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Pair()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Pair CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Pair();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "mac_address", n => { MacAddress = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("mac_address", MacAddress);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/MusicCast.Net.Api.Client/Models/Pandora.cs b/MusicCast.Net.Api.Client/Models/Pandora.cs
new file mode 100644
index 0000000..942a679
--- /dev/null
+++ b/MusicCast.Net.Api.Client/Models/Pandora.cs
@@ -0,0 +1,65 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace MusicCast.Net.Api.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Pandora : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The sort_option_list property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? SortOptionList { get; set; }
+#nullable restore
+#else
+ public List SortOptionList { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public Pandora()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::MusicCast.Net.Api.Client.Models.Pandora CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new global::MusicCast.Net.Api.Client.Models.Pandora();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "sort_option_list", n => { SortOptionList = n.GetCollectionOfPrimitiveValues