Manos Chorianopoulos

fix PacingDetailsInner value type

...@@ -4244,8 +4244,8 @@ public class swiftApi { ...@@ -4244,8 +4244,8 @@ public class swiftApi {
4244 4244
4245 4245
4246 public class PacingDetailsInner { 4246 public class PacingDetailsInner {
4247 - private var goal: Float 4247 + private var goal: Double
4248 - private var value: Float 4248 + private var value: Double
4249 private var per_day: Array<PacingDetailsDay> 4249 private var per_day: Array<PacingDetailsDay>
4250 4250
4251 public init() { 4251 public init() {
...@@ -4256,8 +4256,8 @@ public class swiftApi { ...@@ -4256,8 +4256,8 @@ public class swiftApi {
4256 } 4256 }
4257 4257
4258 public init(dictionary: [String: Any]) { 4258 public init(dictionary: [String: Any]) {
4259 - self.goal = dictionary["goal"] as? Float ?? 0.0 4259 + self.goal = dictionary["goal"] as? Double ?? 0.0
4260 - self.value = dictionary["value"] as? Float ?? 0.0 4260 + self.value = dictionary["value"] as? Double ?? 0.0
4261 4261
4262 if let perDay = dictionary["per_day"] as? [[String: Any]] { 4262 if let perDay = dictionary["per_day"] as? [[String: Any]] {
4263 var tempPerDayArray: Array<PacingDetailsDay> = [] 4263 var tempPerDayArray: Array<PacingDetailsDay> = []
...@@ -4271,7 +4271,7 @@ public class swiftApi { ...@@ -4271,7 +4271,7 @@ public class swiftApi {
4271 } 4271 }
4272 } 4272 }
4273 4273
4274 - public var _goal: Float { 4274 + public var _goal: Double {
4275 get { // getter 4275 get { // getter
4276 return self.goal 4276 return self.goal
4277 } 4277 }
...@@ -4280,7 +4280,7 @@ public class swiftApi { ...@@ -4280,7 +4280,7 @@ public class swiftApi {
4280 } 4280 }
4281 } 4281 }
4282 4282
4283 - public var _value: Float { 4283 + public var _value: Double {
4284 get { // getter 4284 get { // getter
4285 return self.value 4285 return self.value
4286 } 4286 }
......