import Foundation
import GenAPI

public struct CountdownResponse: Codable, Equatable {
    public var text: String
    public var timestamp: String

    public init(text: String, timestamp: String) {
        self.text = text
        self.timestamp = timestamp
    }

    init(_ remote: GenAPI.CountdownResponse) {
        self.text = remote.text
        self.timestamp = remote.timestamp
    }
}
