asposeocrcloud

package module
v0.0.0-...-32f571a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 21 Imported by: 0

README

Aspose.OCR Cloud SDK for Go 23.12.0

License GitHub release (latest by date)

Aspose.OCR Cloud is an optical character recognition as a service. With it, you can easily add OCR functionality to almost any device or platform: cloud, web, PCs, netbooks, or even entry-level smartphones.

Our engine can read text from images, photos, screenshots and scanned PDFs in a wide variety of European, Cyrillic and Oriental fonts, returning results in the most popular document formats. Powerful built-in image processing filters based on neural networks automatically correct skewed and distorted images, automatically remove dirt, smudges, scratches, glare and other image defects that can affect recognition accuracy. To further improve the results, Aspose.OCR Cloud has a built-in spell checker that automatically replaces misspelled words and saves you the trouble of manually correcting the recognition results.

Even the complex recognition tasks can be done with a couple of API calls. To make interacting with Aspose.OCR Cloud services from Go applications even easier, we provide the software development kit (SDK) for Go. It handles all the routine operations such as establishing connections, sending API requests, and parsing responses, wrapping all these tasks into a few simple classes.

Aspose.OCR Cloud SDK for Go is open source under the MIT license. You can freely use it for any projects, including commercial and proprietary applications, as well as modify any part of its code.

Try Online

Image to Text Image to Searchable PDF PDF OCR Receipt Scanner
Scan Image Image to Searchable PDF PDF OCR Receipt Scanner

System requirements

  • Go 1.18 or later.
  • Internet connection.
  • Access to the api.aspose.cloud domain.

Check go.mod file for the full list of third-party dependencies.

Get started

Aspose.OCR Cloud is an on-demand service with a free tier. In order to use Aspose.OCR Cloud service, you must create an account at Aspose Cloud API:

  1. Go to https://dashboard.aspose.cloud/
  2. If you are already registered with Aspose, sign in with your user name and password.
    Otherwise, click Don’t have an account? Sign Up link and create a new account.
  3. Check out more information about available subscription plans and a free tier limits.

Aspose values your privacy and takes technical, security and organizational measures to protect your data from unauthorized use, accidental loss or disclosure. Read our Privacy Policy and Terms of Service for details.

Authorization

Aspose.OCR Cloud follows industry standards and best practices to keep your data secure. All communication with OCR REST API is done using JWT authentication, which provides an open-standard, highly secure way to exchange information. Time-limited JWT tokens are generated using Client ID and Client Secret credentials that are specific for each application. To obtain the credentials:

  1. Sign in to Aspose Cloud API Dashboard.

  2. Go to Applications page.

  3. Click Create New Application button.

  4. Give the application an easily recognizable name so it can be quickly found in a long list, and provide an optional detailed description.

  5. Create the cloud storage by clicking the plus icon and following the required steps. You can also reuse existing storage, if available.
    Aspose.OCR Cloud uses its own internal storage, so you can provide the bare minimum storage options:

    • Type: Internal storage
    • Storage name: Any name you like
    • Storage mode: Retain files for 24 hours
  6. Click Save button.

  7. Click the newly created application and copy the values from Client Id and Client Secret fields.

  8. Pass in the values from the Client ID and Client Secret fields when initializing the required OCR API.

Running demo
  1. Clone this repository or download it as ZIP.
  2. Install Aspose.OCR Cloud SDK for Go package:
go get github.com/aspose-ocr-cloud/aspose-ocr-cloud-go
  1. Open examples/example.go file and replace "YOUR_CLIENT_ID" and "YOUR_CLIENT_SECRET" with credentials obtained during Authorization phase:
func main() {

	clientId := "YOUR_CLIENT_ID"
	clientSecret := "YOUR_CLIENT_SECRET"
  1. Open the terminal and navigate to the example directory of the downloaded repository.
  2. Run the example:
go run .\example.go
  1. Recognition results will be saved to the results directory of the downloaded repository.
Running tests

We also provide automated tests for Testify.

  1. Clone this repository or download it as ZIP.
  2. Install dependencies:
go get github.com/stretchr/testify/assert
go get github.com/stretchr/testify/require
go get golang.org/x/oauth2
  1. Open test/test_config.go file and replace "YOUR_CLIENT_ID" and "YOUR_CLIENT_SECRET" with credentials obtained during Authorization phase:
package asposeocrcloud

var (
	ConfigClientID = "YOUR_CLIENT_ID"
	ConfigClientSecret = "YOUR_CLIENT_SECRET"
)
  1. Open the terminal and navigate to the test directory of the downloaded repository.
  2. Run tests:
go test github.com/aspose-ocr-cloud/aspose-ocr-cloud-go/test
  1. Test results will be saved to the results directory of the downloaded repository.

What was changed in version 23.12.0

A summary of recent changes, enhancements and bug fixes in Aspose.OCR Cloud SDK for .NET 23.12.0 release:

Key Summary Category
OCR‑3737 Added a free API for evaluating image recognition without authorization.
Some restrictions apply. See below for details.
New feature
Public API changes and backwards compatibility

This section lists all public API changes introduced in Aspose.OCR Cloud SDK for .NET 23.12.0 that may affect the code of existing applications.

Added public APIs:

The following public APIs have been introduced in this release:

Image recognition evaluation

The following new classes have been added:

Class Description
RecognizeImageTrialApi Image recognition API that works without authorization.

Important: In recognition results, 10% of the words are substituted with asterisks (*). The sequence of masked words remains unchanged upon re-submitting the identical image for recognition.

Learn more...

Updated public APIs:

No changes

Removed public APIs:

No changes.

Examples

The example below illustrates how to use Aspose.OCR Cloud SDK for Go to extract text from an image:

package main


import (
	"context"
	"encoding/base64"
	"fmt"
	"io/ioutil"
	asposeocrcloud "github.com/aspose-ocr-cloud/aspose-ocr-cloud-go"
)

func main(){
	
	clientId := "YOUR_CLIENT_ID"
	clientSecret := "YOUR_CLIENT_SECRET"
	configuration := asposeocrcloud.NewConfiguration(clientId, clientSecret)
	apiClient := asposeocrcloud.NewAPIClient(configuration)

	
	filePath := "../samples/latin.png" // Path to your file
	
		// Read your file data and convert it into base64 string
		fileBytes, err := ioutil.ReadFile(filePath)
		if err != nil || fileBytes == nil {
			fmt.Println("Read file error:", err)
			return
		}
		fileb64Encoded := base64.StdEncoding.EncodeToString(fileBytes)

		// Step 1: create request body and sent it to OCR Cloud to receive task ID
		recognitionSettings := *asposeocrcloud.NewOCRSettingsRecognizeImage()
		recognitionSettings.Language = asposeocrcloud.LANGUAGE_ENGLISH.Ptr()
		recognitionSettings.DsrMode = asposeocrcloud.DSRMODE_NO_DSR_NO_FILTER.Ptr()
		recognitionSettings.DsrConfidence = asposeocrcloud.DSRCONFIDENCE_DEFAULT.Ptr()
		*recognitionSettings.MakeBinarization = false
		*recognitionSettings.MakeSkewCorrect = false
		*recognitionSettings.MakeUpsampling = false
		*recognitionSettings.MakeSpellCheck = false
		*recognitionSettings.MakeContrastCorrection = false
		recognitionSettings.ResultType = asposeocrcloud.RESULTTYPE_TEXT.Ptr()
		recognitionSettings.ResultTypeTable = asposeocrcloud.RESULTTYPETABLE_TEXT.Ptr()

		requestBody := *asposeocrcloud.NewOCRRecognizeImageBody(
			fileb64Encoded,
			recognitionSettings,
		)

		taskId, httpRes, err := apiClient.RecognizeImageApi.PostRecognizeImage(context.Background()).OCRRecognizeImageBody(requestBody).Execute()
		if err != nil || httpRes.StatusCode != 200 {
			fmt.Println("API error:", err)
			return
		}

		fmt.Printf("File successfully sent. Your TaskID is %s \n", taskId)

		// Step 2: request task results using task ID
		ocrResp, httpRes, err := apiClient.RecognizeImageApi.GetRecognizeImage(context.Background()).Id(taskId).Execute()
		if err != nil|| httpRes.StatusCode != 200 || ocrResp == nil {
			fmt.Println("API error:", err)
			return
		}
		
		if *ocrResp.TaskStatus == asposeocrcloud.OCRTASKSTATUS_COMPLETED {
			if !ocrResp.Results[0].Data.IsSet() {
				fmt.Println("Response is empty")
				return
			}

			// Decode results and write to file
			decodedBytes, err := base64.StdEncoding.DecodeString(*ocrResp.Results[0].Data.Get())
			if err != nil {
				fmt.Println("Decode error:", err)
				return
			}

			resultFilePath := "../results/" + taskId + ".txt"
			err = ioutil.WriteFile(resultFilePath, decodedBytes, 0644)
			if err != nil {
				fmt.Println("Write file error:", err)
				return
			}

			fmt.Printf("Task result successfully saved at %s \n", resultFilePath)
		} else {
			fmt.Printf("Sorry, task %s is not completed yet. You can request results later. Task status: %s\n", taskId, *ocrResp.TaskStatus)
		}
}

Other Aspose.OCR Cloud SDKs

Resources

Find more information on Aspose.OCR Cloud and get professional help:

Documentation

Index

Constants

This section is empty.

Variables

View Source
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")
)
View Source
var AllowedDsrConfidenceEnumValues = []DsrConfidence{
	"Default",
	"Low",
	"LowMid",
	"Mid",
	"MidHigh",
	"High",
	"Ultra",
	"All",
}

All allowed values of DsrConfidence enum

View Source
var AllowedDsrModeEnumValues = []DsrMode{
	"Regions",
	"DsrNoFilter",
	"DsrAndFilter",
	"NoDsrNoFilter",
	"TextDetector",
	"DsrPlusDetector",
	"PolygonalTextDetector",
}

All allowed values of DsrMode enum

View Source
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

View Source
var AllowedLanguageTTSEnumValues = []LanguageTTS{
	"English",
}

All allowed values of LanguageTTS enum

View Source
var AllowedOCRTaskStatusEnumValues = []OCRTaskStatus{
	"Pending",
	"Processing",
	"Completed",
	"Error",
	"NotExist",
}

All allowed values of OCRTaskStatus enum

View Source
var AllowedResponseStatusCodeEnumValues = []ResponseStatusCode{
	"Ok",
	"PartiallyNotFound",
	"NoAnyResultData",
	"ResultDataLost",
	"TaskNotFound",
	"NotReady",
	"Error",
}

All allowed values of ResponseStatusCode enum

View Source
var AllowedResultTypeEnumValues = []ResultType{
	"Text",
	"Pdf",
	"TextAndPdf",
	"Hocr",
	"TextAndHocr",
	"PdfAndHocr",
	"TextAndPdfAndHocr",
	"ImagePNG",
}

All allowed values of ResultType enum

View Source
var AllowedResultTypeTTSEnumValues = []ResultTypeTTS{
	"Wav",
}

All allowed values of ResultTypeTTS enum

View Source
var AllowedResultTypeTableEnumValues = []ResultTypeTable{
	"Text",
	"Excel",
	"Csv",
	"CsvAndExcel",
}

All allowed values of ResultTypeTable enum

View Source
var AllowedTTSTaskStatusEnumValues = []TTSTaskStatus{
	"Pending",
	"Processing",
	"Completed",
	"Error",
	"NotExist",
}

All allowed values of TTSTaskStatus enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

type APIKey struct {
	Key    string
	Prefix string
}

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 (ApiCancelBinarizeImageRequest) Id

type ApiCancelConvertTextToSpeechRequest

type ApiCancelConvertTextToSpeechRequest struct {
	ApiService *ConvertTextToSpeechApiService
	// contains filtered or unexported fields
}

func (ApiCancelConvertTextToSpeechRequest) Execute

func (ApiCancelConvertTextToSpeechRequest) Id

type ApiCancelConvertTextToSpeechTrialRequest

type ApiCancelConvertTextToSpeechTrialRequest struct {
	ApiService *ConvertTextToSpeechTrialApiService
	// contains filtered or unexported fields
}

func (ApiCancelConvertTextToSpeechTrialRequest) Execute

func (ApiCancelConvertTextToSpeechTrialRequest) Id

type ApiCancelDeskewImageRequest

type ApiCancelDeskewImageRequest struct {
	ApiService *DeskewImageApiService
	// contains filtered or unexported fields
}

func (ApiCancelDeskewImageRequest) Execute

func (ApiCancelDeskewImageRequest) Id

type ApiCancelDetectRegionsRequest

type ApiCancelDetectRegionsRequest struct {
	ApiService *DetectRegionsApiService
	// contains filtered or unexported fields
}

func (ApiCancelDetectRegionsRequest) Execute

func (ApiCancelDetectRegionsRequest) Id

type ApiCancelDewarpImageRequest

type ApiCancelDewarpImageRequest struct {
	ApiService *DewarpImageApiService
	// contains filtered or unexported fields
}

func (ApiCancelDewarpImageRequest) Execute

func (ApiCancelDewarpImageRequest) Id

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

type ApiCancelIdentifyFontRequest

type ApiCancelIdentifyFontRequest struct {
	ApiService *IdentifyFontApiService
	// contains filtered or unexported fields
}

func (ApiCancelIdentifyFontRequest) Execute

func (ApiCancelIdentifyFontRequest) Id

type ApiCancelRecognizeAndParseInvoiceRequest

type ApiCancelRecognizeAndParseInvoiceRequest struct {
	ApiService *RecognizeAndParseInvoiceApiService
	// contains filtered or unexported fields
}

func (ApiCancelRecognizeAndParseInvoiceRequest) Execute

func (ApiCancelRecognizeAndParseInvoiceRequest) Id

type ApiCancelRecognizeImageRequest

type ApiCancelRecognizeImageRequest struct {
	ApiService *RecognizeImageApiService
	// contains filtered or unexported fields
}

func (ApiCancelRecognizeImageRequest) Execute

func (ApiCancelRecognizeImageRequest) Id

type ApiCancelRecognizeImageTrialRequest

type ApiCancelRecognizeImageTrialRequest struct {
	ApiService *RecognizeImageTrialApiService
	// contains filtered or unexported fields
}

func (ApiCancelRecognizeImageTrialRequest) Execute

func (ApiCancelRecognizeImageTrialRequest) Id

type ApiCancelRecognizeLabelRequest

type ApiCancelRecognizeLabelRequest struct {
	ApiService *RecognizeLabelApiService
	// contains filtered or unexported fields
}

func (ApiCancelRecognizeLabelRequest) Execute

func (ApiCancelRecognizeLabelRequest) Id

type ApiCancelRecognizePdfRequest

type ApiCancelRecognizePdfRequest struct {
	ApiService *RecognizePdfApiService
	// contains filtered or unexported fields
}

func (ApiCancelRecognizePdfRequest) Execute

func (ApiCancelRecognizePdfRequest) Id

type ApiCancelRecognizeReceiptRequest

type ApiCancelRecognizeReceiptRequest struct {
	ApiService *RecognizeReceiptApiService
	// contains filtered or unexported fields
}

func (ApiCancelRecognizeReceiptRequest) Execute

func (ApiCancelRecognizeReceiptRequest) Id

type ApiCancelRecognizeRegionsRequest

type ApiCancelRecognizeRegionsRequest struct {
	ApiService *RecognizeRegionsApiService
	// contains filtered or unexported fields
}

func (ApiCancelRecognizeRegionsRequest) Execute

func (ApiCancelRecognizeRegionsRequest) Id

type ApiCancelRecognizeTableRequest

type ApiCancelRecognizeTableRequest struct {
	ApiService *RecognizeTableApiService
	// contains filtered or unexported fields
}

func (ApiCancelRecognizeTableRequest) Execute

func (ApiCancelRecognizeTableRequest) Id

type ApiCancelUpscaleImageRequest

type ApiCancelUpscaleImageRequest struct {
	ApiService *UpscaleImageApiService
	// contains filtered or unexported fields
}

func (ApiCancelUpscaleImageRequest) Execute

func (ApiCancelUpscaleImageRequest) Id

type ApiGetBinarizeImageRequest

type ApiGetBinarizeImageRequest struct {
	ApiService *BinarizeImageApiService
	// contains filtered or unexported fields
}

func (ApiGetBinarizeImageRequest) Execute

func (ApiGetBinarizeImageRequest) Id

type ApiGetConvertTextToSpeechRequest

type ApiGetConvertTextToSpeechRequest struct {
	ApiService *ConvertTextToSpeechApiService
	// contains filtered or unexported fields
}

func (ApiGetConvertTextToSpeechRequest) Execute

func (ApiGetConvertTextToSpeechRequest) Id

type ApiGetConvertTextToSpeechTrialRequest

type ApiGetConvertTextToSpeechTrialRequest struct {
	ApiService *ConvertTextToSpeechTrialApiService
	// contains filtered or unexported fields
}

func (ApiGetConvertTextToSpeechTrialRequest) Execute

func (ApiGetConvertTextToSpeechTrialRequest) Id

type ApiGetDeskewImageRequest

type ApiGetDeskewImageRequest struct {
	ApiService *DeskewImageApiService
	// contains filtered or unexported fields
}

func (ApiGetDeskewImageRequest) Execute

func (ApiGetDeskewImageRequest) Id

type ApiGetDetectRegionsRequest

type ApiGetDetectRegionsRequest struct {
	ApiService *DetectRegionsApiService
	// contains filtered or unexported fields
}

func (ApiGetDetectRegionsRequest) Execute

func (ApiGetDetectRegionsRequest) Id

type ApiGetDewarpImageRequest

type ApiGetDewarpImageRequest struct {
	ApiService *DewarpImageApiService
	// contains filtered or unexported fields
}

func (ApiGetDewarpImageRequest) Execute

func (ApiGetDewarpImageRequest) Id

type ApiGetDjVu2PDFRequest

type ApiGetDjVu2PDFRequest struct {
	ApiService *DjVu2PDFApiService
	// contains filtered or unexported fields
}

func (ApiGetDjVu2PDFRequest) Execute

func (ApiGetDjVu2PDFRequest) Id

type ApiGetIdentifyFontRequest

type ApiGetIdentifyFontRequest struct {
	ApiService *IdentifyFontApiService
	// contains filtered or unexported fields
}

func (ApiGetIdentifyFontRequest) Execute

func (ApiGetIdentifyFontRequest) Id

type ApiGetRecognizeAndParseInvoiceRequest

type ApiGetRecognizeAndParseInvoiceRequest struct {
	ApiService *RecognizeAndParseInvoiceApiService
	// contains filtered or unexported fields
}

func (ApiGetRecognizeAndParseInvoiceRequest) Execute

func (ApiGetRecognizeAndParseInvoiceRequest) Id

type ApiGetRecognizeImageRequest

type ApiGetRecognizeImageRequest struct {
	ApiService *RecognizeImageApiService
	// contains filtered or unexported fields
}

func (ApiGetRecognizeImageRequest) Execute

func (ApiGetRecognizeImageRequest) Id

type ApiGetRecognizeImageTrialRequest

type ApiGetRecognizeImageTrialRequest struct {
	ApiService *RecognizeImageTrialApiService
	// contains filtered or unexported fields
}

func (ApiGetRecognizeImageTrialRequest) Execute

func (ApiGetRecognizeImageTrialRequest) Id

type ApiGetRecognizeLabelRequest

type ApiGetRecognizeLabelRequest struct {
	ApiService *RecognizeLabelApiService
	// contains filtered or unexported fields
}

func (ApiGetRecognizeLabelRequest) Execute

func (ApiGetRecognizeLabelRequest) Id

type ApiGetRecognizePdfRequest

type ApiGetRecognizePdfRequest struct {
	ApiService *RecognizePdfApiService
	// contains filtered or unexported fields
}

func (ApiGetRecognizePdfRequest) Execute

func (ApiGetRecognizePdfRequest) Id

type ApiGetRecognizeReceiptRequest

type ApiGetRecognizeReceiptRequest struct {
	ApiService *RecognizeReceiptApiService
	// contains filtered or unexported fields
}

func (ApiGetRecognizeReceiptRequest) Execute

func (ApiGetRecognizeReceiptRequest) Id

type ApiGetRecognizeRegionsRequest

type ApiGetRecognizeRegionsRequest struct {
	ApiService *RecognizeRegionsApiService
	// contains filtered or unexported fields
}

func (ApiGetRecognizeRegionsRequest) Execute

func (ApiGetRecognizeRegionsRequest) Id

type ApiGetRecognizeTableRequest

type ApiGetRecognizeTableRequest struct {
	ApiService *RecognizeTableApiService
	// contains filtered or unexported fields
}

func (ApiGetRecognizeTableRequest) Execute

func (ApiGetRecognizeTableRequest) Id

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

type ApiGetResultTaskRequest

type ApiGetResultTaskRequest struct {
	ApiService *ImageProcessingApiService
	// contains filtered or unexported fields
}

func (ApiGetResultTaskRequest) Execute

func (ApiGetResultTaskRequest) Id

type ApiGetTaskStatusRequest

type ApiGetTaskStatusRequest struct {
	ApiService *UtilitiesApiService
	// contains filtered or unexported fields
}

func (ApiGetTaskStatusRequest) Execute

func (ApiGetTaskStatusRequest) Id

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)

func (ApiGetTextToSpeechResultFileRequest) Id

type ApiGetTextToSpeechResultRequest

type ApiGetTextToSpeechResultRequest struct {
	ApiService *TextToSpeechApiService
	// contains filtered or unexported fields
}

func (ApiGetTextToSpeechResultRequest) Execute

func (ApiGetTextToSpeechResultRequest) Id

type ApiGetUpscaleImageRequest

type ApiGetUpscaleImageRequest struct {
	ApiService *UpscaleImageApiService
	// contains filtered or unexported fields
}

func (ApiGetUpscaleImageRequest) Execute

func (ApiGetUpscaleImageRequest) Id

type ApiPostBinarizationFileRequest

type ApiPostBinarizationFileRequest struct {
	ApiService *ImageProcessingApiService
	// contains filtered or unexported fields
}

func (ApiPostBinarizationFileRequest) Execute

func (ApiPostBinarizationFileRequest) File

type ApiPostBinarizeImageRequest

type ApiPostBinarizeImageRequest struct {
	ApiService *BinarizeImageApiService
	// contains filtered or unexported fields
}

func (ApiPostBinarizeImageRequest) Execute

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 (ApiPostConvertTextToSpeechRequest) TTSBody

type ApiPostConvertTextToSpeechTrialRequest

type ApiPostConvertTextToSpeechTrialRequest struct {
	ApiService *ConvertTextToSpeechTrialApiService
	// contains filtered or unexported fields
}

func (ApiPostConvertTextToSpeechTrialRequest) Execute

func (ApiPostConvertTextToSpeechTrialRequest) TTSBody

type ApiPostDeskewImageRequest

type ApiPostDeskewImageRequest struct {
	ApiService *DeskewImageApiService
	// contains filtered or unexported fields
}

func (ApiPostDeskewImageRequest) Execute

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 (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 (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 (ApiPostDewarpingFileRequest) File

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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (ApiPostSkewCorrectionFileRequest) File

type ApiPostTextToSpeechRequest

type ApiPostTextToSpeechRequest struct {
	ApiService *TextToSpeechApiService
	// contains filtered or unexported fields
}

func (ApiPostTextToSpeechRequest) Execute

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 (ApiPostUpsamplingFileRequest) File

type ApiPostUpscaleImageRequest

type ApiPostUpscaleImageRequest struct {
	ApiService *UpscaleImageApiService
	// contains filtered or unexported fields
}

func (ApiPostUpscaleImageRequest) Execute

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

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

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

Execute executes the request

@return OCRResponse

func (*BinarizeImageApiService) PostBinarizeImage

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type ConvertTextToSpeechApiService

type ConvertTextToSpeechApiService service

ConvertTextToSpeechApiService ConvertTextToSpeechApi service

func (*ConvertTextToSpeechApiService) CancelConvertTextToSpeech

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

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

Execute executes the request

@return TTSResponse

func (*ConvertTextToSpeechApiService) PostConvertTextToSpeech

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

Execute executes the request

@return string

type ConvertTextToSpeechTrialApiService

type ConvertTextToSpeechTrialApiService service

ConvertTextToSpeechTrialApiService ConvertTextToSpeechTrialApi service

func (*ConvertTextToSpeechTrialApiService) CancelConvertTextToSpeechTrial

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

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

Execute executes the request

@return TTSResponse

func (*ConvertTextToSpeechTrialApiService) PostConvertTextToSpeechTrial

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

Execute executes the request

@return string

type DeskewImageApiService

type DeskewImageApiService service

DeskewImageApiService DeskewImageApi service

func (*DeskewImageApiService) CancelDeskewImage

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

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

Execute executes the request

@return OCRResponse

func (*DeskewImageApiService) PostDeskewImage

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

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

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

Execute executes the request

@return OCRResponse

func (*DetectRegionsApiService) PostDetectRegions

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

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

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

Execute executes the request

@return OCRResponse

func (*DewarpImageApiService) PostDewarpImage

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

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

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

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

func NewDsrModeFromValue(v string) (*DsrMode, error)

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) IsValid

func (v DsrMode) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (DsrMode) Ptr

func (v DsrMode) Ptr() *DsrMode

Ptr returns reference to DsrMode value

func (*DsrMode) UnmarshalJSON

func (v *DsrMode) UnmarshalJSON(src []byte) error

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

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

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

Execute executes the request

@return OCRResponse

func (*IdentifyFontApiService) PostIdentifyFont

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

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

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

Execute executes the request

@return OCRResponse

Deprecated

func (*ImageProcessingApiService) PostBinarizationFile

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

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

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

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

func NewLanguageFromValue(v string) (*Language, error)

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) IsValid

func (v Language) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Language) Ptr

func (v Language) Ptr() *Language

Ptr returns reference to Language value

func (*Language) UnmarshalJSON

func (v *Language) UnmarshalJSON(src []byte) error

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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 (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 (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 (NullableOCRBinarizeImageBody) IsSet

func (NullableOCRBinarizeImageBody) MarshalJSON

func (v NullableOCRBinarizeImageBody) MarshalJSON() ([]byte, error)

func (*NullableOCRBinarizeImageBody) Set

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 (NullableOCRDeskewImageBody) IsSet

func (v NullableOCRDeskewImageBody) IsSet() bool

func (NullableOCRDeskewImageBody) MarshalJSON

func (v NullableOCRDeskewImageBody) MarshalJSON() ([]byte, error)

func (*NullableOCRDeskewImageBody) Set

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 (NullableOCRDetectRegionsBody) IsSet

func (NullableOCRDetectRegionsBody) MarshalJSON

func (v NullableOCRDetectRegionsBody) MarshalJSON() ([]byte, error)

func (*NullableOCRDetectRegionsBody) Set

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 (NullableOCRDewarpImageBody) IsSet

func (v NullableOCRDewarpImageBody) IsSet() bool

func (NullableOCRDewarpImageBody) MarshalJSON

func (v NullableOCRDewarpImageBody) MarshalJSON() ([]byte, error)

func (*NullableOCRDewarpImageBody) Set

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 (NullableOCRDjVu2PDFBody) IsSet

func (v NullableOCRDjVu2PDFBody) IsSet() bool

func (NullableOCRDjVu2PDFBody) MarshalJSON

func (v NullableOCRDjVu2PDFBody) MarshalJSON() ([]byte, error)

func (*NullableOCRDjVu2PDFBody) Set

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 (NullableOCRRecognizeAndParseInvoiceBody) Get

func (NullableOCRRecognizeAndParseInvoiceBody) IsSet

func (NullableOCRRecognizeAndParseInvoiceBody) MarshalJSON

func (v NullableOCRRecognizeAndParseInvoiceBody) MarshalJSON() ([]byte, error)

func (*NullableOCRRecognizeAndParseInvoiceBody) Set

func (*NullableOCRRecognizeAndParseInvoiceBody) UnmarshalJSON

func (v *NullableOCRRecognizeAndParseInvoiceBody) UnmarshalJSON(src []byte) error

func (*NullableOCRRecognizeAndParseInvoiceBody) Unset

type NullableOCRRecognizeFontBody

type NullableOCRRecognizeFontBody struct {
	// contains filtered or unexported fields
}

func NewNullableOCRRecognizeFontBody

func NewNullableOCRRecognizeFontBody(val *OCRRecognizeFontBody) *NullableOCRRecognizeFontBody

func (NullableOCRRecognizeFontBody) Get

func (NullableOCRRecognizeFontBody) IsSet

func (NullableOCRRecognizeFontBody) MarshalJSON

func (v NullableOCRRecognizeFontBody) MarshalJSON() ([]byte, error)

func (*NullableOCRRecognizeFontBody) Set

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 (NullableOCRRecognizeImageBody) Get

func (NullableOCRRecognizeImageBody) IsSet

func (NullableOCRRecognizeImageBody) MarshalJSON

func (v NullableOCRRecognizeImageBody) MarshalJSON() ([]byte, error)

func (*NullableOCRRecognizeImageBody) Set

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 (NullableOCRRecognizeLabelBody) Get

func (NullableOCRRecognizeLabelBody) IsSet

func (NullableOCRRecognizeLabelBody) MarshalJSON

func (v NullableOCRRecognizeLabelBody) MarshalJSON() ([]byte, error)

func (*NullableOCRRecognizeLabelBody) Set

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 (NullableOCRRecognizePdfBody) IsSet

func (NullableOCRRecognizePdfBody) MarshalJSON

func (v NullableOCRRecognizePdfBody) MarshalJSON() ([]byte, error)

func (*NullableOCRRecognizePdfBody) Set

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 (NullableOCRRecognizeReceiptBody) Get

func (NullableOCRRecognizeReceiptBody) IsSet

func (NullableOCRRecognizeReceiptBody) MarshalJSON

func (v NullableOCRRecognizeReceiptBody) MarshalJSON() ([]byte, error)

func (*NullableOCRRecognizeReceiptBody) Set

func (*NullableOCRRecognizeReceiptBody) UnmarshalJSON

func (v *NullableOCRRecognizeReceiptBody) UnmarshalJSON(src []byte) error

func (*NullableOCRRecognizeReceiptBody) Unset

type NullableOCRRecognizeRegionsBody

type NullableOCRRecognizeRegionsBody struct {
	// contains filtered or unexported fields
}

func (NullableOCRRecognizeRegionsBody) Get

func (NullableOCRRecognizeRegionsBody) IsSet

func (NullableOCRRecognizeRegionsBody) MarshalJSON

func (v NullableOCRRecognizeRegionsBody) MarshalJSON() ([]byte, error)

func (*NullableOCRRecognizeRegionsBody) Set

func (*NullableOCRRecognizeRegionsBody) UnmarshalJSON

func (v *NullableOCRRecognizeRegionsBody) UnmarshalJSON(src []byte) error

func (*NullableOCRRecognizeRegionsBody) Unset

type NullableOCRRecognizeTableBody

type NullableOCRRecognizeTableBody struct {
	// contains filtered or unexported fields
}

func (NullableOCRRecognizeTableBody) Get

func (NullableOCRRecognizeTableBody) IsSet

func (NullableOCRRecognizeTableBody) MarshalJSON

func (v NullableOCRRecognizeTableBody) MarshalJSON() ([]byte, error)

func (*NullableOCRRecognizeTableBody) Set

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 (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 (NullableOCRSettingsDetectRegions) Get

func (NullableOCRSettingsDetectRegions) IsSet

func (NullableOCRSettingsDetectRegions) MarshalJSON

func (v NullableOCRSettingsDetectRegions) MarshalJSON() ([]byte, error)

func (*NullableOCRSettingsDetectRegions) Set

func (*NullableOCRSettingsDetectRegions) UnmarshalJSON

func (v *NullableOCRSettingsDetectRegions) UnmarshalJSON(src []byte) error

func (*NullableOCRSettingsDetectRegions) Unset

type NullableOCRSettingsDjVu2PDF

type NullableOCRSettingsDjVu2PDF struct {
	// contains filtered or unexported fields
}

func NewNullableOCRSettingsDjVu2PDF

func NewNullableOCRSettingsDjVu2PDF(val *OCRSettingsDjVu2PDF) *NullableOCRSettingsDjVu2PDF

func (NullableOCRSettingsDjVu2PDF) Get

func (NullableOCRSettingsDjVu2PDF) IsSet

func (NullableOCRSettingsDjVu2PDF) MarshalJSON

func (v NullableOCRSettingsDjVu2PDF) MarshalJSON() ([]byte, error)

func (*NullableOCRSettingsDjVu2PDF) Set

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 (NullableOCRSettingsRecognizeAndParseInvoice) Get

func (NullableOCRSettingsRecognizeAndParseInvoice) IsSet

func (NullableOCRSettingsRecognizeAndParseInvoice) MarshalJSON

func (*NullableOCRSettingsRecognizeAndParseInvoice) Set

func (*NullableOCRSettingsRecognizeAndParseInvoice) UnmarshalJSON

func (v *NullableOCRSettingsRecognizeAndParseInvoice) UnmarshalJSON(src []byte) error

func (*NullableOCRSettingsRecognizeAndParseInvoice) Unset

type NullableOCRSettingsRecognizeFont

type NullableOCRSettingsRecognizeFont struct {
	// contains filtered or unexported fields
}

func (NullableOCRSettingsRecognizeFont) Get

func (NullableOCRSettingsRecognizeFont) IsSet

func (NullableOCRSettingsRecognizeFont) MarshalJSON

func (v NullableOCRSettingsRecognizeFont) MarshalJSON() ([]byte, error)

func (*NullableOCRSettingsRecognizeFont) Set

func (*NullableOCRSettingsRecognizeFont) UnmarshalJSON

func (v *NullableOCRSettingsRecognizeFont) UnmarshalJSON(src []byte) error

func (*NullableOCRSettingsRecognizeFont) Unset

type NullableOCRSettingsRecognizeImage

type NullableOCRSettingsRecognizeImage struct {
	// contains filtered or unexported fields
}

func (NullableOCRSettingsRecognizeImage) Get

func (NullableOCRSettingsRecognizeImage) IsSet

func (NullableOCRSettingsRecognizeImage) MarshalJSON

func (v NullableOCRSettingsRecognizeImage) MarshalJSON() ([]byte, error)

func (*NullableOCRSettingsRecognizeImage) Set

func (*NullableOCRSettingsRecognizeImage) UnmarshalJSON

func (v *NullableOCRSettingsRecognizeImage) UnmarshalJSON(src []byte) error

func (*NullableOCRSettingsRecognizeImage) Unset

type NullableOCRSettingsRecognizeLabel

type NullableOCRSettingsRecognizeLabel struct {
	// contains filtered or unexported fields
}

func (NullableOCRSettingsRecognizeLabel) Get

func (NullableOCRSettingsRecognizeLabel) IsSet

func (NullableOCRSettingsRecognizeLabel) MarshalJSON

func (v NullableOCRSettingsRecognizeLabel) MarshalJSON() ([]byte, error)

func (*NullableOCRSettingsRecognizeLabel) Set

func (*NullableOCRSettingsRecognizeLabel) UnmarshalJSON

func (v *NullableOCRSettingsRecognizeLabel) UnmarshalJSON(src []byte) error

func (*NullableOCRSettingsRecognizeLabel) Unset

type NullableOCRSettingsRecognizePdf

type NullableOCRSettingsRecognizePdf struct {
	// contains filtered or unexported fields
}

func (NullableOCRSettingsRecognizePdf) Get

func (NullableOCRSettingsRecognizePdf) IsSet

func (NullableOCRSettingsRecognizePdf) MarshalJSON

func (v NullableOCRSettingsRecognizePdf) MarshalJSON() ([]byte, error)

func (*NullableOCRSettingsRecognizePdf) Set

func (*NullableOCRSettingsRecognizePdf) UnmarshalJSON

func (v *NullableOCRSettingsRecognizePdf) UnmarshalJSON(src []byte) error

func (*NullableOCRSettingsRecognizePdf) Unset

type NullableOCRSettingsRecognizeReceipt

type NullableOCRSettingsRecognizeReceipt struct {
	// contains filtered or unexported fields
}

func (NullableOCRSettingsRecognizeReceipt) Get

func (NullableOCRSettingsRecognizeReceipt) IsSet

func (NullableOCRSettingsRecognizeReceipt) MarshalJSON

func (v NullableOCRSettingsRecognizeReceipt) MarshalJSON() ([]byte, error)

func (*NullableOCRSettingsRecognizeReceipt) Set

func (*NullableOCRSettingsRecognizeReceipt) UnmarshalJSON

func (v *NullableOCRSettingsRecognizeReceipt) UnmarshalJSON(src []byte) error

func (*NullableOCRSettingsRecognizeReceipt) Unset

type NullableOCRSettingsRecognizeRegions

type NullableOCRSettingsRecognizeRegions struct {
	// contains filtered or unexported fields
}

func (NullableOCRSettingsRecognizeRegions) Get

func (NullableOCRSettingsRecognizeRegions) IsSet

func (NullableOCRSettingsRecognizeRegions) MarshalJSON

func (v NullableOCRSettingsRecognizeRegions) MarshalJSON() ([]byte, error)

func (*NullableOCRSettingsRecognizeRegions) Set

func (*NullableOCRSettingsRecognizeRegions) UnmarshalJSON

func (v *NullableOCRSettingsRecognizeRegions) UnmarshalJSON(src []byte) error

func (*NullableOCRSettingsRecognizeRegions) Unset

type NullableOCRSettingsRecognizeTable

type NullableOCRSettingsRecognizeTable struct {
	// contains filtered or unexported fields
}

func (NullableOCRSettingsRecognizeTable) Get

func (NullableOCRSettingsRecognizeTable) IsSet

func (NullableOCRSettingsRecognizeTable) MarshalJSON

func (v NullableOCRSettingsRecognizeTable) MarshalJSON() ([]byte, error)

func (*NullableOCRSettingsRecognizeTable) Set

func (*NullableOCRSettingsRecognizeTable) UnmarshalJSON

func (v *NullableOCRSettingsRecognizeTable) UnmarshalJSON(src []byte) error

func (*NullableOCRSettingsRecognizeTable) Unset

type NullableOCRTaskStatus

type NullableOCRTaskStatus struct {
	// contains filtered or unexported fields
}

func NewNullableOCRTaskStatus

func NewNullableOCRTaskStatus(val *OCRTaskStatus) *NullableOCRTaskStatus

func (NullableOCRTaskStatus) Get

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 (NullableOCRUpscaleImageBody) IsSet

func (NullableOCRUpscaleImageBody) MarshalJSON

func (v NullableOCRUpscaleImageBody) MarshalJSON() ([]byte, error)

func (*NullableOCRUpscaleImageBody) Set

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 (NullablePostUpsamplingFileRequest) Get

func (NullablePostUpsamplingFileRequest) IsSet

func (NullablePostUpsamplingFileRequest) MarshalJSON

func (v NullablePostUpsamplingFileRequest) MarshalJSON() ([]byte, error)

func (*NullablePostUpsamplingFileRequest) Set

func (*NullablePostUpsamplingFileRequest) UnmarshalJSON

func (v *NullablePostUpsamplingFileRequest) UnmarshalJSON(src []byte) error

func (*NullablePostUpsamplingFileRequest) Unset

type NullableProblemDetails

type NullableProblemDetails struct {
	// contains filtered or unexported fields
}

func NewNullableProblemDetails

func NewNullableProblemDetails(val *ProblemDetails) *NullableProblemDetails

func (NullableProblemDetails) Get

func (NullableProblemDetails) IsSet

func (v NullableProblemDetails) IsSet() bool

func (NullableProblemDetails) MarshalJSON

func (v NullableProblemDetails) MarshalJSON() ([]byte, error)

func (*NullableProblemDetails) Set

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 (NullableResponseStatusCode) IsSet

func (v NullableResponseStatusCode) IsSet() bool

func (NullableResponseStatusCode) MarshalJSON

func (v NullableResponseStatusCode) MarshalJSON() ([]byte, error)

func (*NullableResponseStatusCode) Set

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 (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 (NullableResultTypeTable) IsSet

func (v NullableResultTypeTable) IsSet() bool

func (NullableResultTypeTable) MarshalJSON

func (v NullableResultTypeTable) MarshalJSON() ([]byte, error)

func (*NullableResultTypeTable) Set

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 (NullableTTSBodyDeprecated) IsSet

func (v NullableTTSBodyDeprecated) IsSet() bool

func (NullableTTSBodyDeprecated) MarshalJSON

func (v NullableTTSBodyDeprecated) MarshalJSON() ([]byte, error)

func (*NullableTTSBodyDeprecated) Set

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 (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 (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 (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

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

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

func (o *OCRError) GetMessages() []string

GetMessages returns the Messages field value if set, zero value otherwise (both if not set or set to explicit null).

func (*OCRError) GetMessagesOk

func (o *OCRError) GetMessagesOk() ([]string, bool)

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

func (o *OCRError) GetWarnings() []string

GetWarnings returns the Warnings field value if set, zero value otherwise (both if not set or set to explicit null).

func (*OCRError) GetWarningsOk

func (o *OCRError) GetWarningsOk() ([]string, bool)

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

func (o *OCRError) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (*OCRError) HasWarnings

func (o *OCRError) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (OCRError) MarshalJSON

func (o OCRError) MarshalJSON() ([]byte, error)

func (*OCRError) SetMessages

func (o *OCRError) SetMessages(v []string)

SetMessages gets a reference to the given []string and assigns it to the Messages field.

func (*OCRError) SetWarnings

func (o *OCRError) SetWarnings(v []string)

SetWarnings gets a reference to the given []string and assigns it to the Warnings field.

func (OCRError) ToMap

func (o OCRError) ToMap() (map[string]interface{}, error)

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

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

GetSettings returns the Settings field value

func (*OCRRecognizeAndParseInvoiceBody) GetSettingsOk

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

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

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

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

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

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

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

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

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

GetSettings returns the Settings field value

func (*OCRRecognizeReceiptBody) GetSettingsOk

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

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

GetSettings returns the Settings field value

func (*OCRRecognizeRegionsBody) GetSettingsOk

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

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

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

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

func (o *OCRRect) GetBottomRightX() int32

GetBottomRightX returns the BottomRightX field value if set, zero value otherwise.

func (*OCRRect) GetBottomRightXOk

func (o *OCRRect) GetBottomRightXOk() (*int32, bool)

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

func (o *OCRRect) GetBottomRightY() int32

GetBottomRightY returns the BottomRightY field value if set, zero value otherwise.

func (*OCRRect) GetBottomRightYOk

func (o *OCRRect) GetBottomRightYOk() (*int32, bool)

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

func (o *OCRRect) GetTopLeftX() int32

GetTopLeftX returns the TopLeftX field value if set, zero value otherwise.

func (*OCRRect) GetTopLeftXOk

func (o *OCRRect) GetTopLeftXOk() (*int32, bool)

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

func (o *OCRRect) GetTopLeftY() int32

GetTopLeftY returns the TopLeftY field value if set, zero value otherwise.

func (*OCRRect) GetTopLeftYOk

func (o *OCRRect) GetTopLeftYOk() (*int32, bool)

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

func (o *OCRRect) HasBottomRightX() bool

HasBottomRightX returns a boolean if a field has been set.

func (*OCRRect) HasBottomRightY

func (o *OCRRect) HasBottomRightY() bool

HasBottomRightY returns a boolean if a field has been set.

func (*OCRRect) HasTopLeftX

func (o *OCRRect) HasTopLeftX() bool

HasTopLeftX returns a boolean if a field has been set.

func (*OCRRect) HasTopLeftY

func (o *OCRRect) HasTopLeftY() bool

HasTopLeftY returns a boolean if a field has been set.

func (OCRRect) MarshalJSON

func (o OCRRect) MarshalJSON() ([]byte, error)

func (*OCRRect) SetBottomRightX

func (o *OCRRect) SetBottomRightX(v int32)

SetBottomRightX gets a reference to the given int32 and assigns it to the BottomRightX field.

func (*OCRRect) SetBottomRightY

func (o *OCRRect) SetBottomRightY(v int32)

SetBottomRightY gets a reference to the given int32 and assigns it to the BottomRightY field.

func (*OCRRect) SetTopLeftX

func (o *OCRRect) SetTopLeftX(v int32)

SetTopLeftX gets a reference to the given int32 and assigns it to the TopLeftX field.

func (*OCRRect) SetTopLeftY

func (o *OCRRect) SetTopLeftY(v int32)

SetTopLeftY gets a reference to the given int32 and assigns it to the TopLeftY field.

func (OCRRect) ToMap

func (o OCRRect) ToMap() (map[string]interface{}, error)

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) GetOrder

func (o *OCRRegion) GetOrder() int32

GetOrder returns the Order field value if set, zero value otherwise.

func (*OCRRegion) GetOrderOk

func (o *OCRRegion) GetOrderOk() (*int32, bool)

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) GetRect

func (o *OCRRegion) GetRect() OCRRect

GetRect returns the Rect field value if set, zero value otherwise.

func (*OCRRegion) GetRectOk

func (o *OCRRegion) GetRectOk() (*OCRRect, bool)

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) HasOrder

func (o *OCRRegion) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*OCRRegion) HasRect

func (o *OCRRegion) HasRect() bool

HasRect returns a boolean if a field has been set.

func (OCRRegion) MarshalJSON

func (o OCRRegion) MarshalJSON() ([]byte, error)

func (*OCRRegion) SetOrder

func (o *OCRRegion) SetOrder(v int32)

SetOrder gets a reference to the given int32 and assigns it to the Order field.

func (*OCRRegion) SetRect

func (o *OCRRegion) SetRect(v OCRRect)

SetRect gets a reference to the given OCRRect and assigns it to the Rect field.

func (OCRRegion) ToMap

func (o OCRRegion) ToMap() (map[string]interface{}, error)

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

func (o *OCRResult) GetData() string

GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null).

func (*OCRResult) GetDataOk

func (o *OCRResult) GetDataOk() (*string, bool)

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

func (o *OCRResult) GetType() string

GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).

func (*OCRResult) GetTypeOk

func (o *OCRResult) 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 (*OCRResult) HasData

func (o *OCRResult) HasData() bool

HasData returns a boolean if a field has been set.

func (*OCRResult) HasType

func (o *OCRResult) HasType() bool

HasType returns a boolean if a field has been set.

func (OCRResult) MarshalJSON

func (o OCRResult) MarshalJSON() ([]byte, error)

func (*OCRResult) SetData

func (o *OCRResult) SetData(v string)

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

func (o *OCRResult) SetType(v string)

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

func (OCRResult) ToMap

func (o OCRResult) ToMap() (map[string]interface{}, error)

func (*OCRResult) UnsetData

func (o *OCRResult) UnsetData()

UnsetData ensures that no value is present for Data, not even an explicit nil

func (*OCRResult) UnsetType

func (o *OCRResult) UnsetType()

UnsetType ensures that no value is present for Type, not even 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

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

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

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

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

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

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

SetDsrMode gets a reference to the given DsrMode and assigns it to the DsrMode field.

func (*OCRSettingsRecognizeAndParseInvoice) SetLanguage

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

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

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

type PostUpsamplingFileRequest struct {
	File **os.File `json:"file,omitempty"`
}

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

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

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

Execute executes the request

@return OCRResponse

func (*RecognizeAndParseInvoiceApiService) PostRecognizeAndParseInvoice

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

Execute executes the request

@return string

type RecognizeImageApiService

type RecognizeImageApiService service

RecognizeImageApiService RecognizeImageApi service

func (*RecognizeImageApiService) CancelRecognizeImage

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

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

Execute executes the request

@return OCRResponse

func (*RecognizeImageApiService) PostRecognizeImage

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

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

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

Execute executes the request

@return OCRResponse

func (*RecognizeImageTrialApiService) PostRecognizeImageTrial

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

Execute executes the request

@return string

type RecognizeLabelApiService

type RecognizeLabelApiService service

RecognizeLabelApiService RecognizeLabelApi service

func (*RecognizeLabelApiService) CancelRecognizeLabel

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

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

Execute executes the request

@return OCRResponse

func (*RecognizeLabelApiService) PostRecognizeLabel

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

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

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

Execute executes the request

@return OCRResponse

func (*RecognizePdfApiService) PostRecognizePdf

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

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

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

Execute executes the request

@return OCRResponse

func (*RecognizeReceiptApiService) PostRecognizeReceipt

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

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

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

Execute executes the request

@return OCRResponse

func (*RecognizeRegionsApiService) PostRecognizeRegions

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

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

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

Execute executes the request

@return OCRResponse

func (*RecognizeTableApiService) PostRecognizeTable

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

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

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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) GetText

func (o *TTSBody) GetText() string

GetText returns the Text field value

func (*TTSBody) GetTextOk

func (o *TTSBody) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.

func (TTSBody) MarshalJSON

func (o TTSBody) MarshalJSON() ([]byte, error)

func (*TTSBody) SetSettings

func (o *TTSBody) SetSettings(v TTSSettings)

SetSettings sets field value

func (*TTSBody) SetText

func (o *TTSBody) SetText(v string)

SetText sets field value

func (TTSBody) ToMap

func (o TTSBody) ToMap() (map[string]interface{}, error)

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

func (o *TTSError) GetMessages() []string

GetMessages returns the Messages field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TTSError) GetMessagesOk

func (o *TTSError) GetMessagesOk() ([]string, bool)

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

func (o *TTSError) GetWarnings() []string

GetWarnings returns the Warnings field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TTSError) GetWarningsOk

func (o *TTSError) GetWarningsOk() ([]string, bool)

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

func (o *TTSError) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (*TTSError) HasWarnings

func (o *TTSError) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (TTSError) MarshalJSON

func (o TTSError) MarshalJSON() ([]byte, error)

func (*TTSError) SetMessages

func (o *TTSError) SetMessages(v []string)

SetMessages gets a reference to the given []string and assigns it to the Messages field.

func (*TTSError) SetWarnings

func (o *TTSError) SetWarnings(v []string)

SetWarnings gets a reference to the given []string and assigns it to the Warnings field.

func (TTSError) ToMap

func (o TTSError) ToMap() (map[string]interface{}, error)

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

func (o *TTSResult) GetData() string

GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TTSResult) GetDataOk

func (o *TTSResult) GetDataOk() (*string, bool)

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

func (o *TTSResult) GetType() string

GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TTSResult) GetTypeOk

func (o *TTSResult) 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 (*TTSResult) HasData

func (o *TTSResult) HasData() bool

HasData returns a boolean if a field has been set.

func (*TTSResult) HasType

func (o *TTSResult) HasType() bool

HasType returns a boolean if a field has been set.

func (TTSResult) MarshalJSON

func (o TTSResult) MarshalJSON() ([]byte, error)

func (*TTSResult) SetData

func (o *TTSResult) SetData(v string)

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

func (o *TTSResult) SetType(v string)

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

func (TTSResult) ToMap

func (o TTSResult) ToMap() (map[string]interface{}, error)

func (*TTSResult) UnsetData

func (o *TTSResult) UnsetData()

UnsetData ensures that no value is present for Data, not even an explicit nil

func (*TTSResult) UnsetType

func (o *TTSResult) UnsetType()

UnsetType ensures that no value is present for Type, not even 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

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

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

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

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

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

Execute executes the request

@return OCRResponse

func (*UpscaleImageApiService) PostUpscaleImage

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL