Written the documentation for the LastUpdated model.

This commit is contained in:
Javier Cicchelli 2023-04-23 14:29:36 +02:00
parent e5f7e4ba84
commit 5dbf310f92

View File

@ -1,7 +1,13 @@
import Foundation import Foundation
/// This model represents the latest date when the remote API has been updated.
public struct LastUpdated { public struct LastUpdated {
// MARK: Properties
/// The date of the latest update of the remote API.
public let timestamp: Date public let timestamp: Date
} }
// MARK: - Decodable // MARK: - Decodable