Manos Chorianopoulos

add title key at PacingDetails model

......@@ -3965,6 +3965,7 @@ public class swiftApi {
private var meters: PacingInner
private var enabled: Bool
private var goal_reached: Bool
private var title: String
private var msg: String
private var shortcut_enabled: Bool
......@@ -3974,6 +3975,7 @@ public class swiftApi {
self.meters = PacingInner()
self.enabled = false
self.goal_reached = false
self.title = ""
self.msg = ""
self.shortcut_enabled = false
}
......@@ -3986,6 +3988,7 @@ public class swiftApi {
self.meters = PacingInner(dictionary: pacingDataMeters)
self.enabled = (dictionary["enabled"] as? Bool ?? false)
self.goal_reached = (dictionary["goal_reached"] as? Bool ?? false)
self.title = (dictionary["title"] as? String ?? "")
self.msg = (dictionary["msg"] as? String ?? "")
self.shortcut_enabled = (dictionary["shortcut_enabled"] as? Bool ?? false)
}
......@@ -4026,6 +4029,15 @@ public class swiftApi {
}
}
public var _title: String {
get { // getter
return self.title
}
set(newValue) { //setter
self.title = newValue
}
}
public var _msg: String {
get { // getter
return self.msg
......