Manos Chorianopoulos

update PacingDetails model

...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>1</integer> 10 + <integer>0</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>0</integer> 10 + <integer>1</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -3928,12 +3928,16 @@ public class swiftApi { ...@@ -3928,12 +3928,16 @@ public class swiftApi {
3928 private var steps: PacingInner 3928 private var steps: PacingInner
3929 private var meters: PacingInner 3929 private var meters: PacingInner
3930 private var enabled: Bool 3930 private var enabled: Bool
3931 + private var goal_reached: Bool
3932 + private var msg: String
3931 3933
3932 3934
3933 public init() { 3935 public init() {
3934 self.steps = PacingInner() 3936 self.steps = PacingInner()
3935 self.meters = PacingInner() 3937 self.meters = PacingInner()
3936 self.enabled = false 3938 self.enabled = false
3939 + self.goal_reached = false
3940 + self.msg = ""
3937 } 3941 }
3938 3942
3939 public init(dictionary: [String: Any]) { 3943 public init(dictionary: [String: Any]) {
...@@ -3943,6 +3947,8 @@ public class swiftApi { ...@@ -3943,6 +3947,8 @@ public class swiftApi {
3943 self.steps = PacingInner(dictionary: pacingDataSteps) 3947 self.steps = PacingInner(dictionary: pacingDataSteps)
3944 self.meters = PacingInner(dictionary: pacingDataMeters) 3948 self.meters = PacingInner(dictionary: pacingDataMeters)
3945 self.enabled = (dictionary["enabled"] as? Bool ?? false) 3949 self.enabled = (dictionary["enabled"] as? Bool ?? false)
3950 + self.goal_reached = (dictionary["goal_reached"] as? Bool ?? false)
3951 + self.msg = (dictionary["msg"] as? String ?? "")
3946 } 3952 }
3947 3953
3948 public var _steps: PacingInner { 3954 public var _steps: PacingInner {
...@@ -3971,6 +3977,24 @@ public class swiftApi { ...@@ -3971,6 +3977,24 @@ public class swiftApi {
3971 self.enabled = newValue 3977 self.enabled = newValue
3972 } 3978 }
3973 } 3979 }
3980 +
3981 + public var _goal_reached: Bool {
3982 + get { // getter
3983 + return self.goal_reached
3984 + }
3985 + set(newValue) { //setter
3986 + self.goal_reached = newValue
3987 + }
3988 + }
3989 +
3990 + public var _msg: Bool {
3991 + get { // getter
3992 + return self.msg
3993 + }
3994 + set(newValue) { //setter
3995 + self.msg = newValue
3996 + }
3997 + }
3974 } 3998 }
3975 3999
3976 4000
......