Attributes
public class Attributes : APIModel
Undocumented
-
Undocumented
Declaration
Swift
public var observedPois: [ID]
-
PRN describing the push token. E.g. FCM token.
Declaration
Swift
public var pushToken: String
-
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.Declaration
Swift
public var conditions: Conditions?
-
Time of subscription creation (iso8601 without time zone)
Declaration
Swift
public var createdAt: DateTime?
-
Time when the subscription will expire, must not be more then 60 days in the future (iso8601 without time zone)
Declaration
Swift
public var expiresAt: DateTime?
-
Time of LocationBasedApp last update (iso8601 without time zone)
Declaration
Swift
public var updatedAt: DateTime?
-
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
See morefuelPrice < 1.3 && fuelType == "diesel"
. For or conditions use multiple subscriptions.Declaration
Swift
public class Conditions : APIModel
-
Undocumented
Declaration
Swift
public init(observedPois: [ID], pushToken: String, conditions: Conditions? = nil, createdAt: DateTime? = nil, expiresAt: DateTime? = nil, updatedAt: DateTime? = nil)
-
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: Attributes, rhs: Attributes) -> Bool