Attributes
public struct Attributes : Codable
A root object that stores information about a single genre, such as the genre’s name, color, and symbol.
-
The slug of the resource.
Declaration
Swift
public let slug: String
-
The name of the genre.
Declaration
Swift
public let name: String
-
The description of the genre.
Declaration
Swift
public let description: String?
-
The first background color of the genre.
Declaration
Swift
public let backgroundColor1: String
-
The second background color of the genre.
Declaration
Swift
public let backgroundColor2: String
-
The first text color of the genre.
Declaration
Swift
public let textColor1: String
-
The second text color of the genre.
Declaration
Swift
public let textColor2: String
-
The media object of the symbol of the genre.
Declaration
Swift
public let symbol: Media?
-
Whether the genre is Not Safe For Work.
Declaration
Swift
public let isNSFW: Bool