package de.frigosped.dc.model;

import java.util.List;

public class MistralOcrResponse {

    private List<Page> pages;
    private UsageInfo usageInfo;

    public List<Page> getPages() { return pages; }
    public void setPages(List<Page> pages) { this.pages = pages; }

    public UsageInfo getUsageInfo() { return usageInfo; }
    public void setUsageInfo(UsageInfo usageInfo) { this.usageInfo = usageInfo; }

    public static class Page {
        private int index;
        private String markdown;

        public int getIndex() { return index; }
        public void setIndex(int index) { this.index = index; }

        public String getMarkdown() { return markdown; }
        public void setMarkdown(String markdown) { this.markdown = markdown; }
    }

    public static class UsageInfo {
        private int pagesProcessed;
        private Long docSizeBytes;

        public int getPagesProcessed() { return pagesProcessed; }
        public void setPagesProcessed(int pagesProcessed) { this.pagesProcessed = pagesProcessed; }

        public Long getDocSizeBytes() { return docSizeBytes; }
        public void setDocSizeBytes(Long docSizeBytes) { this.docSizeBytes = docSizeBytes; }
    }
}