This PR contains the implementation of all the models used by this service: `Amiibo`, `Amiibo.Game`, `Amiibo.Release`, `Amiibo.Usage`, `KeyName` and `LastUpdated`. Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Reviewed-on: #1
19 lines
458 B
Swift
19 lines
458 B
Swift
public struct Amiibo {
|
|
public let type: String
|
|
public let head: String
|
|
public let tail: String
|
|
public let name: String
|
|
public let character: String
|
|
public let amiiboSeries: String
|
|
public let gameSeries: String
|
|
public let image: String
|
|
public let release: Release
|
|
public let games3DS: [Game]?
|
|
public let gamesWiiU: [Game]?
|
|
public let gamesSwitch: [Game]?
|
|
}
|
|
|
|
// MARK: - Decodable
|
|
|
|
extension Amiibo: Decodable {}
|