Split Json data models coming from REST Api, from the Database models storing them in a SQLite database. Work to re-engineer endpoints to use Database objects, and copy/update data from the json objects. More work is needed.
18 lines
No EOL
635 B
C#
18 lines
No EOL
635 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace FreeTubeSync.Model.Json;
|
|
|
|
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
|
public class VideoJson
|
|
{
|
|
public string videoId { get; set; } = string.Empty;
|
|
public string title { get; set; } = string.Empty;
|
|
public string author { get; set; } = string.Empty;
|
|
public string authorId { get; set; } = string.Empty;
|
|
public string lengthSeconds { get; set; } = string.Empty;
|
|
public long pubished { get; set; }
|
|
public long timeAdded { get; set; }
|
|
public string playlistItemId { get; set; } = string.Empty;
|
|
public string type { get; set; } = string.Empty;
|
|
|
|
} |