Skip to content

VideoStatusResult

Namespace: Vercel.AI.Operations

public sealed class VideoStatusResult

Result of doStatus.

Inheritance: object

View source

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

View source

public string? Error { get; }

Error text when Status is error.

Value: string

View source

public JsonElement? ProviderMetadata { get; }

Provider metadata.

Value: JsonElement?

View source

public ProviderResponse Response { get; }

Response metadata.

Value: ProviderResponse

View source

public string Status { get; }

pending, completed, or error.

Value: string

View source

public IReadOnlyList<VideoOutput> Videos { get; }

Videos when completed.

Value: IReadOnlyList<VideoOutput>

View source

public IReadOnlyList<OperationWarning> Warnings { get; }

Warnings.

Value: IReadOnlyList<OperationWarning>

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product