Written the documentation for the Usage model.
This commit is contained in:
parent
9523750e48
commit
7a6d65a290
@ -1,6 +1,14 @@
|
|||||||
|
/// This model struct represents how an amiibo is used with a particular game, when requested to the respective [remote API endpoint](https://www.amiiboapi.com/docs/#showUsage).
|
||||||
public struct Usage {
|
public struct Usage {
|
||||||
|
|
||||||
|
// MARK: Properties
|
||||||
|
|
||||||
|
/// The explanation on how an amiibo is being used with a particular game.
|
||||||
public let explanation: String
|
public let explanation: String
|
||||||
|
|
||||||
|
/// A flag that indicates whether an amiibo is only read-only or the game can also write information to the amiibo.
|
||||||
public let isWritable: Bool
|
public let isWritable: Bool
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Decodable
|
// MARK: - Decodable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user