Manos Chorianopoulos

add LoyaltySDKFirebaseEventModel

......@@ -1041,4 +1041,46 @@ public class swiftApi {
}
}
public class LoyaltySDKFirebaseEventModel {
private var eventName: String
private var parameters: [String: String]
public init() {
self.eventName = ""
self.parameters = [String: String]()
}
public var _eventName: String {
get { // getter
return self.eventName
}
set(newValue) { //setter
self.eventName = newValue
}
}
public var _parameters: [String: String] {
get { // getter
return self.parameters
}
set(newValue) { //setter
self.parameters = newValue
}
}
public var setParameter: (key: String, value: String) {
@available(*, unavailable)
get {
// fatalError("You cannot read from this object.")
return (key: "", value: "")
}
set(newValue) { //setter
self.parameters.updateValue(newValue.1, forKey: newValue.0)
}
}
}
}
......