mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Update Kiota client.
This commit is contained in:
@@ -49,13 +49,7 @@ namespace Marechai.App.Models
|
||||
public string Document { get; set; }
|
||||
#endif
|
||||
/// <summary>The document_id property</summary>
|
||||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
|
||||
#nullable enable
|
||||
public UntypedNode? DocumentId { get; set; }
|
||||
#nullable restore
|
||||
#else
|
||||
public UntypedNode DocumentId { get; set; }
|
||||
#endif
|
||||
public long? DocumentId { get; set; }
|
||||
/// <summary>The exif_version property</summary>
|
||||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
|
||||
#nullable enable
|
||||
@@ -65,13 +59,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 original_extension property</summary>
|
||||
@@ -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.DocumentScanDto"/> 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(); } },
|
||||
{ "document", n => { Document = n.GetStringValue(); } },
|
||||
{ "document_id", n => { DocumentId = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
|
||||
{ "document_id", n => { DocumentId = n.GetLongValue(); } },
|
||||
{ "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(); } },
|
||||
{ "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.DocumentScanDto.DocumentScanDto_resolution_unit>(global::Marechai.App.Models.DocumentScanDto.DocumentScanDto_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("document", Document);
|
||||
writer.WriteObjectValue<UntypedNode>("document_id", DocumentId);
|
||||
writer.WriteLongValue("document_id", DocumentId);
|
||||
writer.WriteStringValue("exif_version", ExifVersion);
|
||||
writer.WriteObjectValue<UntypedNode>("horizontal_resolution", HorizontalResolution);
|
||||
writer.WriteDoubleValue("horizontal_resolution", HorizontalResolution);
|
||||
writer.WriteGuidValue("id", Id);
|
||||
writer.WriteStringValue("original_extension", OriginalExtension);
|
||||
writer.WriteObjectValue<UntypedNode>("page", Page);
|
||||
writer.WriteIntValue("page", Page);
|
||||
writer.WriteObjectValue<global::Marechai.App.Models.DocumentScanDto.DocumentScanDto_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>
|
||||
|
||||
Reference in New Issue
Block a user