Manos Chorianopoulos

update PacingDetails model

......@@ -3961,6 +3961,7 @@ public class swiftApi {
private var enabled: Bool
private var goal_reached: Bool
private var msg: String
private var shortcut_enabled: Bool
public init() {
......@@ -3969,6 +3970,7 @@ public class swiftApi {
self.enabled = false
self.goal_reached = false
self.msg = ""
self.shortcut_enabled = false
}
public init(dictionary: [String: Any]) {
......@@ -3980,6 +3982,7 @@ public class swiftApi {
self.enabled = (dictionary["enabled"] as? Bool ?? false)
self.goal_reached = (dictionary["goal_reached"] as? Bool ?? false)
self.msg = (dictionary["msg"] as? String ?? "")
self.shortcut_enabled = (dictionary["shortcut_enabled"] as? Bool ?? false)
}
public var _steps: PacingInner {
......@@ -4026,6 +4029,15 @@ public class swiftApi {
self.msg = newValue
}
}
public var _shortcut_enabled: Bool {
get { // getter
return self.shortcut_enabled
}
set(newValue) { //setter
self.shortcut_enabled = newValue
}
}
}
......