Class GenerateVideosOperation
A video generation operation.
public record GenerateVideosOperation : Operation<GenerateVideosOperation>, IEquatable<Operation<GenerateVideosOperation>>, IEquatable<GenerateVideosOperation>
- Inheritance
-
GenerateVideosOperation
- Implements
- Inherited Members
Properties
Response
The generated videos.
[JsonPropertyName("response")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public GenerateVideosResponse? Response { get; set; }
Property Value
Methods
FromApiResponse(JsonNode, bool)
Creates a new GenerateVideosOperation object from an API response.
public override GenerateVideosOperation? FromApiResponse(JsonNode apiResponse, bool isVertexAI)
Parameters
Returns
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a GenerateVideosOperation object.
public static GenerateVideosOperation? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- GenerateVideosOperation
The deserialized GenerateVideosOperation object, or null if deserialization fails.