2026-08-10 20:39:31 +02:00
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace AIStudio.Tools;
|
|
|
|
|
|
|
|
|
|
public sealed class ContentStreamDocumentDetails
|
|
|
|
|
{
|
|
|
|
|
[JsonPropertyName("page_number")]
|
2026-11-03 07:59:30 +01:00
|
|
|
public int? PageNumber { get; set; }
|
2026-08-10 20:39:31 +02:00
|
|
|
|
2026-11-04 17:15:30 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Whether the page is one the file itself knows, such as a page of a OneNote section, rather
|
|
|
|
|
/// than one the runtime estimated from the page breaks of a Word or OpenDocument file.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonPropertyName("page_is_exact")]
|
|
|
|
|
public bool PageIsExact { get; set; }
|
|
|
|
|
|
2026-08-10 20:39:31 +02:00
|
|
|
[JsonPropertyName("image")]
|
2026-11-03 07:59:30 +01:00
|
|
|
public ContentStreamPptxImageData? Image { get; set; }
|
2026-08-10 20:39:31 +02:00
|
|
|
}
|