Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiCancelBinarizeImageRequest
- type ApiCancelConvertTextToSpeechRequest
- type ApiCancelConvertTextToSpeechTrialRequest
- type ApiCancelDeskewImageRequest
- type ApiCancelDetectRegionsRequest
- type ApiCancelDewarpImageRequest
- type ApiCancelDjVu2PDFRequest
- type ApiCancelIdentifyFontRequest
- type ApiCancelRecognizeAndParseInvoiceRequest
- type ApiCancelRecognizeImageRequest
- type ApiCancelRecognizeImageTrialRequest
- type ApiCancelRecognizeLabelRequest
- type ApiCancelRecognizePdfRequest
- type ApiCancelRecognizeReceiptRequest
- type ApiCancelRecognizeRegionsRequest
- type ApiCancelRecognizeTableRequest
- type ApiCancelUpscaleImageRequest
- type ApiGetBinarizeImageRequest
- type ApiGetConvertTextToSpeechRequest
- type ApiGetConvertTextToSpeechTrialRequest
- type ApiGetDeskewImageRequest
- type ApiGetDetectRegionsRequest
- type ApiGetDewarpImageRequest
- type ApiGetDjVu2PDFRequest
- type ApiGetIdentifyFontRequest
- type ApiGetRecognizeAndParseInvoiceRequest
- type ApiGetRecognizeImageRequest
- type ApiGetRecognizeImageTrialRequest
- type ApiGetRecognizeLabelRequest
- type ApiGetRecognizePdfRequest
- type ApiGetRecognizeReceiptRequest
- type ApiGetRecognizeRegionsRequest
- type ApiGetRecognizeTableRequest
- type ApiGetResultFileRequest
- type ApiGetResultTaskRequest
- type ApiGetTaskStatusRequest
- type ApiGetTextToSpeechResultFileRequest
- type ApiGetTextToSpeechResultRequest
- type ApiGetUpscaleImageRequest
- type ApiPostBinarizationFileRequest
- type ApiPostBinarizeImageRequest
- type ApiPostConvertTextToSpeechRequest
- type ApiPostConvertTextToSpeechTrialRequest
- type ApiPostDeskewImageRequest
- type ApiPostDetectRegionsRequest
- type ApiPostDewarpImageRequest
- type ApiPostDewarpingFileRequest
- type ApiPostDjVu2PDFRequest
- type ApiPostIdentifyFontRequest
- type ApiPostRecognizeAndParseInvoiceRequest
- type ApiPostRecognizeImageRequest
- type ApiPostRecognizeImageTrialRequest
- type ApiPostRecognizeLabelRequest
- type ApiPostRecognizePdfRequest
- type ApiPostRecognizeReceiptRequest
- type ApiPostRecognizeRegionsRequest
- type ApiPostRecognizeTableRequest
- type ApiPostSkewCorrectionFileRequest
- type ApiPostTextToSpeechRequest
- type ApiPostUpsamplingFileRequest
- type ApiPostUpscaleImageRequest
- type BasicAuth
- type BinarizeImageApiService
- func (a *BinarizeImageApiService) CancelBinarizeImage(ctx context.Context) ApiCancelBinarizeImageRequest
- func (a *BinarizeImageApiService) CancelBinarizeImageExecute(r ApiCancelBinarizeImageRequest) (*http.Response, error)
- func (a *BinarizeImageApiService) GetBinarizeImage(ctx context.Context) ApiGetBinarizeImageRequest
- func (a *BinarizeImageApiService) GetBinarizeImageExecute(r ApiGetBinarizeImageRequest) (*OCRResponse, *http.Response, error)
- func (a *BinarizeImageApiService) PostBinarizeImage(ctx context.Context) ApiPostBinarizeImageRequest
- func (a *BinarizeImageApiService) PostBinarizeImageExecute(r ApiPostBinarizeImageRequest) (string, *http.Response, error)
- type Configuration
- type ConvertTextToSpeechApiService
- func (a *ConvertTextToSpeechApiService) CancelConvertTextToSpeech(ctx context.Context) ApiCancelConvertTextToSpeechRequest
- func (a *ConvertTextToSpeechApiService) CancelConvertTextToSpeechExecute(r ApiCancelConvertTextToSpeechRequest) (*http.Response, error)
- func (a *ConvertTextToSpeechApiService) GetConvertTextToSpeech(ctx context.Context) ApiGetConvertTextToSpeechRequest
- func (a *ConvertTextToSpeechApiService) GetConvertTextToSpeechExecute(r ApiGetConvertTextToSpeechRequest) (*TTSResponse, *http.Response, error)
- func (a *ConvertTextToSpeechApiService) PostConvertTextToSpeech(ctx context.Context) ApiPostConvertTextToSpeechRequest
- func (a *ConvertTextToSpeechApiService) PostConvertTextToSpeechExecute(r ApiPostConvertTextToSpeechRequest) (string, *http.Response, error)
- type ConvertTextToSpeechTrialApiService
- func (a *ConvertTextToSpeechTrialApiService) CancelConvertTextToSpeechTrial(ctx context.Context) ApiCancelConvertTextToSpeechTrialRequest
- func (a *ConvertTextToSpeechTrialApiService) CancelConvertTextToSpeechTrialExecute(r ApiCancelConvertTextToSpeechTrialRequest) (*http.Response, error)
- func (a *ConvertTextToSpeechTrialApiService) GetConvertTextToSpeechTrial(ctx context.Context) ApiGetConvertTextToSpeechTrialRequest
- func (a *ConvertTextToSpeechTrialApiService) GetConvertTextToSpeechTrialExecute(r ApiGetConvertTextToSpeechTrialRequest) (*TTSResponse, *http.Response, error)
- func (a *ConvertTextToSpeechTrialApiService) PostConvertTextToSpeechTrial(ctx context.Context) ApiPostConvertTextToSpeechTrialRequest
- func (a *ConvertTextToSpeechTrialApiService) PostConvertTextToSpeechTrialExecute(r ApiPostConvertTextToSpeechTrialRequest) (string, *http.Response, error)
- type DeskewImageApiService
- func (a *DeskewImageApiService) CancelDeskewImage(ctx context.Context) ApiCancelDeskewImageRequest
- func (a *DeskewImageApiService) CancelDeskewImageExecute(r ApiCancelDeskewImageRequest) (*http.Response, error)
- func (a *DeskewImageApiService) GetDeskewImage(ctx context.Context) ApiGetDeskewImageRequest
- func (a *DeskewImageApiService) GetDeskewImageExecute(r ApiGetDeskewImageRequest) (*OCRResponse, *http.Response, error)
- func (a *DeskewImageApiService) PostDeskewImage(ctx context.Context) ApiPostDeskewImageRequest
- func (a *DeskewImageApiService) PostDeskewImageExecute(r ApiPostDeskewImageRequest) (string, *http.Response, error)
- type DetectRegionsApiService
- func (a *DetectRegionsApiService) CancelDetectRegions(ctx context.Context) ApiCancelDetectRegionsRequest
- func (a *DetectRegionsApiService) CancelDetectRegionsExecute(r ApiCancelDetectRegionsRequest) (*http.Response, error)
- func (a *DetectRegionsApiService) GetDetectRegions(ctx context.Context) ApiGetDetectRegionsRequest
- func (a *DetectRegionsApiService) GetDetectRegionsExecute(r ApiGetDetectRegionsRequest) (*OCRResponse, *http.Response, error)
- func (a *DetectRegionsApiService) PostDetectRegions(ctx context.Context) ApiPostDetectRegionsRequest
- func (a *DetectRegionsApiService) PostDetectRegionsExecute(r ApiPostDetectRegionsRequest) (string, *http.Response, error)
- type DewarpImageApiService
- func (a *DewarpImageApiService) CancelDewarpImage(ctx context.Context) ApiCancelDewarpImageRequest
- func (a *DewarpImageApiService) CancelDewarpImageExecute(r ApiCancelDewarpImageRequest) (*http.Response, error)
- func (a *DewarpImageApiService) GetDewarpImage(ctx context.Context) ApiGetDewarpImageRequest
- func (a *DewarpImageApiService) GetDewarpImageExecute(r ApiGetDewarpImageRequest) (*OCRResponse, *http.Response, error)
- func (a *DewarpImageApiService) PostDewarpImage(ctx context.Context) ApiPostDewarpImageRequest
- func (a *DewarpImageApiService) PostDewarpImageExecute(r ApiPostDewarpImageRequest) (string, *http.Response, error)
- type DjVu2PDFApiService
- func (a *DjVu2PDFApiService) CancelDjVu2PDF(ctx context.Context) ApiCancelDjVu2PDFRequest
- func (a *DjVu2PDFApiService) CancelDjVu2PDFExecute(r ApiCancelDjVu2PDFRequest) (*http.Response, error)
- func (a *DjVu2PDFApiService) GetDjVu2PDF(ctx context.Context) ApiGetDjVu2PDFRequest
- func (a *DjVu2PDFApiService) GetDjVu2PDFExecute(r ApiGetDjVu2PDFRequest) (*OCRResponse, *http.Response, error)
- func (a *DjVu2PDFApiService) PostDjVu2PDF(ctx context.Context) ApiPostDjVu2PDFRequest
- func (a *DjVu2PDFApiService) PostDjVu2PDFExecute(r ApiPostDjVu2PDFRequest) (string, *http.Response, error)
- type DsrConfidence
- type DsrMode
- type GenericAPIError
- type IdentifyFontApiService
- func (a *IdentifyFontApiService) CancelIdentifyFont(ctx context.Context) ApiCancelIdentifyFontRequest
- func (a *IdentifyFontApiService) CancelIdentifyFontExecute(r ApiCancelIdentifyFontRequest) (*http.Response, error)
- func (a *IdentifyFontApiService) GetIdentifyFont(ctx context.Context) ApiGetIdentifyFontRequest
- func (a *IdentifyFontApiService) GetIdentifyFontExecute(r ApiGetIdentifyFontRequest) (*OCRResponse, *http.Response, error)
- func (a *IdentifyFontApiService) PostIdentifyFont(ctx context.Context) ApiPostIdentifyFontRequest
- func (a *IdentifyFontApiService) PostIdentifyFontExecute(r ApiPostIdentifyFontRequest) (string, *http.Response, error)
- type ImageProcessingApiService
- func (a *ImageProcessingApiService) GetResultFile(ctx context.Context) ApiGetResultFileRequest
- func (a *ImageProcessingApiService) GetResultFileExecute(r ApiGetResultFileRequest) (map[string]interface{}, *http.Response, error)
- func (a *ImageProcessingApiService) GetResultTask(ctx context.Context) ApiGetResultTaskRequest
- func (a *ImageProcessingApiService) GetResultTaskExecute(r ApiGetResultTaskRequest) (*OCRResponse, *http.Response, error)
- func (a *ImageProcessingApiService) PostBinarizationFile(ctx context.Context) ApiPostBinarizationFileRequest
- func (a *ImageProcessingApiService) PostBinarizationFileExecute(r ApiPostBinarizationFileRequest) (string, *http.Response, error)
- func (a *ImageProcessingApiService) PostDewarpingFile(ctx context.Context) ApiPostDewarpingFileRequest
- func (a *ImageProcessingApiService) PostDewarpingFileExecute(r ApiPostDewarpingFileRequest) (string, *http.Response, error)
- func (a *ImageProcessingApiService) PostSkewCorrectionFile(ctx context.Context) ApiPostSkewCorrectionFileRequest
- func (a *ImageProcessingApiService) PostSkewCorrectionFileExecute(r ApiPostSkewCorrectionFileRequest) (string, *http.Response, error)
- func (a *ImageProcessingApiService) PostUpsamplingFile(ctx context.Context) ApiPostUpsamplingFileRequest
- func (a *ImageProcessingApiService) PostUpsamplingFileExecute(r ApiPostUpsamplingFileRequest) (string, *http.Response, error)
- type Language
- type LanguageTTS
- type MappedNullable
- type NullableBool
- type NullableDsrConfidence
- func (v NullableDsrConfidence) Get() *DsrConfidence
- func (v NullableDsrConfidence) IsSet() bool
- func (v NullableDsrConfidence) MarshalJSON() ([]byte, error)
- func (v *NullableDsrConfidence) Set(val *DsrConfidence)
- func (v *NullableDsrConfidence) UnmarshalJSON(src []byte) error
- func (v *NullableDsrConfidence) Unset()
- type NullableDsrMode
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLanguage
- type NullableLanguageTTS
- func (v NullableLanguageTTS) Get() *LanguageTTS
- func (v NullableLanguageTTS) IsSet() bool
- func (v NullableLanguageTTS) MarshalJSON() ([]byte, error)
- func (v *NullableLanguageTTS) Set(val *LanguageTTS)
- func (v *NullableLanguageTTS) UnmarshalJSON(src []byte) error
- func (v *NullableLanguageTTS) Unset()
- type NullableOCRBinarizeImageBody
- func (v NullableOCRBinarizeImageBody) Get() *OCRBinarizeImageBody
- func (v NullableOCRBinarizeImageBody) IsSet() bool
- func (v NullableOCRBinarizeImageBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRBinarizeImageBody) Set(val *OCRBinarizeImageBody)
- func (v *NullableOCRBinarizeImageBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRBinarizeImageBody) Unset()
- type NullableOCRDeskewImageBody
- func (v NullableOCRDeskewImageBody) Get() *OCRDeskewImageBody
- func (v NullableOCRDeskewImageBody) IsSet() bool
- func (v NullableOCRDeskewImageBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRDeskewImageBody) Set(val *OCRDeskewImageBody)
- func (v *NullableOCRDeskewImageBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRDeskewImageBody) Unset()
- type NullableOCRDetectRegionsBody
- func (v NullableOCRDetectRegionsBody) Get() *OCRDetectRegionsBody
- func (v NullableOCRDetectRegionsBody) IsSet() bool
- func (v NullableOCRDetectRegionsBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRDetectRegionsBody) Set(val *OCRDetectRegionsBody)
- func (v *NullableOCRDetectRegionsBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRDetectRegionsBody) Unset()
- type NullableOCRDewarpImageBody
- func (v NullableOCRDewarpImageBody) Get() *OCRDewarpImageBody
- func (v NullableOCRDewarpImageBody) IsSet() bool
- func (v NullableOCRDewarpImageBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRDewarpImageBody) Set(val *OCRDewarpImageBody)
- func (v *NullableOCRDewarpImageBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRDewarpImageBody) Unset()
- type NullableOCRDjVu2PDFBody
- func (v NullableOCRDjVu2PDFBody) Get() *OCRDjVu2PDFBody
- func (v NullableOCRDjVu2PDFBody) IsSet() bool
- func (v NullableOCRDjVu2PDFBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRDjVu2PDFBody) Set(val *OCRDjVu2PDFBody)
- func (v *NullableOCRDjVu2PDFBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRDjVu2PDFBody) Unset()
- type NullableOCRError
- type NullableOCRRecognizeAndParseInvoiceBody
- func (v NullableOCRRecognizeAndParseInvoiceBody) Get() *OCRRecognizeAndParseInvoiceBody
- func (v NullableOCRRecognizeAndParseInvoiceBody) IsSet() bool
- func (v NullableOCRRecognizeAndParseInvoiceBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRRecognizeAndParseInvoiceBody) Set(val *OCRRecognizeAndParseInvoiceBody)
- func (v *NullableOCRRecognizeAndParseInvoiceBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRRecognizeAndParseInvoiceBody) Unset()
- type NullableOCRRecognizeFontBody
- func (v NullableOCRRecognizeFontBody) Get() *OCRRecognizeFontBody
- func (v NullableOCRRecognizeFontBody) IsSet() bool
- func (v NullableOCRRecognizeFontBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRRecognizeFontBody) Set(val *OCRRecognizeFontBody)
- func (v *NullableOCRRecognizeFontBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRRecognizeFontBody) Unset()
- type NullableOCRRecognizeImageBody
- func (v NullableOCRRecognizeImageBody) Get() *OCRRecognizeImageBody
- func (v NullableOCRRecognizeImageBody) IsSet() bool
- func (v NullableOCRRecognizeImageBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRRecognizeImageBody) Set(val *OCRRecognizeImageBody)
- func (v *NullableOCRRecognizeImageBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRRecognizeImageBody) Unset()
- type NullableOCRRecognizeLabelBody
- func (v NullableOCRRecognizeLabelBody) Get() *OCRRecognizeLabelBody
- func (v NullableOCRRecognizeLabelBody) IsSet() bool
- func (v NullableOCRRecognizeLabelBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRRecognizeLabelBody) Set(val *OCRRecognizeLabelBody)
- func (v *NullableOCRRecognizeLabelBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRRecognizeLabelBody) Unset()
- type NullableOCRRecognizePdfBody
- func (v NullableOCRRecognizePdfBody) Get() *OCRRecognizePdfBody
- func (v NullableOCRRecognizePdfBody) IsSet() bool
- func (v NullableOCRRecognizePdfBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRRecognizePdfBody) Set(val *OCRRecognizePdfBody)
- func (v *NullableOCRRecognizePdfBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRRecognizePdfBody) Unset()
- type NullableOCRRecognizeReceiptBody
- func (v NullableOCRRecognizeReceiptBody) Get() *OCRRecognizeReceiptBody
- func (v NullableOCRRecognizeReceiptBody) IsSet() bool
- func (v NullableOCRRecognizeReceiptBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRRecognizeReceiptBody) Set(val *OCRRecognizeReceiptBody)
- func (v *NullableOCRRecognizeReceiptBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRRecognizeReceiptBody) Unset()
- type NullableOCRRecognizeRegionsBody
- func (v NullableOCRRecognizeRegionsBody) Get() *OCRRecognizeRegionsBody
- func (v NullableOCRRecognizeRegionsBody) IsSet() bool
- func (v NullableOCRRecognizeRegionsBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRRecognizeRegionsBody) Set(val *OCRRecognizeRegionsBody)
- func (v *NullableOCRRecognizeRegionsBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRRecognizeRegionsBody) Unset()
- type NullableOCRRecognizeTableBody
- func (v NullableOCRRecognizeTableBody) Get() *OCRRecognizeTableBody
- func (v NullableOCRRecognizeTableBody) IsSet() bool
- func (v NullableOCRRecognizeTableBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRRecognizeTableBody) Set(val *OCRRecognizeTableBody)
- func (v *NullableOCRRecognizeTableBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRRecognizeTableBody) Unset()
- type NullableOCRRect
- type NullableOCRRegion
- type NullableOCRResponse
- func (v NullableOCRResponse) Get() *OCRResponse
- func (v NullableOCRResponse) IsSet() bool
- func (v NullableOCRResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOCRResponse) Set(val *OCRResponse)
- func (v *NullableOCRResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOCRResponse) Unset()
- type NullableOCRResult
- type NullableOCRSettingsDetectRegions
- func (v NullableOCRSettingsDetectRegions) Get() *OCRSettingsDetectRegions
- func (v NullableOCRSettingsDetectRegions) IsSet() bool
- func (v NullableOCRSettingsDetectRegions) MarshalJSON() ([]byte, error)
- func (v *NullableOCRSettingsDetectRegions) Set(val *OCRSettingsDetectRegions)
- func (v *NullableOCRSettingsDetectRegions) UnmarshalJSON(src []byte) error
- func (v *NullableOCRSettingsDetectRegions) Unset()
- type NullableOCRSettingsDjVu2PDF
- func (v NullableOCRSettingsDjVu2PDF) Get() *OCRSettingsDjVu2PDF
- func (v NullableOCRSettingsDjVu2PDF) IsSet() bool
- func (v NullableOCRSettingsDjVu2PDF) MarshalJSON() ([]byte, error)
- func (v *NullableOCRSettingsDjVu2PDF) Set(val *OCRSettingsDjVu2PDF)
- func (v *NullableOCRSettingsDjVu2PDF) UnmarshalJSON(src []byte) error
- func (v *NullableOCRSettingsDjVu2PDF) Unset()
- type NullableOCRSettingsRecognizeAndParseInvoice
- func (v NullableOCRSettingsRecognizeAndParseInvoice) Get() *OCRSettingsRecognizeAndParseInvoice
- func (v NullableOCRSettingsRecognizeAndParseInvoice) IsSet() bool
- func (v NullableOCRSettingsRecognizeAndParseInvoice) MarshalJSON() ([]byte, error)
- func (v *NullableOCRSettingsRecognizeAndParseInvoice) Set(val *OCRSettingsRecognizeAndParseInvoice)
- func (v *NullableOCRSettingsRecognizeAndParseInvoice) UnmarshalJSON(src []byte) error
- func (v *NullableOCRSettingsRecognizeAndParseInvoice) Unset()
- type NullableOCRSettingsRecognizeFont
- func (v NullableOCRSettingsRecognizeFont) Get() *OCRSettingsRecognizeFont
- func (v NullableOCRSettingsRecognizeFont) IsSet() bool
- func (v NullableOCRSettingsRecognizeFont) MarshalJSON() ([]byte, error)
- func (v *NullableOCRSettingsRecognizeFont) Set(val *OCRSettingsRecognizeFont)
- func (v *NullableOCRSettingsRecognizeFont) UnmarshalJSON(src []byte) error
- func (v *NullableOCRSettingsRecognizeFont) Unset()
- type NullableOCRSettingsRecognizeImage
- func (v NullableOCRSettingsRecognizeImage) Get() *OCRSettingsRecognizeImage
- func (v NullableOCRSettingsRecognizeImage) IsSet() bool
- func (v NullableOCRSettingsRecognizeImage) MarshalJSON() ([]byte, error)
- func (v *NullableOCRSettingsRecognizeImage) Set(val *OCRSettingsRecognizeImage)
- func (v *NullableOCRSettingsRecognizeImage) UnmarshalJSON(src []byte) error
- func (v *NullableOCRSettingsRecognizeImage) Unset()
- type NullableOCRSettingsRecognizeLabel
- func (v NullableOCRSettingsRecognizeLabel) Get() *OCRSettingsRecognizeLabel
- func (v NullableOCRSettingsRecognizeLabel) IsSet() bool
- func (v NullableOCRSettingsRecognizeLabel) MarshalJSON() ([]byte, error)
- func (v *NullableOCRSettingsRecognizeLabel) Set(val *OCRSettingsRecognizeLabel)
- func (v *NullableOCRSettingsRecognizeLabel) UnmarshalJSON(src []byte) error
- func (v *NullableOCRSettingsRecognizeLabel) Unset()
- type NullableOCRSettingsRecognizePdf
- func (v NullableOCRSettingsRecognizePdf) Get() *OCRSettingsRecognizePdf
- func (v NullableOCRSettingsRecognizePdf) IsSet() bool
- func (v NullableOCRSettingsRecognizePdf) MarshalJSON() ([]byte, error)
- func (v *NullableOCRSettingsRecognizePdf) Set(val *OCRSettingsRecognizePdf)
- func (v *NullableOCRSettingsRecognizePdf) UnmarshalJSON(src []byte) error
- func (v *NullableOCRSettingsRecognizePdf) Unset()
- type NullableOCRSettingsRecognizeReceipt
- func (v NullableOCRSettingsRecognizeReceipt) Get() *OCRSettingsRecognizeReceipt
- func (v NullableOCRSettingsRecognizeReceipt) IsSet() bool
- func (v NullableOCRSettingsRecognizeReceipt) MarshalJSON() ([]byte, error)
- func (v *NullableOCRSettingsRecognizeReceipt) Set(val *OCRSettingsRecognizeReceipt)
- func (v *NullableOCRSettingsRecognizeReceipt) UnmarshalJSON(src []byte) error
- func (v *NullableOCRSettingsRecognizeReceipt) Unset()
- type NullableOCRSettingsRecognizeRegions
- func (v NullableOCRSettingsRecognizeRegions) Get() *OCRSettingsRecognizeRegions
- func (v NullableOCRSettingsRecognizeRegions) IsSet() bool
- func (v NullableOCRSettingsRecognizeRegions) MarshalJSON() ([]byte, error)
- func (v *NullableOCRSettingsRecognizeRegions) Set(val *OCRSettingsRecognizeRegions)
- func (v *NullableOCRSettingsRecognizeRegions) UnmarshalJSON(src []byte) error
- func (v *NullableOCRSettingsRecognizeRegions) Unset()
- type NullableOCRSettingsRecognizeTable
- func (v NullableOCRSettingsRecognizeTable) Get() *OCRSettingsRecognizeTable
- func (v NullableOCRSettingsRecognizeTable) IsSet() bool
- func (v NullableOCRSettingsRecognizeTable) MarshalJSON() ([]byte, error)
- func (v *NullableOCRSettingsRecognizeTable) Set(val *OCRSettingsRecognizeTable)
- func (v *NullableOCRSettingsRecognizeTable) UnmarshalJSON(src []byte) error
- func (v *NullableOCRSettingsRecognizeTable) Unset()
- type NullableOCRTaskStatus
- func (v NullableOCRTaskStatus) Get() *OCRTaskStatus
- func (v NullableOCRTaskStatus) IsSet() bool
- func (v NullableOCRTaskStatus) MarshalJSON() ([]byte, error)
- func (v *NullableOCRTaskStatus) Set(val *OCRTaskStatus)
- func (v *NullableOCRTaskStatus) UnmarshalJSON(src []byte) error
- func (v *NullableOCRTaskStatus) Unset()
- type NullableOCRUpscaleImageBody
- func (v NullableOCRUpscaleImageBody) Get() *OCRUpscaleImageBody
- func (v NullableOCRUpscaleImageBody) IsSet() bool
- func (v NullableOCRUpscaleImageBody) MarshalJSON() ([]byte, error)
- func (v *NullableOCRUpscaleImageBody) Set(val *OCRUpscaleImageBody)
- func (v *NullableOCRUpscaleImageBody) UnmarshalJSON(src []byte) error
- func (v *NullableOCRUpscaleImageBody) Unset()
- type NullablePostUpsamplingFileRequest
- func (v NullablePostUpsamplingFileRequest) Get() *PostUpsamplingFileRequest
- func (v NullablePostUpsamplingFileRequest) IsSet() bool
- func (v NullablePostUpsamplingFileRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePostUpsamplingFileRequest) Set(val *PostUpsamplingFileRequest)
- func (v *NullablePostUpsamplingFileRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePostUpsamplingFileRequest) Unset()
- type NullableProblemDetails
- func (v NullableProblemDetails) Get() *ProblemDetails
- func (v NullableProblemDetails) IsSet() bool
- func (v NullableProblemDetails) MarshalJSON() ([]byte, error)
- func (v *NullableProblemDetails) Set(val *ProblemDetails)
- func (v *NullableProblemDetails) UnmarshalJSON(src []byte) error
- func (v *NullableProblemDetails) Unset()
- type NullableResponseStatusCode
- func (v NullableResponseStatusCode) Get() *ResponseStatusCode
- func (v NullableResponseStatusCode) IsSet() bool
- func (v NullableResponseStatusCode) MarshalJSON() ([]byte, error)
- func (v *NullableResponseStatusCode) Set(val *ResponseStatusCode)
- func (v *NullableResponseStatusCode) UnmarshalJSON(src []byte) error
- func (v *NullableResponseStatusCode) Unset()
- type NullableResultType
- type NullableResultTypeTTS
- func (v NullableResultTypeTTS) Get() *ResultTypeTTS
- func (v NullableResultTypeTTS) IsSet() bool
- func (v NullableResultTypeTTS) MarshalJSON() ([]byte, error)
- func (v *NullableResultTypeTTS) Set(val *ResultTypeTTS)
- func (v *NullableResultTypeTTS) UnmarshalJSON(src []byte) error
- func (v *NullableResultTypeTTS) Unset()
- type NullableResultTypeTable
- func (v NullableResultTypeTable) Get() *ResultTypeTable
- func (v NullableResultTypeTable) IsSet() bool
- func (v NullableResultTypeTable) MarshalJSON() ([]byte, error)
- func (v *NullableResultTypeTable) Set(val *ResultTypeTable)
- func (v *NullableResultTypeTable) UnmarshalJSON(src []byte) error
- func (v *NullableResultTypeTable) Unset()
- type NullableString
- type NullableTTSBody
- type NullableTTSBodyDeprecated
- func (v NullableTTSBodyDeprecated) Get() *TTSBodyDeprecated
- func (v NullableTTSBodyDeprecated) IsSet() bool
- func (v NullableTTSBodyDeprecated) MarshalJSON() ([]byte, error)
- func (v *NullableTTSBodyDeprecated) Set(val *TTSBodyDeprecated)
- func (v *NullableTTSBodyDeprecated) UnmarshalJSON(src []byte) error
- func (v *NullableTTSBodyDeprecated) Unset()
- type NullableTTSError
- type NullableTTSResponse
- func (v NullableTTSResponse) Get() *TTSResponse
- func (v NullableTTSResponse) IsSet() bool
- func (v NullableTTSResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTTSResponse) Set(val *TTSResponse)
- func (v *NullableTTSResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTTSResponse) Unset()
- type NullableTTSResult
- type NullableTTSSettings
- func (v NullableTTSSettings) Get() *TTSSettings
- func (v NullableTTSSettings) IsSet() bool
- func (v NullableTTSSettings) MarshalJSON() ([]byte, error)
- func (v *NullableTTSSettings) Set(val *TTSSettings)
- func (v *NullableTTSSettings) UnmarshalJSON(src []byte) error
- func (v *NullableTTSSettings) Unset()
- type NullableTTSTaskStatus
- func (v NullableTTSTaskStatus) Get() *TTSTaskStatus
- func (v NullableTTSTaskStatus) IsSet() bool
- func (v NullableTTSTaskStatus) MarshalJSON() ([]byte, error)
- func (v *NullableTTSTaskStatus) Set(val *TTSTaskStatus)
- func (v *NullableTTSTaskStatus) UnmarshalJSON(src []byte) error
- func (v *NullableTTSTaskStatus) Unset()
- type NullableTime
- type OCRBinarizeImageBody
- type OCRDeskewImageBody
- type OCRDetectRegionsBody
- func (o *OCRDetectRegionsBody) GetImage() string
- func (o *OCRDetectRegionsBody) GetImageOk() (*string, bool)
- func (o *OCRDetectRegionsBody) GetSettings() OCRSettingsDetectRegions
- func (o *OCRDetectRegionsBody) GetSettingsOk() (*OCRSettingsDetectRegions, bool)
- func (o OCRDetectRegionsBody) MarshalJSON() ([]byte, error)
- func (o *OCRDetectRegionsBody) SetImage(v string)
- func (o *OCRDetectRegionsBody) SetSettings(v OCRSettingsDetectRegions)
- func (o OCRDetectRegionsBody) ToMap() (map[string]interface{}, error)
- type OCRDewarpImageBody
- type OCRDjVu2PDFBody
- func (o *OCRDjVu2PDFBody) GetImage() string
- func (o *OCRDjVu2PDFBody) GetImageOk() (*string, bool)
- func (o *OCRDjVu2PDFBody) GetSettings() OCRSettingsDjVu2PDF
- func (o *OCRDjVu2PDFBody) GetSettingsOk() (*OCRSettingsDjVu2PDF, bool)
- func (o OCRDjVu2PDFBody) MarshalJSON() ([]byte, error)
- func (o *OCRDjVu2PDFBody) SetImage(v string)
- func (o *OCRDjVu2PDFBody) SetSettings(v OCRSettingsDjVu2PDF)
- func (o OCRDjVu2PDFBody) ToMap() (map[string]interface{}, error)
- type OCRError
- func (o *OCRError) GetMessages() []string
- func (o *OCRError) GetMessagesOk() ([]string, bool)
- func (o *OCRError) GetWarnings() []string
- func (o *OCRError) GetWarningsOk() ([]string, bool)
- func (o *OCRError) HasMessages() bool
- func (o *OCRError) HasWarnings() bool
- func (o OCRError) MarshalJSON() ([]byte, error)
- func (o *OCRError) SetMessages(v []string)
- func (o *OCRError) SetWarnings(v []string)
- func (o OCRError) ToMap() (map[string]interface{}, error)
- type OCRRecognizeAndParseInvoiceBody
- func (o *OCRRecognizeAndParseInvoiceBody) GetImage() string
- func (o *OCRRecognizeAndParseInvoiceBody) GetImageOk() (*string, bool)
- func (o *OCRRecognizeAndParseInvoiceBody) GetSettings() OCRSettingsRecognizeAndParseInvoice
- func (o *OCRRecognizeAndParseInvoiceBody) GetSettingsOk() (*OCRSettingsRecognizeAndParseInvoice, bool)
- func (o OCRRecognizeAndParseInvoiceBody) MarshalJSON() ([]byte, error)
- func (o *OCRRecognizeAndParseInvoiceBody) SetImage(v string)
- func (o *OCRRecognizeAndParseInvoiceBody) SetSettings(v OCRSettingsRecognizeAndParseInvoice)
- func (o OCRRecognizeAndParseInvoiceBody) ToMap() (map[string]interface{}, error)
- type OCRRecognizeFontBody
- func (o *OCRRecognizeFontBody) GetImage() string
- func (o *OCRRecognizeFontBody) GetImageOk() (*string, bool)
- func (o *OCRRecognizeFontBody) GetSettings() OCRSettingsRecognizeFont
- func (o *OCRRecognizeFontBody) GetSettingsOk() (*OCRSettingsRecognizeFont, bool)
- func (o OCRRecognizeFontBody) MarshalJSON() ([]byte, error)
- func (o *OCRRecognizeFontBody) SetImage(v string)
- func (o *OCRRecognizeFontBody) SetSettings(v OCRSettingsRecognizeFont)
- func (o OCRRecognizeFontBody) ToMap() (map[string]interface{}, error)
- type OCRRecognizeImageBody
- func (o *OCRRecognizeImageBody) GetImage() string
- func (o *OCRRecognizeImageBody) GetImageOk() (*string, bool)
- func (o *OCRRecognizeImageBody) GetSettings() OCRSettingsRecognizeImage
- func (o *OCRRecognizeImageBody) GetSettingsOk() (*OCRSettingsRecognizeImage, bool)
- func (o OCRRecognizeImageBody) MarshalJSON() ([]byte, error)
- func (o *OCRRecognizeImageBody) SetImage(v string)
- func (o *OCRRecognizeImageBody) SetSettings(v OCRSettingsRecognizeImage)
- func (o OCRRecognizeImageBody) ToMap() (map[string]interface{}, error)
- type OCRRecognizeLabelBody
- func (o *OCRRecognizeLabelBody) GetImage() string
- func (o *OCRRecognizeLabelBody) GetImageOk() (*string, bool)
- func (o *OCRRecognizeLabelBody) GetSettings() OCRSettingsRecognizeLabel
- func (o *OCRRecognizeLabelBody) GetSettingsOk() (*OCRSettingsRecognizeLabel, bool)
- func (o OCRRecognizeLabelBody) MarshalJSON() ([]byte, error)
- func (o *OCRRecognizeLabelBody) SetImage(v string)
- func (o *OCRRecognizeLabelBody) SetSettings(v OCRSettingsRecognizeLabel)
- func (o OCRRecognizeLabelBody) ToMap() (map[string]interface{}, error)
- type OCRRecognizePdfBody
- func (o *OCRRecognizePdfBody) GetImage() string
- func (o *OCRRecognizePdfBody) GetImageOk() (*string, bool)
- func (o *OCRRecognizePdfBody) GetSettings() OCRSettingsRecognizePdf
- func (o *OCRRecognizePdfBody) GetSettingsOk() (*OCRSettingsRecognizePdf, bool)
- func (o OCRRecognizePdfBody) MarshalJSON() ([]byte, error)
- func (o *OCRRecognizePdfBody) SetImage(v string)
- func (o *OCRRecognizePdfBody) SetSettings(v OCRSettingsRecognizePdf)
- func (o OCRRecognizePdfBody) ToMap() (map[string]interface{}, error)
- type OCRRecognizeReceiptBody
- func (o *OCRRecognizeReceiptBody) GetImage() string
- func (o *OCRRecognizeReceiptBody) GetImageOk() (*string, bool)
- func (o *OCRRecognizeReceiptBody) GetSettings() OCRSettingsRecognizeReceipt
- func (o *OCRRecognizeReceiptBody) GetSettingsOk() (*OCRSettingsRecognizeReceipt, bool)
- func (o OCRRecognizeReceiptBody) MarshalJSON() ([]byte, error)
- func (o *OCRRecognizeReceiptBody) SetImage(v string)
- func (o *OCRRecognizeReceiptBody) SetSettings(v OCRSettingsRecognizeReceipt)
- func (o OCRRecognizeReceiptBody) ToMap() (map[string]interface{}, error)
- type OCRRecognizeRegionsBody
- func (o *OCRRecognizeRegionsBody) GetImage() string
- func (o *OCRRecognizeRegionsBody) GetImageOk() (*string, bool)
- func (o *OCRRecognizeRegionsBody) GetSettings() OCRSettingsRecognizeRegions
- func (o *OCRRecognizeRegionsBody) GetSettingsOk() (*OCRSettingsRecognizeRegions, bool)
- func (o OCRRecognizeRegionsBody) MarshalJSON() ([]byte, error)
- func (o *OCRRecognizeRegionsBody) SetImage(v string)
- func (o *OCRRecognizeRegionsBody) SetSettings(v OCRSettingsRecognizeRegions)
- func (o OCRRecognizeRegionsBody) ToMap() (map[string]interface{}, error)
- type OCRRecognizeTableBody
- func (o *OCRRecognizeTableBody) GetImage() string
- func (o *OCRRecognizeTableBody) GetImageOk() (*string, bool)
- func (o *OCRRecognizeTableBody) GetSettings() OCRSettingsRecognizeTable
- func (o *OCRRecognizeTableBody) GetSettingsOk() (*OCRSettingsRecognizeTable, bool)
- func (o OCRRecognizeTableBody) MarshalJSON() ([]byte, error)
- func (o *OCRRecognizeTableBody) SetImage(v string)
- func (o *OCRRecognizeTableBody) SetSettings(v OCRSettingsRecognizeTable)
- func (o OCRRecognizeTableBody) ToMap() (map[string]interface{}, error)
- type OCRRect
- func (o *OCRRect) GetBottomRightX() int32
- func (o *OCRRect) GetBottomRightXOk() (*int32, bool)
- func (o *OCRRect) GetBottomRightY() int32
- func (o *OCRRect) GetBottomRightYOk() (*int32, bool)
- func (o *OCRRect) GetTopLeftX() int32
- func (o *OCRRect) GetTopLeftXOk() (*int32, bool)
- func (o *OCRRect) GetTopLeftY() int32
- func (o *OCRRect) GetTopLeftYOk() (*int32, bool)
- func (o *OCRRect) HasBottomRightX() bool
- func (o *OCRRect) HasBottomRightY() bool
- func (o *OCRRect) HasTopLeftX() bool
- func (o *OCRRect) HasTopLeftY() bool
- func (o OCRRect) MarshalJSON() ([]byte, error)
- func (o *OCRRect) SetBottomRightX(v int32)
- func (o *OCRRect) SetBottomRightY(v int32)
- func (o *OCRRect) SetTopLeftX(v int32)
- func (o *OCRRect) SetTopLeftY(v int32)
- func (o OCRRect) ToMap() (map[string]interface{}, error)
- type OCRRegion
- func (o *OCRRegion) GetOrder() int32
- func (o *OCRRegion) GetOrderOk() (*int32, bool)
- func (o *OCRRegion) GetRect() OCRRect
- func (o *OCRRegion) GetRectOk() (*OCRRect, bool)
- func (o *OCRRegion) HasOrder() bool
- func (o *OCRRegion) HasRect() bool
- func (o OCRRegion) MarshalJSON() ([]byte, error)
- func (o *OCRRegion) SetOrder(v int32)
- func (o *OCRRegion) SetRect(v OCRRect)
- func (o OCRRegion) ToMap() (map[string]interface{}, error)
- type OCRResponse
- func (o *OCRResponse) GetError() OCRError
- func (o *OCRResponse) GetErrorOk() (*OCRError, bool)
- func (o *OCRResponse) GetId() string
- func (o *OCRResponse) GetIdOk() (*string, bool)
- func (o *OCRResponse) GetResponseStatusCode() ResponseStatusCode
- func (o *OCRResponse) GetResponseStatusCodeOk() (*ResponseStatusCode, bool)
- func (o *OCRResponse) GetResults() []OCRResult
- func (o *OCRResponse) GetResultsOk() ([]OCRResult, bool)
- func (o *OCRResponse) GetTaskStatus() OCRTaskStatus
- func (o *OCRResponse) GetTaskStatusOk() (*OCRTaskStatus, bool)
- func (o *OCRResponse) HasError() bool
- func (o *OCRResponse) HasId() bool
- func (o *OCRResponse) HasResponseStatusCode() bool
- func (o *OCRResponse) HasResults() bool
- func (o *OCRResponse) HasTaskStatus() bool
- func (o OCRResponse) MarshalJSON() ([]byte, error)
- func (o *OCRResponse) SetError(v OCRError)
- func (o *OCRResponse) SetErrorNil()
- func (o *OCRResponse) SetId(v string)
- func (o *OCRResponse) SetIdNil()
- func (o *OCRResponse) SetResponseStatusCode(v ResponseStatusCode)
- func (o *OCRResponse) SetResults(v []OCRResult)
- func (o *OCRResponse) SetTaskStatus(v OCRTaskStatus)
- func (o OCRResponse) ToMap() (map[string]interface{}, error)
- func (o *OCRResponse) UnsetError()
- func (o *OCRResponse) UnsetId()
- type OCRResult
- func (o *OCRResult) GetData() string
- func (o *OCRResult) GetDataOk() (*string, bool)
- func (o *OCRResult) GetType() string
- func (o *OCRResult) GetTypeOk() (*string, bool)
- func (o *OCRResult) HasData() bool
- func (o *OCRResult) HasType() bool
- func (o OCRResult) MarshalJSON() ([]byte, error)
- func (o *OCRResult) SetData(v string)
- func (o *OCRResult) SetDataNil()
- func (o *OCRResult) SetType(v string)
- func (o *OCRResult) SetTypeNil()
- func (o OCRResult) ToMap() (map[string]interface{}, error)
- func (o *OCRResult) UnsetData()
- func (o *OCRResult) UnsetType()
- type OCRSettingsDetectRegions
- func (o *OCRSettingsDetectRegions) GetDsrConfidence() DsrConfidence
- func (o *OCRSettingsDetectRegions) GetDsrConfidenceOk() (*DsrConfidence, bool)
- func (o *OCRSettingsDetectRegions) GetDsrMode() DsrMode
- func (o *OCRSettingsDetectRegions) GetDsrModeOk() (*DsrMode, bool)
- func (o *OCRSettingsDetectRegions) GetLanguage() Language
- func (o *OCRSettingsDetectRegions) GetLanguageOk() (*Language, bool)
- func (o *OCRSettingsDetectRegions) GetMakeBinarization() bool
- func (o *OCRSettingsDetectRegions) GetMakeBinarizationOk() (*bool, bool)
- func (o *OCRSettingsDetectRegions) GetMakeContrastCorrection() bool
- func (o *OCRSettingsDetectRegions) GetMakeContrastCorrectionOk() (*bool, bool)
- func (o *OCRSettingsDetectRegions) GetMakeSkewCorrect() bool
- func (o *OCRSettingsDetectRegions) GetMakeSkewCorrectOk() (*bool, bool)
- func (o *OCRSettingsDetectRegions) GetMakeSpellCheck() bool
- func (o *OCRSettingsDetectRegions) GetMakeSpellCheckOk() (*bool, bool)
- func (o *OCRSettingsDetectRegions) GetMakeUpsampling() bool
- func (o *OCRSettingsDetectRegions) GetMakeUpsamplingOk() (*bool, bool)
- func (o *OCRSettingsDetectRegions) GetRegions() []OCRRegion
- func (o *OCRSettingsDetectRegions) GetRegionsOk() ([]OCRRegion, bool)
- func (o *OCRSettingsDetectRegions) GetResultType() ResultType
- func (o *OCRSettingsDetectRegions) GetResultTypeOk() (*ResultType, bool)
- func (o *OCRSettingsDetectRegions) GetResultTypeTable() ResultTypeTable
- func (o *OCRSettingsDetectRegions) GetResultTypeTableOk() (*ResultTypeTable, bool)
- func (o *OCRSettingsDetectRegions) GetRotate() int32
- func (o *OCRSettingsDetectRegions) GetRotateOk() (*int32, bool)
- func (o *OCRSettingsDetectRegions) HasDsrConfidence() bool
- func (o *OCRSettingsDetectRegions) HasDsrMode() bool
- func (o *OCRSettingsDetectRegions) HasLanguage() bool
- func (o *OCRSettingsDetectRegions) HasMakeBinarization() bool
- func (o *OCRSettingsDetectRegions) HasMakeContrastCorrection() bool
- func (o *OCRSettingsDetectRegions) HasMakeSkewCorrect() bool
- func (o *OCRSettingsDetectRegions) HasMakeSpellCheck() bool
- func (o *OCRSettingsDetectRegions) HasMakeUpsampling() bool
- func (o *OCRSettingsDetectRegions) HasRegions() bool
- func (o *OCRSettingsDetectRegions) HasResultType() bool
- func (o *OCRSettingsDetectRegions) HasResultTypeTable() bool
- func (o *OCRSettingsDetectRegions) HasRotate() bool
- func (o OCRSettingsDetectRegions) MarshalJSON() ([]byte, error)
- func (o *OCRSettingsDetectRegions) SetDsrConfidence(v DsrConfidence)
- func (o *OCRSettingsDetectRegions) SetDsrMode(v DsrMode)
- func (o *OCRSettingsDetectRegions) SetLanguage(v Language)
- func (o *OCRSettingsDetectRegions) SetMakeBinarization(v bool)
- func (o *OCRSettingsDetectRegions) SetMakeContrastCorrection(v bool)
- func (o *OCRSettingsDetectRegions) SetMakeSkewCorrect(v bool)
- func (o *OCRSettingsDetectRegions) SetMakeSpellCheck(v bool)
- func (o *OCRSettingsDetectRegions) SetMakeUpsampling(v bool)
- func (o *OCRSettingsDetectRegions) SetRegions(v []OCRRegion)
- func (o *OCRSettingsDetectRegions) SetResultType(v ResultType)
- func (o *OCRSettingsDetectRegions) SetResultTypeTable(v ResultTypeTable)
- func (o *OCRSettingsDetectRegions) SetRotate(v int32)
- func (o OCRSettingsDetectRegions) ToMap() (map[string]interface{}, error)
- type OCRSettingsDjVu2PDF
- func (o *OCRSettingsDjVu2PDF) GetDsrConfidence() DsrConfidence
- func (o *OCRSettingsDjVu2PDF) GetDsrConfidenceOk() (*DsrConfidence, bool)
- func (o *OCRSettingsDjVu2PDF) GetDsrMode() DsrMode
- func (o *OCRSettingsDjVu2PDF) GetDsrModeOk() (*DsrMode, bool)
- func (o *OCRSettingsDjVu2PDF) GetLanguage() Language
- func (o *OCRSettingsDjVu2PDF) GetLanguageOk() (*Language, bool)
- func (o *OCRSettingsDjVu2PDF) GetMakeBinarization() bool
- func (o *OCRSettingsDjVu2PDF) GetMakeBinarizationOk() (*bool, bool)
- func (o *OCRSettingsDjVu2PDF) GetMakeContrastCorrection() bool
- func (o *OCRSettingsDjVu2PDF) GetMakeContrastCorrectionOk() (*bool, bool)
- func (o *OCRSettingsDjVu2PDF) GetMakeSkewCorrect() bool
- func (o *OCRSettingsDjVu2PDF) GetMakeSkewCorrectOk() (*bool, bool)
- func (o *OCRSettingsDjVu2PDF) GetMakeSpellCheck() bool
- func (o *OCRSettingsDjVu2PDF) GetMakeSpellCheckOk() (*bool, bool)
- func (o *OCRSettingsDjVu2PDF) GetMakeUpsampling() bool
- func (o *OCRSettingsDjVu2PDF) GetMakeUpsamplingOk() (*bool, bool)
- func (o *OCRSettingsDjVu2PDF) GetRegions() []OCRRegion
- func (o *OCRSettingsDjVu2PDF) GetRegionsOk() ([]OCRRegion, bool)
- func (o *OCRSettingsDjVu2PDF) GetResultType() ResultType
- func (o *OCRSettingsDjVu2PDF) GetResultTypeOk() (*ResultType, bool)
- func (o *OCRSettingsDjVu2PDF) GetResultTypeTable() ResultTypeTable
- func (o *OCRSettingsDjVu2PDF) GetResultTypeTableOk() (*ResultTypeTable, bool)
- func (o *OCRSettingsDjVu2PDF) GetRotate() int32
- func (o *OCRSettingsDjVu2PDF) GetRotateOk() (*int32, bool)
- func (o *OCRSettingsDjVu2PDF) HasDsrConfidence() bool
- func (o *OCRSettingsDjVu2PDF) HasDsrMode() bool
- func (o *OCRSettingsDjVu2PDF) HasLanguage() bool
- func (o *OCRSettingsDjVu2PDF) HasMakeBinarization() bool
- func (o *OCRSettingsDjVu2PDF) HasMakeContrastCorrection() bool
- func (o *OCRSettingsDjVu2PDF) HasMakeSkewCorrect() bool
- func (o *OCRSettingsDjVu2PDF) HasMakeSpellCheck() bool
- func (o *OCRSettingsDjVu2PDF) HasMakeUpsampling() bool
- func (o *OCRSettingsDjVu2PDF) HasRegions() bool
- func (o *OCRSettingsDjVu2PDF) HasResultType() bool
- func (o *OCRSettingsDjVu2PDF) HasResultTypeTable() bool
- func (o *OCRSettingsDjVu2PDF) HasRotate() bool
- func (o OCRSettingsDjVu2PDF) MarshalJSON() ([]byte, error)
- func (o *OCRSettingsDjVu2PDF) SetDsrConfidence(v DsrConfidence)
- func (o *OCRSettingsDjVu2PDF) SetDsrMode(v DsrMode)
- func (o *OCRSettingsDjVu2PDF) SetLanguage(v Language)
- func (o *OCRSettingsDjVu2PDF) SetMakeBinarization(v bool)
- func (o *OCRSettingsDjVu2PDF) SetMakeContrastCorrection(v bool)
- func (o *OCRSettingsDjVu2PDF) SetMakeSkewCorrect(v bool)
- func (o *OCRSettingsDjVu2PDF) SetMakeSpellCheck(v bool)
- func (o *OCRSettingsDjVu2PDF) SetMakeUpsampling(v bool)
- func (o *OCRSettingsDjVu2PDF) SetRegions(v []OCRRegion)
- func (o *OCRSettingsDjVu2PDF) SetResultType(v ResultType)
- func (o *OCRSettingsDjVu2PDF) SetResultTypeTable(v ResultTypeTable)
- func (o *OCRSettingsDjVu2PDF) SetRotate(v int32)
- func (o OCRSettingsDjVu2PDF) ToMap() (map[string]interface{}, error)
- type OCRSettingsRecognizeAndParseInvoice
- func (o *OCRSettingsRecognizeAndParseInvoice) GetDsrConfidence() DsrConfidence
- func (o *OCRSettingsRecognizeAndParseInvoice) GetDsrConfidenceOk() (*DsrConfidence, bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) GetDsrMode() DsrMode
- func (o *OCRSettingsRecognizeAndParseInvoice) GetDsrModeOk() (*DsrMode, bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) GetLanguage() Language
- func (o *OCRSettingsRecognizeAndParseInvoice) GetLanguageOk() (*Language, bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeBinarization() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeBinarizationOk() (*bool, bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeContrastCorrectionOk() (*bool, bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeSkewCorrectOk() (*bool, bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeSpellCheckOk() (*bool, bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeUpsampling() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeUpsamplingOk() (*bool, bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) GetRegions() []OCRRegion
- func (o *OCRSettingsRecognizeAndParseInvoice) GetRegionsOk() ([]OCRRegion, bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) GetResultType() ResultType
- func (o *OCRSettingsRecognizeAndParseInvoice) GetResultTypeOk() (*ResultType, bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) GetResultTypeTable() ResultTypeTable
- func (o *OCRSettingsRecognizeAndParseInvoice) GetResultTypeTableOk() (*ResultTypeTable, bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) GetRotate() int32
- func (o *OCRSettingsRecognizeAndParseInvoice) GetRotateOk() (*int32, bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) HasDsrConfidence() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) HasDsrMode() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) HasLanguage() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) HasMakeBinarization() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) HasMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) HasMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) HasMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) HasMakeUpsampling() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) HasRegions() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) HasResultType() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) HasResultTypeTable() bool
- func (o *OCRSettingsRecognizeAndParseInvoice) HasRotate() bool
- func (o OCRSettingsRecognizeAndParseInvoice) MarshalJSON() ([]byte, error)
- func (o *OCRSettingsRecognizeAndParseInvoice) SetDsrConfidence(v DsrConfidence)
- func (o *OCRSettingsRecognizeAndParseInvoice) SetDsrMode(v DsrMode)
- func (o *OCRSettingsRecognizeAndParseInvoice) SetLanguage(v Language)
- func (o *OCRSettingsRecognizeAndParseInvoice) SetMakeBinarization(v bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) SetMakeContrastCorrection(v bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) SetMakeSkewCorrect(v bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) SetMakeSpellCheck(v bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) SetMakeUpsampling(v bool)
- func (o *OCRSettingsRecognizeAndParseInvoice) SetRegions(v []OCRRegion)
- func (o *OCRSettingsRecognizeAndParseInvoice) SetResultType(v ResultType)
- func (o *OCRSettingsRecognizeAndParseInvoice) SetResultTypeTable(v ResultTypeTable)
- func (o *OCRSettingsRecognizeAndParseInvoice) SetRotate(v int32)
- func (o OCRSettingsRecognizeAndParseInvoice) ToMap() (map[string]interface{}, error)
- type OCRSettingsRecognizeFont
- func (o *OCRSettingsRecognizeFont) GetDsrConfidence() DsrConfidence
- func (o *OCRSettingsRecognizeFont) GetDsrConfidenceOk() (*DsrConfidence, bool)
- func (o *OCRSettingsRecognizeFont) GetDsrMode() DsrMode
- func (o *OCRSettingsRecognizeFont) GetDsrModeOk() (*DsrMode, bool)
- func (o *OCRSettingsRecognizeFont) GetLanguage() Language
- func (o *OCRSettingsRecognizeFont) GetLanguageOk() (*Language, bool)
- func (o *OCRSettingsRecognizeFont) GetMakeBinarization() bool
- func (o *OCRSettingsRecognizeFont) GetMakeBinarizationOk() (*bool, bool)
- func (o *OCRSettingsRecognizeFont) GetMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeFont) GetMakeContrastCorrectionOk() (*bool, bool)
- func (o *OCRSettingsRecognizeFont) GetMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeFont) GetMakeSkewCorrectOk() (*bool, bool)
- func (o *OCRSettingsRecognizeFont) GetMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeFont) GetMakeSpellCheckOk() (*bool, bool)
- func (o *OCRSettingsRecognizeFont) GetMakeUpsampling() bool
- func (o *OCRSettingsRecognizeFont) GetMakeUpsamplingOk() (*bool, bool)
- func (o *OCRSettingsRecognizeFont) GetRegions() []OCRRegion
- func (o *OCRSettingsRecognizeFont) GetRegionsOk() ([]OCRRegion, bool)
- func (o *OCRSettingsRecognizeFont) GetResultType() ResultType
- func (o *OCRSettingsRecognizeFont) GetResultTypeOk() (*ResultType, bool)
- func (o *OCRSettingsRecognizeFont) GetResultTypeTable() ResultTypeTable
- func (o *OCRSettingsRecognizeFont) GetResultTypeTableOk() (*ResultTypeTable, bool)
- func (o *OCRSettingsRecognizeFont) GetRotate() int32
- func (o *OCRSettingsRecognizeFont) GetRotateOk() (*int32, bool)
- func (o *OCRSettingsRecognizeFont) HasDsrConfidence() bool
- func (o *OCRSettingsRecognizeFont) HasDsrMode() bool
- func (o *OCRSettingsRecognizeFont) HasLanguage() bool
- func (o *OCRSettingsRecognizeFont) HasMakeBinarization() bool
- func (o *OCRSettingsRecognizeFont) HasMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeFont) HasMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeFont) HasMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeFont) HasMakeUpsampling() bool
- func (o *OCRSettingsRecognizeFont) HasRegions() bool
- func (o *OCRSettingsRecognizeFont) HasResultType() bool
- func (o *OCRSettingsRecognizeFont) HasResultTypeTable() bool
- func (o *OCRSettingsRecognizeFont) HasRotate() bool
- func (o OCRSettingsRecognizeFont) MarshalJSON() ([]byte, error)
- func (o *OCRSettingsRecognizeFont) SetDsrConfidence(v DsrConfidence)
- func (o *OCRSettingsRecognizeFont) SetDsrMode(v DsrMode)
- func (o *OCRSettingsRecognizeFont) SetLanguage(v Language)
- func (o *OCRSettingsRecognizeFont) SetMakeBinarization(v bool)
- func (o *OCRSettingsRecognizeFont) SetMakeContrastCorrection(v bool)
- func (o *OCRSettingsRecognizeFont) SetMakeSkewCorrect(v bool)
- func (o *OCRSettingsRecognizeFont) SetMakeSpellCheck(v bool)
- func (o *OCRSettingsRecognizeFont) SetMakeUpsampling(v bool)
- func (o *OCRSettingsRecognizeFont) SetRegions(v []OCRRegion)
- func (o *OCRSettingsRecognizeFont) SetResultType(v ResultType)
- func (o *OCRSettingsRecognizeFont) SetResultTypeTable(v ResultTypeTable)
- func (o *OCRSettingsRecognizeFont) SetRotate(v int32)
- func (o OCRSettingsRecognizeFont) ToMap() (map[string]interface{}, error)
- type OCRSettingsRecognizeImage
- func (o *OCRSettingsRecognizeImage) GetDsrConfidence() DsrConfidence
- func (o *OCRSettingsRecognizeImage) GetDsrConfidenceOk() (*DsrConfidence, bool)
- func (o *OCRSettingsRecognizeImage) GetDsrMode() DsrMode
- func (o *OCRSettingsRecognizeImage) GetDsrModeOk() (*DsrMode, bool)
- func (o *OCRSettingsRecognizeImage) GetLanguage() Language
- func (o *OCRSettingsRecognizeImage) GetLanguageOk() (*Language, bool)
- func (o *OCRSettingsRecognizeImage) GetMakeBinarization() bool
- func (o *OCRSettingsRecognizeImage) GetMakeBinarizationOk() (*bool, bool)
- func (o *OCRSettingsRecognizeImage) GetMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeImage) GetMakeContrastCorrectionOk() (*bool, bool)
- func (o *OCRSettingsRecognizeImage) GetMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeImage) GetMakeSkewCorrectOk() (*bool, bool)
- func (o *OCRSettingsRecognizeImage) GetMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeImage) GetMakeSpellCheckOk() (*bool, bool)
- func (o *OCRSettingsRecognizeImage) GetMakeUpsampling() bool
- func (o *OCRSettingsRecognizeImage) GetMakeUpsamplingOk() (*bool, bool)
- func (o *OCRSettingsRecognizeImage) GetRegions() []OCRRegion
- func (o *OCRSettingsRecognizeImage) GetRegionsOk() ([]OCRRegion, bool)
- func (o *OCRSettingsRecognizeImage) GetResultType() ResultType
- func (o *OCRSettingsRecognizeImage) GetResultTypeOk() (*ResultType, bool)
- func (o *OCRSettingsRecognizeImage) GetResultTypeTable() ResultTypeTable
- func (o *OCRSettingsRecognizeImage) GetResultTypeTableOk() (*ResultTypeTable, bool)
- func (o *OCRSettingsRecognizeImage) GetRotate() int32
- func (o *OCRSettingsRecognizeImage) GetRotateOk() (*int32, bool)
- func (o *OCRSettingsRecognizeImage) HasDsrConfidence() bool
- func (o *OCRSettingsRecognizeImage) HasDsrMode() bool
- func (o *OCRSettingsRecognizeImage) HasLanguage() bool
- func (o *OCRSettingsRecognizeImage) HasMakeBinarization() bool
- func (o *OCRSettingsRecognizeImage) HasMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeImage) HasMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeImage) HasMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeImage) HasMakeUpsampling() bool
- func (o *OCRSettingsRecognizeImage) HasRegions() bool
- func (o *OCRSettingsRecognizeImage) HasResultType() bool
- func (o *OCRSettingsRecognizeImage) HasResultTypeTable() bool
- func (o *OCRSettingsRecognizeImage) HasRotate() bool
- func (o OCRSettingsRecognizeImage) MarshalJSON() ([]byte, error)
- func (o *OCRSettingsRecognizeImage) SetDsrConfidence(v DsrConfidence)
- func (o *OCRSettingsRecognizeImage) SetDsrMode(v DsrMode)
- func (o *OCRSettingsRecognizeImage) SetLanguage(v Language)
- func (o *OCRSettingsRecognizeImage) SetMakeBinarization(v bool)
- func (o *OCRSettingsRecognizeImage) SetMakeContrastCorrection(v bool)
- func (o *OCRSettingsRecognizeImage) SetMakeSkewCorrect(v bool)
- func (o *OCRSettingsRecognizeImage) SetMakeSpellCheck(v bool)
- func (o *OCRSettingsRecognizeImage) SetMakeUpsampling(v bool)
- func (o *OCRSettingsRecognizeImage) SetRegions(v []OCRRegion)
- func (o *OCRSettingsRecognizeImage) SetResultType(v ResultType)
- func (o *OCRSettingsRecognizeImage) SetResultTypeTable(v ResultTypeTable)
- func (o *OCRSettingsRecognizeImage) SetRotate(v int32)
- func (o OCRSettingsRecognizeImage) ToMap() (map[string]interface{}, error)
- type OCRSettingsRecognizeLabel
- func (o *OCRSettingsRecognizeLabel) GetDsrConfidence() DsrConfidence
- func (o *OCRSettingsRecognizeLabel) GetDsrConfidenceOk() (*DsrConfidence, bool)
- func (o *OCRSettingsRecognizeLabel) GetDsrMode() DsrMode
- func (o *OCRSettingsRecognizeLabel) GetDsrModeOk() (*DsrMode, bool)
- func (o *OCRSettingsRecognizeLabel) GetLanguage() Language
- func (o *OCRSettingsRecognizeLabel) GetLanguageOk() (*Language, bool)
- func (o *OCRSettingsRecognizeLabel) GetMakeBinarization() bool
- func (o *OCRSettingsRecognizeLabel) GetMakeBinarizationOk() (*bool, bool)
- func (o *OCRSettingsRecognizeLabel) GetMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeLabel) GetMakeContrastCorrectionOk() (*bool, bool)
- func (o *OCRSettingsRecognizeLabel) GetMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeLabel) GetMakeSkewCorrectOk() (*bool, bool)
- func (o *OCRSettingsRecognizeLabel) GetMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeLabel) GetMakeSpellCheckOk() (*bool, bool)
- func (o *OCRSettingsRecognizeLabel) GetMakeUpsampling() bool
- func (o *OCRSettingsRecognizeLabel) GetMakeUpsamplingOk() (*bool, bool)
- func (o *OCRSettingsRecognizeLabel) GetRegions() []OCRRegion
- func (o *OCRSettingsRecognizeLabel) GetRegionsOk() ([]OCRRegion, bool)
- func (o *OCRSettingsRecognizeLabel) GetResultType() ResultType
- func (o *OCRSettingsRecognizeLabel) GetResultTypeOk() (*ResultType, bool)
- func (o *OCRSettingsRecognizeLabel) GetResultTypeTable() ResultTypeTable
- func (o *OCRSettingsRecognizeLabel) GetResultTypeTableOk() (*ResultTypeTable, bool)
- func (o *OCRSettingsRecognizeLabel) GetRotate() int32
- func (o *OCRSettingsRecognizeLabel) GetRotateOk() (*int32, bool)
- func (o *OCRSettingsRecognizeLabel) HasDsrConfidence() bool
- func (o *OCRSettingsRecognizeLabel) HasDsrMode() bool
- func (o *OCRSettingsRecognizeLabel) HasLanguage() bool
- func (o *OCRSettingsRecognizeLabel) HasMakeBinarization() bool
- func (o *OCRSettingsRecognizeLabel) HasMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeLabel) HasMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeLabel) HasMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeLabel) HasMakeUpsampling() bool
- func (o *OCRSettingsRecognizeLabel) HasRegions() bool
- func (o *OCRSettingsRecognizeLabel) HasResultType() bool
- func (o *OCRSettingsRecognizeLabel) HasResultTypeTable() bool
- func (o *OCRSettingsRecognizeLabel) HasRotate() bool
- func (o OCRSettingsRecognizeLabel) MarshalJSON() ([]byte, error)
- func (o *OCRSettingsRecognizeLabel) SetDsrConfidence(v DsrConfidence)
- func (o *OCRSettingsRecognizeLabel) SetDsrMode(v DsrMode)
- func (o *OCRSettingsRecognizeLabel) SetLanguage(v Language)
- func (o *OCRSettingsRecognizeLabel) SetMakeBinarization(v bool)
- func (o *OCRSettingsRecognizeLabel) SetMakeContrastCorrection(v bool)
- func (o *OCRSettingsRecognizeLabel) SetMakeSkewCorrect(v bool)
- func (o *OCRSettingsRecognizeLabel) SetMakeSpellCheck(v bool)
- func (o *OCRSettingsRecognizeLabel) SetMakeUpsampling(v bool)
- func (o *OCRSettingsRecognizeLabel) SetRegions(v []OCRRegion)
- func (o *OCRSettingsRecognizeLabel) SetResultType(v ResultType)
- func (o *OCRSettingsRecognizeLabel) SetResultTypeTable(v ResultTypeTable)
- func (o *OCRSettingsRecognizeLabel) SetRotate(v int32)
- func (o OCRSettingsRecognizeLabel) ToMap() (map[string]interface{}, error)
- type OCRSettingsRecognizePdf
- func (o *OCRSettingsRecognizePdf) GetDsrConfidence() DsrConfidence
- func (o *OCRSettingsRecognizePdf) GetDsrConfidenceOk() (*DsrConfidence, bool)
- func (o *OCRSettingsRecognizePdf) GetDsrMode() DsrMode
- func (o *OCRSettingsRecognizePdf) GetDsrModeOk() (*DsrMode, bool)
- func (o *OCRSettingsRecognizePdf) GetLanguage() Language
- func (o *OCRSettingsRecognizePdf) GetLanguageOk() (*Language, bool)
- func (o *OCRSettingsRecognizePdf) GetMakeBinarization() bool
- func (o *OCRSettingsRecognizePdf) GetMakeBinarizationOk() (*bool, bool)
- func (o *OCRSettingsRecognizePdf) GetMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizePdf) GetMakeContrastCorrectionOk() (*bool, bool)
- func (o *OCRSettingsRecognizePdf) GetMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizePdf) GetMakeSkewCorrectOk() (*bool, bool)
- func (o *OCRSettingsRecognizePdf) GetMakeSpellCheck() bool
- func (o *OCRSettingsRecognizePdf) GetMakeSpellCheckOk() (*bool, bool)
- func (o *OCRSettingsRecognizePdf) GetMakeUpsampling() bool
- func (o *OCRSettingsRecognizePdf) GetMakeUpsamplingOk() (*bool, bool)
- func (o *OCRSettingsRecognizePdf) GetRegions() []OCRRegion
- func (o *OCRSettingsRecognizePdf) GetRegionsOk() ([]OCRRegion, bool)
- func (o *OCRSettingsRecognizePdf) GetResultType() ResultType
- func (o *OCRSettingsRecognizePdf) GetResultTypeOk() (*ResultType, bool)
- func (o *OCRSettingsRecognizePdf) GetResultTypeTable() ResultTypeTable
- func (o *OCRSettingsRecognizePdf) GetResultTypeTableOk() (*ResultTypeTable, bool)
- func (o *OCRSettingsRecognizePdf) GetRotate() int32
- func (o *OCRSettingsRecognizePdf) GetRotateOk() (*int32, bool)
- func (o *OCRSettingsRecognizePdf) HasDsrConfidence() bool
- func (o *OCRSettingsRecognizePdf) HasDsrMode() bool
- func (o *OCRSettingsRecognizePdf) HasLanguage() bool
- func (o *OCRSettingsRecognizePdf) HasMakeBinarization() bool
- func (o *OCRSettingsRecognizePdf) HasMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizePdf) HasMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizePdf) HasMakeSpellCheck() bool
- func (o *OCRSettingsRecognizePdf) HasMakeUpsampling() bool
- func (o *OCRSettingsRecognizePdf) HasRegions() bool
- func (o *OCRSettingsRecognizePdf) HasResultType() bool
- func (o *OCRSettingsRecognizePdf) HasResultTypeTable() bool
- func (o *OCRSettingsRecognizePdf) HasRotate() bool
- func (o OCRSettingsRecognizePdf) MarshalJSON() ([]byte, error)
- func (o *OCRSettingsRecognizePdf) SetDsrConfidence(v DsrConfidence)
- func (o *OCRSettingsRecognizePdf) SetDsrMode(v DsrMode)
- func (o *OCRSettingsRecognizePdf) SetLanguage(v Language)
- func (o *OCRSettingsRecognizePdf) SetMakeBinarization(v bool)
- func (o *OCRSettingsRecognizePdf) SetMakeContrastCorrection(v bool)
- func (o *OCRSettingsRecognizePdf) SetMakeSkewCorrect(v bool)
- func (o *OCRSettingsRecognizePdf) SetMakeSpellCheck(v bool)
- func (o *OCRSettingsRecognizePdf) SetMakeUpsampling(v bool)
- func (o *OCRSettingsRecognizePdf) SetRegions(v []OCRRegion)
- func (o *OCRSettingsRecognizePdf) SetResultType(v ResultType)
- func (o *OCRSettingsRecognizePdf) SetResultTypeTable(v ResultTypeTable)
- func (o *OCRSettingsRecognizePdf) SetRotate(v int32)
- func (o OCRSettingsRecognizePdf) ToMap() (map[string]interface{}, error)
- type OCRSettingsRecognizeReceipt
- func (o *OCRSettingsRecognizeReceipt) GetDsrConfidence() DsrConfidence
- func (o *OCRSettingsRecognizeReceipt) GetDsrConfidenceOk() (*DsrConfidence, bool)
- func (o *OCRSettingsRecognizeReceipt) GetDsrMode() DsrMode
- func (o *OCRSettingsRecognizeReceipt) GetDsrModeOk() (*DsrMode, bool)
- func (o *OCRSettingsRecognizeReceipt) GetLanguage() Language
- func (o *OCRSettingsRecognizeReceipt) GetLanguageOk() (*Language, bool)
- func (o *OCRSettingsRecognizeReceipt) GetMakeBinarization() bool
- func (o *OCRSettingsRecognizeReceipt) GetMakeBinarizationOk() (*bool, bool)
- func (o *OCRSettingsRecognizeReceipt) GetMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeReceipt) GetMakeContrastCorrectionOk() (*bool, bool)
- func (o *OCRSettingsRecognizeReceipt) GetMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeReceipt) GetMakeSkewCorrectOk() (*bool, bool)
- func (o *OCRSettingsRecognizeReceipt) GetMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeReceipt) GetMakeSpellCheckOk() (*bool, bool)
- func (o *OCRSettingsRecognizeReceipt) GetMakeUpsampling() bool
- func (o *OCRSettingsRecognizeReceipt) GetMakeUpsamplingOk() (*bool, bool)
- func (o *OCRSettingsRecognizeReceipt) GetRegions() []OCRRegion
- func (o *OCRSettingsRecognizeReceipt) GetRegionsOk() ([]OCRRegion, bool)
- func (o *OCRSettingsRecognizeReceipt) GetResultType() ResultType
- func (o *OCRSettingsRecognizeReceipt) GetResultTypeOk() (*ResultType, bool)
- func (o *OCRSettingsRecognizeReceipt) GetResultTypeTable() ResultTypeTable
- func (o *OCRSettingsRecognizeReceipt) GetResultTypeTableOk() (*ResultTypeTable, bool)
- func (o *OCRSettingsRecognizeReceipt) GetRotate() int32
- func (o *OCRSettingsRecognizeReceipt) GetRotateOk() (*int32, bool)
- func (o *OCRSettingsRecognizeReceipt) HasDsrConfidence() bool
- func (o *OCRSettingsRecognizeReceipt) HasDsrMode() bool
- func (o *OCRSettingsRecognizeReceipt) HasLanguage() bool
- func (o *OCRSettingsRecognizeReceipt) HasMakeBinarization() bool
- func (o *OCRSettingsRecognizeReceipt) HasMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeReceipt) HasMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeReceipt) HasMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeReceipt) HasMakeUpsampling() bool
- func (o *OCRSettingsRecognizeReceipt) HasRegions() bool
- func (o *OCRSettingsRecognizeReceipt) HasResultType() bool
- func (o *OCRSettingsRecognizeReceipt) HasResultTypeTable() bool
- func (o *OCRSettingsRecognizeReceipt) HasRotate() bool
- func (o OCRSettingsRecognizeReceipt) MarshalJSON() ([]byte, error)
- func (o *OCRSettingsRecognizeReceipt) SetDsrConfidence(v DsrConfidence)
- func (o *OCRSettingsRecognizeReceipt) SetDsrMode(v DsrMode)
- func (o *OCRSettingsRecognizeReceipt) SetLanguage(v Language)
- func (o *OCRSettingsRecognizeReceipt) SetMakeBinarization(v bool)
- func (o *OCRSettingsRecognizeReceipt) SetMakeContrastCorrection(v bool)
- func (o *OCRSettingsRecognizeReceipt) SetMakeSkewCorrect(v bool)
- func (o *OCRSettingsRecognizeReceipt) SetMakeSpellCheck(v bool)
- func (o *OCRSettingsRecognizeReceipt) SetMakeUpsampling(v bool)
- func (o *OCRSettingsRecognizeReceipt) SetRegions(v []OCRRegion)
- func (o *OCRSettingsRecognizeReceipt) SetResultType(v ResultType)
- func (o *OCRSettingsRecognizeReceipt) SetResultTypeTable(v ResultTypeTable)
- func (o *OCRSettingsRecognizeReceipt) SetRotate(v int32)
- func (o OCRSettingsRecognizeReceipt) ToMap() (map[string]interface{}, error)
- type OCRSettingsRecognizeRegions
- func (o *OCRSettingsRecognizeRegions) GetDsrConfidence() DsrConfidence
- func (o *OCRSettingsRecognizeRegions) GetDsrConfidenceOk() (*DsrConfidence, bool)
- func (o *OCRSettingsRecognizeRegions) GetDsrMode() DsrMode
- func (o *OCRSettingsRecognizeRegions) GetDsrModeOk() (*DsrMode, bool)
- func (o *OCRSettingsRecognizeRegions) GetLanguage() Language
- func (o *OCRSettingsRecognizeRegions) GetLanguageOk() (*Language, bool)
- func (o *OCRSettingsRecognizeRegions) GetMakeBinarization() bool
- func (o *OCRSettingsRecognizeRegions) GetMakeBinarizationOk() (*bool, bool)
- func (o *OCRSettingsRecognizeRegions) GetMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeRegions) GetMakeContrastCorrectionOk() (*bool, bool)
- func (o *OCRSettingsRecognizeRegions) GetMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeRegions) GetMakeSkewCorrectOk() (*bool, bool)
- func (o *OCRSettingsRecognizeRegions) GetMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeRegions) GetMakeSpellCheckOk() (*bool, bool)
- func (o *OCRSettingsRecognizeRegions) GetMakeUpsampling() bool
- func (o *OCRSettingsRecognizeRegions) GetMakeUpsamplingOk() (*bool, bool)
- func (o *OCRSettingsRecognizeRegions) GetRegions() []OCRRegion
- func (o *OCRSettingsRecognizeRegions) GetRegionsOk() ([]OCRRegion, bool)
- func (o *OCRSettingsRecognizeRegions) GetResultType() ResultType
- func (o *OCRSettingsRecognizeRegions) GetResultTypeOk() (*ResultType, bool)
- func (o *OCRSettingsRecognizeRegions) GetResultTypeTable() ResultTypeTable
- func (o *OCRSettingsRecognizeRegions) GetResultTypeTableOk() (*ResultTypeTable, bool)
- func (o *OCRSettingsRecognizeRegions) GetRotate() int32
- func (o *OCRSettingsRecognizeRegions) GetRotateOk() (*int32, bool)
- func (o *OCRSettingsRecognizeRegions) HasDsrConfidence() bool
- func (o *OCRSettingsRecognizeRegions) HasDsrMode() bool
- func (o *OCRSettingsRecognizeRegions) HasLanguage() bool
- func (o *OCRSettingsRecognizeRegions) HasMakeBinarization() bool
- func (o *OCRSettingsRecognizeRegions) HasMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeRegions) HasMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeRegions) HasMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeRegions) HasMakeUpsampling() bool
- func (o *OCRSettingsRecognizeRegions) HasRegions() bool
- func (o *OCRSettingsRecognizeRegions) HasResultType() bool
- func (o *OCRSettingsRecognizeRegions) HasResultTypeTable() bool
- func (o *OCRSettingsRecognizeRegions) HasRotate() bool
- func (o OCRSettingsRecognizeRegions) MarshalJSON() ([]byte, error)
- func (o *OCRSettingsRecognizeRegions) SetDsrConfidence(v DsrConfidence)
- func (o *OCRSettingsRecognizeRegions) SetDsrMode(v DsrMode)
- func (o *OCRSettingsRecognizeRegions) SetLanguage(v Language)
- func (o *OCRSettingsRecognizeRegions) SetMakeBinarization(v bool)
- func (o *OCRSettingsRecognizeRegions) SetMakeContrastCorrection(v bool)
- func (o *OCRSettingsRecognizeRegions) SetMakeSkewCorrect(v bool)
- func (o *OCRSettingsRecognizeRegions) SetMakeSpellCheck(v bool)
- func (o *OCRSettingsRecognizeRegions) SetMakeUpsampling(v bool)
- func (o *OCRSettingsRecognizeRegions) SetRegions(v []OCRRegion)
- func (o *OCRSettingsRecognizeRegions) SetResultType(v ResultType)
- func (o *OCRSettingsRecognizeRegions) SetResultTypeTable(v ResultTypeTable)
- func (o *OCRSettingsRecognizeRegions) SetRotate(v int32)
- func (o OCRSettingsRecognizeRegions) ToMap() (map[string]interface{}, error)
- type OCRSettingsRecognizeTable
- func (o *OCRSettingsRecognizeTable) GetDsrConfidence() DsrConfidence
- func (o *OCRSettingsRecognizeTable) GetDsrConfidenceOk() (*DsrConfidence, bool)
- func (o *OCRSettingsRecognizeTable) GetDsrMode() DsrMode
- func (o *OCRSettingsRecognizeTable) GetDsrModeOk() (*DsrMode, bool)
- func (o *OCRSettingsRecognizeTable) GetLanguage() Language
- func (o *OCRSettingsRecognizeTable) GetLanguageOk() (*Language, bool)
- func (o *OCRSettingsRecognizeTable) GetMakeBinarization() bool
- func (o *OCRSettingsRecognizeTable) GetMakeBinarizationOk() (*bool, bool)
- func (o *OCRSettingsRecognizeTable) GetMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeTable) GetMakeContrastCorrectionOk() (*bool, bool)
- func (o *OCRSettingsRecognizeTable) GetMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeTable) GetMakeSkewCorrectOk() (*bool, bool)
- func (o *OCRSettingsRecognizeTable) GetMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeTable) GetMakeSpellCheckOk() (*bool, bool)
- func (o *OCRSettingsRecognizeTable) GetMakeUpsampling() bool
- func (o *OCRSettingsRecognizeTable) GetMakeUpsamplingOk() (*bool, bool)
- func (o *OCRSettingsRecognizeTable) GetRegions() []OCRRegion
- func (o *OCRSettingsRecognizeTable) GetRegionsOk() ([]OCRRegion, bool)
- func (o *OCRSettingsRecognizeTable) GetResultType() ResultType
- func (o *OCRSettingsRecognizeTable) GetResultTypeOk() (*ResultType, bool)
- func (o *OCRSettingsRecognizeTable) GetResultTypeTable() ResultTypeTable
- func (o *OCRSettingsRecognizeTable) GetResultTypeTableOk() (*ResultTypeTable, bool)
- func (o *OCRSettingsRecognizeTable) GetRotate() int32
- func (o *OCRSettingsRecognizeTable) GetRotateOk() (*int32, bool)
- func (o *OCRSettingsRecognizeTable) HasDsrConfidence() bool
- func (o *OCRSettingsRecognizeTable) HasDsrMode() bool
- func (o *OCRSettingsRecognizeTable) HasLanguage() bool
- func (o *OCRSettingsRecognizeTable) HasMakeBinarization() bool
- func (o *OCRSettingsRecognizeTable) HasMakeContrastCorrection() bool
- func (o *OCRSettingsRecognizeTable) HasMakeSkewCorrect() bool
- func (o *OCRSettingsRecognizeTable) HasMakeSpellCheck() bool
- func (o *OCRSettingsRecognizeTable) HasMakeUpsampling() bool
- func (o *OCRSettingsRecognizeTable) HasRegions() bool
- func (o *OCRSettingsRecognizeTable) HasResultType() bool
- func (o *OCRSettingsRecognizeTable) HasResultTypeTable() bool
- func (o *OCRSettingsRecognizeTable) HasRotate() bool
- func (o OCRSettingsRecognizeTable) MarshalJSON() ([]byte, error)
- func (o *OCRSettingsRecognizeTable) SetDsrConfidence(v DsrConfidence)
- func (o *OCRSettingsRecognizeTable) SetDsrMode(v DsrMode)
- func (o *OCRSettingsRecognizeTable) SetLanguage(v Language)
- func (o *OCRSettingsRecognizeTable) SetMakeBinarization(v bool)
- func (o *OCRSettingsRecognizeTable) SetMakeContrastCorrection(v bool)
- func (o *OCRSettingsRecognizeTable) SetMakeSkewCorrect(v bool)
- func (o *OCRSettingsRecognizeTable) SetMakeSpellCheck(v bool)
- func (o *OCRSettingsRecognizeTable) SetMakeUpsampling(v bool)
- func (o *OCRSettingsRecognizeTable) SetRegions(v []OCRRegion)
- func (o *OCRSettingsRecognizeTable) SetResultType(v ResultType)
- func (o *OCRSettingsRecognizeTable) SetResultTypeTable(v ResultTypeTable)
- func (o *OCRSettingsRecognizeTable) SetRotate(v int32)
- func (o OCRSettingsRecognizeTable) ToMap() (map[string]interface{}, error)
- type OCRTaskStatus
- type OCRUpscaleImageBody
- type PostUpsamplingFileRequest
- func (o *PostUpsamplingFileRequest) GetFile() *os.File
- func (o *PostUpsamplingFileRequest) GetFileOk() (**os.File, bool)
- func (o *PostUpsamplingFileRequest) HasFile() bool
- func (o PostUpsamplingFileRequest) MarshalJSON() ([]byte, error)
- func (o *PostUpsamplingFileRequest) SetFile(v *os.File)
- func (o PostUpsamplingFileRequest) ToMap() (map[string]interface{}, error)
- type ProblemDetails
- func (o *ProblemDetails) GetDetail() string
- func (o *ProblemDetails) GetDetailOk() (*string, bool)
- func (o *ProblemDetails) GetInstance() string
- func (o *ProblemDetails) GetInstanceOk() (*string, bool)
- func (o *ProblemDetails) GetStatus() int32
- func (o *ProblemDetails) GetStatusOk() (*int32, bool)
- func (o *ProblemDetails) GetTitle() string
- func (o *ProblemDetails) GetTitleOk() (*string, bool)
- func (o *ProblemDetails) GetType() string
- func (o *ProblemDetails) GetTypeOk() (*string, bool)
- func (o *ProblemDetails) HasDetail() bool
- func (o *ProblemDetails) HasInstance() bool
- func (o *ProblemDetails) HasStatus() bool
- func (o *ProblemDetails) HasTitle() bool
- func (o *ProblemDetails) HasType() bool
- func (o ProblemDetails) MarshalJSON() ([]byte, error)
- func (o *ProblemDetails) SetDetail(v string)
- func (o *ProblemDetails) SetDetailNil()
- func (o *ProblemDetails) SetInstance(v string)
- func (o *ProblemDetails) SetInstanceNil()
- func (o *ProblemDetails) SetStatus(v int32)
- func (o *ProblemDetails) SetStatusNil()
- func (o *ProblemDetails) SetTitle(v string)
- func (o *ProblemDetails) SetTitleNil()
- func (o *ProblemDetails) SetType(v string)
- func (o *ProblemDetails) SetTypeNil()
- func (o ProblemDetails) ToMap() (map[string]interface{}, error)
- func (o *ProblemDetails) UnsetDetail()
- func (o *ProblemDetails) UnsetInstance()
- func (o *ProblemDetails) UnsetStatus()
- func (o *ProblemDetails) UnsetTitle()
- func (o *ProblemDetails) UnsetType()
- type RecognizeAndParseInvoiceApiService
- func (a *RecognizeAndParseInvoiceApiService) CancelRecognizeAndParseInvoice(ctx context.Context) ApiCancelRecognizeAndParseInvoiceRequest
- func (a *RecognizeAndParseInvoiceApiService) CancelRecognizeAndParseInvoiceExecute(r ApiCancelRecognizeAndParseInvoiceRequest) (*http.Response, error)
- func (a *RecognizeAndParseInvoiceApiService) GetRecognizeAndParseInvoice(ctx context.Context) ApiGetRecognizeAndParseInvoiceRequest
- func (a *RecognizeAndParseInvoiceApiService) GetRecognizeAndParseInvoiceExecute(r ApiGetRecognizeAndParseInvoiceRequest) (*OCRResponse, *http.Response, error)
- func (a *RecognizeAndParseInvoiceApiService) PostRecognizeAndParseInvoice(ctx context.Context) ApiPostRecognizeAndParseInvoiceRequest
- func (a *RecognizeAndParseInvoiceApiService) PostRecognizeAndParseInvoiceExecute(r ApiPostRecognizeAndParseInvoiceRequest) (string, *http.Response, error)
- type RecognizeImageApiService
- func (a *RecognizeImageApiService) CancelRecognizeImage(ctx context.Context) ApiCancelRecognizeImageRequest
- func (a *RecognizeImageApiService) CancelRecognizeImageExecute(r ApiCancelRecognizeImageRequest) (*http.Response, error)
- func (a *RecognizeImageApiService) GetRecognizeImage(ctx context.Context) ApiGetRecognizeImageRequest
- func (a *RecognizeImageApiService) GetRecognizeImageExecute(r ApiGetRecognizeImageRequest) (*OCRResponse, *http.Response, error)
- func (a *RecognizeImageApiService) PostRecognizeImage(ctx context.Context) ApiPostRecognizeImageRequest
- func (a *RecognizeImageApiService) PostRecognizeImageExecute(r ApiPostRecognizeImageRequest) (string, *http.Response, error)
- type RecognizeImageTrialApiService
- func (a *RecognizeImageTrialApiService) CancelRecognizeImageTrial(ctx context.Context) ApiCancelRecognizeImageTrialRequest
- func (a *RecognizeImageTrialApiService) CancelRecognizeImageTrialExecute(r ApiCancelRecognizeImageTrialRequest) (*http.Response, error)
- func (a *RecognizeImageTrialApiService) GetRecognizeImageTrial(ctx context.Context) ApiGetRecognizeImageTrialRequest
- func (a *RecognizeImageTrialApiService) GetRecognizeImageTrialExecute(r ApiGetRecognizeImageTrialRequest) (*OCRResponse, *http.Response, error)
- func (a *RecognizeImageTrialApiService) PostRecognizeImageTrial(ctx context.Context) ApiPostRecognizeImageTrialRequest
- func (a *RecognizeImageTrialApiService) PostRecognizeImageTrialExecute(r ApiPostRecognizeImageTrialRequest) (string, *http.Response, error)
- type RecognizeLabelApiService
- func (a *RecognizeLabelApiService) CancelRecognizeLabel(ctx context.Context) ApiCancelRecognizeLabelRequest
- func (a *RecognizeLabelApiService) CancelRecognizeLabelExecute(r ApiCancelRecognizeLabelRequest) (*http.Response, error)
- func (a *RecognizeLabelApiService) GetRecognizeLabel(ctx context.Context) ApiGetRecognizeLabelRequest
- func (a *RecognizeLabelApiService) GetRecognizeLabelExecute(r ApiGetRecognizeLabelRequest) (*OCRResponse, *http.Response, error)
- func (a *RecognizeLabelApiService) PostRecognizeLabel(ctx context.Context) ApiPostRecognizeLabelRequest
- func (a *RecognizeLabelApiService) PostRecognizeLabelExecute(r ApiPostRecognizeLabelRequest) (string, *http.Response, error)
- type RecognizePdfApiService
- func (a *RecognizePdfApiService) CancelRecognizePdf(ctx context.Context) ApiCancelRecognizePdfRequest
- func (a *RecognizePdfApiService) CancelRecognizePdfExecute(r ApiCancelRecognizePdfRequest) (*http.Response, error)
- func (a *RecognizePdfApiService) GetRecognizePdf(ctx context.Context) ApiGetRecognizePdfRequest
- func (a *RecognizePdfApiService) GetRecognizePdfExecute(r ApiGetRecognizePdfRequest) (*OCRResponse, *http.Response, error)
- func (a *RecognizePdfApiService) PostRecognizePdf(ctx context.Context) ApiPostRecognizePdfRequest
- func (a *RecognizePdfApiService) PostRecognizePdfExecute(r ApiPostRecognizePdfRequest) (string, *http.Response, error)
- type RecognizeReceiptApiService
- func (a *RecognizeReceiptApiService) CancelRecognizeReceipt(ctx context.Context) ApiCancelRecognizeReceiptRequest
- func (a *RecognizeReceiptApiService) CancelRecognizeReceiptExecute(r ApiCancelRecognizeReceiptRequest) (*http.Response, error)
- func (a *RecognizeReceiptApiService) GetRecognizeReceipt(ctx context.Context) ApiGetRecognizeReceiptRequest
- func (a *RecognizeReceiptApiService) GetRecognizeReceiptExecute(r ApiGetRecognizeReceiptRequest) (*OCRResponse, *http.Response, error)
- func (a *RecognizeReceiptApiService) PostRecognizeReceipt(ctx context.Context) ApiPostRecognizeReceiptRequest
- func (a *RecognizeReceiptApiService) PostRecognizeReceiptExecute(r ApiPostRecognizeReceiptRequest) (string, *http.Response, error)
- type RecognizeRegionsApiService
- func (a *RecognizeRegionsApiService) CancelRecognizeRegions(ctx context.Context) ApiCancelRecognizeRegionsRequest
- func (a *RecognizeRegionsApiService) CancelRecognizeRegionsExecute(r ApiCancelRecognizeRegionsRequest) (*http.Response, error)
- func (a *RecognizeRegionsApiService) GetRecognizeRegions(ctx context.Context) ApiGetRecognizeRegionsRequest
- func (a *RecognizeRegionsApiService) GetRecognizeRegionsExecute(r ApiGetRecognizeRegionsRequest) (*OCRResponse, *http.Response, error)
- func (a *RecognizeRegionsApiService) PostRecognizeRegions(ctx context.Context) ApiPostRecognizeRegionsRequest
- func (a *RecognizeRegionsApiService) PostRecognizeRegionsExecute(r ApiPostRecognizeRegionsRequest) (string, *http.Response, error)
- type RecognizeTableApiService
- func (a *RecognizeTableApiService) CancelRecognizeTable(ctx context.Context) ApiCancelRecognizeTableRequest
- func (a *RecognizeTableApiService) CancelRecognizeTableExecute(r ApiCancelRecognizeTableRequest) (*http.Response, error)
- func (a *RecognizeTableApiService) GetRecognizeTable(ctx context.Context) ApiGetRecognizeTableRequest
- func (a *RecognizeTableApiService) GetRecognizeTableExecute(r ApiGetRecognizeTableRequest) (*OCRResponse, *http.Response, error)
- func (a *RecognizeTableApiService) PostRecognizeTable(ctx context.Context) ApiPostRecognizeTableRequest
- func (a *RecognizeTableApiService) PostRecognizeTableExecute(r ApiPostRecognizeTableRequest) (string, *http.Response, error)
- type ResponseStatusCode
- type ResultType
- type ResultTypeTTS
- type ResultTypeTable
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TTSBody
- func (o *TTSBody) GetSettings() TTSSettings
- func (o *TTSBody) GetSettingsOk() (*TTSSettings, bool)
- func (o *TTSBody) GetText() string
- func (o *TTSBody) GetTextOk() (*string, bool)
- func (o TTSBody) MarshalJSON() ([]byte, error)
- func (o *TTSBody) SetSettings(v TTSSettings)
- func (o *TTSBody) SetText(v string)
- func (o TTSBody) ToMap() (map[string]interface{}, error)
- type TTSBodyDeprecated
- func (o *TTSBodyDeprecated) GetLanguage() LanguageTTS
- func (o *TTSBodyDeprecated) GetLanguageOk() (*LanguageTTS, bool)
- func (o *TTSBodyDeprecated) GetResultType() ResultTypeTTS
- func (o *TTSBodyDeprecated) GetResultTypeOk() (*ResultTypeTTS, bool)
- func (o *TTSBodyDeprecated) GetText() string
- func (o *TTSBodyDeprecated) GetTextOk() (*string, bool)
- func (o TTSBodyDeprecated) MarshalJSON() ([]byte, error)
- func (o *TTSBodyDeprecated) SetLanguage(v LanguageTTS)
- func (o *TTSBodyDeprecated) SetResultType(v ResultTypeTTS)
- func (o *TTSBodyDeprecated) SetText(v string)
- func (o TTSBodyDeprecated) ToMap() (map[string]interface{}, error)
- type TTSError
- func (o *TTSError) GetMessages() []string
- func (o *TTSError) GetMessagesOk() ([]string, bool)
- func (o *TTSError) GetWarnings() []string
- func (o *TTSError) GetWarningsOk() ([]string, bool)
- func (o *TTSError) HasMessages() bool
- func (o *TTSError) HasWarnings() bool
- func (o TTSError) MarshalJSON() ([]byte, error)
- func (o *TTSError) SetMessages(v []string)
- func (o *TTSError) SetWarnings(v []string)
- func (o TTSError) ToMap() (map[string]interface{}, error)
- type TTSResponse
- func (o *TTSResponse) GetError() TTSError
- func (o *TTSResponse) GetErrorOk() (*TTSError, bool)
- func (o *TTSResponse) GetId() string
- func (o *TTSResponse) GetIdOk() (*string, bool)
- func (o *TTSResponse) GetResponseStatusCode() ResponseStatusCode
- func (o *TTSResponse) GetResponseStatusCodeOk() (*ResponseStatusCode, bool)
- func (o *TTSResponse) GetResults() []TTSResult
- func (o *TTSResponse) GetResultsOk() ([]TTSResult, bool)
- func (o *TTSResponse) GetTaskStatus() TTSTaskStatus
- func (o *TTSResponse) GetTaskStatusOk() (*TTSTaskStatus, bool)
- func (o *TTSResponse) HasError() bool
- func (o *TTSResponse) HasId() bool
- func (o *TTSResponse) HasResponseStatusCode() bool
- func (o *TTSResponse) HasResults() bool
- func (o *TTSResponse) HasTaskStatus() bool
- func (o TTSResponse) MarshalJSON() ([]byte, error)
- func (o *TTSResponse) SetError(v TTSError)
- func (o *TTSResponse) SetErrorNil()
- func (o *TTSResponse) SetId(v string)
- func (o *TTSResponse) SetIdNil()
- func (o *TTSResponse) SetResponseStatusCode(v ResponseStatusCode)
- func (o *TTSResponse) SetResults(v []TTSResult)
- func (o *TTSResponse) SetTaskStatus(v TTSTaskStatus)
- func (o TTSResponse) ToMap() (map[string]interface{}, error)
- func (o *TTSResponse) UnsetError()
- func (o *TTSResponse) UnsetId()
- type TTSResult
- func (o *TTSResult) GetData() string
- func (o *TTSResult) GetDataOk() (*string, bool)
- func (o *TTSResult) GetType() string
- func (o *TTSResult) GetTypeOk() (*string, bool)
- func (o *TTSResult) HasData() bool
- func (o *TTSResult) HasType() bool
- func (o TTSResult) MarshalJSON() ([]byte, error)
- func (o *TTSResult) SetData(v string)
- func (o *TTSResult) SetDataNil()
- func (o *TTSResult) SetType(v string)
- func (o *TTSResult) SetTypeNil()
- func (o TTSResult) ToMap() (map[string]interface{}, error)
- func (o *TTSResult) UnsetData()
- func (o *TTSResult) UnsetType()
- type TTSSettings
- func (o *TTSSettings) GetLanguage() LanguageTTS
- func (o *TTSSettings) GetLanguageOk() (*LanguageTTS, bool)
- func (o *TTSSettings) GetResultType() ResultTypeTTS
- func (o *TTSSettings) GetResultTypeOk() (*ResultTypeTTS, bool)
- func (o TTSSettings) MarshalJSON() ([]byte, error)
- func (o *TTSSettings) SetLanguage(v LanguageTTS)
- func (o *TTSSettings) SetResultType(v ResultTypeTTS)
- func (o TTSSettings) ToMap() (map[string]interface{}, error)
- type TTSTaskStatus
- type TextToSpeechApiService
- func (a *TextToSpeechApiService) GetTextToSpeechResult(ctx context.Context) ApiGetTextToSpeechResultRequest
- func (a *TextToSpeechApiService) GetTextToSpeechResultExecute(r ApiGetTextToSpeechResultRequest) (*TTSResponse, *http.Response, error)
- func (a *TextToSpeechApiService) GetTextToSpeechResultFile(ctx context.Context) ApiGetTextToSpeechResultFileRequest
- func (a *TextToSpeechApiService) GetTextToSpeechResultFileExecute(r ApiGetTextToSpeechResultFileRequest) (map[string]interface{}, *http.Response, error)
- func (a *TextToSpeechApiService) PostTextToSpeech(ctx context.Context) ApiPostTextToSpeechRequest
- func (a *TextToSpeechApiService) PostTextToSpeechExecute(r ApiPostTextToSpeechRequest) (string, *http.Response, error)
- type UpscaleImageApiService
- func (a *UpscaleImageApiService) CancelUpscaleImage(ctx context.Context) ApiCancelUpscaleImageRequest
- func (a *UpscaleImageApiService) CancelUpscaleImageExecute(r ApiCancelUpscaleImageRequest) (*http.Response, error)
- func (a *UpscaleImageApiService) GetUpscaleImage(ctx context.Context) ApiGetUpscaleImageRequest
- func (a *UpscaleImageApiService) GetUpscaleImageExecute(r ApiGetUpscaleImageRequest) (*OCRResponse, *http.Response, error)
- func (a *UpscaleImageApiService) PostUpscaleImage(ctx context.Context) ApiPostUpscaleImageRequest
- func (a *UpscaleImageApiService) PostUpscaleImageExecute(r ApiPostUpscaleImageRequest) (string, *http.Response, error)
- type UtilitiesApiService
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedDsrConfidenceEnumValues = []DsrConfidence{
"Default",
"Low",
"LowMid",
"Mid",
"MidHigh",
"High",
"Ultra",
"All",
}
All allowed values of DsrConfidence enum
var AllowedDsrModeEnumValues = []DsrMode{
"Regions",
"DsrNoFilter",
"DsrAndFilter",
"NoDsrNoFilter",
"TextDetector",
"DsrPlusDetector",
"PolygonalTextDetector",
}
All allowed values of DsrMode enum
var AllowedLanguageEnumValues = []Language{
"English",
"German",
"French",
"Italian",
"Spanish",
"Portuguese",
"Polish",
"Slovene",
"Slovak",
"Netherlands",
"Lithuanian",
"Latvian",
"Danish",
"Norwegian",
"Finnish",
"Serbian",
"Croatian",
"Czech",
"Swedish",
"Estonian",
"Romanian",
"Chinese",
"Russian",
"Arabic",
"Hindi",
"Ukrainan",
"Bengali",
"Tibetan",
"Thai",
"Urdu",
"Turkish",
"Korean",
"Indonesian",
"Hebrew",
"Javanese",
"Greek",
"Japanese",
"Persian",
"Albanian",
"Latin",
"Vietnamese",
"Uzbek",
"Georgian",
"Bulgarian",
"Azerbaijani",
"Kazah",
"Macedonian",
"Belorussian",
"HWT_eng",
}
All allowed values of Language enum
var AllowedLanguageTTSEnumValues = []LanguageTTS{
"English",
}
All allowed values of LanguageTTS enum
var AllowedOCRTaskStatusEnumValues = []OCRTaskStatus{
"Pending",
"Processing",
"Completed",
"Error",
"NotExist",
}
All allowed values of OCRTaskStatus enum
var AllowedResponseStatusCodeEnumValues = []ResponseStatusCode{
"Ok",
"PartiallyNotFound",
"NoAnyResultData",
"ResultDataLost",
"TaskNotFound",
"NotReady",
"Error",
}
All allowed values of ResponseStatusCode enum
var AllowedResultTypeEnumValues = []ResultType{
"Text",
"Pdf",
"TextAndPdf",
"Hocr",
"TextAndHocr",
"PdfAndHocr",
"TextAndPdfAndHocr",
"ImagePNG",
}
All allowed values of ResultType enum
var AllowedResultTypeTTSEnumValues = []ResultTypeTTS{
"Wav",
}
All allowed values of ResultTypeTTS enum
var AllowedResultTypeTableEnumValues = []ResultTypeTable{
"Text",
"Excel",
"Csv",
"CsvAndExcel",
}
All allowed values of ResultTypeTable enum
var AllowedTTSTaskStatusEnumValues = []TTSTaskStatus{
"Pending",
"Processing",
"Completed",
"Error",
"NotExist",
}
All allowed values of TTSTaskStatus enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { BinarizeImageApi *BinarizeImageApiService ConvertTextToSpeechApi *ConvertTextToSpeechApiService ConvertTextToSpeechTrialApi *ConvertTextToSpeechTrialApiService DeskewImageApi *DeskewImageApiService DetectRegionsApi *DetectRegionsApiService DewarpImageApi *DewarpImageApiService DjVu2PDFApi *DjVu2PDFApiService IdentifyFontApi *IdentifyFontApiService ImageProcessingApi *ImageProcessingApiService RecognizeAndParseInvoiceApi *RecognizeAndParseInvoiceApiService RecognizeImageApi *RecognizeImageApiService RecognizeImageTrialApi *RecognizeImageTrialApiService RecognizeLabelApi *RecognizeLabelApiService RecognizePdfApi *RecognizePdfApiService RecognizeReceiptApi *RecognizeReceiptApiService RecognizeRegionsApi *RecognizeRegionsApiService RecognizeTableApi *RecognizeTableApiService TextToSpeechApi *TextToSpeechApiService UpscaleImageApi *UpscaleImageApiService UtilitiesApi *UtilitiesApiService // contains filtered or unexported fields }
APIClient manages communication with the Aspose OCR Cloud 5.0 API API v5.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCancelBinarizeImageRequest ¶
type ApiCancelBinarizeImageRequest struct { ApiService *BinarizeImageApiService // contains filtered or unexported fields }
func (ApiCancelBinarizeImageRequest) Execute ¶
func (r ApiCancelBinarizeImageRequest) Execute() (*http.Response, error)
func (ApiCancelBinarizeImageRequest) Id ¶
func (r ApiCancelBinarizeImageRequest) Id(id string) ApiCancelBinarizeImageRequest
type ApiCancelConvertTextToSpeechRequest ¶
type ApiCancelConvertTextToSpeechRequest struct { ApiService *ConvertTextToSpeechApiService // contains filtered or unexported fields }
func (ApiCancelConvertTextToSpeechRequest) Execute ¶
func (r ApiCancelConvertTextToSpeechRequest) Execute() (*http.Response, error)
type ApiCancelConvertTextToSpeechTrialRequest ¶
type ApiCancelConvertTextToSpeechTrialRequest struct { ApiService *ConvertTextToSpeechTrialApiService // contains filtered or unexported fields }
func (ApiCancelConvertTextToSpeechTrialRequest) Execute ¶
func (r ApiCancelConvertTextToSpeechTrialRequest) Execute() (*http.Response, error)
type ApiCancelDeskewImageRequest ¶
type ApiCancelDeskewImageRequest struct { ApiService *DeskewImageApiService // contains filtered or unexported fields }
func (ApiCancelDeskewImageRequest) Execute ¶
func (r ApiCancelDeskewImageRequest) Execute() (*http.Response, error)
func (ApiCancelDeskewImageRequest) Id ¶
func (r ApiCancelDeskewImageRequest) Id(id string) ApiCancelDeskewImageRequest
type ApiCancelDetectRegionsRequest ¶
type ApiCancelDetectRegionsRequest struct { ApiService *DetectRegionsApiService // contains filtered or unexported fields }
func (ApiCancelDetectRegionsRequest) Execute ¶
func (r ApiCancelDetectRegionsRequest) Execute() (*http.Response, error)
func (ApiCancelDetectRegionsRequest) Id ¶
func (r ApiCancelDetectRegionsRequest) Id(id string) ApiCancelDetectRegionsRequest
type ApiCancelDewarpImageRequest ¶
type ApiCancelDewarpImageRequest struct { ApiService *DewarpImageApiService // contains filtered or unexported fields }
func (ApiCancelDewarpImageRequest) Execute ¶
func (r ApiCancelDewarpImageRequest) Execute() (*http.Response, error)
func (ApiCancelDewarpImageRequest) Id ¶
func (r ApiCancelDewarpImageRequest) Id(id string) ApiCancelDewarpImageRequest
type ApiCancelDjVu2PDFRequest ¶
type ApiCancelDjVu2PDFRequest struct { ApiService *DjVu2PDFApiService // contains filtered or unexported fields }
func (ApiCancelDjVu2PDFRequest) Execute ¶
func (r ApiCancelDjVu2PDFRequest) Execute() (*http.Response, error)
func (ApiCancelDjVu2PDFRequest) Id ¶
func (r ApiCancelDjVu2PDFRequest) Id(id string) ApiCancelDjVu2PDFRequest
type ApiCancelIdentifyFontRequest ¶
type ApiCancelIdentifyFontRequest struct { ApiService *IdentifyFontApiService // contains filtered or unexported fields }
func (ApiCancelIdentifyFontRequest) Execute ¶
func (r ApiCancelIdentifyFontRequest) Execute() (*http.Response, error)
func (ApiCancelIdentifyFontRequest) Id ¶
func (r ApiCancelIdentifyFontRequest) Id(id string) ApiCancelIdentifyFontRequest
type ApiCancelRecognizeAndParseInvoiceRequest ¶
type ApiCancelRecognizeAndParseInvoiceRequest struct { ApiService *RecognizeAndParseInvoiceApiService // contains filtered or unexported fields }
func (ApiCancelRecognizeAndParseInvoiceRequest) Execute ¶
func (r ApiCancelRecognizeAndParseInvoiceRequest) Execute() (*http.Response, error)
type ApiCancelRecognizeImageRequest ¶
type ApiCancelRecognizeImageRequest struct { ApiService *RecognizeImageApiService // contains filtered or unexported fields }
func (ApiCancelRecognizeImageRequest) Execute ¶
func (r ApiCancelRecognizeImageRequest) Execute() (*http.Response, error)
func (ApiCancelRecognizeImageRequest) Id ¶
func (r ApiCancelRecognizeImageRequest) Id(id string) ApiCancelRecognizeImageRequest
type ApiCancelRecognizeImageTrialRequest ¶
type ApiCancelRecognizeImageTrialRequest struct { ApiService *RecognizeImageTrialApiService // contains filtered or unexported fields }
func (ApiCancelRecognizeImageTrialRequest) Execute ¶
func (r ApiCancelRecognizeImageTrialRequest) Execute() (*http.Response, error)
type ApiCancelRecognizeLabelRequest ¶
type ApiCancelRecognizeLabelRequest struct { ApiService *RecognizeLabelApiService // contains filtered or unexported fields }
func (ApiCancelRecognizeLabelRequest) Execute ¶
func (r ApiCancelRecognizeLabelRequest) Execute() (*http.Response, error)
func (ApiCancelRecognizeLabelRequest) Id ¶
func (r ApiCancelRecognizeLabelRequest) Id(id string) ApiCancelRecognizeLabelRequest
type ApiCancelRecognizePdfRequest ¶
type ApiCancelRecognizePdfRequest struct { ApiService *RecognizePdfApiService // contains filtered or unexported fields }
func (ApiCancelRecognizePdfRequest) Execute ¶
func (r ApiCancelRecognizePdfRequest) Execute() (*http.Response, error)
func (ApiCancelRecognizePdfRequest) Id ¶
func (r ApiCancelRecognizePdfRequest) Id(id string) ApiCancelRecognizePdfRequest
type ApiCancelRecognizeReceiptRequest ¶
type ApiCancelRecognizeReceiptRequest struct { ApiService *RecognizeReceiptApiService // contains filtered or unexported fields }
func (ApiCancelRecognizeReceiptRequest) Execute ¶
func (r ApiCancelRecognizeReceiptRequest) Execute() (*http.Response, error)
func (ApiCancelRecognizeReceiptRequest) Id ¶
func (r ApiCancelRecognizeReceiptRequest) Id(id string) ApiCancelRecognizeReceiptRequest
type ApiCancelRecognizeRegionsRequest ¶
type ApiCancelRecognizeRegionsRequest struct { ApiService *RecognizeRegionsApiService // contains filtered or unexported fields }
func (ApiCancelRecognizeRegionsRequest) Execute ¶
func (r ApiCancelRecognizeRegionsRequest) Execute() (*http.Response, error)
func (ApiCancelRecognizeRegionsRequest) Id ¶
func (r ApiCancelRecognizeRegionsRequest) Id(id string) ApiCancelRecognizeRegionsRequest
type ApiCancelRecognizeTableRequest ¶
type ApiCancelRecognizeTableRequest struct { ApiService *RecognizeTableApiService // contains filtered or unexported fields }
func (ApiCancelRecognizeTableRequest) Execute ¶
func (r ApiCancelRecognizeTableRequest) Execute() (*http.Response, error)
func (ApiCancelRecognizeTableRequest) Id ¶
func (r ApiCancelRecognizeTableRequest) Id(id string) ApiCancelRecognizeTableRequest
type ApiCancelUpscaleImageRequest ¶
type ApiCancelUpscaleImageRequest struct { ApiService *UpscaleImageApiService // contains filtered or unexported fields }
func (ApiCancelUpscaleImageRequest) Execute ¶
func (r ApiCancelUpscaleImageRequest) Execute() (*http.Response, error)
func (ApiCancelUpscaleImageRequest) Id ¶
func (r ApiCancelUpscaleImageRequest) Id(id string) ApiCancelUpscaleImageRequest
type ApiGetBinarizeImageRequest ¶
type ApiGetBinarizeImageRequest struct { ApiService *BinarizeImageApiService // contains filtered or unexported fields }
func (ApiGetBinarizeImageRequest) Execute ¶
func (r ApiGetBinarizeImageRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetBinarizeImageRequest) Id ¶
func (r ApiGetBinarizeImageRequest) Id(id string) ApiGetBinarizeImageRequest
type ApiGetConvertTextToSpeechRequest ¶
type ApiGetConvertTextToSpeechRequest struct { ApiService *ConvertTextToSpeechApiService // contains filtered or unexported fields }
func (ApiGetConvertTextToSpeechRequest) Execute ¶
func (r ApiGetConvertTextToSpeechRequest) Execute() (*TTSResponse, *http.Response, error)
func (ApiGetConvertTextToSpeechRequest) Id ¶
func (r ApiGetConvertTextToSpeechRequest) Id(id string) ApiGetConvertTextToSpeechRequest
type ApiGetConvertTextToSpeechTrialRequest ¶
type ApiGetConvertTextToSpeechTrialRequest struct { ApiService *ConvertTextToSpeechTrialApiService // contains filtered or unexported fields }
func (ApiGetConvertTextToSpeechTrialRequest) Execute ¶
func (r ApiGetConvertTextToSpeechTrialRequest) Execute() (*TTSResponse, *http.Response, error)
type ApiGetDeskewImageRequest ¶
type ApiGetDeskewImageRequest struct { ApiService *DeskewImageApiService // contains filtered or unexported fields }
func (ApiGetDeskewImageRequest) Execute ¶
func (r ApiGetDeskewImageRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetDeskewImageRequest) Id ¶
func (r ApiGetDeskewImageRequest) Id(id string) ApiGetDeskewImageRequest
type ApiGetDetectRegionsRequest ¶
type ApiGetDetectRegionsRequest struct { ApiService *DetectRegionsApiService // contains filtered or unexported fields }
func (ApiGetDetectRegionsRequest) Execute ¶
func (r ApiGetDetectRegionsRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetDetectRegionsRequest) Id ¶
func (r ApiGetDetectRegionsRequest) Id(id string) ApiGetDetectRegionsRequest
type ApiGetDewarpImageRequest ¶
type ApiGetDewarpImageRequest struct { ApiService *DewarpImageApiService // contains filtered or unexported fields }
func (ApiGetDewarpImageRequest) Execute ¶
func (r ApiGetDewarpImageRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetDewarpImageRequest) Id ¶
func (r ApiGetDewarpImageRequest) Id(id string) ApiGetDewarpImageRequest
type ApiGetDjVu2PDFRequest ¶
type ApiGetDjVu2PDFRequest struct { ApiService *DjVu2PDFApiService // contains filtered or unexported fields }
func (ApiGetDjVu2PDFRequest) Execute ¶
func (r ApiGetDjVu2PDFRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetDjVu2PDFRequest) Id ¶
func (r ApiGetDjVu2PDFRequest) Id(id string) ApiGetDjVu2PDFRequest
type ApiGetIdentifyFontRequest ¶
type ApiGetIdentifyFontRequest struct { ApiService *IdentifyFontApiService // contains filtered or unexported fields }
func (ApiGetIdentifyFontRequest) Execute ¶
func (r ApiGetIdentifyFontRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetIdentifyFontRequest) Id ¶
func (r ApiGetIdentifyFontRequest) Id(id string) ApiGetIdentifyFontRequest
type ApiGetRecognizeAndParseInvoiceRequest ¶
type ApiGetRecognizeAndParseInvoiceRequest struct { ApiService *RecognizeAndParseInvoiceApiService // contains filtered or unexported fields }
func (ApiGetRecognizeAndParseInvoiceRequest) Execute ¶
func (r ApiGetRecognizeAndParseInvoiceRequest) Execute() (*OCRResponse, *http.Response, error)
type ApiGetRecognizeImageRequest ¶
type ApiGetRecognizeImageRequest struct { ApiService *RecognizeImageApiService // contains filtered or unexported fields }
func (ApiGetRecognizeImageRequest) Execute ¶
func (r ApiGetRecognizeImageRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetRecognizeImageRequest) Id ¶
func (r ApiGetRecognizeImageRequest) Id(id string) ApiGetRecognizeImageRequest
type ApiGetRecognizeImageTrialRequest ¶
type ApiGetRecognizeImageTrialRequest struct { ApiService *RecognizeImageTrialApiService // contains filtered or unexported fields }
func (ApiGetRecognizeImageTrialRequest) Execute ¶
func (r ApiGetRecognizeImageTrialRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetRecognizeImageTrialRequest) Id ¶
func (r ApiGetRecognizeImageTrialRequest) Id(id string) ApiGetRecognizeImageTrialRequest
type ApiGetRecognizeLabelRequest ¶
type ApiGetRecognizeLabelRequest struct { ApiService *RecognizeLabelApiService // contains filtered or unexported fields }
func (ApiGetRecognizeLabelRequest) Execute ¶
func (r ApiGetRecognizeLabelRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetRecognizeLabelRequest) Id ¶
func (r ApiGetRecognizeLabelRequest) Id(id string) ApiGetRecognizeLabelRequest
type ApiGetRecognizePdfRequest ¶
type ApiGetRecognizePdfRequest struct { ApiService *RecognizePdfApiService // contains filtered or unexported fields }
func (ApiGetRecognizePdfRequest) Execute ¶
func (r ApiGetRecognizePdfRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetRecognizePdfRequest) Id ¶
func (r ApiGetRecognizePdfRequest) Id(id string) ApiGetRecognizePdfRequest
type ApiGetRecognizeReceiptRequest ¶
type ApiGetRecognizeReceiptRequest struct { ApiService *RecognizeReceiptApiService // contains filtered or unexported fields }
func (ApiGetRecognizeReceiptRequest) Execute ¶
func (r ApiGetRecognizeReceiptRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetRecognizeReceiptRequest) Id ¶
func (r ApiGetRecognizeReceiptRequest) Id(id string) ApiGetRecognizeReceiptRequest
type ApiGetRecognizeRegionsRequest ¶
type ApiGetRecognizeRegionsRequest struct { ApiService *RecognizeRegionsApiService // contains filtered or unexported fields }
func (ApiGetRecognizeRegionsRequest) Execute ¶
func (r ApiGetRecognizeRegionsRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetRecognizeRegionsRequest) Id ¶
func (r ApiGetRecognizeRegionsRequest) Id(id string) ApiGetRecognizeRegionsRequest
type ApiGetRecognizeTableRequest ¶
type ApiGetRecognizeTableRequest struct { ApiService *RecognizeTableApiService // contains filtered or unexported fields }
func (ApiGetRecognizeTableRequest) Execute ¶
func (r ApiGetRecognizeTableRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetRecognizeTableRequest) Id ¶
func (r ApiGetRecognizeTableRequest) Id(id string) ApiGetRecognizeTableRequest
type ApiGetResultFileRequest ¶
type ApiGetResultFileRequest struct { ApiService *ImageProcessingApiService // contains filtered or unexported fields }
func (ApiGetResultFileRequest) Execute ¶
func (r ApiGetResultFileRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiGetResultFileRequest) Id ¶
func (r ApiGetResultFileRequest) Id(id string) ApiGetResultFileRequest
type ApiGetResultTaskRequest ¶
type ApiGetResultTaskRequest struct { ApiService *ImageProcessingApiService // contains filtered or unexported fields }
func (ApiGetResultTaskRequest) Execute ¶
func (r ApiGetResultTaskRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetResultTaskRequest) Id ¶
func (r ApiGetResultTaskRequest) Id(id string) ApiGetResultTaskRequest
type ApiGetTaskStatusRequest ¶
type ApiGetTaskStatusRequest struct { ApiService *UtilitiesApiService // contains filtered or unexported fields }
func (ApiGetTaskStatusRequest) Execute ¶
func (r ApiGetTaskStatusRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetTaskStatusRequest) Id ¶
func (r ApiGetTaskStatusRequest) Id(id string) ApiGetTaskStatusRequest
type ApiGetTextToSpeechResultFileRequest ¶
type ApiGetTextToSpeechResultFileRequest struct { ApiService *TextToSpeechApiService // contains filtered or unexported fields }
func (ApiGetTextToSpeechResultFileRequest) Execute ¶
func (r ApiGetTextToSpeechResultFileRequest) Execute() (map[string]interface{}, *http.Response, error)
type ApiGetTextToSpeechResultRequest ¶
type ApiGetTextToSpeechResultRequest struct { ApiService *TextToSpeechApiService // contains filtered or unexported fields }
func (ApiGetTextToSpeechResultRequest) Execute ¶
func (r ApiGetTextToSpeechResultRequest) Execute() (*TTSResponse, *http.Response, error)
func (ApiGetTextToSpeechResultRequest) Id ¶
func (r ApiGetTextToSpeechResultRequest) Id(id string) ApiGetTextToSpeechResultRequest
type ApiGetUpscaleImageRequest ¶
type ApiGetUpscaleImageRequest struct { ApiService *UpscaleImageApiService // contains filtered or unexported fields }
func (ApiGetUpscaleImageRequest) Execute ¶
func (r ApiGetUpscaleImageRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiGetUpscaleImageRequest) Id ¶
func (r ApiGetUpscaleImageRequest) Id(id string) ApiGetUpscaleImageRequest
type ApiPostBinarizationFileRequest ¶
type ApiPostBinarizationFileRequest struct { ApiService *ImageProcessingApiService // contains filtered or unexported fields }
func (ApiPostBinarizationFileRequest) Execute ¶
func (r ApiPostBinarizationFileRequest) Execute() (string, *http.Response, error)
func (ApiPostBinarizationFileRequest) File ¶
func (r ApiPostBinarizationFileRequest) File(file *os.File) ApiPostBinarizationFileRequest
type ApiPostBinarizeImageRequest ¶
type ApiPostBinarizeImageRequest struct { ApiService *BinarizeImageApiService // contains filtered or unexported fields }
func (ApiPostBinarizeImageRequest) Execute ¶
func (r ApiPostBinarizeImageRequest) Execute() (string, *http.Response, error)
func (ApiPostBinarizeImageRequest) OCRBinarizeImageBody ¶
func (r ApiPostBinarizeImageRequest) OCRBinarizeImageBody(oCRBinarizeImageBody OCRBinarizeImageBody) ApiPostBinarizeImageRequest
type ApiPostConvertTextToSpeechRequest ¶
type ApiPostConvertTextToSpeechRequest struct { ApiService *ConvertTextToSpeechApiService // contains filtered or unexported fields }
func (ApiPostConvertTextToSpeechRequest) Execute ¶
func (r ApiPostConvertTextToSpeechRequest) Execute() (string, *http.Response, error)
func (ApiPostConvertTextToSpeechRequest) TTSBody ¶
func (r ApiPostConvertTextToSpeechRequest) TTSBody(tTSBody TTSBody) ApiPostConvertTextToSpeechRequest
type ApiPostConvertTextToSpeechTrialRequest ¶
type ApiPostConvertTextToSpeechTrialRequest struct { ApiService *ConvertTextToSpeechTrialApiService // contains filtered or unexported fields }
func (ApiPostConvertTextToSpeechTrialRequest) Execute ¶
func (r ApiPostConvertTextToSpeechTrialRequest) Execute() (string, *http.Response, error)
func (ApiPostConvertTextToSpeechTrialRequest) TTSBody ¶
func (r ApiPostConvertTextToSpeechTrialRequest) TTSBody(tTSBody TTSBody) ApiPostConvertTextToSpeechTrialRequest
type ApiPostDeskewImageRequest ¶
type ApiPostDeskewImageRequest struct { ApiService *DeskewImageApiService // contains filtered or unexported fields }
func (ApiPostDeskewImageRequest) Execute ¶
func (r ApiPostDeskewImageRequest) Execute() (string, *http.Response, error)
func (ApiPostDeskewImageRequest) OCRDeskewImageBody ¶
func (r ApiPostDeskewImageRequest) OCRDeskewImageBody(oCRDeskewImageBody OCRDeskewImageBody) ApiPostDeskewImageRequest
type ApiPostDetectRegionsRequest ¶
type ApiPostDetectRegionsRequest struct { ApiService *DetectRegionsApiService // contains filtered or unexported fields }
func (ApiPostDetectRegionsRequest) Execute ¶
func (r ApiPostDetectRegionsRequest) Execute() (string, *http.Response, error)
func (ApiPostDetectRegionsRequest) OCRDetectRegionsBody ¶
func (r ApiPostDetectRegionsRequest) OCRDetectRegionsBody(oCRDetectRegionsBody OCRDetectRegionsBody) ApiPostDetectRegionsRequest
type ApiPostDewarpImageRequest ¶
type ApiPostDewarpImageRequest struct { ApiService *DewarpImageApiService // contains filtered or unexported fields }
func (ApiPostDewarpImageRequest) Execute ¶
func (r ApiPostDewarpImageRequest) Execute() (string, *http.Response, error)
func (ApiPostDewarpImageRequest) OCRDewarpImageBody ¶
func (r ApiPostDewarpImageRequest) OCRDewarpImageBody(oCRDewarpImageBody OCRDewarpImageBody) ApiPostDewarpImageRequest
type ApiPostDewarpingFileRequest ¶
type ApiPostDewarpingFileRequest struct { ApiService *ImageProcessingApiService // contains filtered or unexported fields }
func (ApiPostDewarpingFileRequest) Execute ¶
func (r ApiPostDewarpingFileRequest) Execute() (string, *http.Response, error)
func (ApiPostDewarpingFileRequest) File ¶
func (r ApiPostDewarpingFileRequest) File(file *os.File) ApiPostDewarpingFileRequest
type ApiPostDjVu2PDFRequest ¶
type ApiPostDjVu2PDFRequest struct { ApiService *DjVu2PDFApiService // contains filtered or unexported fields }
func (ApiPostDjVu2PDFRequest) Execute ¶
func (r ApiPostDjVu2PDFRequest) Execute() (string, *http.Response, error)
func (ApiPostDjVu2PDFRequest) OCRDjVu2PDFBody ¶
func (r ApiPostDjVu2PDFRequest) OCRDjVu2PDFBody(oCRDjVu2PDFBody OCRDjVu2PDFBody) ApiPostDjVu2PDFRequest
type ApiPostIdentifyFontRequest ¶
type ApiPostIdentifyFontRequest struct { ApiService *IdentifyFontApiService // contains filtered or unexported fields }
func (ApiPostIdentifyFontRequest) Execute ¶
func (r ApiPostIdentifyFontRequest) Execute() (string, *http.Response, error)
func (ApiPostIdentifyFontRequest) OCRRecognizeFontBody ¶
func (r ApiPostIdentifyFontRequest) OCRRecognizeFontBody(oCRRecognizeFontBody OCRRecognizeFontBody) ApiPostIdentifyFontRequest
type ApiPostRecognizeAndParseInvoiceRequest ¶
type ApiPostRecognizeAndParseInvoiceRequest struct { ApiService *RecognizeAndParseInvoiceApiService // contains filtered or unexported fields }
func (ApiPostRecognizeAndParseInvoiceRequest) Execute ¶
func (r ApiPostRecognizeAndParseInvoiceRequest) Execute() (string, *http.Response, error)
func (ApiPostRecognizeAndParseInvoiceRequest) OCRRecognizeAndParseInvoiceBody ¶
func (r ApiPostRecognizeAndParseInvoiceRequest) OCRRecognizeAndParseInvoiceBody(oCRRecognizeAndParseInvoiceBody OCRRecognizeAndParseInvoiceBody) ApiPostRecognizeAndParseInvoiceRequest
type ApiPostRecognizeImageRequest ¶
type ApiPostRecognizeImageRequest struct { ApiService *RecognizeImageApiService // contains filtered or unexported fields }
func (ApiPostRecognizeImageRequest) Execute ¶
func (r ApiPostRecognizeImageRequest) Execute() (string, *http.Response, error)
func (ApiPostRecognizeImageRequest) OCRRecognizeImageBody ¶
func (r ApiPostRecognizeImageRequest) OCRRecognizeImageBody(oCRRecognizeImageBody OCRRecognizeImageBody) ApiPostRecognizeImageRequest
type ApiPostRecognizeImageTrialRequest ¶
type ApiPostRecognizeImageTrialRequest struct { ApiService *RecognizeImageTrialApiService // contains filtered or unexported fields }
func (ApiPostRecognizeImageTrialRequest) Execute ¶
func (r ApiPostRecognizeImageTrialRequest) Execute() (string, *http.Response, error)
func (ApiPostRecognizeImageTrialRequest) OCRRecognizeImageBody ¶
func (r ApiPostRecognizeImageTrialRequest) OCRRecognizeImageBody(oCRRecognizeImageBody OCRRecognizeImageBody) ApiPostRecognizeImageTrialRequest
type ApiPostRecognizeLabelRequest ¶
type ApiPostRecognizeLabelRequest struct { ApiService *RecognizeLabelApiService // contains filtered or unexported fields }
func (ApiPostRecognizeLabelRequest) Execute ¶
func (r ApiPostRecognizeLabelRequest) Execute() (string, *http.Response, error)
func (ApiPostRecognizeLabelRequest) OCRRecognizeLabelBody ¶
func (r ApiPostRecognizeLabelRequest) OCRRecognizeLabelBody(oCRRecognizeLabelBody OCRRecognizeLabelBody) ApiPostRecognizeLabelRequest
type ApiPostRecognizePdfRequest ¶
type ApiPostRecognizePdfRequest struct { ApiService *RecognizePdfApiService // contains filtered or unexported fields }
func (ApiPostRecognizePdfRequest) Execute ¶
func (r ApiPostRecognizePdfRequest) Execute() (string, *http.Response, error)
func (ApiPostRecognizePdfRequest) OCRRecognizePdfBody ¶
func (r ApiPostRecognizePdfRequest) OCRRecognizePdfBody(oCRRecognizePdfBody OCRRecognizePdfBody) ApiPostRecognizePdfRequest
type ApiPostRecognizeReceiptRequest ¶
type ApiPostRecognizeReceiptRequest struct { ApiService *RecognizeReceiptApiService // contains filtered or unexported fields }
func (ApiPostRecognizeReceiptRequest) Execute ¶
func (r ApiPostRecognizeReceiptRequest) Execute() (string, *http.Response, error)
func (ApiPostRecognizeReceiptRequest) OCRRecognizeReceiptBody ¶
func (r ApiPostRecognizeReceiptRequest) OCRRecognizeReceiptBody(oCRRecognizeReceiptBody OCRRecognizeReceiptBody) ApiPostRecognizeReceiptRequest
type ApiPostRecognizeRegionsRequest ¶
type ApiPostRecognizeRegionsRequest struct { ApiService *RecognizeRegionsApiService // contains filtered or unexported fields }
func (ApiPostRecognizeRegionsRequest) Execute ¶
func (r ApiPostRecognizeRegionsRequest) Execute() (string, *http.Response, error)
func (ApiPostRecognizeRegionsRequest) OCRRecognizeRegionsBody ¶
func (r ApiPostRecognizeRegionsRequest) OCRRecognizeRegionsBody(oCRRecognizeRegionsBody OCRRecognizeRegionsBody) ApiPostRecognizeRegionsRequest
type ApiPostRecognizeTableRequest ¶
type ApiPostRecognizeTableRequest struct { ApiService *RecognizeTableApiService // contains filtered or unexported fields }
func (ApiPostRecognizeTableRequest) Execute ¶
func (r ApiPostRecognizeTableRequest) Execute() (string, *http.Response, error)
func (ApiPostRecognizeTableRequest) OCRRecognizeTableBody ¶
func (r ApiPostRecognizeTableRequest) OCRRecognizeTableBody(oCRRecognizeTableBody OCRRecognizeTableBody) ApiPostRecognizeTableRequest
type ApiPostSkewCorrectionFileRequest ¶
type ApiPostSkewCorrectionFileRequest struct { ApiService *ImageProcessingApiService // contains filtered or unexported fields }
func (ApiPostSkewCorrectionFileRequest) Execute ¶
func (r ApiPostSkewCorrectionFileRequest) Execute() (string, *http.Response, error)
func (ApiPostSkewCorrectionFileRequest) File ¶
func (r ApiPostSkewCorrectionFileRequest) File(file *os.File) ApiPostSkewCorrectionFileRequest
type ApiPostTextToSpeechRequest ¶
type ApiPostTextToSpeechRequest struct { ApiService *TextToSpeechApiService // contains filtered or unexported fields }
func (ApiPostTextToSpeechRequest) Execute ¶
func (r ApiPostTextToSpeechRequest) Execute() (string, *http.Response, error)
func (ApiPostTextToSpeechRequest) TTSBodyDeprecated ¶
func (r ApiPostTextToSpeechRequest) TTSBodyDeprecated(tTSBodyDeprecated TTSBodyDeprecated) ApiPostTextToSpeechRequest
type ApiPostUpsamplingFileRequest ¶
type ApiPostUpsamplingFileRequest struct { ApiService *ImageProcessingApiService // contains filtered or unexported fields }
func (ApiPostUpsamplingFileRequest) Execute ¶
func (r ApiPostUpsamplingFileRequest) Execute() (string, *http.Response, error)
func (ApiPostUpsamplingFileRequest) File ¶
func (r ApiPostUpsamplingFileRequest) File(file *os.File) ApiPostUpsamplingFileRequest
type ApiPostUpscaleImageRequest ¶
type ApiPostUpscaleImageRequest struct { ApiService *UpscaleImageApiService // contains filtered or unexported fields }
func (ApiPostUpscaleImageRequest) Execute ¶
func (r ApiPostUpscaleImageRequest) Execute() (string, *http.Response, error)
func (ApiPostUpscaleImageRequest) OCRUpscaleImageBody ¶
func (r ApiPostUpscaleImageRequest) OCRUpscaleImageBody(oCRUpscaleImageBody OCRUpscaleImageBody) ApiPostUpscaleImageRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BinarizeImageApiService ¶
type BinarizeImageApiService service
BinarizeImageApiService BinarizeImageApi service
func (*BinarizeImageApiService) CancelBinarizeImage ¶
func (a *BinarizeImageApiService) CancelBinarizeImage(ctx context.Context) ApiCancelBinarizeImageRequest
CancelBinarizeImage CancelBinarizeImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelBinarizeImageRequest
func (*BinarizeImageApiService) CancelBinarizeImageExecute ¶
func (a *BinarizeImageApiService) CancelBinarizeImageExecute(r ApiCancelBinarizeImageRequest) (*http.Response, error)
Execute executes the request
func (*BinarizeImageApiService) GetBinarizeImage ¶
func (a *BinarizeImageApiService) GetBinarizeImage(ctx context.Context) ApiGetBinarizeImageRequest
GetBinarizeImage GetBinarizeImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetBinarizeImageRequest
func (*BinarizeImageApiService) GetBinarizeImageExecute ¶
func (a *BinarizeImageApiService) GetBinarizeImageExecute(r ApiGetBinarizeImageRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*BinarizeImageApiService) PostBinarizeImage ¶
func (a *BinarizeImageApiService) PostBinarizeImage(ctx context.Context) ApiPostBinarizeImageRequest
PostBinarizeImage PostBinarizeImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostBinarizeImageRequest
func (*BinarizeImageApiService) PostBinarizeImageExecute ¶
func (a *BinarizeImageApiService) PostBinarizeImageExecute(r ApiPostBinarizeImageRequest) (string, *http.Response, error)
Execute executes the request
@return string
type Configuration ¶
type Configuration struct { ClientId string `json:"clientId,omitempty"` ClientSecret string `json:"clientSecret,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration(clientId string, clientSecret string) *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ConvertTextToSpeechApiService ¶
type ConvertTextToSpeechApiService service
ConvertTextToSpeechApiService ConvertTextToSpeechApi service
func (*ConvertTextToSpeechApiService) CancelConvertTextToSpeech ¶
func (a *ConvertTextToSpeechApiService) CancelConvertTextToSpeech(ctx context.Context) ApiCancelConvertTextToSpeechRequest
CancelConvertTextToSpeech CancelConvertTextToSpeech
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelConvertTextToSpeechRequest
func (*ConvertTextToSpeechApiService) CancelConvertTextToSpeechExecute ¶
func (a *ConvertTextToSpeechApiService) CancelConvertTextToSpeechExecute(r ApiCancelConvertTextToSpeechRequest) (*http.Response, error)
Execute executes the request
func (*ConvertTextToSpeechApiService) GetConvertTextToSpeech ¶
func (a *ConvertTextToSpeechApiService) GetConvertTextToSpeech(ctx context.Context) ApiGetConvertTextToSpeechRequest
GetConvertTextToSpeech GetConvertTextToSpeech
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetConvertTextToSpeechRequest
func (*ConvertTextToSpeechApiService) GetConvertTextToSpeechExecute ¶
func (a *ConvertTextToSpeechApiService) GetConvertTextToSpeechExecute(r ApiGetConvertTextToSpeechRequest) (*TTSResponse, *http.Response, error)
Execute executes the request
@return TTSResponse
func (*ConvertTextToSpeechApiService) PostConvertTextToSpeech ¶
func (a *ConvertTextToSpeechApiService) PostConvertTextToSpeech(ctx context.Context) ApiPostConvertTextToSpeechRequest
PostConvertTextToSpeech PostConvertTextToSpeech
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostConvertTextToSpeechRequest
func (*ConvertTextToSpeechApiService) PostConvertTextToSpeechExecute ¶
func (a *ConvertTextToSpeechApiService) PostConvertTextToSpeechExecute(r ApiPostConvertTextToSpeechRequest) (string, *http.Response, error)
Execute executes the request
@return string
type ConvertTextToSpeechTrialApiService ¶
type ConvertTextToSpeechTrialApiService service
ConvertTextToSpeechTrialApiService ConvertTextToSpeechTrialApi service
func (*ConvertTextToSpeechTrialApiService) CancelConvertTextToSpeechTrial ¶
func (a *ConvertTextToSpeechTrialApiService) CancelConvertTextToSpeechTrial(ctx context.Context) ApiCancelConvertTextToSpeechTrialRequest
CancelConvertTextToSpeechTrial CancelConvertTextToSpeechTrial
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelConvertTextToSpeechTrialRequest
func (*ConvertTextToSpeechTrialApiService) CancelConvertTextToSpeechTrialExecute ¶
func (a *ConvertTextToSpeechTrialApiService) CancelConvertTextToSpeechTrialExecute(r ApiCancelConvertTextToSpeechTrialRequest) (*http.Response, error)
Execute executes the request
func (*ConvertTextToSpeechTrialApiService) GetConvertTextToSpeechTrial ¶
func (a *ConvertTextToSpeechTrialApiService) GetConvertTextToSpeechTrial(ctx context.Context) ApiGetConvertTextToSpeechTrialRequest
GetConvertTextToSpeechTrial GetConvertTextToSpeechTrial
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetConvertTextToSpeechTrialRequest
func (*ConvertTextToSpeechTrialApiService) GetConvertTextToSpeechTrialExecute ¶
func (a *ConvertTextToSpeechTrialApiService) GetConvertTextToSpeechTrialExecute(r ApiGetConvertTextToSpeechTrialRequest) (*TTSResponse, *http.Response, error)
Execute executes the request
@return TTSResponse
func (*ConvertTextToSpeechTrialApiService) PostConvertTextToSpeechTrial ¶
func (a *ConvertTextToSpeechTrialApiService) PostConvertTextToSpeechTrial(ctx context.Context) ApiPostConvertTextToSpeechTrialRequest
PostConvertTextToSpeechTrial PostConvertTextToSpeechTrial
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostConvertTextToSpeechTrialRequest
func (*ConvertTextToSpeechTrialApiService) PostConvertTextToSpeechTrialExecute ¶
func (a *ConvertTextToSpeechTrialApiService) PostConvertTextToSpeechTrialExecute(r ApiPostConvertTextToSpeechTrialRequest) (string, *http.Response, error)
Execute executes the request
@return string
type DeskewImageApiService ¶
type DeskewImageApiService service
DeskewImageApiService DeskewImageApi service
func (*DeskewImageApiService) CancelDeskewImage ¶
func (a *DeskewImageApiService) CancelDeskewImage(ctx context.Context) ApiCancelDeskewImageRequest
CancelDeskewImage CancelDeskewImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelDeskewImageRequest
func (*DeskewImageApiService) CancelDeskewImageExecute ¶
func (a *DeskewImageApiService) CancelDeskewImageExecute(r ApiCancelDeskewImageRequest) (*http.Response, error)
Execute executes the request
func (*DeskewImageApiService) GetDeskewImage ¶
func (a *DeskewImageApiService) GetDeskewImage(ctx context.Context) ApiGetDeskewImageRequest
GetDeskewImage GetDeskewImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetDeskewImageRequest
func (*DeskewImageApiService) GetDeskewImageExecute ¶
func (a *DeskewImageApiService) GetDeskewImageExecute(r ApiGetDeskewImageRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*DeskewImageApiService) PostDeskewImage ¶
func (a *DeskewImageApiService) PostDeskewImage(ctx context.Context) ApiPostDeskewImageRequest
PostDeskewImage PostDeskewImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostDeskewImageRequest
func (*DeskewImageApiService) PostDeskewImageExecute ¶
func (a *DeskewImageApiService) PostDeskewImageExecute(r ApiPostDeskewImageRequest) (string, *http.Response, error)
Execute executes the request
@return string
type DetectRegionsApiService ¶
type DetectRegionsApiService service
DetectRegionsApiService DetectRegionsApi service
func (*DetectRegionsApiService) CancelDetectRegions ¶
func (a *DetectRegionsApiService) CancelDetectRegions(ctx context.Context) ApiCancelDetectRegionsRequest
CancelDetectRegions CancelDetectRegions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelDetectRegionsRequest
func (*DetectRegionsApiService) CancelDetectRegionsExecute ¶
func (a *DetectRegionsApiService) CancelDetectRegionsExecute(r ApiCancelDetectRegionsRequest) (*http.Response, error)
Execute executes the request
func (*DetectRegionsApiService) GetDetectRegions ¶
func (a *DetectRegionsApiService) GetDetectRegions(ctx context.Context) ApiGetDetectRegionsRequest
GetDetectRegions GetDetectRegions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetDetectRegionsRequest
func (*DetectRegionsApiService) GetDetectRegionsExecute ¶
func (a *DetectRegionsApiService) GetDetectRegionsExecute(r ApiGetDetectRegionsRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*DetectRegionsApiService) PostDetectRegions ¶
func (a *DetectRegionsApiService) PostDetectRegions(ctx context.Context) ApiPostDetectRegionsRequest
PostDetectRegions PostDetectRegions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostDetectRegionsRequest
func (*DetectRegionsApiService) PostDetectRegionsExecute ¶
func (a *DetectRegionsApiService) PostDetectRegionsExecute(r ApiPostDetectRegionsRequest) (string, *http.Response, error)
Execute executes the request
@return string
type DewarpImageApiService ¶
type DewarpImageApiService service
DewarpImageApiService DewarpImageApi service
func (*DewarpImageApiService) CancelDewarpImage ¶
func (a *DewarpImageApiService) CancelDewarpImage(ctx context.Context) ApiCancelDewarpImageRequest
CancelDewarpImage CancelDewarpImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelDewarpImageRequest
func (*DewarpImageApiService) CancelDewarpImageExecute ¶
func (a *DewarpImageApiService) CancelDewarpImageExecute(r ApiCancelDewarpImageRequest) (*http.Response, error)
Execute executes the request
func (*DewarpImageApiService) GetDewarpImage ¶
func (a *DewarpImageApiService) GetDewarpImage(ctx context.Context) ApiGetDewarpImageRequest
GetDewarpImage GetDewarpImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetDewarpImageRequest
func (*DewarpImageApiService) GetDewarpImageExecute ¶
func (a *DewarpImageApiService) GetDewarpImageExecute(r ApiGetDewarpImageRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*DewarpImageApiService) PostDewarpImage ¶
func (a *DewarpImageApiService) PostDewarpImage(ctx context.Context) ApiPostDewarpImageRequest
PostDewarpImage PostDewarpImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostDewarpImageRequest
func (*DewarpImageApiService) PostDewarpImageExecute ¶
func (a *DewarpImageApiService) PostDewarpImageExecute(r ApiPostDewarpImageRequest) (string, *http.Response, error)
Execute executes the request
@return string
type DjVu2PDFApiService ¶
type DjVu2PDFApiService service
DjVu2PDFApiService DjVu2PDFApi service
func (*DjVu2PDFApiService) CancelDjVu2PDF ¶
func (a *DjVu2PDFApiService) CancelDjVu2PDF(ctx context.Context) ApiCancelDjVu2PDFRequest
CancelDjVu2PDF CancelDjVu2PDF
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelDjVu2PDFRequest
func (*DjVu2PDFApiService) CancelDjVu2PDFExecute ¶
func (a *DjVu2PDFApiService) CancelDjVu2PDFExecute(r ApiCancelDjVu2PDFRequest) (*http.Response, error)
Execute executes the request
func (*DjVu2PDFApiService) GetDjVu2PDF ¶
func (a *DjVu2PDFApiService) GetDjVu2PDF(ctx context.Context) ApiGetDjVu2PDFRequest
GetDjVu2PDF GetDjVu2PDF
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetDjVu2PDFRequest
func (*DjVu2PDFApiService) GetDjVu2PDFExecute ¶
func (a *DjVu2PDFApiService) GetDjVu2PDFExecute(r ApiGetDjVu2PDFRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*DjVu2PDFApiService) PostDjVu2PDF ¶
func (a *DjVu2PDFApiService) PostDjVu2PDF(ctx context.Context) ApiPostDjVu2PDFRequest
PostDjVu2PDF PostDjVu2PDF
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostDjVu2PDFRequest
func (*DjVu2PDFApiService) PostDjVu2PDFExecute ¶
func (a *DjVu2PDFApiService) PostDjVu2PDFExecute(r ApiPostDjVu2PDFRequest) (string, *http.Response, error)
Execute executes the request
@return string
type DsrConfidence ¶
type DsrConfidence string
DsrConfidence Region filtering threshold. Filtering by the algorithm confidence scale. Higher mode - more aggressive filtering. Default == Medium
const ( DSRCONFIDENCE_DEFAULT DsrConfidence = "Default" DSRCONFIDENCE_LOW DsrConfidence = "Low" DSRCONFIDENCE_LOW_MID DsrConfidence = "LowMid" DSRCONFIDENCE_MID DsrConfidence = "Mid" DSRCONFIDENCE_MID_HIGH DsrConfidence = "MidHigh" DSRCONFIDENCE_HIGH DsrConfidence = "High" DSRCONFIDENCE_ULTRA DsrConfidence = "Ultra" DSRCONFIDENCE_ALL DsrConfidence = "All" )
List of DsrConfidence
func NewDsrConfidenceFromValue ¶
func NewDsrConfidenceFromValue(v string) (*DsrConfidence, error)
NewDsrConfidenceFromValue returns a pointer to a valid DsrConfidence for the value passed as argument, or an error if the value passed is not allowed by the enum
func (DsrConfidence) IsValid ¶
func (v DsrConfidence) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (DsrConfidence) Ptr ¶
func (v DsrConfidence) Ptr() *DsrConfidence
Ptr returns reference to DsrConfidence value
func (*DsrConfidence) UnmarshalJSON ¶
func (v *DsrConfidence) UnmarshalJSON(src []byte) error
type DsrMode ¶
type DsrMode string
DsrMode Option that sets the recognition result type or combination of some types: Text, Searchable PDF, HOCR
const ( DSRMODE_REGIONS DsrMode = "Regions" DSRMODE_DSR_NO_FILTER DsrMode = "DsrNoFilter" DSRMODE_DSR_AND_FILTER DsrMode = "DsrAndFilter" DSRMODE_NO_DSR_NO_FILTER DsrMode = "NoDsrNoFilter" DSRMODE_TEXT_DETECTOR DsrMode = "TextDetector" DSRMODE_DSR_PLUS_DETECTOR DsrMode = "DsrPlusDetector" DSRMODE_POLYGONAL_TEXT_DETECTOR DsrMode = "PolygonalTextDetector" )
List of DsrMode
func NewDsrModeFromValue ¶
NewDsrModeFromValue returns a pointer to a valid DsrMode for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*DsrMode) UnmarshalJSON ¶
type GenericAPIError ¶
type GenericAPIError struct {
// contains filtered or unexported fields
}
GenericAPIError Provides access to the body, error and model on returned errors.
func (GenericAPIError) Body ¶
func (e GenericAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericAPIError) Error ¶
func (e GenericAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericAPIError) Model ¶
func (e GenericAPIError) Model() interface{}
Model returns the unpacked model of the error
type IdentifyFontApiService ¶
type IdentifyFontApiService service
IdentifyFontApiService IdentifyFontApi service
func (*IdentifyFontApiService) CancelIdentifyFont ¶
func (a *IdentifyFontApiService) CancelIdentifyFont(ctx context.Context) ApiCancelIdentifyFontRequest
CancelIdentifyFont CancelIdentifyFont
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelIdentifyFontRequest
func (*IdentifyFontApiService) CancelIdentifyFontExecute ¶
func (a *IdentifyFontApiService) CancelIdentifyFontExecute(r ApiCancelIdentifyFontRequest) (*http.Response, error)
Execute executes the request
func (*IdentifyFontApiService) GetIdentifyFont ¶
func (a *IdentifyFontApiService) GetIdentifyFont(ctx context.Context) ApiGetIdentifyFontRequest
GetIdentifyFont GetIdentifyFont
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetIdentifyFontRequest
func (*IdentifyFontApiService) GetIdentifyFontExecute ¶
func (a *IdentifyFontApiService) GetIdentifyFontExecute(r ApiGetIdentifyFontRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*IdentifyFontApiService) PostIdentifyFont ¶
func (a *IdentifyFontApiService) PostIdentifyFont(ctx context.Context) ApiPostIdentifyFontRequest
PostIdentifyFont PostIdentifyFont
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostIdentifyFontRequest
func (*IdentifyFontApiService) PostIdentifyFontExecute ¶
func (a *IdentifyFontApiService) PostIdentifyFontExecute(r ApiPostIdentifyFontRequest) (string, *http.Response, error)
Execute executes the request
@return string
type ImageProcessingApiService ¶
type ImageProcessingApiService service
ImageProcessingApiService ImageProcessingApi service
func (*ImageProcessingApiService) GetResultFile ¶
func (a *ImageProcessingApiService) GetResultFile(ctx context.Context) ApiGetResultFileRequest
GetResultFile GetResultFile
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetResultFileRequest
Deprecated
func (*ImageProcessingApiService) GetResultFileExecute ¶
func (a *ImageProcessingApiService) GetResultFileExecute(r ApiGetResultFileRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
Deprecated
func (*ImageProcessingApiService) GetResultTask ¶
func (a *ImageProcessingApiService) GetResultTask(ctx context.Context) ApiGetResultTaskRequest
GetResultTask GetResultTask
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetResultTaskRequest
Deprecated
func (*ImageProcessingApiService) GetResultTaskExecute ¶
func (a *ImageProcessingApiService) GetResultTaskExecute(r ApiGetResultTaskRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
Deprecated
func (*ImageProcessingApiService) PostBinarizationFile ¶
func (a *ImageProcessingApiService) PostBinarizationFile(ctx context.Context) ApiPostBinarizationFileRequest
PostBinarizationFile PostBinarizationFile
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostBinarizationFileRequest
Deprecated
func (*ImageProcessingApiService) PostBinarizationFileExecute ¶
func (a *ImageProcessingApiService) PostBinarizationFileExecute(r ApiPostBinarizationFileRequest) (string, *http.Response, error)
Execute executes the request
@return string
Deprecated
func (*ImageProcessingApiService) PostDewarpingFile ¶
func (a *ImageProcessingApiService) PostDewarpingFile(ctx context.Context) ApiPostDewarpingFileRequest
PostDewarpingFile PostDewarpingFile
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostDewarpingFileRequest
Deprecated
func (*ImageProcessingApiService) PostDewarpingFileExecute ¶
func (a *ImageProcessingApiService) PostDewarpingFileExecute(r ApiPostDewarpingFileRequest) (string, *http.Response, error)
Execute executes the request
@return string
Deprecated
func (*ImageProcessingApiService) PostSkewCorrectionFile ¶
func (a *ImageProcessingApiService) PostSkewCorrectionFile(ctx context.Context) ApiPostSkewCorrectionFileRequest
PostSkewCorrectionFile PostSkewCorrectionFile
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostSkewCorrectionFileRequest
Deprecated
func (*ImageProcessingApiService) PostSkewCorrectionFileExecute ¶
func (a *ImageProcessingApiService) PostSkewCorrectionFileExecute(r ApiPostSkewCorrectionFileRequest) (string, *http.Response, error)
Execute executes the request
@return string
Deprecated
func (*ImageProcessingApiService) PostUpsamplingFile ¶
func (a *ImageProcessingApiService) PostUpsamplingFile(ctx context.Context) ApiPostUpsamplingFileRequest
PostUpsamplingFile PostUpsamplingImageFile
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostUpsamplingFileRequest
Deprecated
func (*ImageProcessingApiService) PostUpsamplingFileExecute ¶
func (a *ImageProcessingApiService) PostUpsamplingFileExecute(r ApiPostUpsamplingFileRequest) (string, *http.Response, error)
Execute executes the request
@return string
Deprecated
type Language ¶
type Language string
Language Recognition Language
const ( LANGUAGE_ENGLISH Language = "English" LANGUAGE_GERMAN Language = "German" LANGUAGE_FRENCH Language = "French" LANGUAGE_ITALIAN Language = "Italian" LANGUAGE_SPANISH Language = "Spanish" LANGUAGE_PORTUGUESE Language = "Portuguese" LANGUAGE_POLISH Language = "Polish" LANGUAGE_SLOVENE Language = "Slovene" LANGUAGE_SLOVAK Language = "Slovak" LANGUAGE_NETHERLANDS Language = "Netherlands" LANGUAGE_LITHUANIAN Language = "Lithuanian" LANGUAGE_LATVIAN Language = "Latvian" LANGUAGE_DANISH Language = "Danish" LANGUAGE_NORWEGIAN Language = "Norwegian" LANGUAGE_FINNISH Language = "Finnish" LANGUAGE_SERBIAN Language = "Serbian" LANGUAGE_CROATIAN Language = "Croatian" LANGUAGE_CZECH Language = "Czech" LANGUAGE_SWEDISH Language = "Swedish" LANGUAGE_ESTONIAN Language = "Estonian" LANGUAGE_ROMANIAN Language = "Romanian" LANGUAGE_CHINESE Language = "Chinese" LANGUAGE_RUSSIAN Language = "Russian" LANGUAGE_ARABIC Language = "Arabic" LANGUAGE_HINDI Language = "Hindi" LANGUAGE_UKRAINAN Language = "Ukrainan" LANGUAGE_BENGALI Language = "Bengali" LANGUAGE_TIBETAN Language = "Tibetan" LANGUAGE_THAI Language = "Thai" LANGUAGE_URDU Language = "Urdu" LANGUAGE_TURKISH Language = "Turkish" LANGUAGE_KOREAN Language = "Korean" LANGUAGE_INDONESIAN Language = "Indonesian" LANGUAGE_HEBREW Language = "Hebrew" LANGUAGE_JAVANESE Language = "Javanese" LANGUAGE_GREEK Language = "Greek" LANGUAGE_JAPANESE Language = "Japanese" LANGUAGE_PERSIAN Language = "Persian" LANGUAGE_ALBANIAN Language = "Albanian" LANGUAGE_LATIN Language = "Latin" LANGUAGE_VIETNAMESE Language = "Vietnamese" LANGUAGE_UZBEK Language = "Uzbek" LANGUAGE_GEORGIAN Language = "Georgian" LANGUAGE_BULGARIAN Language = "Bulgarian" LANGUAGE_AZERBAIJANI Language = "Azerbaijani" LANGUAGE_KAZAH Language = "Kazah" LANGUAGE_MACEDONIAN Language = "Macedonian" LANGUAGE_BELORUSSIAN Language = "Belorussian" LANGUAGE_HWT_ENG Language = "HWT_eng" )
List of Language
func NewLanguageFromValue ¶
NewLanguageFromValue returns a pointer to a valid Language for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Language) UnmarshalJSON ¶
type LanguageTTS ¶
type LanguageTTS string
LanguageTTS the model 'LanguageTTS'
const (
LANGUAGETTS_ENGLISH LanguageTTS = "English"
)
List of LanguageTTS
func NewLanguageTTSFromValue ¶
func NewLanguageTTSFromValue(v string) (*LanguageTTS, error)
NewLanguageTTSFromValue returns a pointer to a valid LanguageTTS for the value passed as argument, or an error if the value passed is not allowed by the enum
func (LanguageTTS) IsValid ¶
func (v LanguageTTS) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (LanguageTTS) Ptr ¶
func (v LanguageTTS) Ptr() *LanguageTTS
Ptr returns reference to LanguageTTS value
func (*LanguageTTS) UnmarshalJSON ¶
func (v *LanguageTTS) UnmarshalJSON(src []byte) error
type MappedNullable ¶
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableDsrConfidence ¶
type NullableDsrConfidence struct {
// contains filtered or unexported fields
}
func NewNullableDsrConfidence ¶
func NewNullableDsrConfidence(val *DsrConfidence) *NullableDsrConfidence
func (NullableDsrConfidence) Get ¶
func (v NullableDsrConfidence) Get() *DsrConfidence
func (NullableDsrConfidence) IsSet ¶
func (v NullableDsrConfidence) IsSet() bool
func (NullableDsrConfidence) MarshalJSON ¶
func (v NullableDsrConfidence) MarshalJSON() ([]byte, error)
func (*NullableDsrConfidence) Set ¶
func (v *NullableDsrConfidence) Set(val *DsrConfidence)
func (*NullableDsrConfidence) UnmarshalJSON ¶
func (v *NullableDsrConfidence) UnmarshalJSON(src []byte) error
func (*NullableDsrConfidence) Unset ¶
func (v *NullableDsrConfidence) Unset()
type NullableDsrMode ¶
type NullableDsrMode struct {
// contains filtered or unexported fields
}
func NewNullableDsrMode ¶
func NewNullableDsrMode(val *DsrMode) *NullableDsrMode
func (NullableDsrMode) Get ¶
func (v NullableDsrMode) Get() *DsrMode
func (NullableDsrMode) IsSet ¶
func (v NullableDsrMode) IsSet() bool
func (NullableDsrMode) MarshalJSON ¶
func (v NullableDsrMode) MarshalJSON() ([]byte, error)
func (*NullableDsrMode) Set ¶
func (v *NullableDsrMode) Set(val *DsrMode)
func (*NullableDsrMode) UnmarshalJSON ¶
func (v *NullableDsrMode) UnmarshalJSON(src []byte) error
func (*NullableDsrMode) Unset ¶
func (v *NullableDsrMode) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLanguage ¶
type NullableLanguage struct {
// contains filtered or unexported fields
}
func NewNullableLanguage ¶
func NewNullableLanguage(val *Language) *NullableLanguage
func (NullableLanguage) Get ¶
func (v NullableLanguage) Get() *Language
func (NullableLanguage) IsSet ¶
func (v NullableLanguage) IsSet() bool
func (NullableLanguage) MarshalJSON ¶
func (v NullableLanguage) MarshalJSON() ([]byte, error)
func (*NullableLanguage) Set ¶
func (v *NullableLanguage) Set(val *Language)
func (*NullableLanguage) UnmarshalJSON ¶
func (v *NullableLanguage) UnmarshalJSON(src []byte) error
func (*NullableLanguage) Unset ¶
func (v *NullableLanguage) Unset()
type NullableLanguageTTS ¶
type NullableLanguageTTS struct {
// contains filtered or unexported fields
}
func NewNullableLanguageTTS ¶
func NewNullableLanguageTTS(val *LanguageTTS) *NullableLanguageTTS
func (NullableLanguageTTS) Get ¶
func (v NullableLanguageTTS) Get() *LanguageTTS
func (NullableLanguageTTS) IsSet ¶
func (v NullableLanguageTTS) IsSet() bool
func (NullableLanguageTTS) MarshalJSON ¶
func (v NullableLanguageTTS) MarshalJSON() ([]byte, error)
func (*NullableLanguageTTS) Set ¶
func (v *NullableLanguageTTS) Set(val *LanguageTTS)
func (*NullableLanguageTTS) UnmarshalJSON ¶
func (v *NullableLanguageTTS) UnmarshalJSON(src []byte) error
func (*NullableLanguageTTS) Unset ¶
func (v *NullableLanguageTTS) Unset()
type NullableOCRBinarizeImageBody ¶
type NullableOCRBinarizeImageBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRBinarizeImageBody ¶
func NewNullableOCRBinarizeImageBody(val *OCRBinarizeImageBody) *NullableOCRBinarizeImageBody
func (NullableOCRBinarizeImageBody) Get ¶
func (v NullableOCRBinarizeImageBody) Get() *OCRBinarizeImageBody
func (NullableOCRBinarizeImageBody) IsSet ¶
func (v NullableOCRBinarizeImageBody) IsSet() bool
func (NullableOCRBinarizeImageBody) MarshalJSON ¶
func (v NullableOCRBinarizeImageBody) MarshalJSON() ([]byte, error)
func (*NullableOCRBinarizeImageBody) Set ¶
func (v *NullableOCRBinarizeImageBody) Set(val *OCRBinarizeImageBody)
func (*NullableOCRBinarizeImageBody) UnmarshalJSON ¶
func (v *NullableOCRBinarizeImageBody) UnmarshalJSON(src []byte) error
func (*NullableOCRBinarizeImageBody) Unset ¶
func (v *NullableOCRBinarizeImageBody) Unset()
type NullableOCRDeskewImageBody ¶
type NullableOCRDeskewImageBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRDeskewImageBody ¶
func NewNullableOCRDeskewImageBody(val *OCRDeskewImageBody) *NullableOCRDeskewImageBody
func (NullableOCRDeskewImageBody) Get ¶
func (v NullableOCRDeskewImageBody) Get() *OCRDeskewImageBody
func (NullableOCRDeskewImageBody) IsSet ¶
func (v NullableOCRDeskewImageBody) IsSet() bool
func (NullableOCRDeskewImageBody) MarshalJSON ¶
func (v NullableOCRDeskewImageBody) MarshalJSON() ([]byte, error)
func (*NullableOCRDeskewImageBody) Set ¶
func (v *NullableOCRDeskewImageBody) Set(val *OCRDeskewImageBody)
func (*NullableOCRDeskewImageBody) UnmarshalJSON ¶
func (v *NullableOCRDeskewImageBody) UnmarshalJSON(src []byte) error
func (*NullableOCRDeskewImageBody) Unset ¶
func (v *NullableOCRDeskewImageBody) Unset()
type NullableOCRDetectRegionsBody ¶
type NullableOCRDetectRegionsBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRDetectRegionsBody ¶
func NewNullableOCRDetectRegionsBody(val *OCRDetectRegionsBody) *NullableOCRDetectRegionsBody
func (NullableOCRDetectRegionsBody) Get ¶
func (v NullableOCRDetectRegionsBody) Get() *OCRDetectRegionsBody
func (NullableOCRDetectRegionsBody) IsSet ¶
func (v NullableOCRDetectRegionsBody) IsSet() bool
func (NullableOCRDetectRegionsBody) MarshalJSON ¶
func (v NullableOCRDetectRegionsBody) MarshalJSON() ([]byte, error)
func (*NullableOCRDetectRegionsBody) Set ¶
func (v *NullableOCRDetectRegionsBody) Set(val *OCRDetectRegionsBody)
func (*NullableOCRDetectRegionsBody) UnmarshalJSON ¶
func (v *NullableOCRDetectRegionsBody) UnmarshalJSON(src []byte) error
func (*NullableOCRDetectRegionsBody) Unset ¶
func (v *NullableOCRDetectRegionsBody) Unset()
type NullableOCRDewarpImageBody ¶
type NullableOCRDewarpImageBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRDewarpImageBody ¶
func NewNullableOCRDewarpImageBody(val *OCRDewarpImageBody) *NullableOCRDewarpImageBody
func (NullableOCRDewarpImageBody) Get ¶
func (v NullableOCRDewarpImageBody) Get() *OCRDewarpImageBody
func (NullableOCRDewarpImageBody) IsSet ¶
func (v NullableOCRDewarpImageBody) IsSet() bool
func (NullableOCRDewarpImageBody) MarshalJSON ¶
func (v NullableOCRDewarpImageBody) MarshalJSON() ([]byte, error)
func (*NullableOCRDewarpImageBody) Set ¶
func (v *NullableOCRDewarpImageBody) Set(val *OCRDewarpImageBody)
func (*NullableOCRDewarpImageBody) UnmarshalJSON ¶
func (v *NullableOCRDewarpImageBody) UnmarshalJSON(src []byte) error
func (*NullableOCRDewarpImageBody) Unset ¶
func (v *NullableOCRDewarpImageBody) Unset()
type NullableOCRDjVu2PDFBody ¶
type NullableOCRDjVu2PDFBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRDjVu2PDFBody ¶
func NewNullableOCRDjVu2PDFBody(val *OCRDjVu2PDFBody) *NullableOCRDjVu2PDFBody
func (NullableOCRDjVu2PDFBody) Get ¶
func (v NullableOCRDjVu2PDFBody) Get() *OCRDjVu2PDFBody
func (NullableOCRDjVu2PDFBody) IsSet ¶
func (v NullableOCRDjVu2PDFBody) IsSet() bool
func (NullableOCRDjVu2PDFBody) MarshalJSON ¶
func (v NullableOCRDjVu2PDFBody) MarshalJSON() ([]byte, error)
func (*NullableOCRDjVu2PDFBody) Set ¶
func (v *NullableOCRDjVu2PDFBody) Set(val *OCRDjVu2PDFBody)
func (*NullableOCRDjVu2PDFBody) UnmarshalJSON ¶
func (v *NullableOCRDjVu2PDFBody) UnmarshalJSON(src []byte) error
func (*NullableOCRDjVu2PDFBody) Unset ¶
func (v *NullableOCRDjVu2PDFBody) Unset()
type NullableOCRError ¶
type NullableOCRError struct {
// contains filtered or unexported fields
}
func NewNullableOCRError ¶
func NewNullableOCRError(val *OCRError) *NullableOCRError
func (NullableOCRError) Get ¶
func (v NullableOCRError) Get() *OCRError
func (NullableOCRError) IsSet ¶
func (v NullableOCRError) IsSet() bool
func (NullableOCRError) MarshalJSON ¶
func (v NullableOCRError) MarshalJSON() ([]byte, error)
func (*NullableOCRError) Set ¶
func (v *NullableOCRError) Set(val *OCRError)
func (*NullableOCRError) UnmarshalJSON ¶
func (v *NullableOCRError) UnmarshalJSON(src []byte) error
func (*NullableOCRError) Unset ¶
func (v *NullableOCRError) Unset()
type NullableOCRRecognizeAndParseInvoiceBody ¶
type NullableOCRRecognizeAndParseInvoiceBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRRecognizeAndParseInvoiceBody ¶
func NewNullableOCRRecognizeAndParseInvoiceBody(val *OCRRecognizeAndParseInvoiceBody) *NullableOCRRecognizeAndParseInvoiceBody
func (NullableOCRRecognizeAndParseInvoiceBody) IsSet ¶
func (v NullableOCRRecognizeAndParseInvoiceBody) IsSet() bool
func (NullableOCRRecognizeAndParseInvoiceBody) MarshalJSON ¶
func (v NullableOCRRecognizeAndParseInvoiceBody) MarshalJSON() ([]byte, error)
func (*NullableOCRRecognizeAndParseInvoiceBody) Set ¶
func (v *NullableOCRRecognizeAndParseInvoiceBody) Set(val *OCRRecognizeAndParseInvoiceBody)
func (*NullableOCRRecognizeAndParseInvoiceBody) UnmarshalJSON ¶
func (v *NullableOCRRecognizeAndParseInvoiceBody) UnmarshalJSON(src []byte) error
func (*NullableOCRRecognizeAndParseInvoiceBody) Unset ¶
func (v *NullableOCRRecognizeAndParseInvoiceBody) Unset()
type NullableOCRRecognizeFontBody ¶
type NullableOCRRecognizeFontBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRRecognizeFontBody ¶
func NewNullableOCRRecognizeFontBody(val *OCRRecognizeFontBody) *NullableOCRRecognizeFontBody
func (NullableOCRRecognizeFontBody) Get ¶
func (v NullableOCRRecognizeFontBody) Get() *OCRRecognizeFontBody
func (NullableOCRRecognizeFontBody) IsSet ¶
func (v NullableOCRRecognizeFontBody) IsSet() bool
func (NullableOCRRecognizeFontBody) MarshalJSON ¶
func (v NullableOCRRecognizeFontBody) MarshalJSON() ([]byte, error)
func (*NullableOCRRecognizeFontBody) Set ¶
func (v *NullableOCRRecognizeFontBody) Set(val *OCRRecognizeFontBody)
func (*NullableOCRRecognizeFontBody) UnmarshalJSON ¶
func (v *NullableOCRRecognizeFontBody) UnmarshalJSON(src []byte) error
func (*NullableOCRRecognizeFontBody) Unset ¶
func (v *NullableOCRRecognizeFontBody) Unset()
type NullableOCRRecognizeImageBody ¶
type NullableOCRRecognizeImageBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRRecognizeImageBody ¶
func NewNullableOCRRecognizeImageBody(val *OCRRecognizeImageBody) *NullableOCRRecognizeImageBody
func (NullableOCRRecognizeImageBody) Get ¶
func (v NullableOCRRecognizeImageBody) Get() *OCRRecognizeImageBody
func (NullableOCRRecognizeImageBody) IsSet ¶
func (v NullableOCRRecognizeImageBody) IsSet() bool
func (NullableOCRRecognizeImageBody) MarshalJSON ¶
func (v NullableOCRRecognizeImageBody) MarshalJSON() ([]byte, error)
func (*NullableOCRRecognizeImageBody) Set ¶
func (v *NullableOCRRecognizeImageBody) Set(val *OCRRecognizeImageBody)
func (*NullableOCRRecognizeImageBody) UnmarshalJSON ¶
func (v *NullableOCRRecognizeImageBody) UnmarshalJSON(src []byte) error
func (*NullableOCRRecognizeImageBody) Unset ¶
func (v *NullableOCRRecognizeImageBody) Unset()
type NullableOCRRecognizeLabelBody ¶
type NullableOCRRecognizeLabelBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRRecognizeLabelBody ¶
func NewNullableOCRRecognizeLabelBody(val *OCRRecognizeLabelBody) *NullableOCRRecognizeLabelBody
func (NullableOCRRecognizeLabelBody) Get ¶
func (v NullableOCRRecognizeLabelBody) Get() *OCRRecognizeLabelBody
func (NullableOCRRecognizeLabelBody) IsSet ¶
func (v NullableOCRRecognizeLabelBody) IsSet() bool
func (NullableOCRRecognizeLabelBody) MarshalJSON ¶
func (v NullableOCRRecognizeLabelBody) MarshalJSON() ([]byte, error)
func (*NullableOCRRecognizeLabelBody) Set ¶
func (v *NullableOCRRecognizeLabelBody) Set(val *OCRRecognizeLabelBody)
func (*NullableOCRRecognizeLabelBody) UnmarshalJSON ¶
func (v *NullableOCRRecognizeLabelBody) UnmarshalJSON(src []byte) error
func (*NullableOCRRecognizeLabelBody) Unset ¶
func (v *NullableOCRRecognizeLabelBody) Unset()
type NullableOCRRecognizePdfBody ¶
type NullableOCRRecognizePdfBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRRecognizePdfBody ¶
func NewNullableOCRRecognizePdfBody(val *OCRRecognizePdfBody) *NullableOCRRecognizePdfBody
func (NullableOCRRecognizePdfBody) Get ¶
func (v NullableOCRRecognizePdfBody) Get() *OCRRecognizePdfBody
func (NullableOCRRecognizePdfBody) IsSet ¶
func (v NullableOCRRecognizePdfBody) IsSet() bool
func (NullableOCRRecognizePdfBody) MarshalJSON ¶
func (v NullableOCRRecognizePdfBody) MarshalJSON() ([]byte, error)
func (*NullableOCRRecognizePdfBody) Set ¶
func (v *NullableOCRRecognizePdfBody) Set(val *OCRRecognizePdfBody)
func (*NullableOCRRecognizePdfBody) UnmarshalJSON ¶
func (v *NullableOCRRecognizePdfBody) UnmarshalJSON(src []byte) error
func (*NullableOCRRecognizePdfBody) Unset ¶
func (v *NullableOCRRecognizePdfBody) Unset()
type NullableOCRRecognizeReceiptBody ¶
type NullableOCRRecognizeReceiptBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRRecognizeReceiptBody ¶
func NewNullableOCRRecognizeReceiptBody(val *OCRRecognizeReceiptBody) *NullableOCRRecognizeReceiptBody
func (NullableOCRRecognizeReceiptBody) Get ¶
func (v NullableOCRRecognizeReceiptBody) Get() *OCRRecognizeReceiptBody
func (NullableOCRRecognizeReceiptBody) IsSet ¶
func (v NullableOCRRecognizeReceiptBody) IsSet() bool
func (NullableOCRRecognizeReceiptBody) MarshalJSON ¶
func (v NullableOCRRecognizeReceiptBody) MarshalJSON() ([]byte, error)
func (*NullableOCRRecognizeReceiptBody) Set ¶
func (v *NullableOCRRecognizeReceiptBody) Set(val *OCRRecognizeReceiptBody)
func (*NullableOCRRecognizeReceiptBody) UnmarshalJSON ¶
func (v *NullableOCRRecognizeReceiptBody) UnmarshalJSON(src []byte) error
func (*NullableOCRRecognizeReceiptBody) Unset ¶
func (v *NullableOCRRecognizeReceiptBody) Unset()
type NullableOCRRecognizeRegionsBody ¶
type NullableOCRRecognizeRegionsBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRRecognizeRegionsBody ¶
func NewNullableOCRRecognizeRegionsBody(val *OCRRecognizeRegionsBody) *NullableOCRRecognizeRegionsBody
func (NullableOCRRecognizeRegionsBody) Get ¶
func (v NullableOCRRecognizeRegionsBody) Get() *OCRRecognizeRegionsBody
func (NullableOCRRecognizeRegionsBody) IsSet ¶
func (v NullableOCRRecognizeRegionsBody) IsSet() bool
func (NullableOCRRecognizeRegionsBody) MarshalJSON ¶
func (v NullableOCRRecognizeRegionsBody) MarshalJSON() ([]byte, error)
func (*NullableOCRRecognizeRegionsBody) Set ¶
func (v *NullableOCRRecognizeRegionsBody) Set(val *OCRRecognizeRegionsBody)
func (*NullableOCRRecognizeRegionsBody) UnmarshalJSON ¶
func (v *NullableOCRRecognizeRegionsBody) UnmarshalJSON(src []byte) error
func (*NullableOCRRecognizeRegionsBody) Unset ¶
func (v *NullableOCRRecognizeRegionsBody) Unset()
type NullableOCRRecognizeTableBody ¶
type NullableOCRRecognizeTableBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRRecognizeTableBody ¶
func NewNullableOCRRecognizeTableBody(val *OCRRecognizeTableBody) *NullableOCRRecognizeTableBody
func (NullableOCRRecognizeTableBody) Get ¶
func (v NullableOCRRecognizeTableBody) Get() *OCRRecognizeTableBody
func (NullableOCRRecognizeTableBody) IsSet ¶
func (v NullableOCRRecognizeTableBody) IsSet() bool
func (NullableOCRRecognizeTableBody) MarshalJSON ¶
func (v NullableOCRRecognizeTableBody) MarshalJSON() ([]byte, error)
func (*NullableOCRRecognizeTableBody) Set ¶
func (v *NullableOCRRecognizeTableBody) Set(val *OCRRecognizeTableBody)
func (*NullableOCRRecognizeTableBody) UnmarshalJSON ¶
func (v *NullableOCRRecognizeTableBody) UnmarshalJSON(src []byte) error
func (*NullableOCRRecognizeTableBody) Unset ¶
func (v *NullableOCRRecognizeTableBody) Unset()
type NullableOCRRect ¶
type NullableOCRRect struct {
// contains filtered or unexported fields
}
func NewNullableOCRRect ¶
func NewNullableOCRRect(val *OCRRect) *NullableOCRRect
func (NullableOCRRect) Get ¶
func (v NullableOCRRect) Get() *OCRRect
func (NullableOCRRect) IsSet ¶
func (v NullableOCRRect) IsSet() bool
func (NullableOCRRect) MarshalJSON ¶
func (v NullableOCRRect) MarshalJSON() ([]byte, error)
func (*NullableOCRRect) Set ¶
func (v *NullableOCRRect) Set(val *OCRRect)
func (*NullableOCRRect) UnmarshalJSON ¶
func (v *NullableOCRRect) UnmarshalJSON(src []byte) error
func (*NullableOCRRect) Unset ¶
func (v *NullableOCRRect) Unset()
type NullableOCRRegion ¶
type NullableOCRRegion struct {
// contains filtered or unexported fields
}
func NewNullableOCRRegion ¶
func NewNullableOCRRegion(val *OCRRegion) *NullableOCRRegion
func (NullableOCRRegion) Get ¶
func (v NullableOCRRegion) Get() *OCRRegion
func (NullableOCRRegion) IsSet ¶
func (v NullableOCRRegion) IsSet() bool
func (NullableOCRRegion) MarshalJSON ¶
func (v NullableOCRRegion) MarshalJSON() ([]byte, error)
func (*NullableOCRRegion) Set ¶
func (v *NullableOCRRegion) Set(val *OCRRegion)
func (*NullableOCRRegion) UnmarshalJSON ¶
func (v *NullableOCRRegion) UnmarshalJSON(src []byte) error
func (*NullableOCRRegion) Unset ¶
func (v *NullableOCRRegion) Unset()
type NullableOCRResponse ¶
type NullableOCRResponse struct {
// contains filtered or unexported fields
}
func NewNullableOCRResponse ¶
func NewNullableOCRResponse(val *OCRResponse) *NullableOCRResponse
func (NullableOCRResponse) Get ¶
func (v NullableOCRResponse) Get() *OCRResponse
func (NullableOCRResponse) IsSet ¶
func (v NullableOCRResponse) IsSet() bool
func (NullableOCRResponse) MarshalJSON ¶
func (v NullableOCRResponse) MarshalJSON() ([]byte, error)
func (*NullableOCRResponse) Set ¶
func (v *NullableOCRResponse) Set(val *OCRResponse)
func (*NullableOCRResponse) UnmarshalJSON ¶
func (v *NullableOCRResponse) UnmarshalJSON(src []byte) error
func (*NullableOCRResponse) Unset ¶
func (v *NullableOCRResponse) Unset()
type NullableOCRResult ¶
type NullableOCRResult struct {
// contains filtered or unexported fields
}
func NewNullableOCRResult ¶
func NewNullableOCRResult(val *OCRResult) *NullableOCRResult
func (NullableOCRResult) Get ¶
func (v NullableOCRResult) Get() *OCRResult
func (NullableOCRResult) IsSet ¶
func (v NullableOCRResult) IsSet() bool
func (NullableOCRResult) MarshalJSON ¶
func (v NullableOCRResult) MarshalJSON() ([]byte, error)
func (*NullableOCRResult) Set ¶
func (v *NullableOCRResult) Set(val *OCRResult)
func (*NullableOCRResult) UnmarshalJSON ¶
func (v *NullableOCRResult) UnmarshalJSON(src []byte) error
func (*NullableOCRResult) Unset ¶
func (v *NullableOCRResult) Unset()
type NullableOCRSettingsDetectRegions ¶
type NullableOCRSettingsDetectRegions struct {
// contains filtered or unexported fields
}
func NewNullableOCRSettingsDetectRegions ¶
func NewNullableOCRSettingsDetectRegions(val *OCRSettingsDetectRegions) *NullableOCRSettingsDetectRegions
func (NullableOCRSettingsDetectRegions) Get ¶
func (v NullableOCRSettingsDetectRegions) Get() *OCRSettingsDetectRegions
func (NullableOCRSettingsDetectRegions) IsSet ¶
func (v NullableOCRSettingsDetectRegions) IsSet() bool
func (NullableOCRSettingsDetectRegions) MarshalJSON ¶
func (v NullableOCRSettingsDetectRegions) MarshalJSON() ([]byte, error)
func (*NullableOCRSettingsDetectRegions) Set ¶
func (v *NullableOCRSettingsDetectRegions) Set(val *OCRSettingsDetectRegions)
func (*NullableOCRSettingsDetectRegions) UnmarshalJSON ¶
func (v *NullableOCRSettingsDetectRegions) UnmarshalJSON(src []byte) error
func (*NullableOCRSettingsDetectRegions) Unset ¶
func (v *NullableOCRSettingsDetectRegions) Unset()
type NullableOCRSettingsDjVu2PDF ¶
type NullableOCRSettingsDjVu2PDF struct {
// contains filtered or unexported fields
}
func NewNullableOCRSettingsDjVu2PDF ¶
func NewNullableOCRSettingsDjVu2PDF(val *OCRSettingsDjVu2PDF) *NullableOCRSettingsDjVu2PDF
func (NullableOCRSettingsDjVu2PDF) Get ¶
func (v NullableOCRSettingsDjVu2PDF) Get() *OCRSettingsDjVu2PDF
func (NullableOCRSettingsDjVu2PDF) IsSet ¶
func (v NullableOCRSettingsDjVu2PDF) IsSet() bool
func (NullableOCRSettingsDjVu2PDF) MarshalJSON ¶
func (v NullableOCRSettingsDjVu2PDF) MarshalJSON() ([]byte, error)
func (*NullableOCRSettingsDjVu2PDF) Set ¶
func (v *NullableOCRSettingsDjVu2PDF) Set(val *OCRSettingsDjVu2PDF)
func (*NullableOCRSettingsDjVu2PDF) UnmarshalJSON ¶
func (v *NullableOCRSettingsDjVu2PDF) UnmarshalJSON(src []byte) error
func (*NullableOCRSettingsDjVu2PDF) Unset ¶
func (v *NullableOCRSettingsDjVu2PDF) Unset()
type NullableOCRSettingsRecognizeAndParseInvoice ¶
type NullableOCRSettingsRecognizeAndParseInvoice struct {
// contains filtered or unexported fields
}
func NewNullableOCRSettingsRecognizeAndParseInvoice ¶
func NewNullableOCRSettingsRecognizeAndParseInvoice(val *OCRSettingsRecognizeAndParseInvoice) *NullableOCRSettingsRecognizeAndParseInvoice
func (NullableOCRSettingsRecognizeAndParseInvoice) IsSet ¶
func (v NullableOCRSettingsRecognizeAndParseInvoice) IsSet() bool
func (NullableOCRSettingsRecognizeAndParseInvoice) MarshalJSON ¶
func (v NullableOCRSettingsRecognizeAndParseInvoice) MarshalJSON() ([]byte, error)
func (*NullableOCRSettingsRecognizeAndParseInvoice) Set ¶
func (v *NullableOCRSettingsRecognizeAndParseInvoice) Set(val *OCRSettingsRecognizeAndParseInvoice)
func (*NullableOCRSettingsRecognizeAndParseInvoice) UnmarshalJSON ¶
func (v *NullableOCRSettingsRecognizeAndParseInvoice) UnmarshalJSON(src []byte) error
func (*NullableOCRSettingsRecognizeAndParseInvoice) Unset ¶
func (v *NullableOCRSettingsRecognizeAndParseInvoice) Unset()
type NullableOCRSettingsRecognizeFont ¶
type NullableOCRSettingsRecognizeFont struct {
// contains filtered or unexported fields
}
func NewNullableOCRSettingsRecognizeFont ¶
func NewNullableOCRSettingsRecognizeFont(val *OCRSettingsRecognizeFont) *NullableOCRSettingsRecognizeFont
func (NullableOCRSettingsRecognizeFont) Get ¶
func (v NullableOCRSettingsRecognizeFont) Get() *OCRSettingsRecognizeFont
func (NullableOCRSettingsRecognizeFont) IsSet ¶
func (v NullableOCRSettingsRecognizeFont) IsSet() bool
func (NullableOCRSettingsRecognizeFont) MarshalJSON ¶
func (v NullableOCRSettingsRecognizeFont) MarshalJSON() ([]byte, error)
func (*NullableOCRSettingsRecognizeFont) Set ¶
func (v *NullableOCRSettingsRecognizeFont) Set(val *OCRSettingsRecognizeFont)
func (*NullableOCRSettingsRecognizeFont) UnmarshalJSON ¶
func (v *NullableOCRSettingsRecognizeFont) UnmarshalJSON(src []byte) error
func (*NullableOCRSettingsRecognizeFont) Unset ¶
func (v *NullableOCRSettingsRecognizeFont) Unset()
type NullableOCRSettingsRecognizeImage ¶
type NullableOCRSettingsRecognizeImage struct {
// contains filtered or unexported fields
}
func NewNullableOCRSettingsRecognizeImage ¶
func NewNullableOCRSettingsRecognizeImage(val *OCRSettingsRecognizeImage) *NullableOCRSettingsRecognizeImage
func (NullableOCRSettingsRecognizeImage) Get ¶
func (v NullableOCRSettingsRecognizeImage) Get() *OCRSettingsRecognizeImage
func (NullableOCRSettingsRecognizeImage) IsSet ¶
func (v NullableOCRSettingsRecognizeImage) IsSet() bool
func (NullableOCRSettingsRecognizeImage) MarshalJSON ¶
func (v NullableOCRSettingsRecognizeImage) MarshalJSON() ([]byte, error)
func (*NullableOCRSettingsRecognizeImage) Set ¶
func (v *NullableOCRSettingsRecognizeImage) Set(val *OCRSettingsRecognizeImage)
func (*NullableOCRSettingsRecognizeImage) UnmarshalJSON ¶
func (v *NullableOCRSettingsRecognizeImage) UnmarshalJSON(src []byte) error
func (*NullableOCRSettingsRecognizeImage) Unset ¶
func (v *NullableOCRSettingsRecognizeImage) Unset()
type NullableOCRSettingsRecognizeLabel ¶
type NullableOCRSettingsRecognizeLabel struct {
// contains filtered or unexported fields
}
func NewNullableOCRSettingsRecognizeLabel ¶
func NewNullableOCRSettingsRecognizeLabel(val *OCRSettingsRecognizeLabel) *NullableOCRSettingsRecognizeLabel
func (NullableOCRSettingsRecognizeLabel) Get ¶
func (v NullableOCRSettingsRecognizeLabel) Get() *OCRSettingsRecognizeLabel
func (NullableOCRSettingsRecognizeLabel) IsSet ¶
func (v NullableOCRSettingsRecognizeLabel) IsSet() bool
func (NullableOCRSettingsRecognizeLabel) MarshalJSON ¶
func (v NullableOCRSettingsRecognizeLabel) MarshalJSON() ([]byte, error)
func (*NullableOCRSettingsRecognizeLabel) Set ¶
func (v *NullableOCRSettingsRecognizeLabel) Set(val *OCRSettingsRecognizeLabel)
func (*NullableOCRSettingsRecognizeLabel) UnmarshalJSON ¶
func (v *NullableOCRSettingsRecognizeLabel) UnmarshalJSON(src []byte) error
func (*NullableOCRSettingsRecognizeLabel) Unset ¶
func (v *NullableOCRSettingsRecognizeLabel) Unset()
type NullableOCRSettingsRecognizePdf ¶
type NullableOCRSettingsRecognizePdf struct {
// contains filtered or unexported fields
}
func NewNullableOCRSettingsRecognizePdf ¶
func NewNullableOCRSettingsRecognizePdf(val *OCRSettingsRecognizePdf) *NullableOCRSettingsRecognizePdf
func (NullableOCRSettingsRecognizePdf) Get ¶
func (v NullableOCRSettingsRecognizePdf) Get() *OCRSettingsRecognizePdf
func (NullableOCRSettingsRecognizePdf) IsSet ¶
func (v NullableOCRSettingsRecognizePdf) IsSet() bool
func (NullableOCRSettingsRecognizePdf) MarshalJSON ¶
func (v NullableOCRSettingsRecognizePdf) MarshalJSON() ([]byte, error)
func (*NullableOCRSettingsRecognizePdf) Set ¶
func (v *NullableOCRSettingsRecognizePdf) Set(val *OCRSettingsRecognizePdf)
func (*NullableOCRSettingsRecognizePdf) UnmarshalJSON ¶
func (v *NullableOCRSettingsRecognizePdf) UnmarshalJSON(src []byte) error
func (*NullableOCRSettingsRecognizePdf) Unset ¶
func (v *NullableOCRSettingsRecognizePdf) Unset()
type NullableOCRSettingsRecognizeReceipt ¶
type NullableOCRSettingsRecognizeReceipt struct {
// contains filtered or unexported fields
}
func NewNullableOCRSettingsRecognizeReceipt ¶
func NewNullableOCRSettingsRecognizeReceipt(val *OCRSettingsRecognizeReceipt) *NullableOCRSettingsRecognizeReceipt
func (NullableOCRSettingsRecognizeReceipt) Get ¶
func (v NullableOCRSettingsRecognizeReceipt) Get() *OCRSettingsRecognizeReceipt
func (NullableOCRSettingsRecognizeReceipt) IsSet ¶
func (v NullableOCRSettingsRecognizeReceipt) IsSet() bool
func (NullableOCRSettingsRecognizeReceipt) MarshalJSON ¶
func (v NullableOCRSettingsRecognizeReceipt) MarshalJSON() ([]byte, error)
func (*NullableOCRSettingsRecognizeReceipt) Set ¶
func (v *NullableOCRSettingsRecognizeReceipt) Set(val *OCRSettingsRecognizeReceipt)
func (*NullableOCRSettingsRecognizeReceipt) UnmarshalJSON ¶
func (v *NullableOCRSettingsRecognizeReceipt) UnmarshalJSON(src []byte) error
func (*NullableOCRSettingsRecognizeReceipt) Unset ¶
func (v *NullableOCRSettingsRecognizeReceipt) Unset()
type NullableOCRSettingsRecognizeRegions ¶
type NullableOCRSettingsRecognizeRegions struct {
// contains filtered or unexported fields
}
func NewNullableOCRSettingsRecognizeRegions ¶
func NewNullableOCRSettingsRecognizeRegions(val *OCRSettingsRecognizeRegions) *NullableOCRSettingsRecognizeRegions
func (NullableOCRSettingsRecognizeRegions) Get ¶
func (v NullableOCRSettingsRecognizeRegions) Get() *OCRSettingsRecognizeRegions
func (NullableOCRSettingsRecognizeRegions) IsSet ¶
func (v NullableOCRSettingsRecognizeRegions) IsSet() bool
func (NullableOCRSettingsRecognizeRegions) MarshalJSON ¶
func (v NullableOCRSettingsRecognizeRegions) MarshalJSON() ([]byte, error)
func (*NullableOCRSettingsRecognizeRegions) Set ¶
func (v *NullableOCRSettingsRecognizeRegions) Set(val *OCRSettingsRecognizeRegions)
func (*NullableOCRSettingsRecognizeRegions) UnmarshalJSON ¶
func (v *NullableOCRSettingsRecognizeRegions) UnmarshalJSON(src []byte) error
func (*NullableOCRSettingsRecognizeRegions) Unset ¶
func (v *NullableOCRSettingsRecognizeRegions) Unset()
type NullableOCRSettingsRecognizeTable ¶
type NullableOCRSettingsRecognizeTable struct {
// contains filtered or unexported fields
}
func NewNullableOCRSettingsRecognizeTable ¶
func NewNullableOCRSettingsRecognizeTable(val *OCRSettingsRecognizeTable) *NullableOCRSettingsRecognizeTable
func (NullableOCRSettingsRecognizeTable) Get ¶
func (v NullableOCRSettingsRecognizeTable) Get() *OCRSettingsRecognizeTable
func (NullableOCRSettingsRecognizeTable) IsSet ¶
func (v NullableOCRSettingsRecognizeTable) IsSet() bool
func (NullableOCRSettingsRecognizeTable) MarshalJSON ¶
func (v NullableOCRSettingsRecognizeTable) MarshalJSON() ([]byte, error)
func (*NullableOCRSettingsRecognizeTable) Set ¶
func (v *NullableOCRSettingsRecognizeTable) Set(val *OCRSettingsRecognizeTable)
func (*NullableOCRSettingsRecognizeTable) UnmarshalJSON ¶
func (v *NullableOCRSettingsRecognizeTable) UnmarshalJSON(src []byte) error
func (*NullableOCRSettingsRecognizeTable) Unset ¶
func (v *NullableOCRSettingsRecognizeTable) Unset()
type NullableOCRTaskStatus ¶
type NullableOCRTaskStatus struct {
// contains filtered or unexported fields
}
func NewNullableOCRTaskStatus ¶
func NewNullableOCRTaskStatus(val *OCRTaskStatus) *NullableOCRTaskStatus
func (NullableOCRTaskStatus) Get ¶
func (v NullableOCRTaskStatus) Get() *OCRTaskStatus
func (NullableOCRTaskStatus) IsSet ¶
func (v NullableOCRTaskStatus) IsSet() bool
func (NullableOCRTaskStatus) MarshalJSON ¶
func (v NullableOCRTaskStatus) MarshalJSON() ([]byte, error)
func (*NullableOCRTaskStatus) Set ¶
func (v *NullableOCRTaskStatus) Set(val *OCRTaskStatus)
func (*NullableOCRTaskStatus) UnmarshalJSON ¶
func (v *NullableOCRTaskStatus) UnmarshalJSON(src []byte) error
func (*NullableOCRTaskStatus) Unset ¶
func (v *NullableOCRTaskStatus) Unset()
type NullableOCRUpscaleImageBody ¶
type NullableOCRUpscaleImageBody struct {
// contains filtered or unexported fields
}
func NewNullableOCRUpscaleImageBody ¶
func NewNullableOCRUpscaleImageBody(val *OCRUpscaleImageBody) *NullableOCRUpscaleImageBody
func (NullableOCRUpscaleImageBody) Get ¶
func (v NullableOCRUpscaleImageBody) Get() *OCRUpscaleImageBody
func (NullableOCRUpscaleImageBody) IsSet ¶
func (v NullableOCRUpscaleImageBody) IsSet() bool
func (NullableOCRUpscaleImageBody) MarshalJSON ¶
func (v NullableOCRUpscaleImageBody) MarshalJSON() ([]byte, error)
func (*NullableOCRUpscaleImageBody) Set ¶
func (v *NullableOCRUpscaleImageBody) Set(val *OCRUpscaleImageBody)
func (*NullableOCRUpscaleImageBody) UnmarshalJSON ¶
func (v *NullableOCRUpscaleImageBody) UnmarshalJSON(src []byte) error
func (*NullableOCRUpscaleImageBody) Unset ¶
func (v *NullableOCRUpscaleImageBody) Unset()
type NullablePostUpsamplingFileRequest ¶
type NullablePostUpsamplingFileRequest struct {
// contains filtered or unexported fields
}
func NewNullablePostUpsamplingFileRequest ¶
func NewNullablePostUpsamplingFileRequest(val *PostUpsamplingFileRequest) *NullablePostUpsamplingFileRequest
func (NullablePostUpsamplingFileRequest) Get ¶
func (v NullablePostUpsamplingFileRequest) Get() *PostUpsamplingFileRequest
func (NullablePostUpsamplingFileRequest) IsSet ¶
func (v NullablePostUpsamplingFileRequest) IsSet() bool
func (NullablePostUpsamplingFileRequest) MarshalJSON ¶
func (v NullablePostUpsamplingFileRequest) MarshalJSON() ([]byte, error)
func (*NullablePostUpsamplingFileRequest) Set ¶
func (v *NullablePostUpsamplingFileRequest) Set(val *PostUpsamplingFileRequest)
func (*NullablePostUpsamplingFileRequest) UnmarshalJSON ¶
func (v *NullablePostUpsamplingFileRequest) UnmarshalJSON(src []byte) error
func (*NullablePostUpsamplingFileRequest) Unset ¶
func (v *NullablePostUpsamplingFileRequest) Unset()
type NullableProblemDetails ¶
type NullableProblemDetails struct {
// contains filtered or unexported fields
}
func NewNullableProblemDetails ¶
func NewNullableProblemDetails(val *ProblemDetails) *NullableProblemDetails
func (NullableProblemDetails) Get ¶
func (v NullableProblemDetails) Get() *ProblemDetails
func (NullableProblemDetails) IsSet ¶
func (v NullableProblemDetails) IsSet() bool
func (NullableProblemDetails) MarshalJSON ¶
func (v NullableProblemDetails) MarshalJSON() ([]byte, error)
func (*NullableProblemDetails) Set ¶
func (v *NullableProblemDetails) Set(val *ProblemDetails)
func (*NullableProblemDetails) UnmarshalJSON ¶
func (v *NullableProblemDetails) UnmarshalJSON(src []byte) error
func (*NullableProblemDetails) Unset ¶
func (v *NullableProblemDetails) Unset()
type NullableResponseStatusCode ¶
type NullableResponseStatusCode struct {
// contains filtered or unexported fields
}
func NewNullableResponseStatusCode ¶
func NewNullableResponseStatusCode(val *ResponseStatusCode) *NullableResponseStatusCode
func (NullableResponseStatusCode) Get ¶
func (v NullableResponseStatusCode) Get() *ResponseStatusCode
func (NullableResponseStatusCode) IsSet ¶
func (v NullableResponseStatusCode) IsSet() bool
func (NullableResponseStatusCode) MarshalJSON ¶
func (v NullableResponseStatusCode) MarshalJSON() ([]byte, error)
func (*NullableResponseStatusCode) Set ¶
func (v *NullableResponseStatusCode) Set(val *ResponseStatusCode)
func (*NullableResponseStatusCode) UnmarshalJSON ¶
func (v *NullableResponseStatusCode) UnmarshalJSON(src []byte) error
func (*NullableResponseStatusCode) Unset ¶
func (v *NullableResponseStatusCode) Unset()
type NullableResultType ¶
type NullableResultType struct {
// contains filtered or unexported fields
}
func NewNullableResultType ¶
func NewNullableResultType(val *ResultType) *NullableResultType
func (NullableResultType) Get ¶
func (v NullableResultType) Get() *ResultType
func (NullableResultType) IsSet ¶
func (v NullableResultType) IsSet() bool
func (NullableResultType) MarshalJSON ¶
func (v NullableResultType) MarshalJSON() ([]byte, error)
func (*NullableResultType) Set ¶
func (v *NullableResultType) Set(val *ResultType)
func (*NullableResultType) UnmarshalJSON ¶
func (v *NullableResultType) UnmarshalJSON(src []byte) error
func (*NullableResultType) Unset ¶
func (v *NullableResultType) Unset()
type NullableResultTypeTTS ¶
type NullableResultTypeTTS struct {
// contains filtered or unexported fields
}
func NewNullableResultTypeTTS ¶
func NewNullableResultTypeTTS(val *ResultTypeTTS) *NullableResultTypeTTS
func (NullableResultTypeTTS) Get ¶
func (v NullableResultTypeTTS) Get() *ResultTypeTTS
func (NullableResultTypeTTS) IsSet ¶
func (v NullableResultTypeTTS) IsSet() bool
func (NullableResultTypeTTS) MarshalJSON ¶
func (v NullableResultTypeTTS) MarshalJSON() ([]byte, error)
func (*NullableResultTypeTTS) Set ¶
func (v *NullableResultTypeTTS) Set(val *ResultTypeTTS)
func (*NullableResultTypeTTS) UnmarshalJSON ¶
func (v *NullableResultTypeTTS) UnmarshalJSON(src []byte) error
func (*NullableResultTypeTTS) Unset ¶
func (v *NullableResultTypeTTS) Unset()
type NullableResultTypeTable ¶
type NullableResultTypeTable struct {
// contains filtered or unexported fields
}
func NewNullableResultTypeTable ¶
func NewNullableResultTypeTable(val *ResultTypeTable) *NullableResultTypeTable
func (NullableResultTypeTable) Get ¶
func (v NullableResultTypeTable) Get() *ResultTypeTable
func (NullableResultTypeTable) IsSet ¶
func (v NullableResultTypeTable) IsSet() bool
func (NullableResultTypeTable) MarshalJSON ¶
func (v NullableResultTypeTable) MarshalJSON() ([]byte, error)
func (*NullableResultTypeTable) Set ¶
func (v *NullableResultTypeTable) Set(val *ResultTypeTable)
func (*NullableResultTypeTable) UnmarshalJSON ¶
func (v *NullableResultTypeTable) UnmarshalJSON(src []byte) error
func (*NullableResultTypeTable) Unset ¶
func (v *NullableResultTypeTable) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTTSBody ¶
type NullableTTSBody struct {
// contains filtered or unexported fields
}
func NewNullableTTSBody ¶
func NewNullableTTSBody(val *TTSBody) *NullableTTSBody
func (NullableTTSBody) Get ¶
func (v NullableTTSBody) Get() *TTSBody
func (NullableTTSBody) IsSet ¶
func (v NullableTTSBody) IsSet() bool
func (NullableTTSBody) MarshalJSON ¶
func (v NullableTTSBody) MarshalJSON() ([]byte, error)
func (*NullableTTSBody) Set ¶
func (v *NullableTTSBody) Set(val *TTSBody)
func (*NullableTTSBody) UnmarshalJSON ¶
func (v *NullableTTSBody) UnmarshalJSON(src []byte) error
func (*NullableTTSBody) Unset ¶
func (v *NullableTTSBody) Unset()
type NullableTTSBodyDeprecated ¶
type NullableTTSBodyDeprecated struct {
// contains filtered or unexported fields
}
func NewNullableTTSBodyDeprecated ¶
func NewNullableTTSBodyDeprecated(val *TTSBodyDeprecated) *NullableTTSBodyDeprecated
func (NullableTTSBodyDeprecated) Get ¶
func (v NullableTTSBodyDeprecated) Get() *TTSBodyDeprecated
func (NullableTTSBodyDeprecated) IsSet ¶
func (v NullableTTSBodyDeprecated) IsSet() bool
func (NullableTTSBodyDeprecated) MarshalJSON ¶
func (v NullableTTSBodyDeprecated) MarshalJSON() ([]byte, error)
func (*NullableTTSBodyDeprecated) Set ¶
func (v *NullableTTSBodyDeprecated) Set(val *TTSBodyDeprecated)
func (*NullableTTSBodyDeprecated) UnmarshalJSON ¶
func (v *NullableTTSBodyDeprecated) UnmarshalJSON(src []byte) error
func (*NullableTTSBodyDeprecated) Unset ¶
func (v *NullableTTSBodyDeprecated) Unset()
type NullableTTSError ¶
type NullableTTSError struct {
// contains filtered or unexported fields
}
func NewNullableTTSError ¶
func NewNullableTTSError(val *TTSError) *NullableTTSError
func (NullableTTSError) Get ¶
func (v NullableTTSError) Get() *TTSError
func (NullableTTSError) IsSet ¶
func (v NullableTTSError) IsSet() bool
func (NullableTTSError) MarshalJSON ¶
func (v NullableTTSError) MarshalJSON() ([]byte, error)
func (*NullableTTSError) Set ¶
func (v *NullableTTSError) Set(val *TTSError)
func (*NullableTTSError) UnmarshalJSON ¶
func (v *NullableTTSError) UnmarshalJSON(src []byte) error
func (*NullableTTSError) Unset ¶
func (v *NullableTTSError) Unset()
type NullableTTSResponse ¶
type NullableTTSResponse struct {
// contains filtered or unexported fields
}
func NewNullableTTSResponse ¶
func NewNullableTTSResponse(val *TTSResponse) *NullableTTSResponse
func (NullableTTSResponse) Get ¶
func (v NullableTTSResponse) Get() *TTSResponse
func (NullableTTSResponse) IsSet ¶
func (v NullableTTSResponse) IsSet() bool
func (NullableTTSResponse) MarshalJSON ¶
func (v NullableTTSResponse) MarshalJSON() ([]byte, error)
func (*NullableTTSResponse) Set ¶
func (v *NullableTTSResponse) Set(val *TTSResponse)
func (*NullableTTSResponse) UnmarshalJSON ¶
func (v *NullableTTSResponse) UnmarshalJSON(src []byte) error
func (*NullableTTSResponse) Unset ¶
func (v *NullableTTSResponse) Unset()
type NullableTTSResult ¶
type NullableTTSResult struct {
// contains filtered or unexported fields
}
func NewNullableTTSResult ¶
func NewNullableTTSResult(val *TTSResult) *NullableTTSResult
func (NullableTTSResult) Get ¶
func (v NullableTTSResult) Get() *TTSResult
func (NullableTTSResult) IsSet ¶
func (v NullableTTSResult) IsSet() bool
func (NullableTTSResult) MarshalJSON ¶
func (v NullableTTSResult) MarshalJSON() ([]byte, error)
func (*NullableTTSResult) Set ¶
func (v *NullableTTSResult) Set(val *TTSResult)
func (*NullableTTSResult) UnmarshalJSON ¶
func (v *NullableTTSResult) UnmarshalJSON(src []byte) error
func (*NullableTTSResult) Unset ¶
func (v *NullableTTSResult) Unset()
type NullableTTSSettings ¶
type NullableTTSSettings struct {
// contains filtered or unexported fields
}
func NewNullableTTSSettings ¶
func NewNullableTTSSettings(val *TTSSettings) *NullableTTSSettings
func (NullableTTSSettings) Get ¶
func (v NullableTTSSettings) Get() *TTSSettings
func (NullableTTSSettings) IsSet ¶
func (v NullableTTSSettings) IsSet() bool
func (NullableTTSSettings) MarshalJSON ¶
func (v NullableTTSSettings) MarshalJSON() ([]byte, error)
func (*NullableTTSSettings) Set ¶
func (v *NullableTTSSettings) Set(val *TTSSettings)
func (*NullableTTSSettings) UnmarshalJSON ¶
func (v *NullableTTSSettings) UnmarshalJSON(src []byte) error
func (*NullableTTSSettings) Unset ¶
func (v *NullableTTSSettings) Unset()
type NullableTTSTaskStatus ¶
type NullableTTSTaskStatus struct {
// contains filtered or unexported fields
}
func NewNullableTTSTaskStatus ¶
func NewNullableTTSTaskStatus(val *TTSTaskStatus) *NullableTTSTaskStatus
func (NullableTTSTaskStatus) Get ¶
func (v NullableTTSTaskStatus) Get() *TTSTaskStatus
func (NullableTTSTaskStatus) IsSet ¶
func (v NullableTTSTaskStatus) IsSet() bool
func (NullableTTSTaskStatus) MarshalJSON ¶
func (v NullableTTSTaskStatus) MarshalJSON() ([]byte, error)
func (*NullableTTSTaskStatus) Set ¶
func (v *NullableTTSTaskStatus) Set(val *TTSTaskStatus)
func (*NullableTTSTaskStatus) UnmarshalJSON ¶
func (v *NullableTTSTaskStatus) UnmarshalJSON(src []byte) error
func (*NullableTTSTaskStatus) Unset ¶
func (v *NullableTTSTaskStatus) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type OCRBinarizeImageBody ¶
type OCRBinarizeImageBody struct {
Image string `json:"image"`
}
OCRBinarizeImageBody struct for OCRBinarizeImageBody
func NewOCRBinarizeImageBody ¶
func NewOCRBinarizeImageBody(image string) *OCRBinarizeImageBody
NewOCRBinarizeImageBody instantiates a new OCRBinarizeImageBody 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
func NewOCRBinarizeImageBodyWithDefaults ¶
func NewOCRBinarizeImageBodyWithDefaults() *OCRBinarizeImageBody
NewOCRBinarizeImageBodyWithDefaults instantiates a new OCRBinarizeImageBody 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
func (*OCRBinarizeImageBody) GetImage ¶
func (o *OCRBinarizeImageBody) GetImage() string
GetImage returns the Image field value
func (*OCRBinarizeImageBody) GetImageOk ¶
func (o *OCRBinarizeImageBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (OCRBinarizeImageBody) MarshalJSON ¶
func (o OCRBinarizeImageBody) MarshalJSON() ([]byte, error)
func (*OCRBinarizeImageBody) SetImage ¶
func (o *OCRBinarizeImageBody) SetImage(v string)
SetImage sets field value
func (OCRBinarizeImageBody) ToMap ¶
func (o OCRBinarizeImageBody) ToMap() (map[string]interface{}, error)
type OCRDeskewImageBody ¶
type OCRDeskewImageBody struct {
Image string `json:"image"`
}
OCRDeskewImageBody struct for OCRDeskewImageBody
func NewOCRDeskewImageBody ¶
func NewOCRDeskewImageBody(image string) *OCRDeskewImageBody
NewOCRDeskewImageBody instantiates a new OCRDeskewImageBody 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
func NewOCRDeskewImageBodyWithDefaults ¶
func NewOCRDeskewImageBodyWithDefaults() *OCRDeskewImageBody
NewOCRDeskewImageBodyWithDefaults instantiates a new OCRDeskewImageBody 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
func (*OCRDeskewImageBody) GetImage ¶
func (o *OCRDeskewImageBody) GetImage() string
GetImage returns the Image field value
func (*OCRDeskewImageBody) GetImageOk ¶
func (o *OCRDeskewImageBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (OCRDeskewImageBody) MarshalJSON ¶
func (o OCRDeskewImageBody) MarshalJSON() ([]byte, error)
func (*OCRDeskewImageBody) SetImage ¶
func (o *OCRDeskewImageBody) SetImage(v string)
SetImage sets field value
func (OCRDeskewImageBody) ToMap ¶
func (o OCRDeskewImageBody) ToMap() (map[string]interface{}, error)
type OCRDetectRegionsBody ¶
type OCRDetectRegionsBody struct { Image string `json:"image"` Settings OCRSettingsDetectRegions `json:"settings"` }
OCRDetectRegionsBody struct for OCRDetectRegionsBody
func NewOCRDetectRegionsBody ¶
func NewOCRDetectRegionsBody(image string, settings OCRSettingsDetectRegions) *OCRDetectRegionsBody
NewOCRDetectRegionsBody instantiates a new OCRDetectRegionsBody 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
func NewOCRDetectRegionsBodyWithDefaults ¶
func NewOCRDetectRegionsBodyWithDefaults() *OCRDetectRegionsBody
NewOCRDetectRegionsBodyWithDefaults instantiates a new OCRDetectRegionsBody 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
func (*OCRDetectRegionsBody) GetImage ¶
func (o *OCRDetectRegionsBody) GetImage() string
GetImage returns the Image field value
func (*OCRDetectRegionsBody) GetImageOk ¶
func (o *OCRDetectRegionsBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*OCRDetectRegionsBody) GetSettings ¶
func (o *OCRDetectRegionsBody) GetSettings() OCRSettingsDetectRegions
GetSettings returns the Settings field value
func (*OCRDetectRegionsBody) GetSettingsOk ¶
func (o *OCRDetectRegionsBody) GetSettingsOk() (*OCRSettingsDetectRegions, bool)
GetSettingsOk returns a tuple with the Settings field value and a boolean to check if the value has been set.
func (OCRDetectRegionsBody) MarshalJSON ¶
func (o OCRDetectRegionsBody) MarshalJSON() ([]byte, error)
func (*OCRDetectRegionsBody) SetImage ¶
func (o *OCRDetectRegionsBody) SetImage(v string)
SetImage sets field value
func (*OCRDetectRegionsBody) SetSettings ¶
func (o *OCRDetectRegionsBody) SetSettings(v OCRSettingsDetectRegions)
SetSettings sets field value
func (OCRDetectRegionsBody) ToMap ¶
func (o OCRDetectRegionsBody) ToMap() (map[string]interface{}, error)
type OCRDewarpImageBody ¶
type OCRDewarpImageBody struct {
Image string `json:"image"`
}
OCRDewarpImageBody struct for OCRDewarpImageBody
func NewOCRDewarpImageBody ¶
func NewOCRDewarpImageBody(image string) *OCRDewarpImageBody
NewOCRDewarpImageBody instantiates a new OCRDewarpImageBody 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
func NewOCRDewarpImageBodyWithDefaults ¶
func NewOCRDewarpImageBodyWithDefaults() *OCRDewarpImageBody
NewOCRDewarpImageBodyWithDefaults instantiates a new OCRDewarpImageBody 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
func (*OCRDewarpImageBody) GetImage ¶
func (o *OCRDewarpImageBody) GetImage() string
GetImage returns the Image field value
func (*OCRDewarpImageBody) GetImageOk ¶
func (o *OCRDewarpImageBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (OCRDewarpImageBody) MarshalJSON ¶
func (o OCRDewarpImageBody) MarshalJSON() ([]byte, error)
func (*OCRDewarpImageBody) SetImage ¶
func (o *OCRDewarpImageBody) SetImage(v string)
SetImage sets field value
func (OCRDewarpImageBody) ToMap ¶
func (o OCRDewarpImageBody) ToMap() (map[string]interface{}, error)
type OCRDjVu2PDFBody ¶
type OCRDjVu2PDFBody struct { Image string `json:"image"` Settings OCRSettingsDjVu2PDF `json:"settings"` }
OCRDjVu2PDFBody struct for OCRDjVu2PDFBody
func NewOCRDjVu2PDFBody ¶
func NewOCRDjVu2PDFBody(image string, settings OCRSettingsDjVu2PDF) *OCRDjVu2PDFBody
NewOCRDjVu2PDFBody instantiates a new OCRDjVu2PDFBody 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
func NewOCRDjVu2PDFBodyWithDefaults ¶
func NewOCRDjVu2PDFBodyWithDefaults() *OCRDjVu2PDFBody
NewOCRDjVu2PDFBodyWithDefaults instantiates a new OCRDjVu2PDFBody 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
func (*OCRDjVu2PDFBody) GetImage ¶
func (o *OCRDjVu2PDFBody) GetImage() string
GetImage returns the Image field value
func (*OCRDjVu2PDFBody) GetImageOk ¶
func (o *OCRDjVu2PDFBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*OCRDjVu2PDFBody) GetSettings ¶
func (o *OCRDjVu2PDFBody) GetSettings() OCRSettingsDjVu2PDF
GetSettings returns the Settings field value
func (*OCRDjVu2PDFBody) GetSettingsOk ¶
func (o *OCRDjVu2PDFBody) GetSettingsOk() (*OCRSettingsDjVu2PDF, bool)
GetSettingsOk returns a tuple with the Settings field value and a boolean to check if the value has been set.
func (OCRDjVu2PDFBody) MarshalJSON ¶
func (o OCRDjVu2PDFBody) MarshalJSON() ([]byte, error)
func (*OCRDjVu2PDFBody) SetImage ¶
func (o *OCRDjVu2PDFBody) SetImage(v string)
SetImage sets field value
func (*OCRDjVu2PDFBody) SetSettings ¶
func (o *OCRDjVu2PDFBody) SetSettings(v OCRSettingsDjVu2PDF)
SetSettings sets field value
func (OCRDjVu2PDFBody) ToMap ¶
func (o OCRDjVu2PDFBody) ToMap() (map[string]interface{}, error)
type OCRError ¶
type OCRError struct { // A list of various clear descriptions of the errors Messages []string `json:"messages,omitempty"` // Warning messages - non critical errors: e.g. some data lost Warnings []string `json:"warnings,omitempty"` }
OCRError Error to return to SDK client
func NewOCRError ¶
func NewOCRError() *OCRError
NewOCRError instantiates a new OCRError 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
func NewOCRErrorWithDefaults ¶
func NewOCRErrorWithDefaults() *OCRError
NewOCRErrorWithDefaults instantiates a new OCRError 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
func (*OCRError) GetMessages ¶
GetMessages returns the Messages field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRError) GetMessagesOk ¶
GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRError) GetWarnings ¶
GetWarnings returns the Warnings field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRError) GetWarningsOk ¶
GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRError) HasMessages ¶
HasMessages returns a boolean if a field has been set.
func (*OCRError) HasWarnings ¶
HasWarnings returns a boolean if a field has been set.
func (OCRError) MarshalJSON ¶
func (*OCRError) SetMessages ¶
SetMessages gets a reference to the given []string and assigns it to the Messages field.
func (*OCRError) SetWarnings ¶
SetWarnings gets a reference to the given []string and assigns it to the Warnings field.
type OCRRecognizeAndParseInvoiceBody ¶
type OCRRecognizeAndParseInvoiceBody struct { Image string `json:"image"` Settings OCRSettingsRecognizeAndParseInvoice `json:"settings"` }
OCRRecognizeAndParseInvoiceBody struct for OCRRecognizeAndParseInvoiceBody
func NewOCRRecognizeAndParseInvoiceBody ¶
func NewOCRRecognizeAndParseInvoiceBody(image string, settings OCRSettingsRecognizeAndParseInvoice) *OCRRecognizeAndParseInvoiceBody
NewOCRRecognizeAndParseInvoiceBody instantiates a new OCRRecognizeAndParseInvoiceBody 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
func NewOCRRecognizeAndParseInvoiceBodyWithDefaults ¶
func NewOCRRecognizeAndParseInvoiceBodyWithDefaults() *OCRRecognizeAndParseInvoiceBody
NewOCRRecognizeAndParseInvoiceBodyWithDefaults instantiates a new OCRRecognizeAndParseInvoiceBody 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
func (*OCRRecognizeAndParseInvoiceBody) GetImage ¶
func (o *OCRRecognizeAndParseInvoiceBody) GetImage() string
GetImage returns the Image field value
func (*OCRRecognizeAndParseInvoiceBody) GetImageOk ¶
func (o *OCRRecognizeAndParseInvoiceBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*OCRRecognizeAndParseInvoiceBody) GetSettings ¶
func (o *OCRRecognizeAndParseInvoiceBody) GetSettings() OCRSettingsRecognizeAndParseInvoice
GetSettings returns the Settings field value
func (*OCRRecognizeAndParseInvoiceBody) GetSettingsOk ¶
func (o *OCRRecognizeAndParseInvoiceBody) GetSettingsOk() (*OCRSettingsRecognizeAndParseInvoice, bool)
GetSettingsOk returns a tuple with the Settings field value and a boolean to check if the value has been set.
func (OCRRecognizeAndParseInvoiceBody) MarshalJSON ¶
func (o OCRRecognizeAndParseInvoiceBody) MarshalJSON() ([]byte, error)
func (*OCRRecognizeAndParseInvoiceBody) SetImage ¶
func (o *OCRRecognizeAndParseInvoiceBody) SetImage(v string)
SetImage sets field value
func (*OCRRecognizeAndParseInvoiceBody) SetSettings ¶
func (o *OCRRecognizeAndParseInvoiceBody) SetSettings(v OCRSettingsRecognizeAndParseInvoice)
SetSettings sets field value
func (OCRRecognizeAndParseInvoiceBody) ToMap ¶
func (o OCRRecognizeAndParseInvoiceBody) ToMap() (map[string]interface{}, error)
type OCRRecognizeFontBody ¶
type OCRRecognizeFontBody struct { Image string `json:"image"` Settings OCRSettingsRecognizeFont `json:"settings"` }
OCRRecognizeFontBody struct for OCRRecognizeFontBody
func NewOCRRecognizeFontBody ¶
func NewOCRRecognizeFontBody(image string, settings OCRSettingsRecognizeFont) *OCRRecognizeFontBody
NewOCRRecognizeFontBody instantiates a new OCRRecognizeFontBody 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
func NewOCRRecognizeFontBodyWithDefaults ¶
func NewOCRRecognizeFontBodyWithDefaults() *OCRRecognizeFontBody
NewOCRRecognizeFontBodyWithDefaults instantiates a new OCRRecognizeFontBody 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
func (*OCRRecognizeFontBody) GetImage ¶
func (o *OCRRecognizeFontBody) GetImage() string
GetImage returns the Image field value
func (*OCRRecognizeFontBody) GetImageOk ¶
func (o *OCRRecognizeFontBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*OCRRecognizeFontBody) GetSettings ¶
func (o *OCRRecognizeFontBody) GetSettings() OCRSettingsRecognizeFont
GetSettings returns the Settings field value
func (*OCRRecognizeFontBody) GetSettingsOk ¶
func (o *OCRRecognizeFontBody) GetSettingsOk() (*OCRSettingsRecognizeFont, bool)
GetSettingsOk returns a tuple with the Settings field value and a boolean to check if the value has been set.
func (OCRRecognizeFontBody) MarshalJSON ¶
func (o OCRRecognizeFontBody) MarshalJSON() ([]byte, error)
func (*OCRRecognizeFontBody) SetImage ¶
func (o *OCRRecognizeFontBody) SetImage(v string)
SetImage sets field value
func (*OCRRecognizeFontBody) SetSettings ¶
func (o *OCRRecognizeFontBody) SetSettings(v OCRSettingsRecognizeFont)
SetSettings sets field value
func (OCRRecognizeFontBody) ToMap ¶
func (o OCRRecognizeFontBody) ToMap() (map[string]interface{}, error)
type OCRRecognizeImageBody ¶
type OCRRecognizeImageBody struct { // Gets or Sets Image Image string `json:"image"` Settings OCRSettingsRecognizeImage `json:"settings"` }
OCRRecognizeImageBody Combines Image data and OCR Recognition settings
func NewOCRRecognizeImageBody ¶
func NewOCRRecognizeImageBody(image string, settings OCRSettingsRecognizeImage) *OCRRecognizeImageBody
NewOCRRecognizeImageBody instantiates a new OCRRecognizeImageBody 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
func NewOCRRecognizeImageBodyWithDefaults ¶
func NewOCRRecognizeImageBodyWithDefaults() *OCRRecognizeImageBody
NewOCRRecognizeImageBodyWithDefaults instantiates a new OCRRecognizeImageBody 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
func (*OCRRecognizeImageBody) GetImage ¶
func (o *OCRRecognizeImageBody) GetImage() string
GetImage returns the Image field value
func (*OCRRecognizeImageBody) GetImageOk ¶
func (o *OCRRecognizeImageBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*OCRRecognizeImageBody) GetSettings ¶
func (o *OCRRecognizeImageBody) GetSettings() OCRSettingsRecognizeImage
GetSettings returns the Settings field value
func (*OCRRecognizeImageBody) GetSettingsOk ¶
func (o *OCRRecognizeImageBody) GetSettingsOk() (*OCRSettingsRecognizeImage, bool)
GetSettingsOk returns a tuple with the Settings field value and a boolean to check if the value has been set.
func (OCRRecognizeImageBody) MarshalJSON ¶
func (o OCRRecognizeImageBody) MarshalJSON() ([]byte, error)
func (*OCRRecognizeImageBody) SetImage ¶
func (o *OCRRecognizeImageBody) SetImage(v string)
SetImage sets field value
func (*OCRRecognizeImageBody) SetSettings ¶
func (o *OCRRecognizeImageBody) SetSettings(v OCRSettingsRecognizeImage)
SetSettings sets field value
func (OCRRecognizeImageBody) ToMap ¶
func (o OCRRecognizeImageBody) ToMap() (map[string]interface{}, error)
type OCRRecognizeLabelBody ¶
type OCRRecognizeLabelBody struct { Image string `json:"image"` Settings OCRSettingsRecognizeLabel `json:"settings"` }
OCRRecognizeLabelBody struct for OCRRecognizeLabelBody
func NewOCRRecognizeLabelBody ¶
func NewOCRRecognizeLabelBody(image string, settings OCRSettingsRecognizeLabel) *OCRRecognizeLabelBody
NewOCRRecognizeLabelBody instantiates a new OCRRecognizeLabelBody 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
func NewOCRRecognizeLabelBodyWithDefaults ¶
func NewOCRRecognizeLabelBodyWithDefaults() *OCRRecognizeLabelBody
NewOCRRecognizeLabelBodyWithDefaults instantiates a new OCRRecognizeLabelBody 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
func (*OCRRecognizeLabelBody) GetImage ¶
func (o *OCRRecognizeLabelBody) GetImage() string
GetImage returns the Image field value
func (*OCRRecognizeLabelBody) GetImageOk ¶
func (o *OCRRecognizeLabelBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*OCRRecognizeLabelBody) GetSettings ¶
func (o *OCRRecognizeLabelBody) GetSettings() OCRSettingsRecognizeLabel
GetSettings returns the Settings field value
func (*OCRRecognizeLabelBody) GetSettingsOk ¶
func (o *OCRRecognizeLabelBody) GetSettingsOk() (*OCRSettingsRecognizeLabel, bool)
GetSettingsOk returns a tuple with the Settings field value and a boolean to check if the value has been set.
func (OCRRecognizeLabelBody) MarshalJSON ¶
func (o OCRRecognizeLabelBody) MarshalJSON() ([]byte, error)
func (*OCRRecognizeLabelBody) SetImage ¶
func (o *OCRRecognizeLabelBody) SetImage(v string)
SetImage sets field value
func (*OCRRecognizeLabelBody) SetSettings ¶
func (o *OCRRecognizeLabelBody) SetSettings(v OCRSettingsRecognizeLabel)
SetSettings sets field value
func (OCRRecognizeLabelBody) ToMap ¶
func (o OCRRecognizeLabelBody) ToMap() (map[string]interface{}, error)
type OCRRecognizePdfBody ¶
type OCRRecognizePdfBody struct { // Gets or Sets Image Image string `json:"image"` Settings OCRSettingsRecognizePdf `json:"settings"` }
OCRRecognizePdfBody Combines Image data and OCR Recognition settings for PDF
func NewOCRRecognizePdfBody ¶
func NewOCRRecognizePdfBody(image string, settings OCRSettingsRecognizePdf) *OCRRecognizePdfBody
NewOCRRecognizePdfBody instantiates a new OCRRecognizePdfBody 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
func NewOCRRecognizePdfBodyWithDefaults ¶
func NewOCRRecognizePdfBodyWithDefaults() *OCRRecognizePdfBody
NewOCRRecognizePdfBodyWithDefaults instantiates a new OCRRecognizePdfBody 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
func (*OCRRecognizePdfBody) GetImage ¶
func (o *OCRRecognizePdfBody) GetImage() string
GetImage returns the Image field value
func (*OCRRecognizePdfBody) GetImageOk ¶
func (o *OCRRecognizePdfBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*OCRRecognizePdfBody) GetSettings ¶
func (o *OCRRecognizePdfBody) GetSettings() OCRSettingsRecognizePdf
GetSettings returns the Settings field value
func (*OCRRecognizePdfBody) GetSettingsOk ¶
func (o *OCRRecognizePdfBody) GetSettingsOk() (*OCRSettingsRecognizePdf, bool)
GetSettingsOk returns a tuple with the Settings field value and a boolean to check if the value has been set.
func (OCRRecognizePdfBody) MarshalJSON ¶
func (o OCRRecognizePdfBody) MarshalJSON() ([]byte, error)
func (*OCRRecognizePdfBody) SetImage ¶
func (o *OCRRecognizePdfBody) SetImage(v string)
SetImage sets field value
func (*OCRRecognizePdfBody) SetSettings ¶
func (o *OCRRecognizePdfBody) SetSettings(v OCRSettingsRecognizePdf)
SetSettings sets field value
func (OCRRecognizePdfBody) ToMap ¶
func (o OCRRecognizePdfBody) ToMap() (map[string]interface{}, error)
type OCRRecognizeReceiptBody ¶
type OCRRecognizeReceiptBody struct { // Gets or Sets Image Image string `json:"image"` Settings OCRSettingsRecognizeReceipt `json:"settings"` }
OCRRecognizeReceiptBody Combines Image data and OCR Recognition settings fro Receipt image
func NewOCRRecognizeReceiptBody ¶
func NewOCRRecognizeReceiptBody(image string, settings OCRSettingsRecognizeReceipt) *OCRRecognizeReceiptBody
NewOCRRecognizeReceiptBody instantiates a new OCRRecognizeReceiptBody 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
func NewOCRRecognizeReceiptBodyWithDefaults ¶
func NewOCRRecognizeReceiptBodyWithDefaults() *OCRRecognizeReceiptBody
NewOCRRecognizeReceiptBodyWithDefaults instantiates a new OCRRecognizeReceiptBody 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
func (*OCRRecognizeReceiptBody) GetImage ¶
func (o *OCRRecognizeReceiptBody) GetImage() string
GetImage returns the Image field value
func (*OCRRecognizeReceiptBody) GetImageOk ¶
func (o *OCRRecognizeReceiptBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*OCRRecognizeReceiptBody) GetSettings ¶
func (o *OCRRecognizeReceiptBody) GetSettings() OCRSettingsRecognizeReceipt
GetSettings returns the Settings field value
func (*OCRRecognizeReceiptBody) GetSettingsOk ¶
func (o *OCRRecognizeReceiptBody) GetSettingsOk() (*OCRSettingsRecognizeReceipt, bool)
GetSettingsOk returns a tuple with the Settings field value and a boolean to check if the value has been set.
func (OCRRecognizeReceiptBody) MarshalJSON ¶
func (o OCRRecognizeReceiptBody) MarshalJSON() ([]byte, error)
func (*OCRRecognizeReceiptBody) SetImage ¶
func (o *OCRRecognizeReceiptBody) SetImage(v string)
SetImage sets field value
func (*OCRRecognizeReceiptBody) SetSettings ¶
func (o *OCRRecognizeReceiptBody) SetSettings(v OCRSettingsRecognizeReceipt)
SetSettings sets field value
func (OCRRecognizeReceiptBody) ToMap ¶
func (o OCRRecognizeReceiptBody) ToMap() (map[string]interface{}, error)
type OCRRecognizeRegionsBody ¶
type OCRRecognizeRegionsBody struct { Image string `json:"image"` Settings OCRSettingsRecognizeRegions `json:"settings"` }
OCRRecognizeRegionsBody struct for OCRRecognizeRegionsBody
func NewOCRRecognizeRegionsBody ¶
func NewOCRRecognizeRegionsBody(image string, settings OCRSettingsRecognizeRegions) *OCRRecognizeRegionsBody
NewOCRRecognizeRegionsBody instantiates a new OCRRecognizeRegionsBody 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
func NewOCRRecognizeRegionsBodyWithDefaults ¶
func NewOCRRecognizeRegionsBodyWithDefaults() *OCRRecognizeRegionsBody
NewOCRRecognizeRegionsBodyWithDefaults instantiates a new OCRRecognizeRegionsBody 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
func (*OCRRecognizeRegionsBody) GetImage ¶
func (o *OCRRecognizeRegionsBody) GetImage() string
GetImage returns the Image field value
func (*OCRRecognizeRegionsBody) GetImageOk ¶
func (o *OCRRecognizeRegionsBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*OCRRecognizeRegionsBody) GetSettings ¶
func (o *OCRRecognizeRegionsBody) GetSettings() OCRSettingsRecognizeRegions
GetSettings returns the Settings field value
func (*OCRRecognizeRegionsBody) GetSettingsOk ¶
func (o *OCRRecognizeRegionsBody) GetSettingsOk() (*OCRSettingsRecognizeRegions, bool)
GetSettingsOk returns a tuple with the Settings field value and a boolean to check if the value has been set.
func (OCRRecognizeRegionsBody) MarshalJSON ¶
func (o OCRRecognizeRegionsBody) MarshalJSON() ([]byte, error)
func (*OCRRecognizeRegionsBody) SetImage ¶
func (o *OCRRecognizeRegionsBody) SetImage(v string)
SetImage sets field value
func (*OCRRecognizeRegionsBody) SetSettings ¶
func (o *OCRRecognizeRegionsBody) SetSettings(v OCRSettingsRecognizeRegions)
SetSettings sets field value
func (OCRRecognizeRegionsBody) ToMap ¶
func (o OCRRecognizeRegionsBody) ToMap() (map[string]interface{}, error)
type OCRRecognizeTableBody ¶
type OCRRecognizeTableBody struct { // Gets or Sets Image Image string `json:"image"` Settings OCRSettingsRecognizeTable `json:"settings"` }
OCRRecognizeTableBody Combines Image data and OCR Recognition settings for Table image
func NewOCRRecognizeTableBody ¶
func NewOCRRecognizeTableBody(image string, settings OCRSettingsRecognizeTable) *OCRRecognizeTableBody
NewOCRRecognizeTableBody instantiates a new OCRRecognizeTableBody 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
func NewOCRRecognizeTableBodyWithDefaults ¶
func NewOCRRecognizeTableBodyWithDefaults() *OCRRecognizeTableBody
NewOCRRecognizeTableBodyWithDefaults instantiates a new OCRRecognizeTableBody 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
func (*OCRRecognizeTableBody) GetImage ¶
func (o *OCRRecognizeTableBody) GetImage() string
GetImage returns the Image field value
func (*OCRRecognizeTableBody) GetImageOk ¶
func (o *OCRRecognizeTableBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*OCRRecognizeTableBody) GetSettings ¶
func (o *OCRRecognizeTableBody) GetSettings() OCRSettingsRecognizeTable
GetSettings returns the Settings field value
func (*OCRRecognizeTableBody) GetSettingsOk ¶
func (o *OCRRecognizeTableBody) GetSettingsOk() (*OCRSettingsRecognizeTable, bool)
GetSettingsOk returns a tuple with the Settings field value and a boolean to check if the value has been set.
func (OCRRecognizeTableBody) MarshalJSON ¶
func (o OCRRecognizeTableBody) MarshalJSON() ([]byte, error)
func (*OCRRecognizeTableBody) SetImage ¶
func (o *OCRRecognizeTableBody) SetImage(v string)
SetImage sets field value
func (*OCRRecognizeTableBody) SetSettings ¶
func (o *OCRRecognizeTableBody) SetSettings(v OCRSettingsRecognizeTable)
SetSettings sets field value
func (OCRRecognizeTableBody) ToMap ¶
func (o OCRRecognizeTableBody) ToMap() (map[string]interface{}, error)
type OCRRect ¶
type OCRRect struct { // X-Coordinate of top left corner TopLeftX *int32 `json:"topLeftX,omitempty"` // Y-Coordinate of top left corner TopLeftY *int32 `json:"topLeftY,omitempty"` // X-Coordinate of bottom right corner BottomRightX *int32 `json:"bottomRightX,omitempty"` // Y-Coordinate of bottom right corner BottomRightY *int32 `json:"bottomRightY,omitempty"` }
OCRRect Represents a rectangle: Left-Top (X1-Y1) to Right-Bottom (X2-Y2)
func NewOCRRect ¶
func NewOCRRect() *OCRRect
NewOCRRect instantiates a new OCRRect 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
func NewOCRRectWithDefaults ¶
func NewOCRRectWithDefaults() *OCRRect
NewOCRRectWithDefaults instantiates a new OCRRect 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
func (*OCRRect) GetBottomRightX ¶
GetBottomRightX returns the BottomRightX field value if set, zero value otherwise.
func (*OCRRect) GetBottomRightXOk ¶
GetBottomRightXOk returns a tuple with the BottomRightX field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRRect) GetBottomRightY ¶
GetBottomRightY returns the BottomRightY field value if set, zero value otherwise.
func (*OCRRect) GetBottomRightYOk ¶
GetBottomRightYOk returns a tuple with the BottomRightY field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRRect) GetTopLeftX ¶
GetTopLeftX returns the TopLeftX field value if set, zero value otherwise.
func (*OCRRect) GetTopLeftXOk ¶
GetTopLeftXOk returns a tuple with the TopLeftX field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRRect) GetTopLeftY ¶
GetTopLeftY returns the TopLeftY field value if set, zero value otherwise.
func (*OCRRect) GetTopLeftYOk ¶
GetTopLeftYOk returns a tuple with the TopLeftY field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRRect) HasBottomRightX ¶
HasBottomRightX returns a boolean if a field has been set.
func (*OCRRect) HasBottomRightY ¶
HasBottomRightY returns a boolean if a field has been set.
func (*OCRRect) HasTopLeftX ¶
HasTopLeftX returns a boolean if a field has been set.
func (*OCRRect) HasTopLeftY ¶
HasTopLeftY returns a boolean if a field has been set.
func (OCRRect) MarshalJSON ¶
func (*OCRRect) SetBottomRightX ¶
SetBottomRightX gets a reference to the given int32 and assigns it to the BottomRightX field.
func (*OCRRect) SetBottomRightY ¶
SetBottomRightY gets a reference to the given int32 and assigns it to the BottomRightY field.
func (*OCRRect) SetTopLeftX ¶
SetTopLeftX gets a reference to the given int32 and assigns it to the TopLeftX field.
func (*OCRRect) SetTopLeftY ¶
SetTopLeftY gets a reference to the given int32 and assigns it to the TopLeftY field.
type OCRRegion ¶
type OCRRegion struct { Rect *OCRRect `json:"rect,omitempty"` // The serial number of the region for the formation of the text Order *int32 `json:"order,omitempty"` }
OCRRegion Represents information about strict regions to recognize text
func NewOCRRegion ¶
func NewOCRRegion() *OCRRegion
NewOCRRegion instantiates a new OCRRegion 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
func NewOCRRegionWithDefaults ¶
func NewOCRRegionWithDefaults() *OCRRegion
NewOCRRegionWithDefaults instantiates a new OCRRegion 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
func (*OCRRegion) GetOrderOk ¶
GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRRegion) GetRectOk ¶
GetRectOk returns a tuple with the Rect field value if set, nil otherwise and a boolean to check if the value has been set.
func (OCRRegion) MarshalJSON ¶
func (*OCRRegion) SetOrder ¶
SetOrder gets a reference to the given int32 and assigns it to the Order field.
type OCRResponse ¶
type OCRResponse struct { // The specific Task ID that result was made for Id NullableString `json:"id,omitempty"` ResponseStatusCode *ResponseStatusCode `json:"responseStatusCode,omitempty"` TaskStatus *OCRTaskStatus `json:"taskStatus,omitempty"` // List of results - Especially Text or PDF files Results []OCRResult `json:"results,omitempty"` Error NullableOCRError `json:"error,omitempty"` }
OCRResponse Response with Recognition result for specific task ID
func NewOCRResponse ¶
func NewOCRResponse() *OCRResponse
NewOCRResponse instantiates a new OCRResponse 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
func NewOCRResponseWithDefaults ¶
func NewOCRResponseWithDefaults() *OCRResponse
NewOCRResponseWithDefaults instantiates a new OCRResponse 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
func (*OCRResponse) GetError ¶
func (o *OCRResponse) GetError() OCRError
GetError returns the Error field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRResponse) GetErrorOk ¶
func (o *OCRResponse) GetErrorOk() (*OCRError, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRResponse) GetId ¶
func (o *OCRResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRResponse) GetIdOk ¶
func (o *OCRResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRResponse) GetResponseStatusCode ¶
func (o *OCRResponse) GetResponseStatusCode() ResponseStatusCode
GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise.
func (*OCRResponse) GetResponseStatusCodeOk ¶
func (o *OCRResponse) GetResponseStatusCodeOk() (*ResponseStatusCode, bool)
GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRResponse) GetResults ¶
func (o *OCRResponse) GetResults() []OCRResult
GetResults returns the Results field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRResponse) GetResultsOk ¶
func (o *OCRResponse) GetResultsOk() ([]OCRResult, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRResponse) GetTaskStatus ¶
func (o *OCRResponse) GetTaskStatus() OCRTaskStatus
GetTaskStatus returns the TaskStatus field value if set, zero value otherwise.
func (*OCRResponse) GetTaskStatusOk ¶
func (o *OCRResponse) GetTaskStatusOk() (*OCRTaskStatus, bool)
GetTaskStatusOk returns a tuple with the TaskStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRResponse) HasError ¶
func (o *OCRResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*OCRResponse) HasId ¶
func (o *OCRResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*OCRResponse) HasResponseStatusCode ¶
func (o *OCRResponse) HasResponseStatusCode() bool
HasResponseStatusCode returns a boolean if a field has been set.
func (*OCRResponse) HasResults ¶
func (o *OCRResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*OCRResponse) HasTaskStatus ¶
func (o *OCRResponse) HasTaskStatus() bool
HasTaskStatus returns a boolean if a field has been set.
func (OCRResponse) MarshalJSON ¶
func (o OCRResponse) MarshalJSON() ([]byte, error)
func (*OCRResponse) SetError ¶
func (o *OCRResponse) SetError(v OCRError)
SetError gets a reference to the given NullableOCRError and assigns it to the Error field.
func (*OCRResponse) SetErrorNil ¶
func (o *OCRResponse) SetErrorNil()
SetErrorNil sets the value for Error to be an explicit nil
func (*OCRResponse) SetId ¶
func (o *OCRResponse) SetId(v string)
SetId gets a reference to the given NullableString and assigns it to the Id field.
func (*OCRResponse) SetIdNil ¶
func (o *OCRResponse) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*OCRResponse) SetResponseStatusCode ¶
func (o *OCRResponse) SetResponseStatusCode(v ResponseStatusCode)
SetResponseStatusCode gets a reference to the given ResponseStatusCode and assigns it to the ResponseStatusCode field.
func (*OCRResponse) SetResults ¶
func (o *OCRResponse) SetResults(v []OCRResult)
SetResults gets a reference to the given []OCRResult and assigns it to the Results field.
func (*OCRResponse) SetTaskStatus ¶
func (o *OCRResponse) SetTaskStatus(v OCRTaskStatus)
SetTaskStatus gets a reference to the given OCRTaskStatus and assigns it to the TaskStatus field.
func (OCRResponse) ToMap ¶
func (o OCRResponse) ToMap() (map[string]interface{}, error)
func (*OCRResponse) UnsetError ¶
func (o *OCRResponse) UnsetError()
UnsetError ensures that no value is present for Error, not even an explicit nil
func (*OCRResponse) UnsetId ¶
func (o *OCRResponse) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
type OCRResult ¶
type OCRResult struct { // File data type (extension) Type NullableString `json:"type,omitempty"` // File binary data Data NullableString `json:"data,omitempty"` }
OCRResult Represents information about response after OCR.
func NewOCRResult ¶
func NewOCRResult() *OCRResult
NewOCRResult instantiates a new OCRResult 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
func NewOCRResultWithDefaults ¶
func NewOCRResultWithDefaults() *OCRResult
NewOCRResultWithDefaults instantiates a new OCRResult 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
func (*OCRResult) GetData ¶
GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRResult) GetDataOk ¶
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRResult) GetType ¶
GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRResult) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (OCRResult) MarshalJSON ¶
func (*OCRResult) SetData ¶
SetData gets a reference to the given NullableString and assigns it to the Data field.
func (*OCRResult) SetDataNil ¶
func (o *OCRResult) SetDataNil()
SetDataNil sets the value for Data to be an explicit nil
func (*OCRResult) SetType ¶
SetType gets a reference to the given NullableString and assigns it to the Type field.
func (*OCRResult) SetTypeNil ¶
func (o *OCRResult) SetTypeNil()
SetTypeNil sets the value for Type to be an explicit nil
type OCRSettingsDetectRegions ¶
type OCRSettingsDetectRegions struct { MakeSkewCorrect *bool `json:"makeSkewCorrect,omitempty"` MakeContrastCorrection *bool `json:"makeContrastCorrection,omitempty"` MakeUpsampling *bool `json:"makeUpsampling,omitempty"` DsrConfidence *DsrConfidence `json:"dsrConfidence,omitempty"` Language *Language `json:"language,omitempty"` Rotate *int32 `json:"Rotate,omitempty"` // Option to enable spell checking and correction algorithm. False by default MakeSpellCheck *bool `json:"makeSpellCheck,omitempty"` MakeBinarization *bool `json:"makeBinarization,omitempty"` DsrMode *DsrMode `json:"dsrMode,omitempty"` ResultType *ResultType `json:"resultType,omitempty"` ResultTypeTable *ResultTypeTable `json:"resultTypeTable,omitempty"` Regions []OCRRegion `json:"regions,omitempty"` }
OCRSettingsDetectRegions struct for OCRSettingsDetectRegions
func NewOCRSettingsDetectRegions ¶
func NewOCRSettingsDetectRegions() *OCRSettingsDetectRegions
NewOCRSettingsDetectRegions instantiates a new OCRSettingsDetectRegions 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
func NewOCRSettingsDetectRegionsWithDefaults ¶
func NewOCRSettingsDetectRegionsWithDefaults() *OCRSettingsDetectRegions
NewOCRSettingsDetectRegionsWithDefaults instantiates a new OCRSettingsDetectRegions 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
func (*OCRSettingsDetectRegions) GetDsrConfidence ¶
func (o *OCRSettingsDetectRegions) GetDsrConfidence() DsrConfidence
GetDsrConfidence returns the DsrConfidence field value if set, zero value otherwise.
func (*OCRSettingsDetectRegions) GetDsrConfidenceOk ¶
func (o *OCRSettingsDetectRegions) GetDsrConfidenceOk() (*DsrConfidence, bool)
GetDsrConfidenceOk returns a tuple with the DsrConfidence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDetectRegions) GetDsrMode ¶
func (o *OCRSettingsDetectRegions) GetDsrMode() DsrMode
GetDsrMode returns the DsrMode field value if set, zero value otherwise.
func (*OCRSettingsDetectRegions) GetDsrModeOk ¶
func (o *OCRSettingsDetectRegions) GetDsrModeOk() (*DsrMode, bool)
GetDsrModeOk returns a tuple with the DsrMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDetectRegions) GetLanguage ¶
func (o *OCRSettingsDetectRegions) GetLanguage() Language
GetLanguage returns the Language field value if set, zero value otherwise.
func (*OCRSettingsDetectRegions) GetLanguageOk ¶
func (o *OCRSettingsDetectRegions) GetLanguageOk() (*Language, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDetectRegions) GetMakeBinarization ¶
func (o *OCRSettingsDetectRegions) GetMakeBinarization() bool
GetMakeBinarization returns the MakeBinarization field value if set, zero value otherwise.
func (*OCRSettingsDetectRegions) GetMakeBinarizationOk ¶
func (o *OCRSettingsDetectRegions) GetMakeBinarizationOk() (*bool, bool)
GetMakeBinarizationOk returns a tuple with the MakeBinarization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDetectRegions) GetMakeContrastCorrection ¶
func (o *OCRSettingsDetectRegions) GetMakeContrastCorrection() bool
GetMakeContrastCorrection returns the MakeContrastCorrection field value if set, zero value otherwise.
func (*OCRSettingsDetectRegions) GetMakeContrastCorrectionOk ¶
func (o *OCRSettingsDetectRegions) GetMakeContrastCorrectionOk() (*bool, bool)
GetMakeContrastCorrectionOk returns a tuple with the MakeContrastCorrection field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDetectRegions) GetMakeSkewCorrect ¶
func (o *OCRSettingsDetectRegions) GetMakeSkewCorrect() bool
GetMakeSkewCorrect returns the MakeSkewCorrect field value if set, zero value otherwise.
func (*OCRSettingsDetectRegions) GetMakeSkewCorrectOk ¶
func (o *OCRSettingsDetectRegions) GetMakeSkewCorrectOk() (*bool, bool)
GetMakeSkewCorrectOk returns a tuple with the MakeSkewCorrect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDetectRegions) GetMakeSpellCheck ¶
func (o *OCRSettingsDetectRegions) GetMakeSpellCheck() bool
GetMakeSpellCheck returns the MakeSpellCheck field value if set, zero value otherwise.
func (*OCRSettingsDetectRegions) GetMakeSpellCheckOk ¶
func (o *OCRSettingsDetectRegions) GetMakeSpellCheckOk() (*bool, bool)
GetMakeSpellCheckOk returns a tuple with the MakeSpellCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDetectRegions) GetMakeUpsampling ¶
func (o *OCRSettingsDetectRegions) GetMakeUpsampling() bool
GetMakeUpsampling returns the MakeUpsampling field value if set, zero value otherwise.
func (*OCRSettingsDetectRegions) GetMakeUpsamplingOk ¶
func (o *OCRSettingsDetectRegions) GetMakeUpsamplingOk() (*bool, bool)
GetMakeUpsamplingOk returns a tuple with the MakeUpsampling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDetectRegions) GetRegions ¶
func (o *OCRSettingsDetectRegions) GetRegions() []OCRRegion
GetRegions returns the Regions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRSettingsDetectRegions) GetRegionsOk ¶
func (o *OCRSettingsDetectRegions) GetRegionsOk() ([]OCRRegion, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRSettingsDetectRegions) GetResultType ¶
func (o *OCRSettingsDetectRegions) GetResultType() ResultType
GetResultType returns the ResultType field value if set, zero value otherwise.
func (*OCRSettingsDetectRegions) GetResultTypeOk ¶
func (o *OCRSettingsDetectRegions) GetResultTypeOk() (*ResultType, bool)
GetResultTypeOk returns a tuple with the ResultType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDetectRegions) GetResultTypeTable ¶
func (o *OCRSettingsDetectRegions) GetResultTypeTable() ResultTypeTable
GetResultTypeTable returns the ResultTypeTable field value if set, zero value otherwise.
func (*OCRSettingsDetectRegions) GetResultTypeTableOk ¶
func (o *OCRSettingsDetectRegions) GetResultTypeTableOk() (*ResultTypeTable, bool)
GetResultTypeTableOk returns a tuple with the ResultTypeTable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDetectRegions) GetRotate ¶
func (o *OCRSettingsDetectRegions) GetRotate() int32
GetRotate returns the Rotate field value if set, zero value otherwise.
func (*OCRSettingsDetectRegions) GetRotateOk ¶
func (o *OCRSettingsDetectRegions) GetRotateOk() (*int32, bool)
GetRotateOk returns a tuple with the Rotate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDetectRegions) HasDsrConfidence ¶
func (o *OCRSettingsDetectRegions) HasDsrConfidence() bool
HasDsrConfidence returns a boolean if a field has been set.
func (*OCRSettingsDetectRegions) HasDsrMode ¶
func (o *OCRSettingsDetectRegions) HasDsrMode() bool
HasDsrMode returns a boolean if a field has been set.
func (*OCRSettingsDetectRegions) HasLanguage ¶
func (o *OCRSettingsDetectRegions) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*OCRSettingsDetectRegions) HasMakeBinarization ¶
func (o *OCRSettingsDetectRegions) HasMakeBinarization() bool
HasMakeBinarization returns a boolean if a field has been set.
func (*OCRSettingsDetectRegions) HasMakeContrastCorrection ¶
func (o *OCRSettingsDetectRegions) HasMakeContrastCorrection() bool
HasMakeContrastCorrection returns a boolean if a field has been set.
func (*OCRSettingsDetectRegions) HasMakeSkewCorrect ¶
func (o *OCRSettingsDetectRegions) HasMakeSkewCorrect() bool
HasMakeSkewCorrect returns a boolean if a field has been set.
func (*OCRSettingsDetectRegions) HasMakeSpellCheck ¶
func (o *OCRSettingsDetectRegions) HasMakeSpellCheck() bool
HasMakeSpellCheck returns a boolean if a field has been set.
func (*OCRSettingsDetectRegions) HasMakeUpsampling ¶
func (o *OCRSettingsDetectRegions) HasMakeUpsampling() bool
HasMakeUpsampling returns a boolean if a field has been set.
func (*OCRSettingsDetectRegions) HasRegions ¶
func (o *OCRSettingsDetectRegions) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (*OCRSettingsDetectRegions) HasResultType ¶
func (o *OCRSettingsDetectRegions) HasResultType() bool
HasResultType returns a boolean if a field has been set.
func (*OCRSettingsDetectRegions) HasResultTypeTable ¶
func (o *OCRSettingsDetectRegions) HasResultTypeTable() bool
HasResultTypeTable returns a boolean if a field has been set.
func (*OCRSettingsDetectRegions) HasRotate ¶
func (o *OCRSettingsDetectRegions) HasRotate() bool
HasRotate returns a boolean if a field has been set.
func (OCRSettingsDetectRegions) MarshalJSON ¶
func (o OCRSettingsDetectRegions) MarshalJSON() ([]byte, error)
func (*OCRSettingsDetectRegions) SetDsrConfidence ¶
func (o *OCRSettingsDetectRegions) SetDsrConfidence(v DsrConfidence)
SetDsrConfidence gets a reference to the given DsrConfidence and assigns it to the DsrConfidence field.
func (*OCRSettingsDetectRegions) SetDsrMode ¶
func (o *OCRSettingsDetectRegions) SetDsrMode(v DsrMode)
SetDsrMode gets a reference to the given DsrMode and assigns it to the DsrMode field.
func (*OCRSettingsDetectRegions) SetLanguage ¶
func (o *OCRSettingsDetectRegions) SetLanguage(v Language)
SetLanguage gets a reference to the given Language and assigns it to the Language field.
func (*OCRSettingsDetectRegions) SetMakeBinarization ¶
func (o *OCRSettingsDetectRegions) SetMakeBinarization(v bool)
SetMakeBinarization gets a reference to the given bool and assigns it to the MakeBinarization field.
func (*OCRSettingsDetectRegions) SetMakeContrastCorrection ¶
func (o *OCRSettingsDetectRegions) SetMakeContrastCorrection(v bool)
SetMakeContrastCorrection gets a reference to the given bool and assigns it to the MakeContrastCorrection field.
func (*OCRSettingsDetectRegions) SetMakeSkewCorrect ¶
func (o *OCRSettingsDetectRegions) SetMakeSkewCorrect(v bool)
SetMakeSkewCorrect gets a reference to the given bool and assigns it to the MakeSkewCorrect field.
func (*OCRSettingsDetectRegions) SetMakeSpellCheck ¶
func (o *OCRSettingsDetectRegions) SetMakeSpellCheck(v bool)
SetMakeSpellCheck gets a reference to the given bool and assigns it to the MakeSpellCheck field.
func (*OCRSettingsDetectRegions) SetMakeUpsampling ¶
func (o *OCRSettingsDetectRegions) SetMakeUpsampling(v bool)
SetMakeUpsampling gets a reference to the given bool and assigns it to the MakeUpsampling field.
func (*OCRSettingsDetectRegions) SetRegions ¶
func (o *OCRSettingsDetectRegions) SetRegions(v []OCRRegion)
SetRegions gets a reference to the given []OCRRegion and assigns it to the Regions field.
func (*OCRSettingsDetectRegions) SetResultType ¶
func (o *OCRSettingsDetectRegions) SetResultType(v ResultType)
SetResultType gets a reference to the given ResultType and assigns it to the ResultType field.
func (*OCRSettingsDetectRegions) SetResultTypeTable ¶
func (o *OCRSettingsDetectRegions) SetResultTypeTable(v ResultTypeTable)
SetResultTypeTable gets a reference to the given ResultTypeTable and assigns it to the ResultTypeTable field.
func (*OCRSettingsDetectRegions) SetRotate ¶
func (o *OCRSettingsDetectRegions) SetRotate(v int32)
SetRotate gets a reference to the given int32 and assigns it to the Rotate field.
func (OCRSettingsDetectRegions) ToMap ¶
func (o OCRSettingsDetectRegions) ToMap() (map[string]interface{}, error)
type OCRSettingsDjVu2PDF ¶
type OCRSettingsDjVu2PDF struct { Language *Language `json:"language,omitempty"` Rotate *int32 `json:"Rotate,omitempty"` // Option to enable skew correction algorithm. True by default MakeSkewCorrect *bool `json:"makeSkewCorrect,omitempty"` // Option to enable spell checking and correction algorithm. False by default MakeSpellCheck *bool `json:"makeSpellCheck,omitempty"` // Option to enable image contrast correction algorithm. True by default // Deprecated MakeContrastCorrection *bool `json:"makeContrastCorrection,omitempty"` MakeBinarization *bool `json:"makeBinarization,omitempty"` // Option to enable image up-sampling algorithm to improve quality. True by default MakeUpsampling *bool `json:"makeUpsampling,omitempty"` DsrMode *DsrMode `json:"dsrMode,omitempty"` DsrConfidence *DsrConfidence `json:"dsrConfidence,omitempty"` ResultType *ResultType `json:"resultType,omitempty"` ResultTypeTable *ResultTypeTable `json:"resultTypeTable,omitempty"` Regions []OCRRegion `json:"regions,omitempty"` }
OCRSettingsDjVu2PDF struct for OCRSettingsDjVu2PDF
func NewOCRSettingsDjVu2PDF ¶
func NewOCRSettingsDjVu2PDF() *OCRSettingsDjVu2PDF
NewOCRSettingsDjVu2PDF instantiates a new OCRSettingsDjVu2PDF 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
func NewOCRSettingsDjVu2PDFWithDefaults ¶
func NewOCRSettingsDjVu2PDFWithDefaults() *OCRSettingsDjVu2PDF
NewOCRSettingsDjVu2PDFWithDefaults instantiates a new OCRSettingsDjVu2PDF 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
func (*OCRSettingsDjVu2PDF) GetDsrConfidence ¶
func (o *OCRSettingsDjVu2PDF) GetDsrConfidence() DsrConfidence
GetDsrConfidence returns the DsrConfidence field value if set, zero value otherwise.
func (*OCRSettingsDjVu2PDF) GetDsrConfidenceOk ¶
func (o *OCRSettingsDjVu2PDF) GetDsrConfidenceOk() (*DsrConfidence, bool)
GetDsrConfidenceOk returns a tuple with the DsrConfidence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDjVu2PDF) GetDsrMode ¶
func (o *OCRSettingsDjVu2PDF) GetDsrMode() DsrMode
GetDsrMode returns the DsrMode field value if set, zero value otherwise.
func (*OCRSettingsDjVu2PDF) GetDsrModeOk ¶
func (o *OCRSettingsDjVu2PDF) GetDsrModeOk() (*DsrMode, bool)
GetDsrModeOk returns a tuple with the DsrMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDjVu2PDF) GetLanguage ¶
func (o *OCRSettingsDjVu2PDF) GetLanguage() Language
GetLanguage returns the Language field value if set, zero value otherwise.
func (*OCRSettingsDjVu2PDF) GetLanguageOk ¶
func (o *OCRSettingsDjVu2PDF) GetLanguageOk() (*Language, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDjVu2PDF) GetMakeBinarization ¶
func (o *OCRSettingsDjVu2PDF) GetMakeBinarization() bool
GetMakeBinarization returns the MakeBinarization field value if set, zero value otherwise.
func (*OCRSettingsDjVu2PDF) GetMakeBinarizationOk ¶
func (o *OCRSettingsDjVu2PDF) GetMakeBinarizationOk() (*bool, bool)
GetMakeBinarizationOk returns a tuple with the MakeBinarization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDjVu2PDF) GetMakeContrastCorrection ¶
func (o *OCRSettingsDjVu2PDF) GetMakeContrastCorrection() bool
GetMakeContrastCorrection returns the MakeContrastCorrection field value if set, zero value otherwise. Deprecated
func (*OCRSettingsDjVu2PDF) GetMakeContrastCorrectionOk ¶
func (o *OCRSettingsDjVu2PDF) GetMakeContrastCorrectionOk() (*bool, bool)
GetMakeContrastCorrectionOk returns a tuple with the MakeContrastCorrection field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*OCRSettingsDjVu2PDF) GetMakeSkewCorrect ¶
func (o *OCRSettingsDjVu2PDF) GetMakeSkewCorrect() bool
GetMakeSkewCorrect returns the MakeSkewCorrect field value if set, zero value otherwise.
func (*OCRSettingsDjVu2PDF) GetMakeSkewCorrectOk ¶
func (o *OCRSettingsDjVu2PDF) GetMakeSkewCorrectOk() (*bool, bool)
GetMakeSkewCorrectOk returns a tuple with the MakeSkewCorrect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDjVu2PDF) GetMakeSpellCheck ¶
func (o *OCRSettingsDjVu2PDF) GetMakeSpellCheck() bool
GetMakeSpellCheck returns the MakeSpellCheck field value if set, zero value otherwise.
func (*OCRSettingsDjVu2PDF) GetMakeSpellCheckOk ¶
func (o *OCRSettingsDjVu2PDF) GetMakeSpellCheckOk() (*bool, bool)
GetMakeSpellCheckOk returns a tuple with the MakeSpellCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDjVu2PDF) GetMakeUpsampling ¶
func (o *OCRSettingsDjVu2PDF) GetMakeUpsampling() bool
GetMakeUpsampling returns the MakeUpsampling field value if set, zero value otherwise.
func (*OCRSettingsDjVu2PDF) GetMakeUpsamplingOk ¶
func (o *OCRSettingsDjVu2PDF) GetMakeUpsamplingOk() (*bool, bool)
GetMakeUpsamplingOk returns a tuple with the MakeUpsampling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDjVu2PDF) GetRegions ¶
func (o *OCRSettingsDjVu2PDF) GetRegions() []OCRRegion
GetRegions returns the Regions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRSettingsDjVu2PDF) GetRegionsOk ¶
func (o *OCRSettingsDjVu2PDF) GetRegionsOk() ([]OCRRegion, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRSettingsDjVu2PDF) GetResultType ¶
func (o *OCRSettingsDjVu2PDF) GetResultType() ResultType
GetResultType returns the ResultType field value if set, zero value otherwise.
func (*OCRSettingsDjVu2PDF) GetResultTypeOk ¶
func (o *OCRSettingsDjVu2PDF) GetResultTypeOk() (*ResultType, bool)
GetResultTypeOk returns a tuple with the ResultType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDjVu2PDF) GetResultTypeTable ¶
func (o *OCRSettingsDjVu2PDF) GetResultTypeTable() ResultTypeTable
GetResultTypeTable returns the ResultTypeTable field value if set, zero value otherwise.
func (*OCRSettingsDjVu2PDF) GetResultTypeTableOk ¶
func (o *OCRSettingsDjVu2PDF) GetResultTypeTableOk() (*ResultTypeTable, bool)
GetResultTypeTableOk returns a tuple with the ResultTypeTable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDjVu2PDF) GetRotate ¶
func (o *OCRSettingsDjVu2PDF) GetRotate() int32
GetRotate returns the Rotate field value if set, zero value otherwise.
func (*OCRSettingsDjVu2PDF) GetRotateOk ¶
func (o *OCRSettingsDjVu2PDF) GetRotateOk() (*int32, bool)
GetRotateOk returns a tuple with the Rotate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsDjVu2PDF) HasDsrConfidence ¶
func (o *OCRSettingsDjVu2PDF) HasDsrConfidence() bool
HasDsrConfidence returns a boolean if a field has been set.
func (*OCRSettingsDjVu2PDF) HasDsrMode ¶
func (o *OCRSettingsDjVu2PDF) HasDsrMode() bool
HasDsrMode returns a boolean if a field has been set.
func (*OCRSettingsDjVu2PDF) HasLanguage ¶
func (o *OCRSettingsDjVu2PDF) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*OCRSettingsDjVu2PDF) HasMakeBinarization ¶
func (o *OCRSettingsDjVu2PDF) HasMakeBinarization() bool
HasMakeBinarization returns a boolean if a field has been set.
func (*OCRSettingsDjVu2PDF) HasMakeContrastCorrection ¶
func (o *OCRSettingsDjVu2PDF) HasMakeContrastCorrection() bool
HasMakeContrastCorrection returns a boolean if a field has been set.
func (*OCRSettingsDjVu2PDF) HasMakeSkewCorrect ¶
func (o *OCRSettingsDjVu2PDF) HasMakeSkewCorrect() bool
HasMakeSkewCorrect returns a boolean if a field has been set.
func (*OCRSettingsDjVu2PDF) HasMakeSpellCheck ¶
func (o *OCRSettingsDjVu2PDF) HasMakeSpellCheck() bool
HasMakeSpellCheck returns a boolean if a field has been set.
func (*OCRSettingsDjVu2PDF) HasMakeUpsampling ¶
func (o *OCRSettingsDjVu2PDF) HasMakeUpsampling() bool
HasMakeUpsampling returns a boolean if a field has been set.
func (*OCRSettingsDjVu2PDF) HasRegions ¶
func (o *OCRSettingsDjVu2PDF) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (*OCRSettingsDjVu2PDF) HasResultType ¶
func (o *OCRSettingsDjVu2PDF) HasResultType() bool
HasResultType returns a boolean if a field has been set.
func (*OCRSettingsDjVu2PDF) HasResultTypeTable ¶
func (o *OCRSettingsDjVu2PDF) HasResultTypeTable() bool
HasResultTypeTable returns a boolean if a field has been set.
func (*OCRSettingsDjVu2PDF) HasRotate ¶
func (o *OCRSettingsDjVu2PDF) HasRotate() bool
HasRotate returns a boolean if a field has been set.
func (OCRSettingsDjVu2PDF) MarshalJSON ¶
func (o OCRSettingsDjVu2PDF) MarshalJSON() ([]byte, error)
func (*OCRSettingsDjVu2PDF) SetDsrConfidence ¶
func (o *OCRSettingsDjVu2PDF) SetDsrConfidence(v DsrConfidence)
SetDsrConfidence gets a reference to the given DsrConfidence and assigns it to the DsrConfidence field.
func (*OCRSettingsDjVu2PDF) SetDsrMode ¶
func (o *OCRSettingsDjVu2PDF) SetDsrMode(v DsrMode)
SetDsrMode gets a reference to the given DsrMode and assigns it to the DsrMode field.
func (*OCRSettingsDjVu2PDF) SetLanguage ¶
func (o *OCRSettingsDjVu2PDF) SetLanguage(v Language)
SetLanguage gets a reference to the given Language and assigns it to the Language field.
func (*OCRSettingsDjVu2PDF) SetMakeBinarization ¶
func (o *OCRSettingsDjVu2PDF) SetMakeBinarization(v bool)
SetMakeBinarization gets a reference to the given bool and assigns it to the MakeBinarization field.
func (*OCRSettingsDjVu2PDF) SetMakeContrastCorrection ¶
func (o *OCRSettingsDjVu2PDF) SetMakeContrastCorrection(v bool)
SetMakeContrastCorrection gets a reference to the given bool and assigns it to the MakeContrastCorrection field. Deprecated
func (*OCRSettingsDjVu2PDF) SetMakeSkewCorrect ¶
func (o *OCRSettingsDjVu2PDF) SetMakeSkewCorrect(v bool)
SetMakeSkewCorrect gets a reference to the given bool and assigns it to the MakeSkewCorrect field.
func (*OCRSettingsDjVu2PDF) SetMakeSpellCheck ¶
func (o *OCRSettingsDjVu2PDF) SetMakeSpellCheck(v bool)
SetMakeSpellCheck gets a reference to the given bool and assigns it to the MakeSpellCheck field.
func (*OCRSettingsDjVu2PDF) SetMakeUpsampling ¶
func (o *OCRSettingsDjVu2PDF) SetMakeUpsampling(v bool)
SetMakeUpsampling gets a reference to the given bool and assigns it to the MakeUpsampling field.
func (*OCRSettingsDjVu2PDF) SetRegions ¶
func (o *OCRSettingsDjVu2PDF) SetRegions(v []OCRRegion)
SetRegions gets a reference to the given []OCRRegion and assigns it to the Regions field.
func (*OCRSettingsDjVu2PDF) SetResultType ¶
func (o *OCRSettingsDjVu2PDF) SetResultType(v ResultType)
SetResultType gets a reference to the given ResultType and assigns it to the ResultType field.
func (*OCRSettingsDjVu2PDF) SetResultTypeTable ¶
func (o *OCRSettingsDjVu2PDF) SetResultTypeTable(v ResultTypeTable)
SetResultTypeTable gets a reference to the given ResultTypeTable and assigns it to the ResultTypeTable field.
func (*OCRSettingsDjVu2PDF) SetRotate ¶
func (o *OCRSettingsDjVu2PDF) SetRotate(v int32)
SetRotate gets a reference to the given int32 and assigns it to the Rotate field.
func (OCRSettingsDjVu2PDF) ToMap ¶
func (o OCRSettingsDjVu2PDF) ToMap() (map[string]interface{}, error)
type OCRSettingsRecognizeAndParseInvoice ¶
type OCRSettingsRecognizeAndParseInvoice struct { MakeSkewCorrect *bool `json:"makeSkewCorrect,omitempty"` MakeBinarization *bool `json:"makeBinarization,omitempty"` MakeUpsampling *bool `json:"makeUpsampling,omitempty"` ResultType *ResultType `json:"resultType,omitempty"` Language *Language `json:"language,omitempty"` Rotate *int32 `json:"Rotate,omitempty"` // Option to enable spell checking and correction algorithm. False by default MakeSpellCheck *bool `json:"makeSpellCheck,omitempty"` // Option to enable image contrast correction algorithm. True by default // Deprecated MakeContrastCorrection *bool `json:"makeContrastCorrection,omitempty"` DsrMode *DsrMode `json:"dsrMode,omitempty"` DsrConfidence *DsrConfidence `json:"dsrConfidence,omitempty"` ResultTypeTable *ResultTypeTable `json:"resultTypeTable,omitempty"` Regions []OCRRegion `json:"regions,omitempty"` }
OCRSettingsRecognizeAndParseInvoice struct for OCRSettingsRecognizeAndParseInvoice
func NewOCRSettingsRecognizeAndParseInvoice ¶
func NewOCRSettingsRecognizeAndParseInvoice() *OCRSettingsRecognizeAndParseInvoice
NewOCRSettingsRecognizeAndParseInvoice instantiates a new OCRSettingsRecognizeAndParseInvoice 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
func NewOCRSettingsRecognizeAndParseInvoiceWithDefaults ¶
func NewOCRSettingsRecognizeAndParseInvoiceWithDefaults() *OCRSettingsRecognizeAndParseInvoice
NewOCRSettingsRecognizeAndParseInvoiceWithDefaults instantiates a new OCRSettingsRecognizeAndParseInvoice 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
func (*OCRSettingsRecognizeAndParseInvoice) GetDsrConfidence ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetDsrConfidence() DsrConfidence
GetDsrConfidence returns the DsrConfidence field value if set, zero value otherwise.
func (*OCRSettingsRecognizeAndParseInvoice) GetDsrConfidenceOk ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetDsrConfidenceOk() (*DsrConfidence, bool)
GetDsrConfidenceOk returns a tuple with the DsrConfidence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeAndParseInvoice) GetDsrMode ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetDsrMode() DsrMode
GetDsrMode returns the DsrMode field value if set, zero value otherwise.
func (*OCRSettingsRecognizeAndParseInvoice) GetDsrModeOk ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetDsrModeOk() (*DsrMode, bool)
GetDsrModeOk returns a tuple with the DsrMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeAndParseInvoice) GetLanguage ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetLanguage() Language
GetLanguage returns the Language field value if set, zero value otherwise.
func (*OCRSettingsRecognizeAndParseInvoice) GetLanguageOk ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetLanguageOk() (*Language, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeAndParseInvoice) GetMakeBinarization ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeBinarization() bool
GetMakeBinarization returns the MakeBinarization field value if set, zero value otherwise.
func (*OCRSettingsRecognizeAndParseInvoice) GetMakeBinarizationOk ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeBinarizationOk() (*bool, bool)
GetMakeBinarizationOk returns a tuple with the MakeBinarization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeAndParseInvoice) GetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeContrastCorrection() bool
GetMakeContrastCorrection returns the MakeContrastCorrection field value if set, zero value otherwise. Deprecated
func (*OCRSettingsRecognizeAndParseInvoice) GetMakeContrastCorrectionOk ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeContrastCorrectionOk() (*bool, bool)
GetMakeContrastCorrectionOk returns a tuple with the MakeContrastCorrection field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*OCRSettingsRecognizeAndParseInvoice) GetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeSkewCorrect() bool
GetMakeSkewCorrect returns the MakeSkewCorrect field value if set, zero value otherwise.
func (*OCRSettingsRecognizeAndParseInvoice) GetMakeSkewCorrectOk ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeSkewCorrectOk() (*bool, bool)
GetMakeSkewCorrectOk returns a tuple with the MakeSkewCorrect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeAndParseInvoice) GetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeSpellCheck() bool
GetMakeSpellCheck returns the MakeSpellCheck field value if set, zero value otherwise.
func (*OCRSettingsRecognizeAndParseInvoice) GetMakeSpellCheckOk ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeSpellCheckOk() (*bool, bool)
GetMakeSpellCheckOk returns a tuple with the MakeSpellCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeAndParseInvoice) GetMakeUpsampling ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeUpsampling() bool
GetMakeUpsampling returns the MakeUpsampling field value if set, zero value otherwise.
func (*OCRSettingsRecognizeAndParseInvoice) GetMakeUpsamplingOk ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetMakeUpsamplingOk() (*bool, bool)
GetMakeUpsamplingOk returns a tuple with the MakeUpsampling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeAndParseInvoice) GetRegions ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetRegions() []OCRRegion
GetRegions returns the Regions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRSettingsRecognizeAndParseInvoice) GetRegionsOk ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetRegionsOk() ([]OCRRegion, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRSettingsRecognizeAndParseInvoice) GetResultType ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetResultType() ResultType
GetResultType returns the ResultType field value if set, zero value otherwise.
func (*OCRSettingsRecognizeAndParseInvoice) GetResultTypeOk ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetResultTypeOk() (*ResultType, bool)
GetResultTypeOk returns a tuple with the ResultType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeAndParseInvoice) GetResultTypeTable ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetResultTypeTable() ResultTypeTable
GetResultTypeTable returns the ResultTypeTable field value if set, zero value otherwise.
func (*OCRSettingsRecognizeAndParseInvoice) GetResultTypeTableOk ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetResultTypeTableOk() (*ResultTypeTable, bool)
GetResultTypeTableOk returns a tuple with the ResultTypeTable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeAndParseInvoice) GetRotate ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetRotate() int32
GetRotate returns the Rotate field value if set, zero value otherwise.
func (*OCRSettingsRecognizeAndParseInvoice) GetRotateOk ¶
func (o *OCRSettingsRecognizeAndParseInvoice) GetRotateOk() (*int32, bool)
GetRotateOk returns a tuple with the Rotate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeAndParseInvoice) HasDsrConfidence ¶
func (o *OCRSettingsRecognizeAndParseInvoice) HasDsrConfidence() bool
HasDsrConfidence returns a boolean if a field has been set.
func (*OCRSettingsRecognizeAndParseInvoice) HasDsrMode ¶
func (o *OCRSettingsRecognizeAndParseInvoice) HasDsrMode() bool
HasDsrMode returns a boolean if a field has been set.
func (*OCRSettingsRecognizeAndParseInvoice) HasLanguage ¶
func (o *OCRSettingsRecognizeAndParseInvoice) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*OCRSettingsRecognizeAndParseInvoice) HasMakeBinarization ¶
func (o *OCRSettingsRecognizeAndParseInvoice) HasMakeBinarization() bool
HasMakeBinarization returns a boolean if a field has been set.
func (*OCRSettingsRecognizeAndParseInvoice) HasMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeAndParseInvoice) HasMakeContrastCorrection() bool
HasMakeContrastCorrection returns a boolean if a field has been set.
func (*OCRSettingsRecognizeAndParseInvoice) HasMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeAndParseInvoice) HasMakeSkewCorrect() bool
HasMakeSkewCorrect returns a boolean if a field has been set.
func (*OCRSettingsRecognizeAndParseInvoice) HasMakeSpellCheck ¶
func (o *OCRSettingsRecognizeAndParseInvoice) HasMakeSpellCheck() bool
HasMakeSpellCheck returns a boolean if a field has been set.
func (*OCRSettingsRecognizeAndParseInvoice) HasMakeUpsampling ¶
func (o *OCRSettingsRecognizeAndParseInvoice) HasMakeUpsampling() bool
HasMakeUpsampling returns a boolean if a field has been set.
func (*OCRSettingsRecognizeAndParseInvoice) HasRegions ¶
func (o *OCRSettingsRecognizeAndParseInvoice) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (*OCRSettingsRecognizeAndParseInvoice) HasResultType ¶
func (o *OCRSettingsRecognizeAndParseInvoice) HasResultType() bool
HasResultType returns a boolean if a field has been set.
func (*OCRSettingsRecognizeAndParseInvoice) HasResultTypeTable ¶
func (o *OCRSettingsRecognizeAndParseInvoice) HasResultTypeTable() bool
HasResultTypeTable returns a boolean if a field has been set.
func (*OCRSettingsRecognizeAndParseInvoice) HasRotate ¶
func (o *OCRSettingsRecognizeAndParseInvoice) HasRotate() bool
HasRotate returns a boolean if a field has been set.
func (OCRSettingsRecognizeAndParseInvoice) MarshalJSON ¶
func (o OCRSettingsRecognizeAndParseInvoice) MarshalJSON() ([]byte, error)
func (*OCRSettingsRecognizeAndParseInvoice) SetDsrConfidence ¶
func (o *OCRSettingsRecognizeAndParseInvoice) SetDsrConfidence(v DsrConfidence)
SetDsrConfidence gets a reference to the given DsrConfidence and assigns it to the DsrConfidence field.
func (*OCRSettingsRecognizeAndParseInvoice) SetDsrMode ¶
func (o *OCRSettingsRecognizeAndParseInvoice) SetDsrMode(v DsrMode)
SetDsrMode gets a reference to the given DsrMode and assigns it to the DsrMode field.
func (*OCRSettingsRecognizeAndParseInvoice) SetLanguage ¶
func (o *OCRSettingsRecognizeAndParseInvoice) SetLanguage(v Language)
SetLanguage gets a reference to the given Language and assigns it to the Language field.
func (*OCRSettingsRecognizeAndParseInvoice) SetMakeBinarization ¶
func (o *OCRSettingsRecognizeAndParseInvoice) SetMakeBinarization(v bool)
SetMakeBinarization gets a reference to the given bool and assigns it to the MakeBinarization field.
func (*OCRSettingsRecognizeAndParseInvoice) SetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeAndParseInvoice) SetMakeContrastCorrection(v bool)
SetMakeContrastCorrection gets a reference to the given bool and assigns it to the MakeContrastCorrection field. Deprecated
func (*OCRSettingsRecognizeAndParseInvoice) SetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeAndParseInvoice) SetMakeSkewCorrect(v bool)
SetMakeSkewCorrect gets a reference to the given bool and assigns it to the MakeSkewCorrect field.
func (*OCRSettingsRecognizeAndParseInvoice) SetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeAndParseInvoice) SetMakeSpellCheck(v bool)
SetMakeSpellCheck gets a reference to the given bool and assigns it to the MakeSpellCheck field.
func (*OCRSettingsRecognizeAndParseInvoice) SetMakeUpsampling ¶
func (o *OCRSettingsRecognizeAndParseInvoice) SetMakeUpsampling(v bool)
SetMakeUpsampling gets a reference to the given bool and assigns it to the MakeUpsampling field.
func (*OCRSettingsRecognizeAndParseInvoice) SetRegions ¶
func (o *OCRSettingsRecognizeAndParseInvoice) SetRegions(v []OCRRegion)
SetRegions gets a reference to the given []OCRRegion and assigns it to the Regions field.
func (*OCRSettingsRecognizeAndParseInvoice) SetResultType ¶
func (o *OCRSettingsRecognizeAndParseInvoice) SetResultType(v ResultType)
SetResultType gets a reference to the given ResultType and assigns it to the ResultType field.
func (*OCRSettingsRecognizeAndParseInvoice) SetResultTypeTable ¶
func (o *OCRSettingsRecognizeAndParseInvoice) SetResultTypeTable(v ResultTypeTable)
SetResultTypeTable gets a reference to the given ResultTypeTable and assigns it to the ResultTypeTable field.
func (*OCRSettingsRecognizeAndParseInvoice) SetRotate ¶
func (o *OCRSettingsRecognizeAndParseInvoice) SetRotate(v int32)
SetRotate gets a reference to the given int32 and assigns it to the Rotate field.
func (OCRSettingsRecognizeAndParseInvoice) ToMap ¶
func (o OCRSettingsRecognizeAndParseInvoice) ToMap() (map[string]interface{}, error)
type OCRSettingsRecognizeFont ¶
type OCRSettingsRecognizeFont struct { Language *Language `json:"language,omitempty"` MakeSkewCorrect *bool `json:"makeSkewCorrect,omitempty"` MakeSpellCheck *bool `json:"makeSpellCheck,omitempty"` // Deprecated MakeContrastCorrection *bool `json:"makeContrastCorrection,omitempty"` ResultType *ResultType `json:"resultType,omitempty"` Rotate *int32 `json:"Rotate,omitempty"` MakeBinarization *bool `json:"makeBinarization,omitempty"` // Option to enable image up-sampling algorithm to improve quality. True by default MakeUpsampling *bool `json:"makeUpsampling,omitempty"` DsrMode *DsrMode `json:"dsrMode,omitempty"` DsrConfidence *DsrConfidence `json:"dsrConfidence,omitempty"` ResultTypeTable *ResultTypeTable `json:"resultTypeTable,omitempty"` Regions []OCRRegion `json:"regions,omitempty"` }
OCRSettingsRecognizeFont struct for OCRSettingsRecognizeFont
func NewOCRSettingsRecognizeFont ¶
func NewOCRSettingsRecognizeFont() *OCRSettingsRecognizeFont
NewOCRSettingsRecognizeFont instantiates a new OCRSettingsRecognizeFont 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
func NewOCRSettingsRecognizeFontWithDefaults ¶
func NewOCRSettingsRecognizeFontWithDefaults() *OCRSettingsRecognizeFont
NewOCRSettingsRecognizeFontWithDefaults instantiates a new OCRSettingsRecognizeFont 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
func (*OCRSettingsRecognizeFont) GetDsrConfidence ¶
func (o *OCRSettingsRecognizeFont) GetDsrConfidence() DsrConfidence
GetDsrConfidence returns the DsrConfidence field value if set, zero value otherwise.
func (*OCRSettingsRecognizeFont) GetDsrConfidenceOk ¶
func (o *OCRSettingsRecognizeFont) GetDsrConfidenceOk() (*DsrConfidence, bool)
GetDsrConfidenceOk returns a tuple with the DsrConfidence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeFont) GetDsrMode ¶
func (o *OCRSettingsRecognizeFont) GetDsrMode() DsrMode
GetDsrMode returns the DsrMode field value if set, zero value otherwise.
func (*OCRSettingsRecognizeFont) GetDsrModeOk ¶
func (o *OCRSettingsRecognizeFont) GetDsrModeOk() (*DsrMode, bool)
GetDsrModeOk returns a tuple with the DsrMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeFont) GetLanguage ¶
func (o *OCRSettingsRecognizeFont) GetLanguage() Language
GetLanguage returns the Language field value if set, zero value otherwise.
func (*OCRSettingsRecognizeFont) GetLanguageOk ¶
func (o *OCRSettingsRecognizeFont) GetLanguageOk() (*Language, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeFont) GetMakeBinarization ¶
func (o *OCRSettingsRecognizeFont) GetMakeBinarization() bool
GetMakeBinarization returns the MakeBinarization field value if set, zero value otherwise.
func (*OCRSettingsRecognizeFont) GetMakeBinarizationOk ¶
func (o *OCRSettingsRecognizeFont) GetMakeBinarizationOk() (*bool, bool)
GetMakeBinarizationOk returns a tuple with the MakeBinarization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeFont) GetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeFont) GetMakeContrastCorrection() bool
GetMakeContrastCorrection returns the MakeContrastCorrection field value if set, zero value otherwise. Deprecated
func (*OCRSettingsRecognizeFont) GetMakeContrastCorrectionOk ¶
func (o *OCRSettingsRecognizeFont) GetMakeContrastCorrectionOk() (*bool, bool)
GetMakeContrastCorrectionOk returns a tuple with the MakeContrastCorrection field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*OCRSettingsRecognizeFont) GetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeFont) GetMakeSkewCorrect() bool
GetMakeSkewCorrect returns the MakeSkewCorrect field value if set, zero value otherwise.
func (*OCRSettingsRecognizeFont) GetMakeSkewCorrectOk ¶
func (o *OCRSettingsRecognizeFont) GetMakeSkewCorrectOk() (*bool, bool)
GetMakeSkewCorrectOk returns a tuple with the MakeSkewCorrect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeFont) GetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeFont) GetMakeSpellCheck() bool
GetMakeSpellCheck returns the MakeSpellCheck field value if set, zero value otherwise.
func (*OCRSettingsRecognizeFont) GetMakeSpellCheckOk ¶
func (o *OCRSettingsRecognizeFont) GetMakeSpellCheckOk() (*bool, bool)
GetMakeSpellCheckOk returns a tuple with the MakeSpellCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeFont) GetMakeUpsampling ¶
func (o *OCRSettingsRecognizeFont) GetMakeUpsampling() bool
GetMakeUpsampling returns the MakeUpsampling field value if set, zero value otherwise.
func (*OCRSettingsRecognizeFont) GetMakeUpsamplingOk ¶
func (o *OCRSettingsRecognizeFont) GetMakeUpsamplingOk() (*bool, bool)
GetMakeUpsamplingOk returns a tuple with the MakeUpsampling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeFont) GetRegions ¶
func (o *OCRSettingsRecognizeFont) GetRegions() []OCRRegion
GetRegions returns the Regions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRSettingsRecognizeFont) GetRegionsOk ¶
func (o *OCRSettingsRecognizeFont) GetRegionsOk() ([]OCRRegion, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRSettingsRecognizeFont) GetResultType ¶
func (o *OCRSettingsRecognizeFont) GetResultType() ResultType
GetResultType returns the ResultType field value if set, zero value otherwise.
func (*OCRSettingsRecognizeFont) GetResultTypeOk ¶
func (o *OCRSettingsRecognizeFont) GetResultTypeOk() (*ResultType, bool)
GetResultTypeOk returns a tuple with the ResultType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeFont) GetResultTypeTable ¶
func (o *OCRSettingsRecognizeFont) GetResultTypeTable() ResultTypeTable
GetResultTypeTable returns the ResultTypeTable field value if set, zero value otherwise.
func (*OCRSettingsRecognizeFont) GetResultTypeTableOk ¶
func (o *OCRSettingsRecognizeFont) GetResultTypeTableOk() (*ResultTypeTable, bool)
GetResultTypeTableOk returns a tuple with the ResultTypeTable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeFont) GetRotate ¶
func (o *OCRSettingsRecognizeFont) GetRotate() int32
GetRotate returns the Rotate field value if set, zero value otherwise.
func (*OCRSettingsRecognizeFont) GetRotateOk ¶
func (o *OCRSettingsRecognizeFont) GetRotateOk() (*int32, bool)
GetRotateOk returns a tuple with the Rotate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeFont) HasDsrConfidence ¶
func (o *OCRSettingsRecognizeFont) HasDsrConfidence() bool
HasDsrConfidence returns a boolean if a field has been set.
func (*OCRSettingsRecognizeFont) HasDsrMode ¶
func (o *OCRSettingsRecognizeFont) HasDsrMode() bool
HasDsrMode returns a boolean if a field has been set.
func (*OCRSettingsRecognizeFont) HasLanguage ¶
func (o *OCRSettingsRecognizeFont) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*OCRSettingsRecognizeFont) HasMakeBinarization ¶
func (o *OCRSettingsRecognizeFont) HasMakeBinarization() bool
HasMakeBinarization returns a boolean if a field has been set.
func (*OCRSettingsRecognizeFont) HasMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeFont) HasMakeContrastCorrection() bool
HasMakeContrastCorrection returns a boolean if a field has been set.
func (*OCRSettingsRecognizeFont) HasMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeFont) HasMakeSkewCorrect() bool
HasMakeSkewCorrect returns a boolean if a field has been set.
func (*OCRSettingsRecognizeFont) HasMakeSpellCheck ¶
func (o *OCRSettingsRecognizeFont) HasMakeSpellCheck() bool
HasMakeSpellCheck returns a boolean if a field has been set.
func (*OCRSettingsRecognizeFont) HasMakeUpsampling ¶
func (o *OCRSettingsRecognizeFont) HasMakeUpsampling() bool
HasMakeUpsampling returns a boolean if a field has been set.
func (*OCRSettingsRecognizeFont) HasRegions ¶
func (o *OCRSettingsRecognizeFont) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (*OCRSettingsRecognizeFont) HasResultType ¶
func (o *OCRSettingsRecognizeFont) HasResultType() bool
HasResultType returns a boolean if a field has been set.
func (*OCRSettingsRecognizeFont) HasResultTypeTable ¶
func (o *OCRSettingsRecognizeFont) HasResultTypeTable() bool
HasResultTypeTable returns a boolean if a field has been set.
func (*OCRSettingsRecognizeFont) HasRotate ¶
func (o *OCRSettingsRecognizeFont) HasRotate() bool
HasRotate returns a boolean if a field has been set.
func (OCRSettingsRecognizeFont) MarshalJSON ¶
func (o OCRSettingsRecognizeFont) MarshalJSON() ([]byte, error)
func (*OCRSettingsRecognizeFont) SetDsrConfidence ¶
func (o *OCRSettingsRecognizeFont) SetDsrConfidence(v DsrConfidence)
SetDsrConfidence gets a reference to the given DsrConfidence and assigns it to the DsrConfidence field.
func (*OCRSettingsRecognizeFont) SetDsrMode ¶
func (o *OCRSettingsRecognizeFont) SetDsrMode(v DsrMode)
SetDsrMode gets a reference to the given DsrMode and assigns it to the DsrMode field.
func (*OCRSettingsRecognizeFont) SetLanguage ¶
func (o *OCRSettingsRecognizeFont) SetLanguage(v Language)
SetLanguage gets a reference to the given Language and assigns it to the Language field.
func (*OCRSettingsRecognizeFont) SetMakeBinarization ¶
func (o *OCRSettingsRecognizeFont) SetMakeBinarization(v bool)
SetMakeBinarization gets a reference to the given bool and assigns it to the MakeBinarization field.
func (*OCRSettingsRecognizeFont) SetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeFont) SetMakeContrastCorrection(v bool)
SetMakeContrastCorrection gets a reference to the given bool and assigns it to the MakeContrastCorrection field. Deprecated
func (*OCRSettingsRecognizeFont) SetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeFont) SetMakeSkewCorrect(v bool)
SetMakeSkewCorrect gets a reference to the given bool and assigns it to the MakeSkewCorrect field.
func (*OCRSettingsRecognizeFont) SetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeFont) SetMakeSpellCheck(v bool)
SetMakeSpellCheck gets a reference to the given bool and assigns it to the MakeSpellCheck field.
func (*OCRSettingsRecognizeFont) SetMakeUpsampling ¶
func (o *OCRSettingsRecognizeFont) SetMakeUpsampling(v bool)
SetMakeUpsampling gets a reference to the given bool and assigns it to the MakeUpsampling field.
func (*OCRSettingsRecognizeFont) SetRegions ¶
func (o *OCRSettingsRecognizeFont) SetRegions(v []OCRRegion)
SetRegions gets a reference to the given []OCRRegion and assigns it to the Regions field.
func (*OCRSettingsRecognizeFont) SetResultType ¶
func (o *OCRSettingsRecognizeFont) SetResultType(v ResultType)
SetResultType gets a reference to the given ResultType and assigns it to the ResultType field.
func (*OCRSettingsRecognizeFont) SetResultTypeTable ¶
func (o *OCRSettingsRecognizeFont) SetResultTypeTable(v ResultTypeTable)
SetResultTypeTable gets a reference to the given ResultTypeTable and assigns it to the ResultTypeTable field.
func (*OCRSettingsRecognizeFont) SetRotate ¶
func (o *OCRSettingsRecognizeFont) SetRotate(v int32)
SetRotate gets a reference to the given int32 and assigns it to the Rotate field.
func (OCRSettingsRecognizeFont) ToMap ¶
func (o OCRSettingsRecognizeFont) ToMap() (map[string]interface{}, error)
type OCRSettingsRecognizeImage ¶
type OCRSettingsRecognizeImage struct { Language *Language `json:"language,omitempty"` // Option to enable skew correction algorithm. True by default MakeSkewCorrect *bool `json:"makeSkewCorrect,omitempty"` MakeBinarization *bool `json:"makeBinarization,omitempty"` // Option to enable spell checking and correction algorithm. False by default MakeSpellCheck *bool `json:"makeSpellCheck,omitempty"` // Option to enable image contrast correction algorithm. True by default MakeContrastCorrection *bool `json:"makeContrastCorrection,omitempty"` // Option to enable image up-sampling algorithm to improve quality. True by default MakeUpsampling *bool `json:"makeUpsampling,omitempty"` DsrMode *DsrMode `json:"dsrMode,omitempty"` DsrConfidence *DsrConfidence `json:"dsrConfidence,omitempty"` ResultType *ResultType `json:"resultType,omitempty"` Rotate *int32 `json:"Rotate,omitempty"` ResultTypeTable *ResultTypeTable `json:"resultTypeTable,omitempty"` Regions []OCRRegion `json:"regions,omitempty"` }
OCRSettingsRecognizeImage OCR Process setting for Image recognition
func NewOCRSettingsRecognizeImage ¶
func NewOCRSettingsRecognizeImage() *OCRSettingsRecognizeImage
NewOCRSettingsRecognizeImage instantiates a new OCRSettingsRecognizeImage 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
func NewOCRSettingsRecognizeImageWithDefaults ¶
func NewOCRSettingsRecognizeImageWithDefaults() *OCRSettingsRecognizeImage
NewOCRSettingsRecognizeImageWithDefaults instantiates a new OCRSettingsRecognizeImage 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
func (*OCRSettingsRecognizeImage) GetDsrConfidence ¶
func (o *OCRSettingsRecognizeImage) GetDsrConfidence() DsrConfidence
GetDsrConfidence returns the DsrConfidence field value if set, zero value otherwise.
func (*OCRSettingsRecognizeImage) GetDsrConfidenceOk ¶
func (o *OCRSettingsRecognizeImage) GetDsrConfidenceOk() (*DsrConfidence, bool)
GetDsrConfidenceOk returns a tuple with the DsrConfidence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeImage) GetDsrMode ¶
func (o *OCRSettingsRecognizeImage) GetDsrMode() DsrMode
GetDsrMode returns the DsrMode field value if set, zero value otherwise.
func (*OCRSettingsRecognizeImage) GetDsrModeOk ¶
func (o *OCRSettingsRecognizeImage) GetDsrModeOk() (*DsrMode, bool)
GetDsrModeOk returns a tuple with the DsrMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeImage) GetLanguage ¶
func (o *OCRSettingsRecognizeImage) GetLanguage() Language
GetLanguage returns the Language field value if set, zero value otherwise.
func (*OCRSettingsRecognizeImage) GetLanguageOk ¶
func (o *OCRSettingsRecognizeImage) GetLanguageOk() (*Language, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeImage) GetMakeBinarization ¶
func (o *OCRSettingsRecognizeImage) GetMakeBinarization() bool
GetMakeBinarization returns the MakeBinarization field value if set, zero value otherwise.
func (*OCRSettingsRecognizeImage) GetMakeBinarizationOk ¶
func (o *OCRSettingsRecognizeImage) GetMakeBinarizationOk() (*bool, bool)
GetMakeBinarizationOk returns a tuple with the MakeBinarization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeImage) GetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeImage) GetMakeContrastCorrection() bool
GetMakeContrastCorrection returns the MakeContrastCorrection field value if set, zero value otherwise.
func (*OCRSettingsRecognizeImage) GetMakeContrastCorrectionOk ¶
func (o *OCRSettingsRecognizeImage) GetMakeContrastCorrectionOk() (*bool, bool)
GetMakeContrastCorrectionOk returns a tuple with the MakeContrastCorrection field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeImage) GetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeImage) GetMakeSkewCorrect() bool
GetMakeSkewCorrect returns the MakeSkewCorrect field value if set, zero value otherwise.
func (*OCRSettingsRecognizeImage) GetMakeSkewCorrectOk ¶
func (o *OCRSettingsRecognizeImage) GetMakeSkewCorrectOk() (*bool, bool)
GetMakeSkewCorrectOk returns a tuple with the MakeSkewCorrect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeImage) GetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeImage) GetMakeSpellCheck() bool
GetMakeSpellCheck returns the MakeSpellCheck field value if set, zero value otherwise.
func (*OCRSettingsRecognizeImage) GetMakeSpellCheckOk ¶
func (o *OCRSettingsRecognizeImage) GetMakeSpellCheckOk() (*bool, bool)
GetMakeSpellCheckOk returns a tuple with the MakeSpellCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeImage) GetMakeUpsampling ¶
func (o *OCRSettingsRecognizeImage) GetMakeUpsampling() bool
GetMakeUpsampling returns the MakeUpsampling field value if set, zero value otherwise.
func (*OCRSettingsRecognizeImage) GetMakeUpsamplingOk ¶
func (o *OCRSettingsRecognizeImage) GetMakeUpsamplingOk() (*bool, bool)
GetMakeUpsamplingOk returns a tuple with the MakeUpsampling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeImage) GetRegions ¶
func (o *OCRSettingsRecognizeImage) GetRegions() []OCRRegion
GetRegions returns the Regions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRSettingsRecognizeImage) GetRegionsOk ¶
func (o *OCRSettingsRecognizeImage) GetRegionsOk() ([]OCRRegion, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRSettingsRecognizeImage) GetResultType ¶
func (o *OCRSettingsRecognizeImage) GetResultType() ResultType
GetResultType returns the ResultType field value if set, zero value otherwise.
func (*OCRSettingsRecognizeImage) GetResultTypeOk ¶
func (o *OCRSettingsRecognizeImage) GetResultTypeOk() (*ResultType, bool)
GetResultTypeOk returns a tuple with the ResultType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeImage) GetResultTypeTable ¶
func (o *OCRSettingsRecognizeImage) GetResultTypeTable() ResultTypeTable
GetResultTypeTable returns the ResultTypeTable field value if set, zero value otherwise.
func (*OCRSettingsRecognizeImage) GetResultTypeTableOk ¶
func (o *OCRSettingsRecognizeImage) GetResultTypeTableOk() (*ResultTypeTable, bool)
GetResultTypeTableOk returns a tuple with the ResultTypeTable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeImage) GetRotate ¶
func (o *OCRSettingsRecognizeImage) GetRotate() int32
GetRotate returns the Rotate field value if set, zero value otherwise.
func (*OCRSettingsRecognizeImage) GetRotateOk ¶
func (o *OCRSettingsRecognizeImage) GetRotateOk() (*int32, bool)
GetRotateOk returns a tuple with the Rotate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeImage) HasDsrConfidence ¶
func (o *OCRSettingsRecognizeImage) HasDsrConfidence() bool
HasDsrConfidence returns a boolean if a field has been set.
func (*OCRSettingsRecognizeImage) HasDsrMode ¶
func (o *OCRSettingsRecognizeImage) HasDsrMode() bool
HasDsrMode returns a boolean if a field has been set.
func (*OCRSettingsRecognizeImage) HasLanguage ¶
func (o *OCRSettingsRecognizeImage) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*OCRSettingsRecognizeImage) HasMakeBinarization ¶
func (o *OCRSettingsRecognizeImage) HasMakeBinarization() bool
HasMakeBinarization returns a boolean if a field has been set.
func (*OCRSettingsRecognizeImage) HasMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeImage) HasMakeContrastCorrection() bool
HasMakeContrastCorrection returns a boolean if a field has been set.
func (*OCRSettingsRecognizeImage) HasMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeImage) HasMakeSkewCorrect() bool
HasMakeSkewCorrect returns a boolean if a field has been set.
func (*OCRSettingsRecognizeImage) HasMakeSpellCheck ¶
func (o *OCRSettingsRecognizeImage) HasMakeSpellCheck() bool
HasMakeSpellCheck returns a boolean if a field has been set.
func (*OCRSettingsRecognizeImage) HasMakeUpsampling ¶
func (o *OCRSettingsRecognizeImage) HasMakeUpsampling() bool
HasMakeUpsampling returns a boolean if a field has been set.
func (*OCRSettingsRecognizeImage) HasRegions ¶
func (o *OCRSettingsRecognizeImage) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (*OCRSettingsRecognizeImage) HasResultType ¶
func (o *OCRSettingsRecognizeImage) HasResultType() bool
HasResultType returns a boolean if a field has been set.
func (*OCRSettingsRecognizeImage) HasResultTypeTable ¶
func (o *OCRSettingsRecognizeImage) HasResultTypeTable() bool
HasResultTypeTable returns a boolean if a field has been set.
func (*OCRSettingsRecognizeImage) HasRotate ¶
func (o *OCRSettingsRecognizeImage) HasRotate() bool
HasRotate returns a boolean if a field has been set.
func (OCRSettingsRecognizeImage) MarshalJSON ¶
func (o OCRSettingsRecognizeImage) MarshalJSON() ([]byte, error)
func (*OCRSettingsRecognizeImage) SetDsrConfidence ¶
func (o *OCRSettingsRecognizeImage) SetDsrConfidence(v DsrConfidence)
SetDsrConfidence gets a reference to the given DsrConfidence and assigns it to the DsrConfidence field.
func (*OCRSettingsRecognizeImage) SetDsrMode ¶
func (o *OCRSettingsRecognizeImage) SetDsrMode(v DsrMode)
SetDsrMode gets a reference to the given DsrMode and assigns it to the DsrMode field.
func (*OCRSettingsRecognizeImage) SetLanguage ¶
func (o *OCRSettingsRecognizeImage) SetLanguage(v Language)
SetLanguage gets a reference to the given Language and assigns it to the Language field.
func (*OCRSettingsRecognizeImage) SetMakeBinarization ¶
func (o *OCRSettingsRecognizeImage) SetMakeBinarization(v bool)
SetMakeBinarization gets a reference to the given bool and assigns it to the MakeBinarization field.
func (*OCRSettingsRecognizeImage) SetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeImage) SetMakeContrastCorrection(v bool)
SetMakeContrastCorrection gets a reference to the given bool and assigns it to the MakeContrastCorrection field.
func (*OCRSettingsRecognizeImage) SetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeImage) SetMakeSkewCorrect(v bool)
SetMakeSkewCorrect gets a reference to the given bool and assigns it to the MakeSkewCorrect field.
func (*OCRSettingsRecognizeImage) SetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeImage) SetMakeSpellCheck(v bool)
SetMakeSpellCheck gets a reference to the given bool and assigns it to the MakeSpellCheck field.
func (*OCRSettingsRecognizeImage) SetMakeUpsampling ¶
func (o *OCRSettingsRecognizeImage) SetMakeUpsampling(v bool)
SetMakeUpsampling gets a reference to the given bool and assigns it to the MakeUpsampling field.
func (*OCRSettingsRecognizeImage) SetRegions ¶
func (o *OCRSettingsRecognizeImage) SetRegions(v []OCRRegion)
SetRegions gets a reference to the given []OCRRegion and assigns it to the Regions field.
func (*OCRSettingsRecognizeImage) SetResultType ¶
func (o *OCRSettingsRecognizeImage) SetResultType(v ResultType)
SetResultType gets a reference to the given ResultType and assigns it to the ResultType field.
func (*OCRSettingsRecognizeImage) SetResultTypeTable ¶
func (o *OCRSettingsRecognizeImage) SetResultTypeTable(v ResultTypeTable)
SetResultTypeTable gets a reference to the given ResultTypeTable and assigns it to the ResultTypeTable field.
func (*OCRSettingsRecognizeImage) SetRotate ¶
func (o *OCRSettingsRecognizeImage) SetRotate(v int32)
SetRotate gets a reference to the given int32 and assigns it to the Rotate field.
func (OCRSettingsRecognizeImage) ToMap ¶
func (o OCRSettingsRecognizeImage) ToMap() (map[string]interface{}, error)
type OCRSettingsRecognizeLabel ¶
type OCRSettingsRecognizeLabel struct { Language *Language `json:"language,omitempty"` MakeSkewCorrect *bool `json:"makeSkewCorrect,omitempty"` MakeBinarization *bool `json:"makeBinarization,omitempty"` MakeSpellCheck *bool `json:"makeSpellCheck,omitempty"` // Deprecated MakeContrastCorrection *bool `json:"makeContrastCorrection,omitempty"` MakeUpsampling *bool `json:"makeUpsampling,omitempty"` DsrMode *DsrMode `json:"dsrMode,omitempty"` DsrConfidence *DsrConfidence `json:"dsrConfidence,omitempty"` ResultType *ResultType `json:"resultType,omitempty"` Rotate *int32 `json:"Rotate,omitempty"` ResultTypeTable *ResultTypeTable `json:"resultTypeTable,omitempty"` Regions []OCRRegion `json:"regions,omitempty"` }
OCRSettingsRecognizeLabel struct for OCRSettingsRecognizeLabel
func NewOCRSettingsRecognizeLabel ¶
func NewOCRSettingsRecognizeLabel() *OCRSettingsRecognizeLabel
NewOCRSettingsRecognizeLabel instantiates a new OCRSettingsRecognizeLabel 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
func NewOCRSettingsRecognizeLabelWithDefaults ¶
func NewOCRSettingsRecognizeLabelWithDefaults() *OCRSettingsRecognizeLabel
NewOCRSettingsRecognizeLabelWithDefaults instantiates a new OCRSettingsRecognizeLabel 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
func (*OCRSettingsRecognizeLabel) GetDsrConfidence ¶
func (o *OCRSettingsRecognizeLabel) GetDsrConfidence() DsrConfidence
GetDsrConfidence returns the DsrConfidence field value if set, zero value otherwise.
func (*OCRSettingsRecognizeLabel) GetDsrConfidenceOk ¶
func (o *OCRSettingsRecognizeLabel) GetDsrConfidenceOk() (*DsrConfidence, bool)
GetDsrConfidenceOk returns a tuple with the DsrConfidence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeLabel) GetDsrMode ¶
func (o *OCRSettingsRecognizeLabel) GetDsrMode() DsrMode
GetDsrMode returns the DsrMode field value if set, zero value otherwise.
func (*OCRSettingsRecognizeLabel) GetDsrModeOk ¶
func (o *OCRSettingsRecognizeLabel) GetDsrModeOk() (*DsrMode, bool)
GetDsrModeOk returns a tuple with the DsrMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeLabel) GetLanguage ¶
func (o *OCRSettingsRecognizeLabel) GetLanguage() Language
GetLanguage returns the Language field value if set, zero value otherwise.
func (*OCRSettingsRecognizeLabel) GetLanguageOk ¶
func (o *OCRSettingsRecognizeLabel) GetLanguageOk() (*Language, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeLabel) GetMakeBinarization ¶
func (o *OCRSettingsRecognizeLabel) GetMakeBinarization() bool
GetMakeBinarization returns the MakeBinarization field value if set, zero value otherwise.
func (*OCRSettingsRecognizeLabel) GetMakeBinarizationOk ¶
func (o *OCRSettingsRecognizeLabel) GetMakeBinarizationOk() (*bool, bool)
GetMakeBinarizationOk returns a tuple with the MakeBinarization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeLabel) GetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeLabel) GetMakeContrastCorrection() bool
GetMakeContrastCorrection returns the MakeContrastCorrection field value if set, zero value otherwise. Deprecated
func (*OCRSettingsRecognizeLabel) GetMakeContrastCorrectionOk ¶
func (o *OCRSettingsRecognizeLabel) GetMakeContrastCorrectionOk() (*bool, bool)
GetMakeContrastCorrectionOk returns a tuple with the MakeContrastCorrection field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*OCRSettingsRecognizeLabel) GetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeLabel) GetMakeSkewCorrect() bool
GetMakeSkewCorrect returns the MakeSkewCorrect field value if set, zero value otherwise.
func (*OCRSettingsRecognizeLabel) GetMakeSkewCorrectOk ¶
func (o *OCRSettingsRecognizeLabel) GetMakeSkewCorrectOk() (*bool, bool)
GetMakeSkewCorrectOk returns a tuple with the MakeSkewCorrect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeLabel) GetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeLabel) GetMakeSpellCheck() bool
GetMakeSpellCheck returns the MakeSpellCheck field value if set, zero value otherwise.
func (*OCRSettingsRecognizeLabel) GetMakeSpellCheckOk ¶
func (o *OCRSettingsRecognizeLabel) GetMakeSpellCheckOk() (*bool, bool)
GetMakeSpellCheckOk returns a tuple with the MakeSpellCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeLabel) GetMakeUpsampling ¶
func (o *OCRSettingsRecognizeLabel) GetMakeUpsampling() bool
GetMakeUpsampling returns the MakeUpsampling field value if set, zero value otherwise.
func (*OCRSettingsRecognizeLabel) GetMakeUpsamplingOk ¶
func (o *OCRSettingsRecognizeLabel) GetMakeUpsamplingOk() (*bool, bool)
GetMakeUpsamplingOk returns a tuple with the MakeUpsampling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeLabel) GetRegions ¶
func (o *OCRSettingsRecognizeLabel) GetRegions() []OCRRegion
GetRegions returns the Regions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRSettingsRecognizeLabel) GetRegionsOk ¶
func (o *OCRSettingsRecognizeLabel) GetRegionsOk() ([]OCRRegion, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRSettingsRecognizeLabel) GetResultType ¶
func (o *OCRSettingsRecognizeLabel) GetResultType() ResultType
GetResultType returns the ResultType field value if set, zero value otherwise.
func (*OCRSettingsRecognizeLabel) GetResultTypeOk ¶
func (o *OCRSettingsRecognizeLabel) GetResultTypeOk() (*ResultType, bool)
GetResultTypeOk returns a tuple with the ResultType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeLabel) GetResultTypeTable ¶
func (o *OCRSettingsRecognizeLabel) GetResultTypeTable() ResultTypeTable
GetResultTypeTable returns the ResultTypeTable field value if set, zero value otherwise.
func (*OCRSettingsRecognizeLabel) GetResultTypeTableOk ¶
func (o *OCRSettingsRecognizeLabel) GetResultTypeTableOk() (*ResultTypeTable, bool)
GetResultTypeTableOk returns a tuple with the ResultTypeTable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeLabel) GetRotate ¶
func (o *OCRSettingsRecognizeLabel) GetRotate() int32
GetRotate returns the Rotate field value if set, zero value otherwise.
func (*OCRSettingsRecognizeLabel) GetRotateOk ¶
func (o *OCRSettingsRecognizeLabel) GetRotateOk() (*int32, bool)
GetRotateOk returns a tuple with the Rotate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeLabel) HasDsrConfidence ¶
func (o *OCRSettingsRecognizeLabel) HasDsrConfidence() bool
HasDsrConfidence returns a boolean if a field has been set.
func (*OCRSettingsRecognizeLabel) HasDsrMode ¶
func (o *OCRSettingsRecognizeLabel) HasDsrMode() bool
HasDsrMode returns a boolean if a field has been set.
func (*OCRSettingsRecognizeLabel) HasLanguage ¶
func (o *OCRSettingsRecognizeLabel) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*OCRSettingsRecognizeLabel) HasMakeBinarization ¶
func (o *OCRSettingsRecognizeLabel) HasMakeBinarization() bool
HasMakeBinarization returns a boolean if a field has been set.
func (*OCRSettingsRecognizeLabel) HasMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeLabel) HasMakeContrastCorrection() bool
HasMakeContrastCorrection returns a boolean if a field has been set.
func (*OCRSettingsRecognizeLabel) HasMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeLabel) HasMakeSkewCorrect() bool
HasMakeSkewCorrect returns a boolean if a field has been set.
func (*OCRSettingsRecognizeLabel) HasMakeSpellCheck ¶
func (o *OCRSettingsRecognizeLabel) HasMakeSpellCheck() bool
HasMakeSpellCheck returns a boolean if a field has been set.
func (*OCRSettingsRecognizeLabel) HasMakeUpsampling ¶
func (o *OCRSettingsRecognizeLabel) HasMakeUpsampling() bool
HasMakeUpsampling returns a boolean if a field has been set.
func (*OCRSettingsRecognizeLabel) HasRegions ¶
func (o *OCRSettingsRecognizeLabel) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (*OCRSettingsRecognizeLabel) HasResultType ¶
func (o *OCRSettingsRecognizeLabel) HasResultType() bool
HasResultType returns a boolean if a field has been set.
func (*OCRSettingsRecognizeLabel) HasResultTypeTable ¶
func (o *OCRSettingsRecognizeLabel) HasResultTypeTable() bool
HasResultTypeTable returns a boolean if a field has been set.
func (*OCRSettingsRecognizeLabel) HasRotate ¶
func (o *OCRSettingsRecognizeLabel) HasRotate() bool
HasRotate returns a boolean if a field has been set.
func (OCRSettingsRecognizeLabel) MarshalJSON ¶
func (o OCRSettingsRecognizeLabel) MarshalJSON() ([]byte, error)
func (*OCRSettingsRecognizeLabel) SetDsrConfidence ¶
func (o *OCRSettingsRecognizeLabel) SetDsrConfidence(v DsrConfidence)
SetDsrConfidence gets a reference to the given DsrConfidence and assigns it to the DsrConfidence field.
func (*OCRSettingsRecognizeLabel) SetDsrMode ¶
func (o *OCRSettingsRecognizeLabel) SetDsrMode(v DsrMode)
SetDsrMode gets a reference to the given DsrMode and assigns it to the DsrMode field.
func (*OCRSettingsRecognizeLabel) SetLanguage ¶
func (o *OCRSettingsRecognizeLabel) SetLanguage(v Language)
SetLanguage gets a reference to the given Language and assigns it to the Language field.
func (*OCRSettingsRecognizeLabel) SetMakeBinarization ¶
func (o *OCRSettingsRecognizeLabel) SetMakeBinarization(v bool)
SetMakeBinarization gets a reference to the given bool and assigns it to the MakeBinarization field.
func (*OCRSettingsRecognizeLabel) SetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeLabel) SetMakeContrastCorrection(v bool)
SetMakeContrastCorrection gets a reference to the given bool and assigns it to the MakeContrastCorrection field. Deprecated
func (*OCRSettingsRecognizeLabel) SetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeLabel) SetMakeSkewCorrect(v bool)
SetMakeSkewCorrect gets a reference to the given bool and assigns it to the MakeSkewCorrect field.
func (*OCRSettingsRecognizeLabel) SetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeLabel) SetMakeSpellCheck(v bool)
SetMakeSpellCheck gets a reference to the given bool and assigns it to the MakeSpellCheck field.
func (*OCRSettingsRecognizeLabel) SetMakeUpsampling ¶
func (o *OCRSettingsRecognizeLabel) SetMakeUpsampling(v bool)
SetMakeUpsampling gets a reference to the given bool and assigns it to the MakeUpsampling field.
func (*OCRSettingsRecognizeLabel) SetRegions ¶
func (o *OCRSettingsRecognizeLabel) SetRegions(v []OCRRegion)
SetRegions gets a reference to the given []OCRRegion and assigns it to the Regions field.
func (*OCRSettingsRecognizeLabel) SetResultType ¶
func (o *OCRSettingsRecognizeLabel) SetResultType(v ResultType)
SetResultType gets a reference to the given ResultType and assigns it to the ResultType field.
func (*OCRSettingsRecognizeLabel) SetResultTypeTable ¶
func (o *OCRSettingsRecognizeLabel) SetResultTypeTable(v ResultTypeTable)
SetResultTypeTable gets a reference to the given ResultTypeTable and assigns it to the ResultTypeTable field.
func (*OCRSettingsRecognizeLabel) SetRotate ¶
func (o *OCRSettingsRecognizeLabel) SetRotate(v int32)
SetRotate gets a reference to the given int32 and assigns it to the Rotate field.
func (OCRSettingsRecognizeLabel) ToMap ¶
func (o OCRSettingsRecognizeLabel) ToMap() (map[string]interface{}, error)
type OCRSettingsRecognizePdf ¶
type OCRSettingsRecognizePdf struct { Language *Language `json:"language,omitempty"` // Option to enable skew correction algorithm. True by default MakeSkewCorrect *bool `json:"makeSkewCorrect,omitempty"` // Option to enable spell checking and correction algorithm. False by default MakeSpellCheck *bool `json:"makeSpellCheck,omitempty"` // Option to enable image contrast correction algorithm. True by default // Deprecated MakeContrastCorrection *bool `json:"makeContrastCorrection,omitempty"` DsrMode *DsrMode `json:"dsrMode,omitempty"` DsrConfidence *DsrConfidence `json:"dsrConfidence,omitempty"` ResultType *ResultType `json:"resultType,omitempty"` Rotate *int32 `json:"Rotate,omitempty"` MakeBinarization *bool `json:"makeBinarization,omitempty"` // Option to enable image up-sampling algorithm to improve quality. True by default MakeUpsampling *bool `json:"makeUpsampling,omitempty"` ResultTypeTable *ResultTypeTable `json:"resultTypeTable,omitempty"` Regions []OCRRegion `json:"regions,omitempty"` }
OCRSettingsRecognizePdf OCR Process setting for Scanned multiple PDF document recognition
func NewOCRSettingsRecognizePdf ¶
func NewOCRSettingsRecognizePdf() *OCRSettingsRecognizePdf
NewOCRSettingsRecognizePdf instantiates a new OCRSettingsRecognizePdf 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
func NewOCRSettingsRecognizePdfWithDefaults ¶
func NewOCRSettingsRecognizePdfWithDefaults() *OCRSettingsRecognizePdf
NewOCRSettingsRecognizePdfWithDefaults instantiates a new OCRSettingsRecognizePdf 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
func (*OCRSettingsRecognizePdf) GetDsrConfidence ¶
func (o *OCRSettingsRecognizePdf) GetDsrConfidence() DsrConfidence
GetDsrConfidence returns the DsrConfidence field value if set, zero value otherwise.
func (*OCRSettingsRecognizePdf) GetDsrConfidenceOk ¶
func (o *OCRSettingsRecognizePdf) GetDsrConfidenceOk() (*DsrConfidence, bool)
GetDsrConfidenceOk returns a tuple with the DsrConfidence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizePdf) GetDsrMode ¶
func (o *OCRSettingsRecognizePdf) GetDsrMode() DsrMode
GetDsrMode returns the DsrMode field value if set, zero value otherwise.
func (*OCRSettingsRecognizePdf) GetDsrModeOk ¶
func (o *OCRSettingsRecognizePdf) GetDsrModeOk() (*DsrMode, bool)
GetDsrModeOk returns a tuple with the DsrMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizePdf) GetLanguage ¶
func (o *OCRSettingsRecognizePdf) GetLanguage() Language
GetLanguage returns the Language field value if set, zero value otherwise.
func (*OCRSettingsRecognizePdf) GetLanguageOk ¶
func (o *OCRSettingsRecognizePdf) GetLanguageOk() (*Language, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizePdf) GetMakeBinarization ¶
func (o *OCRSettingsRecognizePdf) GetMakeBinarization() bool
GetMakeBinarization returns the MakeBinarization field value if set, zero value otherwise.
func (*OCRSettingsRecognizePdf) GetMakeBinarizationOk ¶
func (o *OCRSettingsRecognizePdf) GetMakeBinarizationOk() (*bool, bool)
GetMakeBinarizationOk returns a tuple with the MakeBinarization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizePdf) GetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizePdf) GetMakeContrastCorrection() bool
GetMakeContrastCorrection returns the MakeContrastCorrection field value if set, zero value otherwise. Deprecated
func (*OCRSettingsRecognizePdf) GetMakeContrastCorrectionOk ¶
func (o *OCRSettingsRecognizePdf) GetMakeContrastCorrectionOk() (*bool, bool)
GetMakeContrastCorrectionOk returns a tuple with the MakeContrastCorrection field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*OCRSettingsRecognizePdf) GetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizePdf) GetMakeSkewCorrect() bool
GetMakeSkewCorrect returns the MakeSkewCorrect field value if set, zero value otherwise.
func (*OCRSettingsRecognizePdf) GetMakeSkewCorrectOk ¶
func (o *OCRSettingsRecognizePdf) GetMakeSkewCorrectOk() (*bool, bool)
GetMakeSkewCorrectOk returns a tuple with the MakeSkewCorrect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizePdf) GetMakeSpellCheck ¶
func (o *OCRSettingsRecognizePdf) GetMakeSpellCheck() bool
GetMakeSpellCheck returns the MakeSpellCheck field value if set, zero value otherwise.
func (*OCRSettingsRecognizePdf) GetMakeSpellCheckOk ¶
func (o *OCRSettingsRecognizePdf) GetMakeSpellCheckOk() (*bool, bool)
GetMakeSpellCheckOk returns a tuple with the MakeSpellCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizePdf) GetMakeUpsampling ¶
func (o *OCRSettingsRecognizePdf) GetMakeUpsampling() bool
GetMakeUpsampling returns the MakeUpsampling field value if set, zero value otherwise.
func (*OCRSettingsRecognizePdf) GetMakeUpsamplingOk ¶
func (o *OCRSettingsRecognizePdf) GetMakeUpsamplingOk() (*bool, bool)
GetMakeUpsamplingOk returns a tuple with the MakeUpsampling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizePdf) GetRegions ¶
func (o *OCRSettingsRecognizePdf) GetRegions() []OCRRegion
GetRegions returns the Regions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRSettingsRecognizePdf) GetRegionsOk ¶
func (o *OCRSettingsRecognizePdf) GetRegionsOk() ([]OCRRegion, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRSettingsRecognizePdf) GetResultType ¶
func (o *OCRSettingsRecognizePdf) GetResultType() ResultType
GetResultType returns the ResultType field value if set, zero value otherwise.
func (*OCRSettingsRecognizePdf) GetResultTypeOk ¶
func (o *OCRSettingsRecognizePdf) GetResultTypeOk() (*ResultType, bool)
GetResultTypeOk returns a tuple with the ResultType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizePdf) GetResultTypeTable ¶
func (o *OCRSettingsRecognizePdf) GetResultTypeTable() ResultTypeTable
GetResultTypeTable returns the ResultTypeTable field value if set, zero value otherwise.
func (*OCRSettingsRecognizePdf) GetResultTypeTableOk ¶
func (o *OCRSettingsRecognizePdf) GetResultTypeTableOk() (*ResultTypeTable, bool)
GetResultTypeTableOk returns a tuple with the ResultTypeTable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizePdf) GetRotate ¶
func (o *OCRSettingsRecognizePdf) GetRotate() int32
GetRotate returns the Rotate field value if set, zero value otherwise.
func (*OCRSettingsRecognizePdf) GetRotateOk ¶
func (o *OCRSettingsRecognizePdf) GetRotateOk() (*int32, bool)
GetRotateOk returns a tuple with the Rotate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizePdf) HasDsrConfidence ¶
func (o *OCRSettingsRecognizePdf) HasDsrConfidence() bool
HasDsrConfidence returns a boolean if a field has been set.
func (*OCRSettingsRecognizePdf) HasDsrMode ¶
func (o *OCRSettingsRecognizePdf) HasDsrMode() bool
HasDsrMode returns a boolean if a field has been set.
func (*OCRSettingsRecognizePdf) HasLanguage ¶
func (o *OCRSettingsRecognizePdf) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*OCRSettingsRecognizePdf) HasMakeBinarization ¶
func (o *OCRSettingsRecognizePdf) HasMakeBinarization() bool
HasMakeBinarization returns a boolean if a field has been set.
func (*OCRSettingsRecognizePdf) HasMakeContrastCorrection ¶
func (o *OCRSettingsRecognizePdf) HasMakeContrastCorrection() bool
HasMakeContrastCorrection returns a boolean if a field has been set.
func (*OCRSettingsRecognizePdf) HasMakeSkewCorrect ¶
func (o *OCRSettingsRecognizePdf) HasMakeSkewCorrect() bool
HasMakeSkewCorrect returns a boolean if a field has been set.
func (*OCRSettingsRecognizePdf) HasMakeSpellCheck ¶
func (o *OCRSettingsRecognizePdf) HasMakeSpellCheck() bool
HasMakeSpellCheck returns a boolean if a field has been set.
func (*OCRSettingsRecognizePdf) HasMakeUpsampling ¶
func (o *OCRSettingsRecognizePdf) HasMakeUpsampling() bool
HasMakeUpsampling returns a boolean if a field has been set.
func (*OCRSettingsRecognizePdf) HasRegions ¶
func (o *OCRSettingsRecognizePdf) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (*OCRSettingsRecognizePdf) HasResultType ¶
func (o *OCRSettingsRecognizePdf) HasResultType() bool
HasResultType returns a boolean if a field has been set.
func (*OCRSettingsRecognizePdf) HasResultTypeTable ¶
func (o *OCRSettingsRecognizePdf) HasResultTypeTable() bool
HasResultTypeTable returns a boolean if a field has been set.
func (*OCRSettingsRecognizePdf) HasRotate ¶
func (o *OCRSettingsRecognizePdf) HasRotate() bool
HasRotate returns a boolean if a field has been set.
func (OCRSettingsRecognizePdf) MarshalJSON ¶
func (o OCRSettingsRecognizePdf) MarshalJSON() ([]byte, error)
func (*OCRSettingsRecognizePdf) SetDsrConfidence ¶
func (o *OCRSettingsRecognizePdf) SetDsrConfidence(v DsrConfidence)
SetDsrConfidence gets a reference to the given DsrConfidence and assigns it to the DsrConfidence field.
func (*OCRSettingsRecognizePdf) SetDsrMode ¶
func (o *OCRSettingsRecognizePdf) SetDsrMode(v DsrMode)
SetDsrMode gets a reference to the given DsrMode and assigns it to the DsrMode field.
func (*OCRSettingsRecognizePdf) SetLanguage ¶
func (o *OCRSettingsRecognizePdf) SetLanguage(v Language)
SetLanguage gets a reference to the given Language and assigns it to the Language field.
func (*OCRSettingsRecognizePdf) SetMakeBinarization ¶
func (o *OCRSettingsRecognizePdf) SetMakeBinarization(v bool)
SetMakeBinarization gets a reference to the given bool and assigns it to the MakeBinarization field.
func (*OCRSettingsRecognizePdf) SetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizePdf) SetMakeContrastCorrection(v bool)
SetMakeContrastCorrection gets a reference to the given bool and assigns it to the MakeContrastCorrection field. Deprecated
func (*OCRSettingsRecognizePdf) SetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizePdf) SetMakeSkewCorrect(v bool)
SetMakeSkewCorrect gets a reference to the given bool and assigns it to the MakeSkewCorrect field.
func (*OCRSettingsRecognizePdf) SetMakeSpellCheck ¶
func (o *OCRSettingsRecognizePdf) SetMakeSpellCheck(v bool)
SetMakeSpellCheck gets a reference to the given bool and assigns it to the MakeSpellCheck field.
func (*OCRSettingsRecognizePdf) SetMakeUpsampling ¶
func (o *OCRSettingsRecognizePdf) SetMakeUpsampling(v bool)
SetMakeUpsampling gets a reference to the given bool and assigns it to the MakeUpsampling field.
func (*OCRSettingsRecognizePdf) SetRegions ¶
func (o *OCRSettingsRecognizePdf) SetRegions(v []OCRRegion)
SetRegions gets a reference to the given []OCRRegion and assigns it to the Regions field.
func (*OCRSettingsRecognizePdf) SetResultType ¶
func (o *OCRSettingsRecognizePdf) SetResultType(v ResultType)
SetResultType gets a reference to the given ResultType and assigns it to the ResultType field.
func (*OCRSettingsRecognizePdf) SetResultTypeTable ¶
func (o *OCRSettingsRecognizePdf) SetResultTypeTable(v ResultTypeTable)
SetResultTypeTable gets a reference to the given ResultTypeTable and assigns it to the ResultTypeTable field.
func (*OCRSettingsRecognizePdf) SetRotate ¶
func (o *OCRSettingsRecognizePdf) SetRotate(v int32)
SetRotate gets a reference to the given int32 and assigns it to the Rotate field.
func (OCRSettingsRecognizePdf) ToMap ¶
func (o OCRSettingsRecognizePdf) ToMap() (map[string]interface{}, error)
type OCRSettingsRecognizeReceipt ¶
type OCRSettingsRecognizeReceipt struct { Language *Language `json:"language,omitempty"` // Option to enable skew correction algorithm. True by default MakeSkewCorrect *bool `json:"makeSkewCorrect,omitempty"` // Option to enable spell checking and correction algorithm. False by default MakeSpellCheck *bool `json:"makeSpellCheck,omitempty"` // Option to enable image contrast correction algorithm. True by default // Deprecated MakeContrastCorrection *bool `json:"makeContrastCorrection,omitempty"` Rotate *int32 `json:"Rotate,omitempty"` MakeBinarization *bool `json:"makeBinarization,omitempty"` // Option to enable image up-sampling algorithm to improve quality. True by default MakeUpsampling *bool `json:"makeUpsampling,omitempty"` DsrMode *DsrMode `json:"dsrMode,omitempty"` DsrConfidence *DsrConfidence `json:"dsrConfidence,omitempty"` ResultType *ResultType `json:"resultType,omitempty"` ResultTypeTable *ResultTypeTable `json:"resultTypeTable,omitempty"` Regions []OCRRegion `json:"regions,omitempty"` }
OCRSettingsRecognizeReceipt OCR Process setting for Receipt scan image recognition
func NewOCRSettingsRecognizeReceipt ¶
func NewOCRSettingsRecognizeReceipt() *OCRSettingsRecognizeReceipt
NewOCRSettingsRecognizeReceipt instantiates a new OCRSettingsRecognizeReceipt 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
func NewOCRSettingsRecognizeReceiptWithDefaults ¶
func NewOCRSettingsRecognizeReceiptWithDefaults() *OCRSettingsRecognizeReceipt
NewOCRSettingsRecognizeReceiptWithDefaults instantiates a new OCRSettingsRecognizeReceipt 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
func (*OCRSettingsRecognizeReceipt) GetDsrConfidence ¶
func (o *OCRSettingsRecognizeReceipt) GetDsrConfidence() DsrConfidence
GetDsrConfidence returns the DsrConfidence field value if set, zero value otherwise.
func (*OCRSettingsRecognizeReceipt) GetDsrConfidenceOk ¶
func (o *OCRSettingsRecognizeReceipt) GetDsrConfidenceOk() (*DsrConfidence, bool)
GetDsrConfidenceOk returns a tuple with the DsrConfidence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeReceipt) GetDsrMode ¶
func (o *OCRSettingsRecognizeReceipt) GetDsrMode() DsrMode
GetDsrMode returns the DsrMode field value if set, zero value otherwise.
func (*OCRSettingsRecognizeReceipt) GetDsrModeOk ¶
func (o *OCRSettingsRecognizeReceipt) GetDsrModeOk() (*DsrMode, bool)
GetDsrModeOk returns a tuple with the DsrMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeReceipt) GetLanguage ¶
func (o *OCRSettingsRecognizeReceipt) GetLanguage() Language
GetLanguage returns the Language field value if set, zero value otherwise.
func (*OCRSettingsRecognizeReceipt) GetLanguageOk ¶
func (o *OCRSettingsRecognizeReceipt) GetLanguageOk() (*Language, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeReceipt) GetMakeBinarization ¶
func (o *OCRSettingsRecognizeReceipt) GetMakeBinarization() bool
GetMakeBinarization returns the MakeBinarization field value if set, zero value otherwise.
func (*OCRSettingsRecognizeReceipt) GetMakeBinarizationOk ¶
func (o *OCRSettingsRecognizeReceipt) GetMakeBinarizationOk() (*bool, bool)
GetMakeBinarizationOk returns a tuple with the MakeBinarization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeReceipt) GetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeReceipt) GetMakeContrastCorrection() bool
GetMakeContrastCorrection returns the MakeContrastCorrection field value if set, zero value otherwise. Deprecated
func (*OCRSettingsRecognizeReceipt) GetMakeContrastCorrectionOk ¶
func (o *OCRSettingsRecognizeReceipt) GetMakeContrastCorrectionOk() (*bool, bool)
GetMakeContrastCorrectionOk returns a tuple with the MakeContrastCorrection field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*OCRSettingsRecognizeReceipt) GetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeReceipt) GetMakeSkewCorrect() bool
GetMakeSkewCorrect returns the MakeSkewCorrect field value if set, zero value otherwise.
func (*OCRSettingsRecognizeReceipt) GetMakeSkewCorrectOk ¶
func (o *OCRSettingsRecognizeReceipt) GetMakeSkewCorrectOk() (*bool, bool)
GetMakeSkewCorrectOk returns a tuple with the MakeSkewCorrect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeReceipt) GetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeReceipt) GetMakeSpellCheck() bool
GetMakeSpellCheck returns the MakeSpellCheck field value if set, zero value otherwise.
func (*OCRSettingsRecognizeReceipt) GetMakeSpellCheckOk ¶
func (o *OCRSettingsRecognizeReceipt) GetMakeSpellCheckOk() (*bool, bool)
GetMakeSpellCheckOk returns a tuple with the MakeSpellCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeReceipt) GetMakeUpsampling ¶
func (o *OCRSettingsRecognizeReceipt) GetMakeUpsampling() bool
GetMakeUpsampling returns the MakeUpsampling field value if set, zero value otherwise.
func (*OCRSettingsRecognizeReceipt) GetMakeUpsamplingOk ¶
func (o *OCRSettingsRecognizeReceipt) GetMakeUpsamplingOk() (*bool, bool)
GetMakeUpsamplingOk returns a tuple with the MakeUpsampling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeReceipt) GetRegions ¶
func (o *OCRSettingsRecognizeReceipt) GetRegions() []OCRRegion
GetRegions returns the Regions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRSettingsRecognizeReceipt) GetRegionsOk ¶
func (o *OCRSettingsRecognizeReceipt) GetRegionsOk() ([]OCRRegion, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRSettingsRecognizeReceipt) GetResultType ¶
func (o *OCRSettingsRecognizeReceipt) GetResultType() ResultType
GetResultType returns the ResultType field value if set, zero value otherwise.
func (*OCRSettingsRecognizeReceipt) GetResultTypeOk ¶
func (o *OCRSettingsRecognizeReceipt) GetResultTypeOk() (*ResultType, bool)
GetResultTypeOk returns a tuple with the ResultType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeReceipt) GetResultTypeTable ¶
func (o *OCRSettingsRecognizeReceipt) GetResultTypeTable() ResultTypeTable
GetResultTypeTable returns the ResultTypeTable field value if set, zero value otherwise.
func (*OCRSettingsRecognizeReceipt) GetResultTypeTableOk ¶
func (o *OCRSettingsRecognizeReceipt) GetResultTypeTableOk() (*ResultTypeTable, bool)
GetResultTypeTableOk returns a tuple with the ResultTypeTable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeReceipt) GetRotate ¶
func (o *OCRSettingsRecognizeReceipt) GetRotate() int32
GetRotate returns the Rotate field value if set, zero value otherwise.
func (*OCRSettingsRecognizeReceipt) GetRotateOk ¶
func (o *OCRSettingsRecognizeReceipt) GetRotateOk() (*int32, bool)
GetRotateOk returns a tuple with the Rotate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeReceipt) HasDsrConfidence ¶
func (o *OCRSettingsRecognizeReceipt) HasDsrConfidence() bool
HasDsrConfidence returns a boolean if a field has been set.
func (*OCRSettingsRecognizeReceipt) HasDsrMode ¶
func (o *OCRSettingsRecognizeReceipt) HasDsrMode() bool
HasDsrMode returns a boolean if a field has been set.
func (*OCRSettingsRecognizeReceipt) HasLanguage ¶
func (o *OCRSettingsRecognizeReceipt) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*OCRSettingsRecognizeReceipt) HasMakeBinarization ¶
func (o *OCRSettingsRecognizeReceipt) HasMakeBinarization() bool
HasMakeBinarization returns a boolean if a field has been set.
func (*OCRSettingsRecognizeReceipt) HasMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeReceipt) HasMakeContrastCorrection() bool
HasMakeContrastCorrection returns a boolean if a field has been set.
func (*OCRSettingsRecognizeReceipt) HasMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeReceipt) HasMakeSkewCorrect() bool
HasMakeSkewCorrect returns a boolean if a field has been set.
func (*OCRSettingsRecognizeReceipt) HasMakeSpellCheck ¶
func (o *OCRSettingsRecognizeReceipt) HasMakeSpellCheck() bool
HasMakeSpellCheck returns a boolean if a field has been set.
func (*OCRSettingsRecognizeReceipt) HasMakeUpsampling ¶
func (o *OCRSettingsRecognizeReceipt) HasMakeUpsampling() bool
HasMakeUpsampling returns a boolean if a field has been set.
func (*OCRSettingsRecognizeReceipt) HasRegions ¶
func (o *OCRSettingsRecognizeReceipt) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (*OCRSettingsRecognizeReceipt) HasResultType ¶
func (o *OCRSettingsRecognizeReceipt) HasResultType() bool
HasResultType returns a boolean if a field has been set.
func (*OCRSettingsRecognizeReceipt) HasResultTypeTable ¶
func (o *OCRSettingsRecognizeReceipt) HasResultTypeTable() bool
HasResultTypeTable returns a boolean if a field has been set.
func (*OCRSettingsRecognizeReceipt) HasRotate ¶
func (o *OCRSettingsRecognizeReceipt) HasRotate() bool
HasRotate returns a boolean if a field has been set.
func (OCRSettingsRecognizeReceipt) MarshalJSON ¶
func (o OCRSettingsRecognizeReceipt) MarshalJSON() ([]byte, error)
func (*OCRSettingsRecognizeReceipt) SetDsrConfidence ¶
func (o *OCRSettingsRecognizeReceipt) SetDsrConfidence(v DsrConfidence)
SetDsrConfidence gets a reference to the given DsrConfidence and assigns it to the DsrConfidence field.
func (*OCRSettingsRecognizeReceipt) SetDsrMode ¶
func (o *OCRSettingsRecognizeReceipt) SetDsrMode(v DsrMode)
SetDsrMode gets a reference to the given DsrMode and assigns it to the DsrMode field.
func (*OCRSettingsRecognizeReceipt) SetLanguage ¶
func (o *OCRSettingsRecognizeReceipt) SetLanguage(v Language)
SetLanguage gets a reference to the given Language and assigns it to the Language field.
func (*OCRSettingsRecognizeReceipt) SetMakeBinarization ¶
func (o *OCRSettingsRecognizeReceipt) SetMakeBinarization(v bool)
SetMakeBinarization gets a reference to the given bool and assigns it to the MakeBinarization field.
func (*OCRSettingsRecognizeReceipt) SetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeReceipt) SetMakeContrastCorrection(v bool)
SetMakeContrastCorrection gets a reference to the given bool and assigns it to the MakeContrastCorrection field. Deprecated
func (*OCRSettingsRecognizeReceipt) SetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeReceipt) SetMakeSkewCorrect(v bool)
SetMakeSkewCorrect gets a reference to the given bool and assigns it to the MakeSkewCorrect field.
func (*OCRSettingsRecognizeReceipt) SetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeReceipt) SetMakeSpellCheck(v bool)
SetMakeSpellCheck gets a reference to the given bool and assigns it to the MakeSpellCheck field.
func (*OCRSettingsRecognizeReceipt) SetMakeUpsampling ¶
func (o *OCRSettingsRecognizeReceipt) SetMakeUpsampling(v bool)
SetMakeUpsampling gets a reference to the given bool and assigns it to the MakeUpsampling field.
func (*OCRSettingsRecognizeReceipt) SetRegions ¶
func (o *OCRSettingsRecognizeReceipt) SetRegions(v []OCRRegion)
SetRegions gets a reference to the given []OCRRegion and assigns it to the Regions field.
func (*OCRSettingsRecognizeReceipt) SetResultType ¶
func (o *OCRSettingsRecognizeReceipt) SetResultType(v ResultType)
SetResultType gets a reference to the given ResultType and assigns it to the ResultType field.
func (*OCRSettingsRecognizeReceipt) SetResultTypeTable ¶
func (o *OCRSettingsRecognizeReceipt) SetResultTypeTable(v ResultTypeTable)
SetResultTypeTable gets a reference to the given ResultTypeTable and assigns it to the ResultTypeTable field.
func (*OCRSettingsRecognizeReceipt) SetRotate ¶
func (o *OCRSettingsRecognizeReceipt) SetRotate(v int32)
SetRotate gets a reference to the given int32 and assigns it to the Rotate field.
func (OCRSettingsRecognizeReceipt) ToMap ¶
func (o OCRSettingsRecognizeReceipt) ToMap() (map[string]interface{}, error)
type OCRSettingsRecognizeRegions ¶
type OCRSettingsRecognizeRegions struct { Language *Language `json:"language,omitempty"` MakeSkewCorrect *bool `json:"makeSkewCorrect,omitempty"` MakeSpellCheck *bool `json:"makeSpellCheck,omitempty"` // Deprecated MakeContrastCorrection *bool `json:"makeContrastCorrection,omitempty"` MakeUpsampling *bool `json:"makeUpsampling,omitempty"` Regions []OCRRegion `json:"regions,omitempty"` ResultType *ResultType `json:"resultType,omitempty"` Rotate *int32 `json:"Rotate,omitempty"` MakeBinarization *bool `json:"makeBinarization,omitempty"` DsrMode *DsrMode `json:"dsrMode,omitempty"` DsrConfidence *DsrConfidence `json:"dsrConfidence,omitempty"` ResultTypeTable *ResultTypeTable `json:"resultTypeTable,omitempty"` }
OCRSettingsRecognizeRegions struct for OCRSettingsRecognizeRegions
func NewOCRSettingsRecognizeRegions ¶
func NewOCRSettingsRecognizeRegions() *OCRSettingsRecognizeRegions
NewOCRSettingsRecognizeRegions instantiates a new OCRSettingsRecognizeRegions 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
func NewOCRSettingsRecognizeRegionsWithDefaults ¶
func NewOCRSettingsRecognizeRegionsWithDefaults() *OCRSettingsRecognizeRegions
NewOCRSettingsRecognizeRegionsWithDefaults instantiates a new OCRSettingsRecognizeRegions 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
func (*OCRSettingsRecognizeRegions) GetDsrConfidence ¶
func (o *OCRSettingsRecognizeRegions) GetDsrConfidence() DsrConfidence
GetDsrConfidence returns the DsrConfidence field value if set, zero value otherwise.
func (*OCRSettingsRecognizeRegions) GetDsrConfidenceOk ¶
func (o *OCRSettingsRecognizeRegions) GetDsrConfidenceOk() (*DsrConfidence, bool)
GetDsrConfidenceOk returns a tuple with the DsrConfidence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeRegions) GetDsrMode ¶
func (o *OCRSettingsRecognizeRegions) GetDsrMode() DsrMode
GetDsrMode returns the DsrMode field value if set, zero value otherwise.
func (*OCRSettingsRecognizeRegions) GetDsrModeOk ¶
func (o *OCRSettingsRecognizeRegions) GetDsrModeOk() (*DsrMode, bool)
GetDsrModeOk returns a tuple with the DsrMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeRegions) GetLanguage ¶
func (o *OCRSettingsRecognizeRegions) GetLanguage() Language
GetLanguage returns the Language field value if set, zero value otherwise.
func (*OCRSettingsRecognizeRegions) GetLanguageOk ¶
func (o *OCRSettingsRecognizeRegions) GetLanguageOk() (*Language, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeRegions) GetMakeBinarization ¶
func (o *OCRSettingsRecognizeRegions) GetMakeBinarization() bool
GetMakeBinarization returns the MakeBinarization field value if set, zero value otherwise.
func (*OCRSettingsRecognizeRegions) GetMakeBinarizationOk ¶
func (o *OCRSettingsRecognizeRegions) GetMakeBinarizationOk() (*bool, bool)
GetMakeBinarizationOk returns a tuple with the MakeBinarization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeRegions) GetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeRegions) GetMakeContrastCorrection() bool
GetMakeContrastCorrection returns the MakeContrastCorrection field value if set, zero value otherwise. Deprecated
func (*OCRSettingsRecognizeRegions) GetMakeContrastCorrectionOk ¶
func (o *OCRSettingsRecognizeRegions) GetMakeContrastCorrectionOk() (*bool, bool)
GetMakeContrastCorrectionOk returns a tuple with the MakeContrastCorrection field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*OCRSettingsRecognizeRegions) GetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeRegions) GetMakeSkewCorrect() bool
GetMakeSkewCorrect returns the MakeSkewCorrect field value if set, zero value otherwise.
func (*OCRSettingsRecognizeRegions) GetMakeSkewCorrectOk ¶
func (o *OCRSettingsRecognizeRegions) GetMakeSkewCorrectOk() (*bool, bool)
GetMakeSkewCorrectOk returns a tuple with the MakeSkewCorrect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeRegions) GetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeRegions) GetMakeSpellCheck() bool
GetMakeSpellCheck returns the MakeSpellCheck field value if set, zero value otherwise.
func (*OCRSettingsRecognizeRegions) GetMakeSpellCheckOk ¶
func (o *OCRSettingsRecognizeRegions) GetMakeSpellCheckOk() (*bool, bool)
GetMakeSpellCheckOk returns a tuple with the MakeSpellCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeRegions) GetMakeUpsampling ¶
func (o *OCRSettingsRecognizeRegions) GetMakeUpsampling() bool
GetMakeUpsampling returns the MakeUpsampling field value if set, zero value otherwise.
func (*OCRSettingsRecognizeRegions) GetMakeUpsamplingOk ¶
func (o *OCRSettingsRecognizeRegions) GetMakeUpsamplingOk() (*bool, bool)
GetMakeUpsamplingOk returns a tuple with the MakeUpsampling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeRegions) GetRegions ¶
func (o *OCRSettingsRecognizeRegions) GetRegions() []OCRRegion
GetRegions returns the Regions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRSettingsRecognizeRegions) GetRegionsOk ¶
func (o *OCRSettingsRecognizeRegions) GetRegionsOk() ([]OCRRegion, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRSettingsRecognizeRegions) GetResultType ¶
func (o *OCRSettingsRecognizeRegions) GetResultType() ResultType
GetResultType returns the ResultType field value if set, zero value otherwise.
func (*OCRSettingsRecognizeRegions) GetResultTypeOk ¶
func (o *OCRSettingsRecognizeRegions) GetResultTypeOk() (*ResultType, bool)
GetResultTypeOk returns a tuple with the ResultType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeRegions) GetResultTypeTable ¶
func (o *OCRSettingsRecognizeRegions) GetResultTypeTable() ResultTypeTable
GetResultTypeTable returns the ResultTypeTable field value if set, zero value otherwise.
func (*OCRSettingsRecognizeRegions) GetResultTypeTableOk ¶
func (o *OCRSettingsRecognizeRegions) GetResultTypeTableOk() (*ResultTypeTable, bool)
GetResultTypeTableOk returns a tuple with the ResultTypeTable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeRegions) GetRotate ¶
func (o *OCRSettingsRecognizeRegions) GetRotate() int32
GetRotate returns the Rotate field value if set, zero value otherwise.
func (*OCRSettingsRecognizeRegions) GetRotateOk ¶
func (o *OCRSettingsRecognizeRegions) GetRotateOk() (*int32, bool)
GetRotateOk returns a tuple with the Rotate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeRegions) HasDsrConfidence ¶
func (o *OCRSettingsRecognizeRegions) HasDsrConfidence() bool
HasDsrConfidence returns a boolean if a field has been set.
func (*OCRSettingsRecognizeRegions) HasDsrMode ¶
func (o *OCRSettingsRecognizeRegions) HasDsrMode() bool
HasDsrMode returns a boolean if a field has been set.
func (*OCRSettingsRecognizeRegions) HasLanguage ¶
func (o *OCRSettingsRecognizeRegions) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*OCRSettingsRecognizeRegions) HasMakeBinarization ¶
func (o *OCRSettingsRecognizeRegions) HasMakeBinarization() bool
HasMakeBinarization returns a boolean if a field has been set.
func (*OCRSettingsRecognizeRegions) HasMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeRegions) HasMakeContrastCorrection() bool
HasMakeContrastCorrection returns a boolean if a field has been set.
func (*OCRSettingsRecognizeRegions) HasMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeRegions) HasMakeSkewCorrect() bool
HasMakeSkewCorrect returns a boolean if a field has been set.
func (*OCRSettingsRecognizeRegions) HasMakeSpellCheck ¶
func (o *OCRSettingsRecognizeRegions) HasMakeSpellCheck() bool
HasMakeSpellCheck returns a boolean if a field has been set.
func (*OCRSettingsRecognizeRegions) HasMakeUpsampling ¶
func (o *OCRSettingsRecognizeRegions) HasMakeUpsampling() bool
HasMakeUpsampling returns a boolean if a field has been set.
func (*OCRSettingsRecognizeRegions) HasRegions ¶
func (o *OCRSettingsRecognizeRegions) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (*OCRSettingsRecognizeRegions) HasResultType ¶
func (o *OCRSettingsRecognizeRegions) HasResultType() bool
HasResultType returns a boolean if a field has been set.
func (*OCRSettingsRecognizeRegions) HasResultTypeTable ¶
func (o *OCRSettingsRecognizeRegions) HasResultTypeTable() bool
HasResultTypeTable returns a boolean if a field has been set.
func (*OCRSettingsRecognizeRegions) HasRotate ¶
func (o *OCRSettingsRecognizeRegions) HasRotate() bool
HasRotate returns a boolean if a field has been set.
func (OCRSettingsRecognizeRegions) MarshalJSON ¶
func (o OCRSettingsRecognizeRegions) MarshalJSON() ([]byte, error)
func (*OCRSettingsRecognizeRegions) SetDsrConfidence ¶
func (o *OCRSettingsRecognizeRegions) SetDsrConfidence(v DsrConfidence)
SetDsrConfidence gets a reference to the given DsrConfidence and assigns it to the DsrConfidence field.
func (*OCRSettingsRecognizeRegions) SetDsrMode ¶
func (o *OCRSettingsRecognizeRegions) SetDsrMode(v DsrMode)
SetDsrMode gets a reference to the given DsrMode and assigns it to the DsrMode field.
func (*OCRSettingsRecognizeRegions) SetLanguage ¶
func (o *OCRSettingsRecognizeRegions) SetLanguage(v Language)
SetLanguage gets a reference to the given Language and assigns it to the Language field.
func (*OCRSettingsRecognizeRegions) SetMakeBinarization ¶
func (o *OCRSettingsRecognizeRegions) SetMakeBinarization(v bool)
SetMakeBinarization gets a reference to the given bool and assigns it to the MakeBinarization field.
func (*OCRSettingsRecognizeRegions) SetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeRegions) SetMakeContrastCorrection(v bool)
SetMakeContrastCorrection gets a reference to the given bool and assigns it to the MakeContrastCorrection field. Deprecated
func (*OCRSettingsRecognizeRegions) SetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeRegions) SetMakeSkewCorrect(v bool)
SetMakeSkewCorrect gets a reference to the given bool and assigns it to the MakeSkewCorrect field.
func (*OCRSettingsRecognizeRegions) SetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeRegions) SetMakeSpellCheck(v bool)
SetMakeSpellCheck gets a reference to the given bool and assigns it to the MakeSpellCheck field.
func (*OCRSettingsRecognizeRegions) SetMakeUpsampling ¶
func (o *OCRSettingsRecognizeRegions) SetMakeUpsampling(v bool)
SetMakeUpsampling gets a reference to the given bool and assigns it to the MakeUpsampling field.
func (*OCRSettingsRecognizeRegions) SetRegions ¶
func (o *OCRSettingsRecognizeRegions) SetRegions(v []OCRRegion)
SetRegions gets a reference to the given []OCRRegion and assigns it to the Regions field.
func (*OCRSettingsRecognizeRegions) SetResultType ¶
func (o *OCRSettingsRecognizeRegions) SetResultType(v ResultType)
SetResultType gets a reference to the given ResultType and assigns it to the ResultType field.
func (*OCRSettingsRecognizeRegions) SetResultTypeTable ¶
func (o *OCRSettingsRecognizeRegions) SetResultTypeTable(v ResultTypeTable)
SetResultTypeTable gets a reference to the given ResultTypeTable and assigns it to the ResultTypeTable field.
func (*OCRSettingsRecognizeRegions) SetRotate ¶
func (o *OCRSettingsRecognizeRegions) SetRotate(v int32)
SetRotate gets a reference to the given int32 and assigns it to the Rotate field.
func (OCRSettingsRecognizeRegions) ToMap ¶
func (o OCRSettingsRecognizeRegions) ToMap() (map[string]interface{}, error)
type OCRSettingsRecognizeTable ¶
type OCRSettingsRecognizeTable struct { Language *Language `json:"language,omitempty"` // Option to enable skew correction algorithm. True by default MakeSkewCorrect *bool `json:"makeSkewCorrect,omitempty"` // Option to enable spell checking and correction algorithm. False by default MakeSpellCheck *bool `json:"makeSpellCheck,omitempty"` // Option to enable image contrast correction algorithm. True by default // Deprecated MakeContrastCorrection *bool `json:"makeContrastCorrection,omitempty"` ResultTypeTable *ResultTypeTable `json:"resultTypeTable,omitempty"` Rotate *int32 `json:"Rotate,omitempty"` MakeBinarization *bool `json:"makeBinarization,omitempty"` // Option to enable image up-sampling algorithm to improve quality. True by default MakeUpsampling *bool `json:"makeUpsampling,omitempty"` DsrMode *DsrMode `json:"dsrMode,omitempty"` DsrConfidence *DsrConfidence `json:"dsrConfidence,omitempty"` ResultType *ResultType `json:"resultType,omitempty"` Regions []OCRRegion `json:"regions,omitempty"` }
OCRSettingsRecognizeTable OCR Process setting for Table image recognition
func NewOCRSettingsRecognizeTable ¶
func NewOCRSettingsRecognizeTable() *OCRSettingsRecognizeTable
NewOCRSettingsRecognizeTable instantiates a new OCRSettingsRecognizeTable 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
func NewOCRSettingsRecognizeTableWithDefaults ¶
func NewOCRSettingsRecognizeTableWithDefaults() *OCRSettingsRecognizeTable
NewOCRSettingsRecognizeTableWithDefaults instantiates a new OCRSettingsRecognizeTable 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
func (*OCRSettingsRecognizeTable) GetDsrConfidence ¶
func (o *OCRSettingsRecognizeTable) GetDsrConfidence() DsrConfidence
GetDsrConfidence returns the DsrConfidence field value if set, zero value otherwise.
func (*OCRSettingsRecognizeTable) GetDsrConfidenceOk ¶
func (o *OCRSettingsRecognizeTable) GetDsrConfidenceOk() (*DsrConfidence, bool)
GetDsrConfidenceOk returns a tuple with the DsrConfidence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeTable) GetDsrMode ¶
func (o *OCRSettingsRecognizeTable) GetDsrMode() DsrMode
GetDsrMode returns the DsrMode field value if set, zero value otherwise.
func (*OCRSettingsRecognizeTable) GetDsrModeOk ¶
func (o *OCRSettingsRecognizeTable) GetDsrModeOk() (*DsrMode, bool)
GetDsrModeOk returns a tuple with the DsrMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeTable) GetLanguage ¶
func (o *OCRSettingsRecognizeTable) GetLanguage() Language
GetLanguage returns the Language field value if set, zero value otherwise.
func (*OCRSettingsRecognizeTable) GetLanguageOk ¶
func (o *OCRSettingsRecognizeTable) GetLanguageOk() (*Language, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeTable) GetMakeBinarization ¶
func (o *OCRSettingsRecognizeTable) GetMakeBinarization() bool
GetMakeBinarization returns the MakeBinarization field value if set, zero value otherwise.
func (*OCRSettingsRecognizeTable) GetMakeBinarizationOk ¶
func (o *OCRSettingsRecognizeTable) GetMakeBinarizationOk() (*bool, bool)
GetMakeBinarizationOk returns a tuple with the MakeBinarization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeTable) GetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeTable) GetMakeContrastCorrection() bool
GetMakeContrastCorrection returns the MakeContrastCorrection field value if set, zero value otherwise. Deprecated
func (*OCRSettingsRecognizeTable) GetMakeContrastCorrectionOk ¶
func (o *OCRSettingsRecognizeTable) GetMakeContrastCorrectionOk() (*bool, bool)
GetMakeContrastCorrectionOk returns a tuple with the MakeContrastCorrection field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*OCRSettingsRecognizeTable) GetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeTable) GetMakeSkewCorrect() bool
GetMakeSkewCorrect returns the MakeSkewCorrect field value if set, zero value otherwise.
func (*OCRSettingsRecognizeTable) GetMakeSkewCorrectOk ¶
func (o *OCRSettingsRecognizeTable) GetMakeSkewCorrectOk() (*bool, bool)
GetMakeSkewCorrectOk returns a tuple with the MakeSkewCorrect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeTable) GetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeTable) GetMakeSpellCheck() bool
GetMakeSpellCheck returns the MakeSpellCheck field value if set, zero value otherwise.
func (*OCRSettingsRecognizeTable) GetMakeSpellCheckOk ¶
func (o *OCRSettingsRecognizeTable) GetMakeSpellCheckOk() (*bool, bool)
GetMakeSpellCheckOk returns a tuple with the MakeSpellCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeTable) GetMakeUpsampling ¶
func (o *OCRSettingsRecognizeTable) GetMakeUpsampling() bool
GetMakeUpsampling returns the MakeUpsampling field value if set, zero value otherwise.
func (*OCRSettingsRecognizeTable) GetMakeUpsamplingOk ¶
func (o *OCRSettingsRecognizeTable) GetMakeUpsamplingOk() (*bool, bool)
GetMakeUpsamplingOk returns a tuple with the MakeUpsampling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeTable) GetRegions ¶
func (o *OCRSettingsRecognizeTable) GetRegions() []OCRRegion
GetRegions returns the Regions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRSettingsRecognizeTable) GetRegionsOk ¶
func (o *OCRSettingsRecognizeTable) GetRegionsOk() ([]OCRRegion, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OCRSettingsRecognizeTable) GetResultType ¶
func (o *OCRSettingsRecognizeTable) GetResultType() ResultType
GetResultType returns the ResultType field value if set, zero value otherwise.
func (*OCRSettingsRecognizeTable) GetResultTypeOk ¶
func (o *OCRSettingsRecognizeTable) GetResultTypeOk() (*ResultType, bool)
GetResultTypeOk returns a tuple with the ResultType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeTable) GetResultTypeTable ¶
func (o *OCRSettingsRecognizeTable) GetResultTypeTable() ResultTypeTable
GetResultTypeTable returns the ResultTypeTable field value if set, zero value otherwise.
func (*OCRSettingsRecognizeTable) GetResultTypeTableOk ¶
func (o *OCRSettingsRecognizeTable) GetResultTypeTableOk() (*ResultTypeTable, bool)
GetResultTypeTableOk returns a tuple with the ResultTypeTable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeTable) GetRotate ¶
func (o *OCRSettingsRecognizeTable) GetRotate() int32
GetRotate returns the Rotate field value if set, zero value otherwise.
func (*OCRSettingsRecognizeTable) GetRotateOk ¶
func (o *OCRSettingsRecognizeTable) GetRotateOk() (*int32, bool)
GetRotateOk returns a tuple with the Rotate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRSettingsRecognizeTable) HasDsrConfidence ¶
func (o *OCRSettingsRecognizeTable) HasDsrConfidence() bool
HasDsrConfidence returns a boolean if a field has been set.
func (*OCRSettingsRecognizeTable) HasDsrMode ¶
func (o *OCRSettingsRecognizeTable) HasDsrMode() bool
HasDsrMode returns a boolean if a field has been set.
func (*OCRSettingsRecognizeTable) HasLanguage ¶
func (o *OCRSettingsRecognizeTable) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*OCRSettingsRecognizeTable) HasMakeBinarization ¶
func (o *OCRSettingsRecognizeTable) HasMakeBinarization() bool
HasMakeBinarization returns a boolean if a field has been set.
func (*OCRSettingsRecognizeTable) HasMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeTable) HasMakeContrastCorrection() bool
HasMakeContrastCorrection returns a boolean if a field has been set.
func (*OCRSettingsRecognizeTable) HasMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeTable) HasMakeSkewCorrect() bool
HasMakeSkewCorrect returns a boolean if a field has been set.
func (*OCRSettingsRecognizeTable) HasMakeSpellCheck ¶
func (o *OCRSettingsRecognizeTable) HasMakeSpellCheck() bool
HasMakeSpellCheck returns a boolean if a field has been set.
func (*OCRSettingsRecognizeTable) HasMakeUpsampling ¶
func (o *OCRSettingsRecognizeTable) HasMakeUpsampling() bool
HasMakeUpsampling returns a boolean if a field has been set.
func (*OCRSettingsRecognizeTable) HasRegions ¶
func (o *OCRSettingsRecognizeTable) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (*OCRSettingsRecognizeTable) HasResultType ¶
func (o *OCRSettingsRecognizeTable) HasResultType() bool
HasResultType returns a boolean if a field has been set.
func (*OCRSettingsRecognizeTable) HasResultTypeTable ¶
func (o *OCRSettingsRecognizeTable) HasResultTypeTable() bool
HasResultTypeTable returns a boolean if a field has been set.
func (*OCRSettingsRecognizeTable) HasRotate ¶
func (o *OCRSettingsRecognizeTable) HasRotate() bool
HasRotate returns a boolean if a field has been set.
func (OCRSettingsRecognizeTable) MarshalJSON ¶
func (o OCRSettingsRecognizeTable) MarshalJSON() ([]byte, error)
func (*OCRSettingsRecognizeTable) SetDsrConfidence ¶
func (o *OCRSettingsRecognizeTable) SetDsrConfidence(v DsrConfidence)
SetDsrConfidence gets a reference to the given DsrConfidence and assigns it to the DsrConfidence field.
func (*OCRSettingsRecognizeTable) SetDsrMode ¶
func (o *OCRSettingsRecognizeTable) SetDsrMode(v DsrMode)
SetDsrMode gets a reference to the given DsrMode and assigns it to the DsrMode field.
func (*OCRSettingsRecognizeTable) SetLanguage ¶
func (o *OCRSettingsRecognizeTable) SetLanguage(v Language)
SetLanguage gets a reference to the given Language and assigns it to the Language field.
func (*OCRSettingsRecognizeTable) SetMakeBinarization ¶
func (o *OCRSettingsRecognizeTable) SetMakeBinarization(v bool)
SetMakeBinarization gets a reference to the given bool and assigns it to the MakeBinarization field.
func (*OCRSettingsRecognizeTable) SetMakeContrastCorrection ¶
func (o *OCRSettingsRecognizeTable) SetMakeContrastCorrection(v bool)
SetMakeContrastCorrection gets a reference to the given bool and assigns it to the MakeContrastCorrection field. Deprecated
func (*OCRSettingsRecognizeTable) SetMakeSkewCorrect ¶
func (o *OCRSettingsRecognizeTable) SetMakeSkewCorrect(v bool)
SetMakeSkewCorrect gets a reference to the given bool and assigns it to the MakeSkewCorrect field.
func (*OCRSettingsRecognizeTable) SetMakeSpellCheck ¶
func (o *OCRSettingsRecognizeTable) SetMakeSpellCheck(v bool)
SetMakeSpellCheck gets a reference to the given bool and assigns it to the MakeSpellCheck field.
func (*OCRSettingsRecognizeTable) SetMakeUpsampling ¶
func (o *OCRSettingsRecognizeTable) SetMakeUpsampling(v bool)
SetMakeUpsampling gets a reference to the given bool and assigns it to the MakeUpsampling field.
func (*OCRSettingsRecognizeTable) SetRegions ¶
func (o *OCRSettingsRecognizeTable) SetRegions(v []OCRRegion)
SetRegions gets a reference to the given []OCRRegion and assigns it to the Regions field.
func (*OCRSettingsRecognizeTable) SetResultType ¶
func (o *OCRSettingsRecognizeTable) SetResultType(v ResultType)
SetResultType gets a reference to the given ResultType and assigns it to the ResultType field.
func (*OCRSettingsRecognizeTable) SetResultTypeTable ¶
func (o *OCRSettingsRecognizeTable) SetResultTypeTable(v ResultTypeTable)
SetResultTypeTable gets a reference to the given ResultTypeTable and assigns it to the ResultTypeTable field.
func (*OCRSettingsRecognizeTable) SetRotate ¶
func (o *OCRSettingsRecognizeTable) SetRotate(v int32)
SetRotate gets a reference to the given int32 and assigns it to the Rotate field.
func (OCRSettingsRecognizeTable) ToMap ¶
func (o OCRSettingsRecognizeTable) ToMap() (map[string]interface{}, error)
type OCRTaskStatus ¶
type OCRTaskStatus string
OCRTaskStatus Task status
const ( OCRTASKSTATUS_PENDING OCRTaskStatus = "Pending" OCRTASKSTATUS_PROCESSING OCRTaskStatus = "Processing" OCRTASKSTATUS_COMPLETED OCRTaskStatus = "Completed" OCRTASKSTATUS_ERROR OCRTaskStatus = "Error" OCRTASKSTATUS_NOT_EXIST OCRTaskStatus = "NotExist" )
List of OCRTaskStatus
func NewOCRTaskStatusFromValue ¶
func NewOCRTaskStatusFromValue(v string) (*OCRTaskStatus, error)
NewOCRTaskStatusFromValue returns a pointer to a valid OCRTaskStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (OCRTaskStatus) IsValid ¶
func (v OCRTaskStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (OCRTaskStatus) Ptr ¶
func (v OCRTaskStatus) Ptr() *OCRTaskStatus
Ptr returns reference to OCRTaskStatus value
func (*OCRTaskStatus) UnmarshalJSON ¶
func (v *OCRTaskStatus) UnmarshalJSON(src []byte) error
type OCRUpscaleImageBody ¶
type OCRUpscaleImageBody struct {
Image string `json:"image"`
}
OCRUpscaleImageBody struct for OCRUpscaleImageBody
func NewOCRUpscaleImageBody ¶
func NewOCRUpscaleImageBody(image string) *OCRUpscaleImageBody
NewOCRUpscaleImageBody instantiates a new OCRUpscaleImageBody 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
func NewOCRUpscaleImageBodyWithDefaults ¶
func NewOCRUpscaleImageBodyWithDefaults() *OCRUpscaleImageBody
NewOCRUpscaleImageBodyWithDefaults instantiates a new OCRUpscaleImageBody 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
func (*OCRUpscaleImageBody) GetImage ¶
func (o *OCRUpscaleImageBody) GetImage() string
GetImage returns the Image field value
func (*OCRUpscaleImageBody) GetImageOk ¶
func (o *OCRUpscaleImageBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (OCRUpscaleImageBody) MarshalJSON ¶
func (o OCRUpscaleImageBody) MarshalJSON() ([]byte, error)
func (*OCRUpscaleImageBody) SetImage ¶
func (o *OCRUpscaleImageBody) SetImage(v string)
SetImage sets field value
func (OCRUpscaleImageBody) ToMap ¶
func (o OCRUpscaleImageBody) ToMap() (map[string]interface{}, error)
type PostUpsamplingFileRequest ¶
PostUpsamplingFileRequest struct for PostUpsamplingFileRequest
func NewPostUpsamplingFileRequest ¶
func NewPostUpsamplingFileRequest() *PostUpsamplingFileRequest
NewPostUpsamplingFileRequest instantiates a new PostUpsamplingFileRequest 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
func NewPostUpsamplingFileRequestWithDefaults ¶
func NewPostUpsamplingFileRequestWithDefaults() *PostUpsamplingFileRequest
NewPostUpsamplingFileRequestWithDefaults instantiates a new PostUpsamplingFileRequest 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
func (*PostUpsamplingFileRequest) GetFile ¶
func (o *PostUpsamplingFileRequest) GetFile() *os.File
GetFile returns the File field value if set, zero value otherwise.
func (*PostUpsamplingFileRequest) GetFileOk ¶
func (o *PostUpsamplingFileRequest) GetFileOk() (**os.File, bool)
GetFileOk returns a tuple with the File field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PostUpsamplingFileRequest) HasFile ¶
func (o *PostUpsamplingFileRequest) HasFile() bool
HasFile returns a boolean if a field has been set.
func (PostUpsamplingFileRequest) MarshalJSON ¶
func (o PostUpsamplingFileRequest) MarshalJSON() ([]byte, error)
func (*PostUpsamplingFileRequest) SetFile ¶
func (o *PostUpsamplingFileRequest) SetFile(v *os.File)
SetFile gets a reference to the given *os.File and assigns it to the File field.
func (PostUpsamplingFileRequest) ToMap ¶
func (o PostUpsamplingFileRequest) ToMap() (map[string]interface{}, error)
type ProblemDetails ¶
type ProblemDetails struct { Type NullableString `json:"type,omitempty"` Title NullableString `json:"title,omitempty"` Status NullableInt32 `json:"status,omitempty"` Detail NullableString `json:"detail,omitempty"` Instance NullableString `json:"instance,omitempty"` }
ProblemDetails struct for ProblemDetails
func NewProblemDetails ¶
func NewProblemDetails() *ProblemDetails
NewProblemDetails instantiates a new ProblemDetails 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
func NewProblemDetailsWithDefaults ¶
func NewProblemDetailsWithDefaults() *ProblemDetails
NewProblemDetailsWithDefaults instantiates a new ProblemDetails 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
func (*ProblemDetails) GetDetail ¶
func (o *ProblemDetails) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ProblemDetails) GetDetailOk ¶
func (o *ProblemDetails) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ProblemDetails) GetInstance ¶
func (o *ProblemDetails) GetInstance() string
GetInstance returns the Instance field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ProblemDetails) GetInstanceOk ¶
func (o *ProblemDetails) GetInstanceOk() (*string, bool)
GetInstanceOk returns a tuple with the Instance field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ProblemDetails) GetStatus ¶
func (o *ProblemDetails) GetStatus() int32
GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ProblemDetails) GetStatusOk ¶
func (o *ProblemDetails) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ProblemDetails) GetTitle ¶
func (o *ProblemDetails) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ProblemDetails) GetTitleOk ¶
func (o *ProblemDetails) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ProblemDetails) GetType ¶
func (o *ProblemDetails) GetType() string
GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ProblemDetails) GetTypeOk ¶
func (o *ProblemDetails) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ProblemDetails) HasDetail ¶
func (o *ProblemDetails) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*ProblemDetails) HasInstance ¶
func (o *ProblemDetails) HasInstance() bool
HasInstance returns a boolean if a field has been set.
func (*ProblemDetails) HasStatus ¶
func (o *ProblemDetails) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*ProblemDetails) HasTitle ¶
func (o *ProblemDetails) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ProblemDetails) HasType ¶
func (o *ProblemDetails) HasType() bool
HasType returns a boolean if a field has been set.
func (ProblemDetails) MarshalJSON ¶
func (o ProblemDetails) MarshalJSON() ([]byte, error)
func (*ProblemDetails) SetDetail ¶
func (o *ProblemDetails) SetDetail(v string)
SetDetail gets a reference to the given NullableString and assigns it to the Detail field.
func (*ProblemDetails) SetDetailNil ¶
func (o *ProblemDetails) SetDetailNil()
SetDetailNil sets the value for Detail to be an explicit nil
func (*ProblemDetails) SetInstance ¶
func (o *ProblemDetails) SetInstance(v string)
SetInstance gets a reference to the given NullableString and assigns it to the Instance field.
func (*ProblemDetails) SetInstanceNil ¶
func (o *ProblemDetails) SetInstanceNil()
SetInstanceNil sets the value for Instance to be an explicit nil
func (*ProblemDetails) SetStatus ¶
func (o *ProblemDetails) SetStatus(v int32)
SetStatus gets a reference to the given NullableInt32 and assigns it to the Status field.
func (*ProblemDetails) SetStatusNil ¶
func (o *ProblemDetails) SetStatusNil()
SetStatusNil sets the value for Status to be an explicit nil
func (*ProblemDetails) SetTitle ¶
func (o *ProblemDetails) SetTitle(v string)
SetTitle gets a reference to the given NullableString and assigns it to the Title field.
func (*ProblemDetails) SetTitleNil ¶
func (o *ProblemDetails) SetTitleNil()
SetTitleNil sets the value for Title to be an explicit nil
func (*ProblemDetails) SetType ¶
func (o *ProblemDetails) SetType(v string)
SetType gets a reference to the given NullableString and assigns it to the Type field.
func (*ProblemDetails) SetTypeNil ¶
func (o *ProblemDetails) SetTypeNil()
SetTypeNil sets the value for Type to be an explicit nil
func (ProblemDetails) ToMap ¶
func (o ProblemDetails) ToMap() (map[string]interface{}, error)
func (*ProblemDetails) UnsetDetail ¶
func (o *ProblemDetails) UnsetDetail()
UnsetDetail ensures that no value is present for Detail, not even an explicit nil
func (*ProblemDetails) UnsetInstance ¶
func (o *ProblemDetails) UnsetInstance()
UnsetInstance ensures that no value is present for Instance, not even an explicit nil
func (*ProblemDetails) UnsetStatus ¶
func (o *ProblemDetails) UnsetStatus()
UnsetStatus ensures that no value is present for Status, not even an explicit nil
func (*ProblemDetails) UnsetTitle ¶
func (o *ProblemDetails) UnsetTitle()
UnsetTitle ensures that no value is present for Title, not even an explicit nil
func (*ProblemDetails) UnsetType ¶
func (o *ProblemDetails) UnsetType()
UnsetType ensures that no value is present for Type, not even an explicit nil
type RecognizeAndParseInvoiceApiService ¶
type RecognizeAndParseInvoiceApiService service
RecognizeAndParseInvoiceApiService RecognizeAndParseInvoiceApi service
func (*RecognizeAndParseInvoiceApiService) CancelRecognizeAndParseInvoice ¶
func (a *RecognizeAndParseInvoiceApiService) CancelRecognizeAndParseInvoice(ctx context.Context) ApiCancelRecognizeAndParseInvoiceRequest
CancelRecognizeAndParseInvoice CancelRecognizeAndParseInvoice
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelRecognizeAndParseInvoiceRequest
func (*RecognizeAndParseInvoiceApiService) CancelRecognizeAndParseInvoiceExecute ¶
func (a *RecognizeAndParseInvoiceApiService) CancelRecognizeAndParseInvoiceExecute(r ApiCancelRecognizeAndParseInvoiceRequest) (*http.Response, error)
Execute executes the request
func (*RecognizeAndParseInvoiceApiService) GetRecognizeAndParseInvoice ¶
func (a *RecognizeAndParseInvoiceApiService) GetRecognizeAndParseInvoice(ctx context.Context) ApiGetRecognizeAndParseInvoiceRequest
GetRecognizeAndParseInvoice GetRecognizeAndParseInvoice
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetRecognizeAndParseInvoiceRequest
func (*RecognizeAndParseInvoiceApiService) GetRecognizeAndParseInvoiceExecute ¶
func (a *RecognizeAndParseInvoiceApiService) GetRecognizeAndParseInvoiceExecute(r ApiGetRecognizeAndParseInvoiceRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*RecognizeAndParseInvoiceApiService) PostRecognizeAndParseInvoice ¶
func (a *RecognizeAndParseInvoiceApiService) PostRecognizeAndParseInvoice(ctx context.Context) ApiPostRecognizeAndParseInvoiceRequest
PostRecognizeAndParseInvoice PostRecognizeAndParseInvoice
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostRecognizeAndParseInvoiceRequest
func (*RecognizeAndParseInvoiceApiService) PostRecognizeAndParseInvoiceExecute ¶
func (a *RecognizeAndParseInvoiceApiService) PostRecognizeAndParseInvoiceExecute(r ApiPostRecognizeAndParseInvoiceRequest) (string, *http.Response, error)
Execute executes the request
@return string
type RecognizeImageApiService ¶
type RecognizeImageApiService service
RecognizeImageApiService RecognizeImageApi service
func (*RecognizeImageApiService) CancelRecognizeImage ¶
func (a *RecognizeImageApiService) CancelRecognizeImage(ctx context.Context) ApiCancelRecognizeImageRequest
CancelRecognizeImage CancelRecognizeImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelRecognizeImageRequest
func (*RecognizeImageApiService) CancelRecognizeImageExecute ¶
func (a *RecognizeImageApiService) CancelRecognizeImageExecute(r ApiCancelRecognizeImageRequest) (*http.Response, error)
Execute executes the request
func (*RecognizeImageApiService) GetRecognizeImage ¶
func (a *RecognizeImageApiService) GetRecognizeImage(ctx context.Context) ApiGetRecognizeImageRequest
GetRecognizeImage GetRecognizeImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetRecognizeImageRequest
func (*RecognizeImageApiService) GetRecognizeImageExecute ¶
func (a *RecognizeImageApiService) GetRecognizeImageExecute(r ApiGetRecognizeImageRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*RecognizeImageApiService) PostRecognizeImage ¶
func (a *RecognizeImageApiService) PostRecognizeImage(ctx context.Context) ApiPostRecognizeImageRequest
PostRecognizeImage PostRecognizeImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostRecognizeImageRequest
func (*RecognizeImageApiService) PostRecognizeImageExecute ¶
func (a *RecognizeImageApiService) PostRecognizeImageExecute(r ApiPostRecognizeImageRequest) (string, *http.Response, error)
Execute executes the request
@return string
type RecognizeImageTrialApiService ¶
type RecognizeImageTrialApiService service
RecognizeImageTrialApiService RecognizeImageTrialApi service
func (*RecognizeImageTrialApiService) CancelRecognizeImageTrial ¶
func (a *RecognizeImageTrialApiService) CancelRecognizeImageTrial(ctx context.Context) ApiCancelRecognizeImageTrialRequest
CancelRecognizeImageTrial CancelRecognizeImageTrial
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelRecognizeImageTrialRequest
func (*RecognizeImageTrialApiService) CancelRecognizeImageTrialExecute ¶
func (a *RecognizeImageTrialApiService) CancelRecognizeImageTrialExecute(r ApiCancelRecognizeImageTrialRequest) (*http.Response, error)
Execute executes the request
func (*RecognizeImageTrialApiService) GetRecognizeImageTrial ¶
func (a *RecognizeImageTrialApiService) GetRecognizeImageTrial(ctx context.Context) ApiGetRecognizeImageTrialRequest
GetRecognizeImageTrial GetRecognizeImageTrial
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetRecognizeImageTrialRequest
func (*RecognizeImageTrialApiService) GetRecognizeImageTrialExecute ¶
func (a *RecognizeImageTrialApiService) GetRecognizeImageTrialExecute(r ApiGetRecognizeImageTrialRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*RecognizeImageTrialApiService) PostRecognizeImageTrial ¶
func (a *RecognizeImageTrialApiService) PostRecognizeImageTrial(ctx context.Context) ApiPostRecognizeImageTrialRequest
PostRecognizeImageTrial PostRecognizeImageTrial
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostRecognizeImageTrialRequest
func (*RecognizeImageTrialApiService) PostRecognizeImageTrialExecute ¶
func (a *RecognizeImageTrialApiService) PostRecognizeImageTrialExecute(r ApiPostRecognizeImageTrialRequest) (string, *http.Response, error)
Execute executes the request
@return string
type RecognizeLabelApiService ¶
type RecognizeLabelApiService service
RecognizeLabelApiService RecognizeLabelApi service
func (*RecognizeLabelApiService) CancelRecognizeLabel ¶
func (a *RecognizeLabelApiService) CancelRecognizeLabel(ctx context.Context) ApiCancelRecognizeLabelRequest
CancelRecognizeLabel CancelRecognizeLabel
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelRecognizeLabelRequest
func (*RecognizeLabelApiService) CancelRecognizeLabelExecute ¶
func (a *RecognizeLabelApiService) CancelRecognizeLabelExecute(r ApiCancelRecognizeLabelRequest) (*http.Response, error)
Execute executes the request
func (*RecognizeLabelApiService) GetRecognizeLabel ¶
func (a *RecognizeLabelApiService) GetRecognizeLabel(ctx context.Context) ApiGetRecognizeLabelRequest
GetRecognizeLabel GetRecognizeLabel
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetRecognizeLabelRequest
func (*RecognizeLabelApiService) GetRecognizeLabelExecute ¶
func (a *RecognizeLabelApiService) GetRecognizeLabelExecute(r ApiGetRecognizeLabelRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*RecognizeLabelApiService) PostRecognizeLabel ¶
func (a *RecognizeLabelApiService) PostRecognizeLabel(ctx context.Context) ApiPostRecognizeLabelRequest
PostRecognizeLabel PostRecognizeLabel
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostRecognizeLabelRequest
func (*RecognizeLabelApiService) PostRecognizeLabelExecute ¶
func (a *RecognizeLabelApiService) PostRecognizeLabelExecute(r ApiPostRecognizeLabelRequest) (string, *http.Response, error)
Execute executes the request
@return string
type RecognizePdfApiService ¶
type RecognizePdfApiService service
RecognizePdfApiService RecognizePdfApi service
func (*RecognizePdfApiService) CancelRecognizePdf ¶
func (a *RecognizePdfApiService) CancelRecognizePdf(ctx context.Context) ApiCancelRecognizePdfRequest
CancelRecognizePdf CancelRecognizePdf
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelRecognizePdfRequest
func (*RecognizePdfApiService) CancelRecognizePdfExecute ¶
func (a *RecognizePdfApiService) CancelRecognizePdfExecute(r ApiCancelRecognizePdfRequest) (*http.Response, error)
Execute executes the request
func (*RecognizePdfApiService) GetRecognizePdf ¶
func (a *RecognizePdfApiService) GetRecognizePdf(ctx context.Context) ApiGetRecognizePdfRequest
GetRecognizePdf GetRecognizePdf
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetRecognizePdfRequest
func (*RecognizePdfApiService) GetRecognizePdfExecute ¶
func (a *RecognizePdfApiService) GetRecognizePdfExecute(r ApiGetRecognizePdfRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*RecognizePdfApiService) PostRecognizePdf ¶
func (a *RecognizePdfApiService) PostRecognizePdf(ctx context.Context) ApiPostRecognizePdfRequest
PostRecognizePdf PostRecognizePdf
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostRecognizePdfRequest
func (*RecognizePdfApiService) PostRecognizePdfExecute ¶
func (a *RecognizePdfApiService) PostRecognizePdfExecute(r ApiPostRecognizePdfRequest) (string, *http.Response, error)
Execute executes the request
@return string
type RecognizeReceiptApiService ¶
type RecognizeReceiptApiService service
RecognizeReceiptApiService RecognizeReceiptApi service
func (*RecognizeReceiptApiService) CancelRecognizeReceipt ¶
func (a *RecognizeReceiptApiService) CancelRecognizeReceipt(ctx context.Context) ApiCancelRecognizeReceiptRequest
CancelRecognizeReceipt CancelRecognizeReceipt
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelRecognizeReceiptRequest
func (*RecognizeReceiptApiService) CancelRecognizeReceiptExecute ¶
func (a *RecognizeReceiptApiService) CancelRecognizeReceiptExecute(r ApiCancelRecognizeReceiptRequest) (*http.Response, error)
Execute executes the request
func (*RecognizeReceiptApiService) GetRecognizeReceipt ¶
func (a *RecognizeReceiptApiService) GetRecognizeReceipt(ctx context.Context) ApiGetRecognizeReceiptRequest
GetRecognizeReceipt GetRecognizeReceipt
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetRecognizeReceiptRequest
func (*RecognizeReceiptApiService) GetRecognizeReceiptExecute ¶
func (a *RecognizeReceiptApiService) GetRecognizeReceiptExecute(r ApiGetRecognizeReceiptRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*RecognizeReceiptApiService) PostRecognizeReceipt ¶
func (a *RecognizeReceiptApiService) PostRecognizeReceipt(ctx context.Context) ApiPostRecognizeReceiptRequest
PostRecognizeReceipt PostRecognizeReceipt
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostRecognizeReceiptRequest
func (*RecognizeReceiptApiService) PostRecognizeReceiptExecute ¶
func (a *RecognizeReceiptApiService) PostRecognizeReceiptExecute(r ApiPostRecognizeReceiptRequest) (string, *http.Response, error)
Execute executes the request
@return string
type RecognizeRegionsApiService ¶
type RecognizeRegionsApiService service
RecognizeRegionsApiService RecognizeRegionsApi service
func (*RecognizeRegionsApiService) CancelRecognizeRegions ¶
func (a *RecognizeRegionsApiService) CancelRecognizeRegions(ctx context.Context) ApiCancelRecognizeRegionsRequest
CancelRecognizeRegions CancelRecognizeRegions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelRecognizeRegionsRequest
func (*RecognizeRegionsApiService) CancelRecognizeRegionsExecute ¶
func (a *RecognizeRegionsApiService) CancelRecognizeRegionsExecute(r ApiCancelRecognizeRegionsRequest) (*http.Response, error)
Execute executes the request
func (*RecognizeRegionsApiService) GetRecognizeRegions ¶
func (a *RecognizeRegionsApiService) GetRecognizeRegions(ctx context.Context) ApiGetRecognizeRegionsRequest
GetRecognizeRegions GetRecognizeRegions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetRecognizeRegionsRequest
func (*RecognizeRegionsApiService) GetRecognizeRegionsExecute ¶
func (a *RecognizeRegionsApiService) GetRecognizeRegionsExecute(r ApiGetRecognizeRegionsRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*RecognizeRegionsApiService) PostRecognizeRegions ¶
func (a *RecognizeRegionsApiService) PostRecognizeRegions(ctx context.Context) ApiPostRecognizeRegionsRequest
PostRecognizeRegions PostRecognizeRegions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostRecognizeRegionsRequest
func (*RecognizeRegionsApiService) PostRecognizeRegionsExecute ¶
func (a *RecognizeRegionsApiService) PostRecognizeRegionsExecute(r ApiPostRecognizeRegionsRequest) (string, *http.Response, error)
Execute executes the request
@return string
type RecognizeTableApiService ¶
type RecognizeTableApiService service
RecognizeTableApiService RecognizeTableApi service
func (*RecognizeTableApiService) CancelRecognizeTable ¶
func (a *RecognizeTableApiService) CancelRecognizeTable(ctx context.Context) ApiCancelRecognizeTableRequest
CancelRecognizeTable CancelRecognizeTable
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelRecognizeTableRequest
func (*RecognizeTableApiService) CancelRecognizeTableExecute ¶
func (a *RecognizeTableApiService) CancelRecognizeTableExecute(r ApiCancelRecognizeTableRequest) (*http.Response, error)
Execute executes the request
func (*RecognizeTableApiService) GetRecognizeTable ¶
func (a *RecognizeTableApiService) GetRecognizeTable(ctx context.Context) ApiGetRecognizeTableRequest
GetRecognizeTable GetRecognizeTable
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetRecognizeTableRequest
func (*RecognizeTableApiService) GetRecognizeTableExecute ¶
func (a *RecognizeTableApiService) GetRecognizeTableExecute(r ApiGetRecognizeTableRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*RecognizeTableApiService) PostRecognizeTable ¶
func (a *RecognizeTableApiService) PostRecognizeTable(ctx context.Context) ApiPostRecognizeTableRequest
PostRecognizeTable PostRecognizeTable
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostRecognizeTableRequest
func (*RecognizeTableApiService) PostRecognizeTableExecute ¶
func (a *RecognizeTableApiService) PostRecognizeTableExecute(r ApiPostRecognizeTableRequest) (string, *http.Response, error)
Execute executes the request
@return string
type ResponseStatusCode ¶
type ResponseStatusCode string
ResponseStatusCode Status code showing the status of the request, operation, and result processing.
const ( RESPONSESTATUSCODE_OK ResponseStatusCode = "Ok" RESPONSESTATUSCODE_PARTIALLY_NOT_FOUND ResponseStatusCode = "PartiallyNotFound" RESPONSESTATUSCODE_NO_ANY_RESULT_DATA ResponseStatusCode = "NoAnyResultData" RESPONSESTATUSCODE_RESULT_DATA_LOST ResponseStatusCode = "ResultDataLost" RESPONSESTATUSCODE_TASK_NOT_FOUND ResponseStatusCode = "TaskNotFound" RESPONSESTATUSCODE_NOT_READY ResponseStatusCode = "NotReady" RESPONSESTATUSCODE_ERROR ResponseStatusCode = "Error" )
List of ResponseStatusCode
func NewResponseStatusCodeFromValue ¶
func NewResponseStatusCodeFromValue(v string) (*ResponseStatusCode, error)
NewResponseStatusCodeFromValue returns a pointer to a valid ResponseStatusCode for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ResponseStatusCode) IsValid ¶
func (v ResponseStatusCode) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ResponseStatusCode) Ptr ¶
func (v ResponseStatusCode) Ptr() *ResponseStatusCode
Ptr returns reference to ResponseStatusCode value
func (*ResponseStatusCode) UnmarshalJSON ¶
func (v *ResponseStatusCode) UnmarshalJSON(src []byte) error
type ResultType ¶
type ResultType string
ResultType Result document type for OCR process
const ( RESULTTYPE_TEXT ResultType = "Text" RESULTTYPE_PDF ResultType = "Pdf" RESULTTYPE_TEXT_AND_PDF ResultType = "TextAndPdf" RESULTTYPE_HOCR ResultType = "Hocr" RESULTTYPE_TEXT_AND_HOCR ResultType = "TextAndHocr" RESULTTYPE_PDF_AND_HOCR ResultType = "PdfAndHocr" RESULTTYPE_TEXT_AND_PDF_AND_HOCR ResultType = "TextAndPdfAndHocr" RESULTTYPE_IMAGE_PNG ResultType = "ImagePNG" )
List of ResultType
func NewResultTypeFromValue ¶
func NewResultTypeFromValue(v string) (*ResultType, error)
NewResultTypeFromValue returns a pointer to a valid ResultType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ResultType) IsValid ¶
func (v ResultType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ResultType) Ptr ¶
func (v ResultType) Ptr() *ResultType
Ptr returns reference to ResultType value
func (*ResultType) UnmarshalJSON ¶
func (v *ResultType) UnmarshalJSON(src []byte) error
type ResultTypeTTS ¶
type ResultTypeTTS string
ResultTypeTTS the model 'ResultTypeTTS'
const (
RESULTTYPETTS_WAV ResultTypeTTS = "Wav"
)
List of ResultTypeTTS
func NewResultTypeTTSFromValue ¶
func NewResultTypeTTSFromValue(v string) (*ResultTypeTTS, error)
NewResultTypeTTSFromValue returns a pointer to a valid ResultTypeTTS for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ResultTypeTTS) IsValid ¶
func (v ResultTypeTTS) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ResultTypeTTS) Ptr ¶
func (v ResultTypeTTS) Ptr() *ResultTypeTTS
Ptr returns reference to ResultTypeTTS value
func (*ResultTypeTTS) UnmarshalJSON ¶
func (v *ResultTypeTTS) UnmarshalJSON(src []byte) error
type ResultTypeTable ¶
type ResultTypeTable string
ResultTypeTable Result document type for Table OCR process
const ( RESULTTYPETABLE_TEXT ResultTypeTable = "Text" RESULTTYPETABLE_EXCEL ResultTypeTable = "Excel" RESULTTYPETABLE_CSV ResultTypeTable = "Csv" RESULTTYPETABLE_CSV_AND_EXCEL ResultTypeTable = "CsvAndExcel" )
List of ResultTypeTable
func NewResultTypeTableFromValue ¶
func NewResultTypeTableFromValue(v string) (*ResultTypeTable, error)
NewResultTypeTableFromValue returns a pointer to a valid ResultTypeTable for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ResultTypeTable) IsValid ¶
func (v ResultTypeTable) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ResultTypeTable) Ptr ¶
func (v ResultTypeTable) Ptr() *ResultTypeTable
Ptr returns reference to ResultTypeTable value
func (*ResultTypeTable) UnmarshalJSON ¶
func (v *ResultTypeTable) UnmarshalJSON(src []byte) error
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type TTSBody ¶
type TTSBody struct { Text string `json:"text"` Settings TTSSettings `json:"settings"` }
TTSBody struct for TTSBody
func NewTTSBody ¶
func NewTTSBody(text string, settings TTSSettings) *TTSBody
NewTTSBody instantiates a new TTSBody 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
func NewTTSBodyWithDefaults ¶
func NewTTSBodyWithDefaults() *TTSBody
NewTTSBodyWithDefaults instantiates a new TTSBody 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
func (*TTSBody) GetSettings ¶
func (o *TTSBody) GetSettings() TTSSettings
GetSettings returns the Settings field value
func (*TTSBody) GetSettingsOk ¶
func (o *TTSBody) GetSettingsOk() (*TTSSettings, bool)
GetSettingsOk returns a tuple with the Settings field value and a boolean to check if the value has been set.
func (*TTSBody) GetTextOk ¶
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (TTSBody) MarshalJSON ¶
func (*TTSBody) SetSettings ¶
func (o *TTSBody) SetSettings(v TTSSettings)
SetSettings sets field value
type TTSBodyDeprecated ¶
type TTSBodyDeprecated struct { Text string `json:"text"` Language LanguageTTS `json:"language"` ResultType ResultTypeTTS `json:"resultType"` }
TTSBodyDeprecated struct for TTSBodyDeprecated
func NewTTSBodyDeprecated ¶
func NewTTSBodyDeprecated(text string, language LanguageTTS, resultType ResultTypeTTS) *TTSBodyDeprecated
NewTTSBodyDeprecated instantiates a new TTSBodyDeprecated 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
func NewTTSBodyDeprecatedWithDefaults ¶
func NewTTSBodyDeprecatedWithDefaults() *TTSBodyDeprecated
NewTTSBodyDeprecatedWithDefaults instantiates a new TTSBodyDeprecated 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
func (*TTSBodyDeprecated) GetLanguage ¶
func (o *TTSBodyDeprecated) GetLanguage() LanguageTTS
GetLanguage returns the Language field value
func (*TTSBodyDeprecated) GetLanguageOk ¶
func (o *TTSBodyDeprecated) GetLanguageOk() (*LanguageTTS, bool)
GetLanguageOk returns a tuple with the Language field value and a boolean to check if the value has been set.
func (*TTSBodyDeprecated) GetResultType ¶
func (o *TTSBodyDeprecated) GetResultType() ResultTypeTTS
GetResultType returns the ResultType field value
func (*TTSBodyDeprecated) GetResultTypeOk ¶
func (o *TTSBodyDeprecated) GetResultTypeOk() (*ResultTypeTTS, bool)
GetResultTypeOk returns a tuple with the ResultType field value and a boolean to check if the value has been set.
func (*TTSBodyDeprecated) GetText ¶
func (o *TTSBodyDeprecated) GetText() string
GetText returns the Text field value
func (*TTSBodyDeprecated) GetTextOk ¶
func (o *TTSBodyDeprecated) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (TTSBodyDeprecated) MarshalJSON ¶
func (o TTSBodyDeprecated) MarshalJSON() ([]byte, error)
func (*TTSBodyDeprecated) SetLanguage ¶
func (o *TTSBodyDeprecated) SetLanguage(v LanguageTTS)
SetLanguage sets field value
func (*TTSBodyDeprecated) SetResultType ¶
func (o *TTSBodyDeprecated) SetResultType(v ResultTypeTTS)
SetResultType sets field value
func (*TTSBodyDeprecated) SetText ¶
func (o *TTSBodyDeprecated) SetText(v string)
SetText sets field value
func (TTSBodyDeprecated) ToMap ¶
func (o TTSBodyDeprecated) ToMap() (map[string]interface{}, error)
type TTSError ¶
type TTSError struct { Messages []string `json:"messages,omitempty"` Warnings []string `json:"warnings,omitempty"` }
TTSError struct for TTSError
func NewTTSError ¶
func NewTTSError() *TTSError
NewTTSError instantiates a new TTSError 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
func NewTTSErrorWithDefaults ¶
func NewTTSErrorWithDefaults() *TTSError
NewTTSErrorWithDefaults instantiates a new TTSError 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
func (*TTSError) GetMessages ¶
GetMessages returns the Messages field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TTSError) GetMessagesOk ¶
GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TTSError) GetWarnings ¶
GetWarnings returns the Warnings field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TTSError) GetWarningsOk ¶
GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TTSError) HasMessages ¶
HasMessages returns a boolean if a field has been set.
func (*TTSError) HasWarnings ¶
HasWarnings returns a boolean if a field has been set.
func (TTSError) MarshalJSON ¶
func (*TTSError) SetMessages ¶
SetMessages gets a reference to the given []string and assigns it to the Messages field.
func (*TTSError) SetWarnings ¶
SetWarnings gets a reference to the given []string and assigns it to the Warnings field.
type TTSResponse ¶
type TTSResponse struct { Id NullableString `json:"id,omitempty"` ResponseStatusCode *ResponseStatusCode `json:"responseStatusCode,omitempty"` TaskStatus *TTSTaskStatus `json:"taskStatus,omitempty"` Results []TTSResult `json:"results,omitempty"` Error NullableTTSError `json:"error,omitempty"` }
TTSResponse struct for TTSResponse
func NewTTSResponse ¶
func NewTTSResponse() *TTSResponse
NewTTSResponse instantiates a new TTSResponse 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
func NewTTSResponseWithDefaults ¶
func NewTTSResponseWithDefaults() *TTSResponse
NewTTSResponseWithDefaults instantiates a new TTSResponse 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
func (*TTSResponse) GetError ¶
func (o *TTSResponse) GetError() TTSError
GetError returns the Error field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TTSResponse) GetErrorOk ¶
func (o *TTSResponse) GetErrorOk() (*TTSError, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TTSResponse) GetId ¶
func (o *TTSResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TTSResponse) GetIdOk ¶
func (o *TTSResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TTSResponse) GetResponseStatusCode ¶
func (o *TTSResponse) GetResponseStatusCode() ResponseStatusCode
GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise.
func (*TTSResponse) GetResponseStatusCodeOk ¶
func (o *TTSResponse) GetResponseStatusCodeOk() (*ResponseStatusCode, bool)
GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TTSResponse) GetResults ¶
func (o *TTSResponse) GetResults() []TTSResult
GetResults returns the Results field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TTSResponse) GetResultsOk ¶
func (o *TTSResponse) GetResultsOk() ([]TTSResult, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TTSResponse) GetTaskStatus ¶
func (o *TTSResponse) GetTaskStatus() TTSTaskStatus
GetTaskStatus returns the TaskStatus field value if set, zero value otherwise.
func (*TTSResponse) GetTaskStatusOk ¶
func (o *TTSResponse) GetTaskStatusOk() (*TTSTaskStatus, bool)
GetTaskStatusOk returns a tuple with the TaskStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TTSResponse) HasError ¶
func (o *TTSResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*TTSResponse) HasId ¶
func (o *TTSResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*TTSResponse) HasResponseStatusCode ¶
func (o *TTSResponse) HasResponseStatusCode() bool
HasResponseStatusCode returns a boolean if a field has been set.
func (*TTSResponse) HasResults ¶
func (o *TTSResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*TTSResponse) HasTaskStatus ¶
func (o *TTSResponse) HasTaskStatus() bool
HasTaskStatus returns a boolean if a field has been set.
func (TTSResponse) MarshalJSON ¶
func (o TTSResponse) MarshalJSON() ([]byte, error)
func (*TTSResponse) SetError ¶
func (o *TTSResponse) SetError(v TTSError)
SetError gets a reference to the given NullableTTSError and assigns it to the Error field.
func (*TTSResponse) SetErrorNil ¶
func (o *TTSResponse) SetErrorNil()
SetErrorNil sets the value for Error to be an explicit nil
func (*TTSResponse) SetId ¶
func (o *TTSResponse) SetId(v string)
SetId gets a reference to the given NullableString and assigns it to the Id field.
func (*TTSResponse) SetIdNil ¶
func (o *TTSResponse) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*TTSResponse) SetResponseStatusCode ¶
func (o *TTSResponse) SetResponseStatusCode(v ResponseStatusCode)
SetResponseStatusCode gets a reference to the given ResponseStatusCode and assigns it to the ResponseStatusCode field.
func (*TTSResponse) SetResults ¶
func (o *TTSResponse) SetResults(v []TTSResult)
SetResults gets a reference to the given []TTSResult and assigns it to the Results field.
func (*TTSResponse) SetTaskStatus ¶
func (o *TTSResponse) SetTaskStatus(v TTSTaskStatus)
SetTaskStatus gets a reference to the given TTSTaskStatus and assigns it to the TaskStatus field.
func (TTSResponse) ToMap ¶
func (o TTSResponse) ToMap() (map[string]interface{}, error)
func (*TTSResponse) UnsetError ¶
func (o *TTSResponse) UnsetError()
UnsetError ensures that no value is present for Error, not even an explicit nil
func (*TTSResponse) UnsetId ¶
func (o *TTSResponse) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
type TTSResult ¶
type TTSResult struct { Type NullableString `json:"type,omitempty"` Data NullableString `json:"data,omitempty"` }
TTSResult struct for TTSResult
func NewTTSResult ¶
func NewTTSResult() *TTSResult
NewTTSResult instantiates a new TTSResult 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
func NewTTSResultWithDefaults ¶
func NewTTSResultWithDefaults() *TTSResult
NewTTSResultWithDefaults instantiates a new TTSResult 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
func (*TTSResult) GetData ¶
GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TTSResult) GetDataOk ¶
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TTSResult) GetType ¶
GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TTSResult) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (TTSResult) MarshalJSON ¶
func (*TTSResult) SetData ¶
SetData gets a reference to the given NullableString and assigns it to the Data field.
func (*TTSResult) SetDataNil ¶
func (o *TTSResult) SetDataNil()
SetDataNil sets the value for Data to be an explicit nil
func (*TTSResult) SetType ¶
SetType gets a reference to the given NullableString and assigns it to the Type field.
func (*TTSResult) SetTypeNil ¶
func (o *TTSResult) SetTypeNil()
SetTypeNil sets the value for Type to be an explicit nil
type TTSSettings ¶
type TTSSettings struct { Language LanguageTTS `json:"language"` ResultType ResultTypeTTS `json:"resultType"` }
TTSSettings struct for TTSSettings
func NewTTSSettings ¶
func NewTTSSettings(language LanguageTTS, resultType ResultTypeTTS) *TTSSettings
NewTTSSettings instantiates a new TTSSettings 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
func NewTTSSettingsWithDefaults ¶
func NewTTSSettingsWithDefaults() *TTSSettings
NewTTSSettingsWithDefaults instantiates a new TTSSettings 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
func (*TTSSettings) GetLanguage ¶
func (o *TTSSettings) GetLanguage() LanguageTTS
GetLanguage returns the Language field value
func (*TTSSettings) GetLanguageOk ¶
func (o *TTSSettings) GetLanguageOk() (*LanguageTTS, bool)
GetLanguageOk returns a tuple with the Language field value and a boolean to check if the value has been set.
func (*TTSSettings) GetResultType ¶
func (o *TTSSettings) GetResultType() ResultTypeTTS
GetResultType returns the ResultType field value
func (*TTSSettings) GetResultTypeOk ¶
func (o *TTSSettings) GetResultTypeOk() (*ResultTypeTTS, bool)
GetResultTypeOk returns a tuple with the ResultType field value and a boolean to check if the value has been set.
func (TTSSettings) MarshalJSON ¶
func (o TTSSettings) MarshalJSON() ([]byte, error)
func (*TTSSettings) SetLanguage ¶
func (o *TTSSettings) SetLanguage(v LanguageTTS)
SetLanguage sets field value
func (*TTSSettings) SetResultType ¶
func (o *TTSSettings) SetResultType(v ResultTypeTTS)
SetResultType sets field value
func (TTSSettings) ToMap ¶
func (o TTSSettings) ToMap() (map[string]interface{}, error)
type TTSTaskStatus ¶
type TTSTaskStatus string
TTSTaskStatus the model 'TTSTaskStatus'
const ( TTSTASKSTATUS_PENDING TTSTaskStatus = "Pending" TTSTASKSTATUS_PROCESSING TTSTaskStatus = "Processing" TTSTASKSTATUS_COMPLETED TTSTaskStatus = "Completed" TTSTASKSTATUS_ERROR TTSTaskStatus = "Error" TTSTASKSTATUS_NOT_EXIST TTSTaskStatus = "NotExist" )
List of TTSTaskStatus
func NewTTSTaskStatusFromValue ¶
func NewTTSTaskStatusFromValue(v string) (*TTSTaskStatus, error)
NewTTSTaskStatusFromValue returns a pointer to a valid TTSTaskStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TTSTaskStatus) IsValid ¶
func (v TTSTaskStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TTSTaskStatus) Ptr ¶
func (v TTSTaskStatus) Ptr() *TTSTaskStatus
Ptr returns reference to TTSTaskStatus value
func (*TTSTaskStatus) UnmarshalJSON ¶
func (v *TTSTaskStatus) UnmarshalJSON(src []byte) error
type TextToSpeechApiService ¶
type TextToSpeechApiService service
TextToSpeechApiService TextToSpeechApi service
func (*TextToSpeechApiService) GetTextToSpeechResult ¶
func (a *TextToSpeechApiService) GetTextToSpeechResult(ctx context.Context) ApiGetTextToSpeechResultRequest
GetTextToSpeechResult GetTextToSpeechResult
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetTextToSpeechResultRequest
Deprecated
func (*TextToSpeechApiService) GetTextToSpeechResultExecute ¶
func (a *TextToSpeechApiService) GetTextToSpeechResultExecute(r ApiGetTextToSpeechResultRequest) (*TTSResponse, *http.Response, error)
Execute executes the request
@return TTSResponse
Deprecated
func (*TextToSpeechApiService) GetTextToSpeechResultFile ¶
func (a *TextToSpeechApiService) GetTextToSpeechResultFile(ctx context.Context) ApiGetTextToSpeechResultFileRequest
GetTextToSpeechResultFile GetTextToSpeechResultFile
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetTextToSpeechResultFileRequest
Deprecated
func (*TextToSpeechApiService) GetTextToSpeechResultFileExecute ¶
func (a *TextToSpeechApiService) GetTextToSpeechResultFileExecute(r ApiGetTextToSpeechResultFileRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
Deprecated
func (*TextToSpeechApiService) PostTextToSpeech ¶
func (a *TextToSpeechApiService) PostTextToSpeech(ctx context.Context) ApiPostTextToSpeechRequest
PostTextToSpeech PostTextToSpeech
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostTextToSpeechRequest
Deprecated
func (*TextToSpeechApiService) PostTextToSpeechExecute ¶
func (a *TextToSpeechApiService) PostTextToSpeechExecute(r ApiPostTextToSpeechRequest) (string, *http.Response, error)
Execute executes the request
@return string
Deprecated
type UpscaleImageApiService ¶
type UpscaleImageApiService service
UpscaleImageApiService UpscaleImageApi service
func (*UpscaleImageApiService) CancelUpscaleImage ¶
func (a *UpscaleImageApiService) CancelUpscaleImage(ctx context.Context) ApiCancelUpscaleImageRequest
CancelUpscaleImage CancelUpscaleImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelUpscaleImageRequest
func (*UpscaleImageApiService) CancelUpscaleImageExecute ¶
func (a *UpscaleImageApiService) CancelUpscaleImageExecute(r ApiCancelUpscaleImageRequest) (*http.Response, error)
Execute executes the request
func (*UpscaleImageApiService) GetUpscaleImage ¶
func (a *UpscaleImageApiService) GetUpscaleImage(ctx context.Context) ApiGetUpscaleImageRequest
GetUpscaleImage GetUpscaleImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetUpscaleImageRequest
func (*UpscaleImageApiService) GetUpscaleImageExecute ¶
func (a *UpscaleImageApiService) GetUpscaleImageExecute(r ApiGetUpscaleImageRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
func (*UpscaleImageApiService) PostUpscaleImage ¶
func (a *UpscaleImageApiService) PostUpscaleImage(ctx context.Context) ApiPostUpscaleImageRequest
PostUpscaleImage PostUpscaleImage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostUpscaleImageRequest
func (*UpscaleImageApiService) PostUpscaleImageExecute ¶
func (a *UpscaleImageApiService) PostUpscaleImageExecute(r ApiPostUpscaleImageRequest) (string, *http.Response, error)
Execute executes the request
@return string
type UtilitiesApiService ¶
type UtilitiesApiService service
UtilitiesApiService UtilitiesApi service
func (*UtilitiesApiService) GetTaskStatus ¶
func (a *UtilitiesApiService) GetTaskStatus(ctx context.Context) ApiGetTaskStatusRequest
GetTaskStatus GetTaskStatus
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetTaskStatusRequest
func (*UtilitiesApiService) GetTaskStatusExecute ¶
func (a *UtilitiesApiService) GetTaskStatusExecute(r ApiGetTaskStatusRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
Source Files ¶
- api_binarize_image.go
- api_convert_text_to_speech.go
- api_convert_text_to_speech_trial.go
- api_deskew_image.go
- api_detect_regions.go
- api_dewarp_image.go
- api_dj_vu2_pdf.go
- api_identify_font.go
- api_image_processing.go
- api_recognize_and_parse_invoice.go
- api_recognize_image.go
- api_recognize_image_trial.go
- api_recognize_label.go
- api_recognize_pdf.go
- api_recognize_receipt.go
- api_recognize_regions.go
- api_recognize_table.go
- api_text_to_speech.go
- api_upscale_image.go
- api_utilities.go
- client.go
- configuration.go
- model_dsr_confidence.go
- model_dsr_mode.go
- model_language.go
- model_language_tts.go
- model_ocr_binarize_image_body.go
- model_ocr_deskew_image_body.go
- model_ocr_detect_regions_body.go
- model_ocr_dewarp_image_body.go
- model_ocr_error.go
- model_ocr_recognize_and_parse_invoice_body.go
- model_ocr_recognize_font_body.go
- model_ocr_recognize_image_body.go
- model_ocr_recognize_label_body.go
- model_ocr_recognize_pdf_body.go
- model_ocr_recognize_receipt_body.go
- model_ocr_recognize_regions_body.go
- model_ocr_recognize_table_body.go
- model_ocr_rect.go
- model_ocr_region.go
- model_ocr_response.go
- model_ocr_result.go
- model_ocr_settings_detect_regions.go
- model_ocr_settings_dj_vu2_pdf.go
- model_ocr_settings_recognize_and_parse_invoice.go
- model_ocr_settings_recognize_font.go
- model_ocr_settings_recognize_image.go
- model_ocr_settings_recognize_label.go
- model_ocr_settings_recognize_pdf.go
- model_ocr_settings_recognize_receipt.go
- model_ocr_settings_recognize_regions.go
- model_ocr_settings_recognize_table.go
- model_ocr_task_status.go
- model_ocr_upscale_image_body.go
- model_ocrdj_vu2_pdf_body.go
- model_post_upsampling_file_request.go
- model_problem_details.go
- model_response_status_code.go
- model_result_type.go
- model_result_type_table.go
- model_result_type_tts.go
- model_tts_body.go
- model_tts_body_deprecated.go
- model_tts_error.go
- model_tts_response.go
- model_tts_result.go
- model_tts_settings.go
- model_tts_task_status.go
- response.go
- utils.go