CacheExpires helper function to determine remaining time before repeating a request.
IsNil checks if an input is nil.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewConfiguration returns a new Configuration object.
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.
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.
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.
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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
PtrBool is a helper routine that returns a pointer to given boolean value.
PtrFloat32 is a helper routine that returns a pointer to given float value.
PtrFloat64 is a helper routine that returns a pointer to given float value.
PtrInt is a helper routine that returns a pointer to given integer value.
PtrInt32 is a helper routine that returns a pointer to given integer value.
PtrInt64 is a helper routine that returns a pointer to given integer value.
PtrString is a helper routine that returns a pointer to given string value.
PtrTime is helper routine that returns a pointer to given Time value.