GoodMem
ReferenceClient SDKsGo SDKModels

OcrPage Model

OcrPage Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
RawJsonPointer to NullableStringRaw OCR JSON payload when requested[optional]
MarkdownPointer to NullableStringMarkdown rendering when requested[optional]
LayoutOcrLayout
TimingsPageTimings
ImageImageInfo

Methods

NewOcrPage

func NewOcrPage(layout OcrLayout, timings PageTimings, image ImageInfo, ) *OcrPage

NewOcrPage instantiates a new OcrPage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewOcrPageWithDefaults

func NewOcrPageWithDefaults() *OcrPage

NewOcrPageWithDefaults instantiates a new OcrPage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetRawJson

func (o *OcrPage) GetRawJson() string

GetRawJson returns the RawJson field if non-nil, zero value otherwise.

GetRawJsonOk

func (o *OcrPage) GetRawJsonOk() (*string, bool)

GetRawJsonOk returns a tuple with the RawJson field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRawJson

func (o *OcrPage) SetRawJson(v string)

SetRawJson sets RawJson field to given value.

HasRawJson

func (o *OcrPage) HasRawJson() bool

HasRawJson returns a boolean if a field has been set.

SetRawJsonNil

func (o *OcrPage) SetRawJsonNil(b bool)

SetRawJsonNil sets the value for RawJson to be an explicit nil

UnsetRawJson

func (o *OcrPage) UnsetRawJson()

UnsetRawJson ensures that no value is present for RawJson, not even an explicit nil

GetMarkdown

func (o *OcrPage) GetMarkdown() string

GetMarkdown returns the Markdown field if non-nil, zero value otherwise.

GetMarkdownOk

func (o *OcrPage) GetMarkdownOk() (*string, bool)

GetMarkdownOk returns a tuple with the Markdown field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMarkdown

func (o *OcrPage) SetMarkdown(v string)

SetMarkdown sets Markdown field to given value.

HasMarkdown

func (o *OcrPage) HasMarkdown() bool

HasMarkdown returns a boolean if a field has been set.

SetMarkdownNil

func (o *OcrPage) SetMarkdownNil(b bool)

SetMarkdownNil sets the value for Markdown to be an explicit nil

UnsetMarkdown

func (o *OcrPage) UnsetMarkdown()

UnsetMarkdown ensures that no value is present for Markdown, not even an explicit nil

GetLayout

func (o *OcrPage) GetLayout() OcrLayout

GetLayout returns the Layout field if non-nil, zero value otherwise.

GetLayoutOk

func (o *OcrPage) GetLayoutOk() (*OcrLayout, bool)

GetLayoutOk returns a tuple with the Layout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLayout

func (o *OcrPage) SetLayout(v OcrLayout)

SetLayout sets Layout field to given value.

GetTimings

func (o *OcrPage) GetTimings() PageTimings

GetTimings returns the Timings field if non-nil, zero value otherwise.

GetTimingsOk

func (o *OcrPage) GetTimingsOk() (*PageTimings, bool)

GetTimingsOk returns a tuple with the Timings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTimings

func (o *OcrPage) SetTimings(v PageTimings)

SetTimings sets Timings field to given value.

GetImage

func (o *OcrPage) GetImage() ImageInfo

GetImage returns the Image field if non-nil, zero value otherwise.

GetImageOk

func (o *OcrPage) GetImageOk() (*ImageInfo, bool)

GetImageOk returns a tuple with the Image field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImage

func (o *OcrPage) SetImage(v ImageInfo)

SetImage sets Image field to given value.

↑ Back to Go SDK ↑ Back to Go SDK ↑ Back to Go SDK