GoodMem
ReferenceClient SDKsGoModels

OcrPageResult Model

OcrPageResult Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
PageIndexint320-based page index
PagePointer to NullableOcrPage[optional]
StatusPointer to NullableRpcStatus[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.

SetPageNil

func (o *OcrPageResult) SetPageNil(b bool)

SetPageNil sets the value for Page to be an explicit nil

UnsetPage

func (o *OcrPageResult) UnsetPage()

UnsetPage ensures that no value is present for Page, not even an explicit nil

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.

SetStatusNil

func (o *OcrPageResult) SetStatusNil(b bool)

SetStatusNil sets the value for Status to be an explicit nil

UnsetStatus

func (o *OcrPageResult) UnsetStatus()

UnsetStatus ensures that no value is present for Status, not even an explicit nil