mirror of
https://github.com/metatube-community/jellyfin-plugin-metatube.git
synced 2026-07-17 12:01:41 +08:00
getter & setter
This commit is contained in:
@@ -4,36 +4,36 @@ namespace Jellyfin.Plugin.JavTube.Models;
|
||||
|
||||
public class ActorSearchResult
|
||||
{
|
||||
[JsonPropertyName("homepage")] public string Homepage;
|
||||
[JsonPropertyName("homepage")] public string Homepage { get; set; }
|
||||
|
||||
[JsonPropertyName("id")] public string Id;
|
||||
[JsonPropertyName("id")] public string Id { get; set; }
|
||||
|
||||
[JsonPropertyName("images")] public string[] Images;
|
||||
[JsonPropertyName("images")] public string[] Images { get; set; }
|
||||
|
||||
[JsonPropertyName("name")] public string Name;
|
||||
[JsonPropertyName("name")] public string Name { get; set; }
|
||||
|
||||
[JsonPropertyName("provider")] public string Provider;
|
||||
[JsonPropertyName("provider")] public string Provider { get; set; }
|
||||
}
|
||||
|
||||
public class ActorMetadata : ActorSearchResult
|
||||
{
|
||||
[JsonPropertyName("aliases")] public string[] Aliases;
|
||||
[JsonPropertyName("aliases")] public string[] Aliases { get; set; }
|
||||
|
||||
[JsonPropertyName("birthday")] public DateTime? Birthday;
|
||||
[JsonPropertyName("birthday")] public DateTime? Birthday { get; set; }
|
||||
|
||||
[JsonPropertyName("blood_type")] public string BloodType;
|
||||
[JsonPropertyName("blood_type")] public string BloodType { get; set; }
|
||||
|
||||
[JsonPropertyName("cup_size")] public string CupSize;
|
||||
[JsonPropertyName("cup_size")] public string CupSize { get; set; }
|
||||
|
||||
[JsonPropertyName("debut_date")] public DateTime? DebutDate;
|
||||
[JsonPropertyName("debut_date")] public DateTime DebutDate { get; set; }
|
||||
|
||||
[JsonPropertyName("height")] public int Height;
|
||||
[JsonPropertyName("height")] public int Height { get; set; }
|
||||
|
||||
[JsonPropertyName("hobby")] public string Hobby;
|
||||
[JsonPropertyName("hobby")] public string Hobby { get; set; }
|
||||
|
||||
[JsonPropertyName("measurements")] public string Measurements;
|
||||
[JsonPropertyName("measurements")] public string Measurements { get; set; }
|
||||
|
||||
[JsonPropertyName("nationality")] public string Nationality;
|
||||
[JsonPropertyName("nationality")] public string Nationality { get; set; }
|
||||
|
||||
[JsonPropertyName("summary")] public string Summary;
|
||||
[JsonPropertyName("summary")] public string Summary { get; set; }
|
||||
}
|
||||
@@ -4,52 +4,52 @@ namespace Jellyfin.Plugin.JavTube.Models;
|
||||
|
||||
public class MovieSearchResult
|
||||
{
|
||||
[JsonPropertyName("cover_url")] public string CoverUrl;
|
||||
[JsonPropertyName("cover_url")] public string CoverUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("homepage")] public string Homepage;
|
||||
[JsonPropertyName("homepage")] public string Homepage { get; set; }
|
||||
|
||||
[JsonPropertyName("id")] public string Id;
|
||||
[JsonPropertyName("id")] public string Id { get; set; }
|
||||
|
||||
[JsonPropertyName("number")] public string Number;
|
||||
[JsonPropertyName("number")] public string Number { get; set; }
|
||||
|
||||
[JsonPropertyName("provider")] public string Provider;
|
||||
[JsonPropertyName("provider")] public string Provider { get; set; }
|
||||
|
||||
[JsonPropertyName("release_date")] public DateTime ReleaseDate;
|
||||
[JsonPropertyName("release_date")] public DateTime ReleaseDate { get; set; }
|
||||
|
||||
[JsonPropertyName("score")] public float Score;
|
||||
[JsonPropertyName("score")] public float Score { get; set; }
|
||||
|
||||
[JsonPropertyName("thumb_url")] public string ThumbUrl;
|
||||
[JsonPropertyName("thumb_url")] public string ThumbUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("title")] public string Title;
|
||||
[JsonPropertyName("title")] public string Title { get; set; }
|
||||
}
|
||||
|
||||
public class MovieMetadata : MovieSearchResult
|
||||
{
|
||||
[JsonPropertyName("actors")] public string[] Actors;
|
||||
[JsonPropertyName("actors")] public string[] Actors { get; set; }
|
||||
|
||||
[JsonPropertyName("big_cover_url")] public string BigCoverUrl;
|
||||
[JsonPropertyName("big_cover_url")] public string BigCoverUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("big_thumb_url")] public string BigThumbUrl;
|
||||
[JsonPropertyName("big_thumb_url")] public string BigThumbUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("director")] public string Director;
|
||||
[JsonPropertyName("director")] public string Director { get; set; }
|
||||
|
||||
[JsonPropertyName("maker")] public string Maker;
|
||||
[JsonPropertyName("maker")] public string Maker { get; set; }
|
||||
|
||||
[JsonPropertyName("preview_images")] public string[] PreviewImages;
|
||||
[JsonPropertyName("preview_images")] public string[] PreviewImages { get; set; }
|
||||
|
||||
[JsonPropertyName("preview_video_hls_url")]
|
||||
public string PreviewVideoHlsUrl;
|
||||
public string PreviewVideoHlsUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("preview_video_url")]
|
||||
public string PreviewVideoUrl;
|
||||
public string PreviewVideoUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("publisher")] public string Publisher;
|
||||
[JsonPropertyName("publisher")] public string Publisher { get; set; }
|
||||
|
||||
[JsonPropertyName("runtime")] public int Runtime;
|
||||
[JsonPropertyName("runtime")] public int Runtime { get; set; }
|
||||
|
||||
[JsonPropertyName("series")] public string Series;
|
||||
[JsonPropertyName("series")] public string Series { get; set; }
|
||||
|
||||
[JsonPropertyName("summary")] public string Summary;
|
||||
[JsonPropertyName("summary")] public string Summary { get; set; }
|
||||
|
||||
[JsonPropertyName("tags")] public string[] Tags;
|
||||
[JsonPropertyName("tags")] public string[] Tags { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user