aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Providers/Books/ComicBookInfo/Models/ComicBookInfoMetadata.cs
blob: 42e1b3d4f6ccc88cbc4e2ab996484229b0b260c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace MediaBrowser.Providers.Books.ComicBookInfo.Models;

/// <summary>
/// ComicBookInfo metadata.
/// </summary>
public class ComicBookInfoMetadata
{
    /// <summary>
    /// Gets or sets the series.
    /// </summary>
    [JsonPropertyName("series")]
    public string? Series { get; set; }

    /// <summary>
    /// Gets or sets the title.
    /// </summary>
    [JsonPropertyName("title")]
    public string? Title { get; set; }

    /// <summary>
    /// Gets or sets the publisher.
    /// </summary>
    [JsonPropertyName("publisher")]
    public string? Publisher { get; set; }

    /// <summary>
    /// Gets or sets the publication month.
    /// </summary>
    [JsonPropertyName("publicationMonth")]
    public int? PublicationMonth { get; set; }

    /// <summary>
    /// Gets or sets the publication year.
    /// </summary>
    [JsonPropertyName("publicationYear")]
    public int? PublicationYear { get; set; }

    /// <summary>
    /// Gets or sets the issue number.
    /// </summary>
    [JsonPropertyName("issue")]
    public int? Issue { get; set; }

    /// <summary>
    /// Gets or sets the number of issues.
    /// </summary>
    [JsonPropertyName("numberOfIssues")]
    public int? NumberOfIssues { get; set; }

    /// <summary>
    /// Gets or sets the volume number.
    /// </summary>
    [JsonPropertyName("volume")]
    public int? Volume { get; set; }

    /// <summary>
    /// Gets or sets the number of volumes.
    /// </summary>
    [JsonPropertyName("numberOfVolumes")]
    public int? NumberOfVolumes { get; set; }

    /// <summary>
    /// Gets or sets the rating.
    /// </summary>
    [JsonPropertyName("rating")]
    public int? Rating { get; set; }

    /// <summary>
    /// Gets or sets the genre.
    /// </summary>
    [JsonPropertyName("genre")]
    public string? Genre { get; set; }

    /// <summary>
    /// Gets or sets the language.
    /// </summary>
    [JsonPropertyName("language")]
    public string? Language { get; set; }

    /// <summary>
    /// Gets or sets the country.
    /// </summary>
    [JsonPropertyName("country")]
    public string? Country { get; set; }

    /// <summary>
    /// Gets or sets the list of credits.
    /// </summary>
    [JsonPropertyName("credits")]
    public IReadOnlyList<ComicBookInfoCredit> Credits { get; set; } = Array.Empty<ComicBookInfoCredit>();

    /// <summary>
    /// Gets or sets the list of tags.
    /// </summary>
    [JsonPropertyName("tags")]
    public IReadOnlyList<string> Tags { get; set; } = Array.Empty<string>();

    /// <summary>
    /// Gets or sets the comments.
    /// </summary>
    [JsonPropertyName("comments")]
    public string? Comments { get; set; }
}