WaitTime
public struct WaitTime : Decodable, Equatable
WaitTime structure returns when loading VirtualService.getEstimatedWaitTime
-
Date at UTC of when the estimated time was generated. Estimates are cached and updated at various intervals.
Declaration
Swift
public var generatedAt: Date -
Estimated wait time in seconds of the practice region, or when in the virtual visit waiting room.
Declaration
Swift
public var estimatedWaitTimeSeconds: Int -
Message that is shown in the waiting room.
Declaration
Swift
public var estimatedWaitTimeMessage: String? -
Information that allows localization of estimated wait time
Declaration
Swift
public var waitTimeLocalizationInfo: WaitTimeLocalizationInfo? -
An internal decoder to handle dates.
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub
Install in Dash