14 lines
261 B
Swift
14 lines
261 B
Swift
public struct Usage {
|
|
public let explanation: String
|
|
public let isWritable: Bool
|
|
}
|
|
|
|
// MARK: - Decodable
|
|
|
|
extension Usage: Decodable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case explanation = "Usage"
|
|
case isWritable = "write"
|
|
}
|
|
}
|