aboutsummaryrefslogtreecommitdiff
path: root/OcrClient/Models/OcrResponse.cs
blob: 2b26ab77b1d07ac8d68e4154235e5124b6ce3703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
namespace OcrClient.Models;

public class OcrResponse
{
	public Result? Result { get; set; }
}
public class Result
{
	public TextAnnotation? TextAnnotation { get; set; }
}
public class TextAnnotation
{
	public List<Table>? Tables { get; set; }
}

public class Table
{
	public string? RowCount { get; set; }
	public string? ColumnCount { get; set; }
	public List<Cell>? Cells { get; set; }
}

public class Cell
{
	public string? RowIndex { get; set; }
	public string? ColumnIndex { get; set; }
	public string? Text { get; set; }
}