Update Kiota client.

This commit is contained in:
2025-11-15 22:41:01 +00:00
parent c3e75175f9
commit 4f59f6870d
124 changed files with 1043 additions and 2318 deletions

View File

@@ -15,13 +15,7 @@ namespace Marechai.App.Models
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
public IDictionary<string, object> AdditionalData { get; set; }
/// <summary>The id property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public UntypedNode? Id { get; set; }
#nullable restore
#else
public UntypedNode Id { get; set; }
#endif
public long? Id { get; set; }
/// <summary>The resolution property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -31,21 +25,9 @@ namespace Marechai.App.Models
public global::Marechai.App.Models.ResolutionByScreenDto.ResolutionByScreenDto_resolution Resolution { get; set; }
#endif
/// <summary>The resolution_id property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public UntypedNode? ResolutionId { get; set; }
#nullable restore
#else
public UntypedNode ResolutionId { get; set; }
#endif
public int? ResolutionId { get; set; }
/// <summary>The screen_id property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public UntypedNode? ScreenId { get; set; }
#nullable restore
#else
public UntypedNode ScreenId { get; set; }
#endif
public int? ScreenId { get; set; }
/// <summary>
/// Instantiates a new <see cref="global::Marechai.App.Models.ResolutionByScreenDto"/> and sets the default values.
/// </summary>
@@ -71,10 +53,10 @@ namespace Marechai.App.Models
{
return new Dictionary<string, Action<IParseNode>>
{
{ "id", n => { Id = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
{ "id", n => { Id = n.GetLongValue(); } },
{ "resolution", n => { Resolution = n.GetObjectValue<global::Marechai.App.Models.ResolutionByScreenDto.ResolutionByScreenDto_resolution>(global::Marechai.App.Models.ResolutionByScreenDto.ResolutionByScreenDto_resolution.CreateFromDiscriminatorValue); } },
{ "resolution_id", n => { ResolutionId = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
{ "screen_id", n => { ScreenId = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
{ "resolution_id", n => { ResolutionId = n.GetIntValue(); } },
{ "screen_id", n => { ScreenId = n.GetIntValue(); } },
};
}
/// <summary>
@@ -84,10 +66,10 @@ namespace Marechai.App.Models
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
writer.WriteObjectValue<UntypedNode>("id", Id);
writer.WriteLongValue("id", Id);
writer.WriteObjectValue<global::Marechai.App.Models.ResolutionByScreenDto.ResolutionByScreenDto_resolution>("resolution", Resolution);
writer.WriteObjectValue<UntypedNode>("resolution_id", ResolutionId);
writer.WriteObjectValue<UntypedNode>("screen_id", ScreenId);
writer.WriteIntValue("resolution_id", ResolutionId);
writer.WriteIntValue("screen_id", ScreenId);
writer.WriteAdditionalData(AdditionalData);
}
/// <summary>