Granularity
public struct Granularity : RawRepresentable, Codable
The units used to describe the expected interval between subsequent measurements for a time series collection.
-
Declaration
Swift
public static let seconds: TimeseriesOptions.Granularity
-
Declaration
Swift
public static let minutes: TimeseriesOptions.Granularity
-
Declaration
Swift
public static let hours: TimeseriesOptions.Granularity
-
For an unknown value. For forwards compatibility, no error will be thrown when an unknown value is provided.
Declaration
Swift
public static func other(_ value: String) -> Granularity
-
Declaration
Swift
public var rawValue: String
-
Declaration
Swift
public init?(rawValue: String)