BaseAnnotationParameters
in package
AbstractYes
Base parameters for annotation operations.
Tags
Table of Contents
Properties
- $documentId : string
- $responseClass : TAnnotationResponse>
Methods
- __construct() : mixed
- getRequestParameters() : array<string, mixed>
- Gets the request parameters for the upload request.
- getResponseClass() : TAnnotationResponse>
- Gets the response class associated with the parameters.
Properties
$documentId read-only
public
string
$documentId
$responseClass
protected
static TAnnotationResponse>
$responseClass
Response class.
Methods
__construct()
public
__construct(string $documentId) : mixed
Parameters
- $documentId : string
-
UUID of the annotated document.
getRequestParameters()
Gets the request parameters for the upload request.
public
abstract getRequestParameters() : array<string, mixed>
Return values
array<string, mixed> —Request parameters.
getResponseClass()
Gets the response class associated with the parameters.
public
getResponseClass() : TAnnotationResponse>
Return values
TAnnotationResponse> —Response class.