Game
public class Game : IdentityResource, Hashable
A root object that stores information about a game resource.
-
Declaration
Swift
public let id: String
-
Declaration
Swift
public let type: String
-
Declaration
Swift
public let href: String
-
The attributes belonging to the game.
Declaration
Swift
public var attributes: Game.Attributes
-
The relationships belonging to the game.
Declaration
Swift
public let relationships: Game.Relationships?
-
Declaration
Swift
public static func == (lhs: Game, rhs: Game) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
A root object that stores information about a single game, such as the game’s title, episode count, and air date.
See moreDeclaration
Swift
public struct Attributes : Codable
-
A root object that stores information about game relationships, such as the studios, and cast that belong to it.
See moreDeclaration
Swift
public struct Relationships : Codable