14 lines
226 B
Swift
14 lines
226 B
Swift
|
import Foundation
|
||
|
|
||
|
public struct LastUpdated {
|
||
|
public let timestamp: Date
|
||
|
}
|
||
|
|
||
|
// MARK: - Decodable
|
||
|
|
||
|
extension LastUpdated: Decodable {
|
||
|
enum CodingKeys: String, CodingKey {
|
||
|
case timestamp = "lastUpdated"
|
||
|
}
|
||
|
}
|