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-06 11:17:08 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e3de82cff65e39657027a02d547590a5b97ec9bd
e3de82cf
1 parent
5872b034
update PacingDetails model
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
e3de82c
...
...
@@ -2422,11 +2422,13 @@ public class swiftApi {
public
class
PacingDetails
{
private
var
steps
:
PacingInner
private
var
meters
:
PacingInner
private
var
enabled
:
Bool
public
init
()
{
self
.
steps
=
PacingInner
()
self
.
meters
=
PacingInner
()
self
.
enabled
=
false
}
public
init
(
dictionary
:
[
String
:
Any
])
{
...
...
@@ -2435,6 +2437,7 @@ public class swiftApi {
self
.
steps
=
PacingInner
(
dictionary
:
pacingDataSteps
)
self
.
meters
=
PacingInner
(
dictionary
:
pacingDataMeters
)
self
.
enabled
=
(
dictionary
[
"enabled"
]
as?
Bool
??
false
)
}
public
var
_steps
:
PacingInner
{
...
...
@@ -2454,6 +2457,15 @@ public class swiftApi {
self
.
meters
=
newValue
}
}
public
var
_enabled
:
Bool
{
get
{
// getter
return
self
.
enabled
}
set
(
newValue
)
{
//setter
self
.
enabled
=
newValue
}
}
}
...
...
Please
register
or
login
to post a comment