Attributes
public struct Attributes : Codable
A root object that stores information about a single literature, such as the literature’s title, episode count, and air date.
-
The AniDB id of the literature.
Declaration
Swift
public let anidbID: Int?
-
The AniList id of the literature.
Declaration
Swift
public let anilistID: Int?
-
The Anime-Planet id of the literature.
Declaration
Swift
public let animePlanetID: String?
-
The AnimeSearch id of the literature.
Declaration
Swift
public let anisearchID: Int?
-
The Kitsu id of the literature.
Declaration
Swift
public let kitsuID: Int?
-
The MyAnimeList id of the literature.
Declaration
Swift
public let malID: Int?
-
The slug of the literature.
Declaration
Swift
public let slug: String
-
The media object of the poster of the literature.
Declaration
Swift
public let poster: Media?
-
The media object of the banner of the literature.
Declaration
Swift
public let banner: Media?
-
The media object of the logo of the literature.
Declaration
Swift
public let logo: Media?
-
The original title in the original language of the literature.
Declaration
Swift
public let originalTitle: String?
-
The localized title of the literature.
Declaration
Swift
public let title: String
-
The synonym titles of the literature.
Declaration
Swift
public let synonymTitles: [String]?
-
The localized tagline of the literature.
Declaration
Swift
public let tagline: String?
-
The localized synopsis of the literature.
Declaration
Swift
public let synopsis: String?
-
The genres of the literature.
Declaration
Swift
public let genres: [String]?
-
The themes of the literature.
Declaration
Swift
public let themes: [String]?
-
The studio of the literature.
Declaration
Swift
public let studio: String?
-
The languages of the literature.
Declaration
Swift
public let languages: [Language]
-
The tv rating of the literature.
Declaration
Swift
public let tvRating: TVRating
-
The type of the literature.
Declaration
Swift
public let type: MediaType
-
The adaptation source of the literature.
Declaration
Swift
public let source: AdaptationSource
-
The airing status of the literature.
Declaration
Swift
public let status: AiringStatus
-
The number of volumes in the literature.
Declaration
Swift
public let volumeCount: Int
-
The number of chapters in the literature.
Declaration
Swift
public let chapterCount: Int
-
The number of pages in the literature.
Declaration
Swift
public let pageCount: Int
-
The stats of the literature.
Declaration
Swift
public let stats: MediaStat?
-
The first publication date of the literature.
Declaration
Swift
public let startedAt: Date?
-
The last publication date of the literature.
Declaration
Swift
public let endedAt: Date?
-
The duration of the literature.
Declaration
Swift
public let duration: String
-
The calculated total duration of the literature.
Declaration
Swift
public let durationTotal: String
-
The season the literature has published in.
Declaration
Swift
public let publicationSeason: String?
-
The time the literature has published at in UTC.
Declaration
Swift
public let publicationTime: String?
-
The day the literature has published on.
Declaration
Swift
public let publicationDay: String?
-
Whether the literature is Not Safe For Work.
Declaration
Swift
public let isNSFW: Bool
-
The copyright text of the literature.
Declaration
Swift
public let copyright: String?
-
The library attributes of the literature.
Declaration
Swift
public var library: LibraryAttributes?