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

@@ -49,13 +49,7 @@ namespace Marechai.App.Models
public string ExifVersion { get; set; }
#endif
/// <summary>The horizontal_resolution property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public UntypedNode? HorizontalResolution { get; set; }
#nullable restore
#else
public UntypedNode HorizontalResolution { get; set; }
#endif
public double? HorizontalResolution { get; set; }
/// <summary>The id property</summary>
public Guid? Id { get; set; }
/// <summary>The magazine property</summary>
@@ -67,13 +61,7 @@ namespace Marechai.App.Models
public string Magazine { get; set; }
#endif
/// <summary>The magazine_id property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public UntypedNode? MagazineId { get; set; }
#nullable restore
#else
public UntypedNode MagazineId { get; set; }
#endif
public long? MagazineId { get; set; }
/// <summary>The original_extension property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -83,13 +71,7 @@ namespace Marechai.App.Models
public string OriginalExtension { get; set; }
#endif
/// <summary>The page property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public UntypedNode? Page { get; set; }
#nullable restore
#else
public UntypedNode Page { get; set; }
#endif
public int? Page { get; set; }
/// <summary>The resolution_unit property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -135,13 +117,7 @@ namespace Marechai.App.Models
public string UserId { get; set; }
#endif
/// <summary>The vertical_resolution property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public UntypedNode? VerticalResolution { get; set; }
#nullable restore
#else
public UntypedNode VerticalResolution { get; set; }
#endif
public double? VerticalResolution { get; set; }
/// <summary>
/// Instantiates a new <see cref="global::Marechai.App.Models.MagazineScanDto"/> and sets the default values.
/// </summary>
@@ -172,12 +148,12 @@ namespace Marechai.App.Models
{ "comments", n => { Comments = n.GetStringValue(); } },
{ "creation_date", n => { CreationDate = n.GetDateTimeOffsetValue(); } },
{ "exif_version", n => { ExifVersion = n.GetStringValue(); } },
{ "horizontal_resolution", n => { HorizontalResolution = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
{ "horizontal_resolution", n => { HorizontalResolution = n.GetDoubleValue(); } },
{ "id", n => { Id = n.GetGuidValue(); } },
{ "magazine", n => { Magazine = n.GetStringValue(); } },
{ "magazine_id", n => { MagazineId = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
{ "magazine_id", n => { MagazineId = n.GetLongValue(); } },
{ "original_extension", n => { OriginalExtension = n.GetStringValue(); } },
{ "page", n => { Page = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
{ "page", n => { Page = n.GetIntValue(); } },
{ "resolution_unit", n => { ResolutionUnit = n.GetObjectValue<global::Marechai.App.Models.MagazineScanDto.MagazineScanDto_resolution_unit>(global::Marechai.App.Models.MagazineScanDto.MagazineScanDto_resolution_unit.CreateFromDiscriminatorValue); } },
{ "scanner_manufacturer", n => { ScannerManufacturer = n.GetStringValue(); } },
{ "scanner_model", n => { ScannerModel = n.GetStringValue(); } },
@@ -185,7 +161,7 @@ namespace Marechai.App.Models
{ "type", n => { Type = n.GetIntValue(); } },
{ "upload_date", n => { UploadDate = n.GetDateTimeOffsetValue(); } },
{ "user_id", n => { UserId = n.GetStringValue(); } },
{ "vertical_resolution", n => { VerticalResolution = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
{ "vertical_resolution", n => { VerticalResolution = n.GetDoubleValue(); } },
};
}
/// <summary>
@@ -200,12 +176,12 @@ namespace Marechai.App.Models
writer.WriteStringValue("comments", Comments);
writer.WriteDateTimeOffsetValue("creation_date", CreationDate);
writer.WriteStringValue("exif_version", ExifVersion);
writer.WriteObjectValue<UntypedNode>("horizontal_resolution", HorizontalResolution);
writer.WriteDoubleValue("horizontal_resolution", HorizontalResolution);
writer.WriteGuidValue("id", Id);
writer.WriteStringValue("magazine", Magazine);
writer.WriteObjectValue<UntypedNode>("magazine_id", MagazineId);
writer.WriteLongValue("magazine_id", MagazineId);
writer.WriteStringValue("original_extension", OriginalExtension);
writer.WriteObjectValue<UntypedNode>("page", Page);
writer.WriteIntValue("page", Page);
writer.WriteObjectValue<global::Marechai.App.Models.MagazineScanDto.MagazineScanDto_resolution_unit>("resolution_unit", ResolutionUnit);
writer.WriteStringValue("scanner_manufacturer", ScannerManufacturer);
writer.WriteStringValue("scanner_model", ScannerModel);
@@ -213,7 +189,7 @@ namespace Marechai.App.Models
writer.WriteIntValue("type", Type);
writer.WriteDateTimeOffsetValue("upload_date", UploadDate);
writer.WriteStringValue("user_id", UserId);
writer.WriteObjectValue<UntypedNode>("vertical_resolution", VerticalResolution);
writer.WriteDoubleValue("vertical_resolution", VerticalResolution);
writer.WriteAdditionalData(AdditionalData);
}
/// <summary>