Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-07-01 11:42:57 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fec87841aecd92d4765c932f7100660424dfde8a
fec87841
1 parent
f9e0e0eb
add Pacing models
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
151 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
fec8784
...
...
@@ -2169,5 +2169,156 @@ public class swiftApi {
return
GlobalVariables
.
seasonalList
}
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
}
}
}
}
...
...
Please
register
or
login
to post a comment