forked from sim0n00ps/OF-DL
19 lines
482 B
C#
19 lines
482 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace OF_DL.Models.Dtos.Common;
|
|
|
|
public class SourceDto
|
|
{
|
|
[JsonProperty("url")] public string Url { get; set; } = "";
|
|
|
|
[JsonProperty("width")] public int Width { get; set; }
|
|
|
|
[JsonProperty("height")] public int Height { get; set; }
|
|
|
|
[JsonProperty("duration")] public int Duration { get; set; }
|
|
|
|
[JsonProperty("size")] public long Size { get; set; }
|
|
|
|
[JsonProperty("sources")] public SourcesDto Sources { get; set; } = new();
|
|
}
|