Class GeneratedVideo
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
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a GeneratedVideo object.
public static GeneratedVideo? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- GeneratedVideo
The deserialized GeneratedVideo object, or null if deserialization fails.