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
typeThe type of the time range match.
ruleThe rule to use for the time range match.
valueThe time range value to match.
unitsThe unit to use for the time range match.
MatchTimeRange Structure Reference