VideoStatusResult
Namespace: Vercel.AI.Operations
public sealed class VideoStatusResultResult of doStatus.
Inheritance: object
Constructors
Section titled “Constructors”VideoStatusResult(string, IReadOnlyList<VideoOutput>?, string?, IReadOnlyList<OperationWarning>?, JsonElement?, ProviderResponse?)
Section titled “VideoStatusResult(string, IReadOnlyList<VideoOutput>?, string?, IReadOnlyList<OperationWarning>?, JsonElement?, ProviderResponse?)”public VideoStatusResult(string status, IReadOnlyList<VideoOutput>? videos = null, string? error = null, IReadOnlyList<OperationWarning>? warnings = null, JsonElement? providerMetadata = null, ProviderResponse? response = null)Creates a status result.
Parameters
| Name | Type | Description |
|---|---|---|
status |
string | |
videos |
IReadOnlyList<VideoOutput> | |
error |
string | |
warnings |
IReadOnlyList<OperationWarning> | |
providerMetadata |
JsonElement? | |
response |
ProviderResponse |
Properties
Section titled “Properties”public string? Error { get; }Error text when Status is error.
Value: string
ProviderMetadata
Section titled “ProviderMetadata”public JsonElement? ProviderMetadata { get; }Provider metadata.
Value: JsonElement?
Response
Section titled “Response”public ProviderResponse Response { get; }Response metadata.
Value: ProviderResponse
Status
Section titled “Status”public string Status { get; }pending, completed, or error.
Value: string
Videos
Section titled “Videos”public IReadOnlyList<VideoOutput> Videos { get; }Videos when completed.
Value: IReadOnlyList<VideoOutput>
Warnings
Section titled “Warnings”public IReadOnlyList<OperationWarning> Warnings { get; }Warnings.
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product