ParallelModelModelClient
Class: ParallelModelModelClient
Defined in: shared.ts:5
Manages model resources through the authentication API.
Constructors
Constructor
new ParallelModelModelClient(
transport):ParallelModelModelClient
Defined in: shared.ts:11
Creates a ParallelModelModelClient instance.
Parameters
transport
Shared HTTP transport and authentication context.
Returns
ParallelModelModelClient
Methods
createAsync()
createAsync(
request,timeout?,signal?):Promise<ParallelModelModelResponseModel>
Defined in: shared.ts:20
Creates a model with defaults for type, environment, status, live flag and access types, overridden by the request.
Parameters
request
ParallelModelCreateRequestModel
Typed request payload for the operation.
timeout?
number
HTTP request timeout in milliseconds; omit to use the transport default.
signal?
AbortSignal
Optional abort signal used to cancel local waiting or HTTP requests.
Returns
Promise<ParallelModelModelResponseModel>
The created model resource metadata.
deleteAsync()
deleteAsync(
modelId,timeout?,signal?):Promise<ParallelModelResponse<unknown>>
Defined in: shared.ts:47
Deletes the specified model through the authentication API.
Parameters
modelId
string
UUID of the ParallelModel model that owns the resource.
timeout?
number
HTTP request timeout in milliseconds; omit to use the transport default.
signal?
AbortSignal
Optional abort signal used to cancel local waiting or HTTP requests.
Returns
Promise<ParallelModelResponse<unknown>>
The decoded HTTP response envelope.
getAllAsync()
getAllAsync(
includeDeleted?,timeout?,signal?):Promise<ParallelModelGetAllResponseModel>
Defined in: shared.ts:38
Retrieves model resources, optionally including deleted entries.
Parameters
includeDeleted?
boolean = false
Whether deleted models are included in the response.
timeout?
number
HTTP request timeout in milliseconds; omit to use the transport default.
signal?
AbortSignal
Optional abort signal used to cancel local waiting or HTTP requests.
Returns
Promise<ParallelModelGetAllResponseModel>
The model collection returned by the API.
getAsync()
getAsync(
modelId,timeout?,signal?):Promise<ParallelModelModelResponseModel>
Defined in: shared.ts:29
Retrieves the specified model through the authentication API.
Parameters
modelId
string
UUID of the ParallelModel model that owns the resource.
timeout?
number
HTTP request timeout in milliseconds; omit to use the transport default.
signal?
AbortSignal
Optional abort signal used to cancel local waiting or HTTP requests.
Returns
Promise<ParallelModelModelResponseModel>
The requested model metadata.