Class Video
A generated video.
public record Video : IEquatable<Video>
- Inheritance
-
Video
- Implements
- Inherited Members
Properties
MimeType
Video encoding, for example video/mp4.
[JsonPropertyName("mimeType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? MimeType { get; set; }
Property Value
Uri
Path to another storage.
[JsonPropertyName("uri")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Uri { get; set; }
Property Value
VideoBytes
Video bytes.
[JsonPropertyName("videoBytes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public byte[]? VideoBytes { get; set; }
Property Value
- byte[]
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a Video object.
public static Video? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- Video
The deserialized Video object, or null if deserialization fails.