MatchTimeRange
public struct MatchTimeRange : XMLRepresentable
Undocumented
-
Specifies the possible units that can be used in a time range match.
Declaration
Swift
public enum Unit : String, Codable
-
A Boolean value indicating whether the time range match is enabled.
Declaration
Swift
public var isEnabled: Bool { get set }
-
The type of the time range match.
Declaration
Swift
public var type: TimeMatchType
-
The rule to use for the time range match.
Declaration
Swift
public var rule: Rule
-
The time range value to match.
Declaration
Swift
public var value: String
-
The unit to use for the time range match.
Declaration
Swift
public var units: MatchTimeRange.Unit?
-
Initializes a new time range match.
Declaration
Swift
public init(type: TimeMatchType, rule: Rule, value: String, units: Unit? = nil)
Parameters
type
The type of the time range match.
rule
The rule to use for the time range match.
value
The time range value to match.
units
The unit to use for the time range match.