Tranga-Website/Tranga/Publication.cs
2023-05-18 19:04:34 +02:00

32 lines
1.1 KiB
C#

namespace Tranga;
public struct Publication
{
public string sortName { get; }
public string[,] altTitles { get; }
public string? description { get; }
public string[] tags { get; }
public string? posterUrl { get; }
public string[,]? links { get; }
public int? year { get; }
public string? originalLanguage { get; }
public string status { get; }
public Connector connector { get; }
public string downloadUrl { get; }
public Publication(string sortName, string? description, string[,] altTitles, string[] tags, string? posterUrl, string[,]? links, int? year, string? originalLanguage, string status, Connector connector, string downloadUrl)
{
this.sortName = sortName;
this.description = description;
this.altTitles = altTitles;
this.tags = tags;
this.posterUrl = posterUrl;
this.links = links;
this.year = year;
this.originalLanguage = originalLanguage;
this.status = status;
this.connector = connector;
this.downloadUrl = downloadUrl;
}
}