Class GenerateVideosResponse
Response with generated videos.
public record GenerateVideosResponse : IEquatable<GenerateVideosResponse>
- Inheritance
-
GenerateVideosResponse
- Implements
- Inherited Members
Properties
GeneratedVideos
List of the generated videos
[JsonPropertyName("generatedVideos")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<GeneratedVideo>? GeneratedVideos { get; set; }
Property Value
RaiMediaFilteredCount
Returns if any videos were filtered due to RAI policies.
[JsonPropertyName("raiMediaFilteredCount")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? RaiMediaFilteredCount { get; set; }
Property Value
- int?
RaiMediaFilteredReasons
Returns rai failure reasons if any.
[JsonPropertyName("raiMediaFilteredReasons")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<string>? RaiMediaFilteredReasons { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a GenerateVideosResponse object.
public static GenerateVideosResponse? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- GenerateVideosResponse
The deserialized GenerateVideosResponse object, or null if deserialization fails.