Documentation

BaseParameters
in package

AbstractYes

Base parameters for running an inference.

Table of Contents

Properties

$alias  : string|null
$modelId  : string
$pollingOptions  : PollingOptions
$webhooksIds  : array<string|int, string>

Methods

__construct()  : mixed
asHash()  : array<string|int, mixed>

Properties

$webhooksIds

public array<string|int, string> $webhooksIds

Optional webhook IDs.

Methods

__construct()

public __construct(string $modelId, string|null $alias, array<string|int, string>|null $webhooksIds, PollingOptions|null $pollingOptions) : mixed
Parameters
$modelId : string

ID of the model.

$alias : string|null

Optional file alias.

$webhooksIds : array<string|int, string>|null

List of webhook IDs.

$pollingOptions : PollingOptions|null

Polling options.

asHash()

public asHash() : array<string|int, mixed>
Return values
array<string|int, mixed>

Hash representation.


        
On this page

Search results