Manos Chorianopoulos

fix PacingDetailsInner value type

......@@ -4244,8 +4244,8 @@ public class swiftApi {
public class PacingDetailsInner {
private var goal: Float
private var value: Float
private var goal: Double
private var value: Double
private var per_day: Array<PacingDetailsDay>
public init() {
......@@ -4256,8 +4256,8 @@ public class swiftApi {
}
public init(dictionary: [String: Any]) {
self.goal = dictionary["goal"] as? Float ?? 0.0
self.value = dictionary["value"] as? Float ?? 0.0
self.goal = dictionary["goal"] as? Double ?? 0.0
self.value = dictionary["value"] as? Double ?? 0.0
if let perDay = dictionary["per_day"] as? [[String: Any]] {
var tempPerDayArray: Array<PacingDetailsDay> = []
......@@ -4271,7 +4271,7 @@ public class swiftApi {
}
}
public var _goal: Float {
public var _goal: Double {
get { // getter
return self.goal
}
......@@ -4280,7 +4280,7 @@ public class swiftApi {
}
}
public var _value: Float {
public var _value: Double {
get { // getter
return self.value
}
......