Manos Chorianopoulos

update PacingDetails model

......@@ -7,7 +7,7 @@
<key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
</dict>
</dict>
......
......@@ -7,7 +7,7 @@
<key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
</dict>
</dict>
......
......@@ -3928,12 +3928,16 @@ public class swiftApi {
private var steps: PacingInner
private var meters: PacingInner
private var enabled: Bool
private var goal_reached: Bool
private var msg: String
public init() {
self.steps = PacingInner()
self.meters = PacingInner()
self.enabled = false
self.goal_reached = false
self.msg = ""
}
public init(dictionary: [String: Any]) {
......@@ -3943,6 +3947,8 @@ public class swiftApi {
self.steps = PacingInner(dictionary: pacingDataSteps)
self.meters = PacingInner(dictionary: pacingDataMeters)
self.enabled = (dictionary["enabled"] as? Bool ?? false)
self.goal_reached = (dictionary["goal_reached"] as? Bool ?? false)
self.msg = (dictionary["msg"] as? String ?? "")
}
public var _steps: PacingInner {
......@@ -3971,6 +3977,24 @@ public class swiftApi {
self.enabled = newValue
}
}
public var _goal_reached: Bool {
get { // getter
return self.goal_reached
}
set(newValue) { //setter
self.goal_reached = newValue
}
}
public var _msg: Bool {
get { // getter
return self.msg
}
set(newValue) { //setter
self.msg = newValue
}
}
}
......