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

@@ -23,13 +23,7 @@ namespace Marechai.App.Models
public string Extension { get; set; }
#endif
/// <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 int? Id { get; set; }
/// <summary>
/// Instantiates a new <see cref="global::Marechai.App.Models.InstructionSetExtensionDto"/> and sets the default values.
/// </summary>
@@ -56,7 +50,7 @@ namespace Marechai.App.Models
return new Dictionary<string, Action<IParseNode>>
{
{ "extension", n => { Extension = n.GetStringValue(); } },
{ "id", n => { Id = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
{ "id", n => { Id = n.GetIntValue(); } },
};
}
/// <summary>
@@ -67,7 +61,7 @@ namespace Marechai.App.Models
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("extension", Extension);
writer.WriteObjectValue<UntypedNode>("id", Id);
writer.WriteIntValue("id", Id);
writer.WriteAdditionalData(AdditionalData);
}
}