mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 19:47:22 +00:00
20 lines
601 B
C#
20 lines
601 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace AIStudio.Tools;
|
|
|
|
public sealed class ContentStreamDocumentDetails
|
|
{
|
|
[JsonPropertyName("page_number")]
|
|
public int? PageNumber { get; set; }
|
|
|
|
/// <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; }
|
|
|
|
[JsonPropertyName("image")]
|
|
public ContentStreamPptxImageData? Image { get; set; }
|
|
}
|