Conditions
public class Conditions : APIModel
Optional conditions to reduce the number of notifications to the device. For a notification to be fired, all conditions need to be true.
The example reads as fuelPrice < 1.3 && fuelType == "diesel"
. For or conditions use multiple subscriptions.
-
Condition on the fuelPrice of a gas station.
Declaration
Swift
public var fuelPrice: FuelPrice?
-
Condition on the fuelType of a gas station
Declaration
Swift
public var fuelType: FuelType?
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Undocumented
Declaration
Swift
public func isEqual(to object: Any?) -> Bool
-
Declaration
Swift
public static func == (lhs: Conditions, rhs: Conditions) -> Bool