Table of Contents

Class GeneratedVideo

Namespace
Google.GenAI.Types
Assembly
Google.GenAI.dll

A generated video.

public record GeneratedVideo : IEquatable<GeneratedVideo>
Inheritance
GeneratedVideo
Implements
Inherited Members

Properties

Video

The output video

[JsonPropertyName("video")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Video? Video { get; set; }

Property Value

Video

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a GeneratedVideo object.

public static GeneratedVideo? FromJson(string jsonString, JsonSerializerOptions? options = null)

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

GeneratedVideo

The deserialized GeneratedVideo object, or null if deserialization fails.