Manos Chorianopoulos

add Pacing models

......@@ -2170,4 +2170,155 @@ public class swiftApi {
}
public class PacingDetails {
private var steps: PacingInner
private var meters: PacingDetailsInner
public init() {
self.steps = PacingInner()
self.meters = PacingDetailsInner()
}
public var _steps: PacingInner {
get { // getter
return self.steps
}
set(newValue) { //setter
self.steps = newValue
}
}
public var _meters: PacingDetailsInner {
get { // getter
return self.meters
}
set(newValue) { //setter
self.meters = newValue
}
}
}
public class PacingInner {
private var total: PacingDetailsInner
private var month: PacingDetailsInner
private var week: PacingDetailsInner
private var day: PacingDetailsInner
public init() {
self.total = PacingDetailsInner()
self.month = PacingDetailsInner()
self.week = PacingDetailsInner()
self.day = PacingDetailsInner()
}
public var _total: PacingDetailsInner {
get { // getter
return self.total
}
set(newValue) { //setter
self.total = newValue
}
}
public var _month: PacingDetailsInner {
get { // getter
return self.month
}
set(newValue) { //setter
self.month = newValue
}
}
public var _week: PacingDetailsInner {
get { // getter
return self.week
}
set(newValue) { //setter
self.week = newValue
}
}
public var _day: PacingDetailsInner {
get { // getter
return self.day
}
set(newValue) { //setter
self.day = newValue
}
}
}
public class PacingDetailsInner {
private var goal: Float
private var value: Float
private var per_day: Array<PacingDetailsDay>
public init() {
self.goal = 0.0
self.value = 0.0
self.per_day = []
}
public var _goal: Float {
get { // getter
return self.goal
}
set(newValue) { //setter
self.goal = newValue
}
}
public var _value: Float {
get { // getter
return self.value
}
set(newValue) { //setter
self.value = newValue
}
}
public var _per_day: Array<PacingDetailsDay> {
get { // getter
return self.per_day
}
set(newValue) { //setter
self.per_day = newValue
}
}
}
public class PacingDetailsDay {
private var day: String
private var value: Double
public init() {
self.day = ""
self.value = 0.0
}
public var _day: String {
get { // getter
return self.day
}
set(newValue) { //setter
self.day = newValue
}
}
public var _value: Double {
get { // getter
return self.value
}
set(newValue) { //setter
self.value = newValue
}
}
}
}
......