Documentation

OcrParameters extends BaseProductParameters
in package

Parameters accepted by the asynchronous OCR product endpoint.

Table of Contents

Properties

$alias  : string|null
$modelId  : string
$slug  : string
$webhookIds  : array<string|int, string>

Methods

__construct()  : mixed
getRequestParameters()  : array<string, string>
Gets the request parameters for the enqueue request.

Properties

$slug

public static string $slug = "ocr"

Slug of the product.

Methods

__construct()

public __construct(string $modelId[, string|null $alias = null ][, array<string|int, string>|null $webhookIds = null ]) : mixed
Parameters
$modelId : string

ID of the model.

$alias : string|null = null

Optional file alias.

$webhookIds : array<string|int, string>|null = null

List of webhook IDs.

getRequestParameters()

Gets the request parameters for the enqueue request.

public getRequestParameters() : array<string, string>
Return values
array<string, string>

Request parameters.

On this page

Search results