amiibo-service/Sources/Models/LastUpdated.swift

14 lines
226 B
Swift
Raw Normal View History

2023-04-18 20:31:06 +02:00
import Foundation
public struct LastUpdated {
public let timestamp: Date
}
// MARK: - Decodable
extension LastUpdated: Decodable {
enum CodingKeys: String, CodingKey {
case timestamp = "lastUpdated"
}
}