You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.8 KiB
62 lines
1.8 KiB
3 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Threading.Tasks;
|
||
|
|
||
|
namespace Teso_API.Models
|
||
|
{
|
||
|
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
|
||
|
public class Track
|
||
|
{
|
||
|
public string type { get; set; }
|
||
|
public int max_width { get; set; }
|
||
|
public int max_height { get; set; }
|
||
|
public int max_frame_rate { get; set; }
|
||
|
public string id { get; set; }
|
||
|
public double duration { get; set; }
|
||
|
public int? max_channels { get; set; }
|
||
|
public string max_channel_layout { get; set; }
|
||
|
}
|
||
|
|
||
|
public class File
|
||
|
{
|
||
|
public int width { get; set; }
|
||
|
public string name { get; set; }
|
||
|
public int height { get; set; }
|
||
|
public int filesize { get; set; }
|
||
|
public string ext { get; set; }
|
||
|
public int bitrate { get; set; }
|
||
|
}
|
||
|
|
||
|
public class StaticRenditions
|
||
|
{
|
||
|
public string status { get; set; }
|
||
|
public List<File> files { get; set; }
|
||
|
}
|
||
|
|
||
|
public class PlaybackId
|
||
|
{
|
||
|
public string policy { get; set; }
|
||
|
public string id { get; set; }
|
||
|
}
|
||
|
|
||
|
public class PostRenditions
|
||
|
{
|
||
|
public string upload_id { get; set; }
|
||
|
public List<Track> tracks { get; set; }
|
||
|
public string status { get; set; }
|
||
|
public StaticRenditions static_renditions { get; set; }
|
||
|
public List<PlaybackId> playback_ids { get; set; }
|
||
|
public string mp4_support { get; set; }
|
||
|
public string max_stored_resolution { get; set; }
|
||
|
public int max_stored_frame_rate { get; set; }
|
||
|
public string master_access { get; set; }
|
||
|
public string id { get; set; }
|
||
|
public double duration { get; set; }
|
||
|
public int created_at { get; set; }
|
||
|
public string aspect_ratio { get; set; }
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|