CodingKeys
public enum CodingKeys : String, CodingKey
These are part of the Codable conformance. They are used to mark the various field in the encoder/decoder.
-
The instance ID (UUID)
Declaration
Swift
case id
-
The starting (total) time (Int).
Declaration
Swift
case startingTimeInSeconds
-
The warning threshold time (Int).
Declaration
Swift
case warningTimeInSeconds
-
The final threshold time (Int).
Declaration
Swift
case finalTimeInSeconds
-
The current countdown time (Int).
Declaration
Swift
case currentTime
-
The number of seconds from the actual last start time (TimeInterval).
Declaration
Swift
case startTime
-
The last mode (String).
Declaration
Swift
case lastMode