2023-05-17 23:23:01 +02:00
|
|
|
|
namespace Tranga;
|
|
|
|
|
|
|
|
|
|
public struct Publication
|
|
|
|
|
{
|
|
|
|
|
public string sortName { get; }
|
2023-05-18 15:47:05 +02:00
|
|
|
|
public string[,] altTitles { get; }
|
|
|
|
|
public string? description { get; }
|
2023-05-17 23:23:01 +02:00
|
|
|
|
public string[] tags { get; }
|
2023-05-18 18:55:11 +02:00
|
|
|
|
public string? posterUrl { get; }
|
2023-05-18 17:21:22 +02:00
|
|
|
|
public string[,]? links { get; }
|
2023-05-18 15:47:05 +02:00
|
|
|
|
public int? year { get; }
|
|
|
|
|
public string? originalLanguage { get; }
|
|
|
|
|
public string status { get; }
|
2023-05-17 23:23:01 +02:00
|
|
|
|
|
2023-05-18 15:47:05 +02:00
|
|
|
|
public Connector connector { get; }
|
|
|
|
|
public string downloadUrl { get; }
|
2023-05-17 23:23:01 +02:00
|
|
|
|
|
2023-05-18 17:21:22 +02:00
|
|
|
|
public Publication(string sortName, string? description, string[,] altTitles, string[] tags, string? posterUrl, string[,]? links, int? year, string? originalLanguage, string status, Connector connector, string downloadUrl)
|
2023-05-17 23:23:01 +02:00
|
|
|
|
{
|
|
|
|
|
this.sortName = sortName;
|
|
|
|
|
this.description = description;
|
2023-05-18 15:47:05 +02:00
|
|
|
|
this.altTitles = altTitles;
|
2023-05-17 23:23:01 +02:00
|
|
|
|
this.tags = tags;
|
|
|
|
|
this.posterUrl = posterUrl;
|
2023-05-18 15:47:05 +02:00
|
|
|
|
this.links = links;
|
|
|
|
|
this.year = year;
|
|
|
|
|
this.originalLanguage = originalLanguage;
|
|
|
|
|
this.status = status;
|
|
|
|
|
this.connector = connector;
|
|
|
|
|
this.downloadUrl = downloadUrl;
|
2023-05-17 23:23:01 +02:00
|
|
|
|
}
|
|
|
|
|
}
|