Logo
Explore Help
Sign In
rock-n-code/amiibo-service
1
0
Fork 0
You've already forked amiibo-service
Code Issues 1 Pull Requests Releases 8 Wiki Activity
amiibo-service/Sources/Models/LastUpdated.swift

14 lines
226 B
Swift
Raw Normal View History

[Feature] Models of the service (#1) 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: https://repo.rock-n-code.com/rock-n-code/amiibo-service/pulls/1
2023-04-18 18:37:08 +00:00
import Foundation
public struct LastUpdated {
public let timestamp: Date
}
// MARK: - Decodable
extension LastUpdated: Decodable {
enum CodingKeys: String, CodingKey {
case timestamp = "lastUpdated"
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 51ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API