GoodMem
ReferenceClient SDKsGo SDKModels

OcrPageResult Model

OcrPageResult Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
PageIndexint320-based page index
PagePointer to OcrPage[optional]
StatusPointer to RpcStatus[optional]

Methods

NewOcrPageResult

func NewOcrPageResult(pageIndex int32, ) *OcrPageResult

NewOcrPageResult instantiates a new OcrPageResult 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

NewOcrPageResultWithDefaults

func NewOcrPageResultWithDefaults() *OcrPageResult

NewOcrPageResultWithDefaults instantiates a new OcrPageResult 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

GetPageIndex

func (o *OcrPageResult) GetPageIndex() int32

GetPageIndex returns the PageIndex field if non-nil, zero value otherwise.

GetPageIndexOk

func (o *OcrPageResult) GetPageIndexOk() (*int32, bool)

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

SetPageIndex

func (o *OcrPageResult) SetPageIndex(v int32)

SetPageIndex sets PageIndex field to given value.

GetPage

func (o *OcrPageResult) GetPage() OcrPage

GetPage returns the Page field if non-nil, zero value otherwise.

GetPageOk

func (o *OcrPageResult) GetPageOk() (*OcrPage, bool)

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

SetPage

func (o *OcrPageResult) SetPage(v OcrPage)

SetPage sets Page field to given value.

HasPage

func (o *OcrPageResult) HasPage() bool

HasPage returns a boolean if a field has been set.

GetStatus

func (o *OcrPageResult) GetStatus() RpcStatus

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *OcrPageResult) GetStatusOk() (*RpcStatus, bool)

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

SetStatus

func (o *OcrPageResult) SetStatus(v RpcStatus)

SetStatus sets Status field to given value.

HasStatus

func (o *OcrPageResult) HasStatus() bool

HasStatus returns a boolean if a field has been set.

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