GoodMem
ReferenceClient SDKsGo SDKModels

DocumentTimings Model

DocumentTimings Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
WallTimeMsint64End-to-end request time (ms)
SumQueueWaitMsint64Sum of per-page queue wait times (ms)
SumRenderMsint64Sum of per-page render times (ms)
SumOcrMsint64Sum of per-page OCR times (ms)
SumPageTotalMsint64Sum of per-page total times (ms)

Methods

NewDocumentTimings

func NewDocumentTimings(wallTimeMs int64, sumQueueWaitMs int64, sumRenderMs int64, sumOcrMs int64, sumPageTotalMs int64, ) *DocumentTimings

NewDocumentTimings instantiates a new DocumentTimings 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

NewDocumentTimingsWithDefaults

func NewDocumentTimingsWithDefaults() *DocumentTimings

NewDocumentTimingsWithDefaults instantiates a new DocumentTimings 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

GetWallTimeMs

func (o *DocumentTimings) GetWallTimeMs() int64

GetWallTimeMs returns the WallTimeMs field if non-nil, zero value otherwise.

GetWallTimeMsOk

func (o *DocumentTimings) GetWallTimeMsOk() (*int64, bool)

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

SetWallTimeMs

func (o *DocumentTimings) SetWallTimeMs(v int64)

SetWallTimeMs sets WallTimeMs field to given value.

GetSumQueueWaitMs

func (o *DocumentTimings) GetSumQueueWaitMs() int64

GetSumQueueWaitMs returns the SumQueueWaitMs field if non-nil, zero value otherwise.

GetSumQueueWaitMsOk

func (o *DocumentTimings) GetSumQueueWaitMsOk() (*int64, bool)

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

SetSumQueueWaitMs

func (o *DocumentTimings) SetSumQueueWaitMs(v int64)

SetSumQueueWaitMs sets SumQueueWaitMs field to given value.

GetSumRenderMs

func (o *DocumentTimings) GetSumRenderMs() int64

GetSumRenderMs returns the SumRenderMs field if non-nil, zero value otherwise.

GetSumRenderMsOk

func (o *DocumentTimings) GetSumRenderMsOk() (*int64, bool)

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

SetSumRenderMs

func (o *DocumentTimings) SetSumRenderMs(v int64)

SetSumRenderMs sets SumRenderMs field to given value.

GetSumOcrMs

func (o *DocumentTimings) GetSumOcrMs() int64

GetSumOcrMs returns the SumOcrMs field if non-nil, zero value otherwise.

GetSumOcrMsOk

func (o *DocumentTimings) GetSumOcrMsOk() (*int64, bool)

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

SetSumOcrMs

func (o *DocumentTimings) SetSumOcrMs(v int64)

SetSumOcrMs sets SumOcrMs field to given value.

GetSumPageTotalMs

func (o *DocumentTimings) GetSumPageTotalMs() int64

GetSumPageTotalMs returns the SumPageTotalMs field if non-nil, zero value otherwise.

GetSumPageTotalMsOk

func (o *DocumentTimings) GetSumPageTotalMsOk() (*int64, bool)

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

SetSumPageTotalMs

func (o *DocumentTimings) SetSumPageTotalMs(v int64)

SetSumPageTotalMs sets SumPageTotalMs field to given value.

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