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-09-14 15:47:10 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5bf29770dcaa4fa4e512ca2f65ae51c11483e297
5bf29770
1 parent
d7a9eab0
add title key at PacingDetails model
Hide 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 @
5bf2977
...
...
@@ -3965,6 +3965,7 @@ public class swiftApi {
private
var
meters
:
PacingInner
private
var
enabled
:
Bool
private
var
goal_reached
:
Bool
private
var
title
:
String
private
var
msg
:
String
private
var
shortcut_enabled
:
Bool
...
...
@@ -3974,6 +3975,7 @@ public class swiftApi {
self
.
meters
=
PacingInner
()
self
.
enabled
=
false
self
.
goal_reached
=
false
self
.
title
=
""
self
.
msg
=
""
self
.
shortcut_enabled
=
false
}
...
...
@@ -3986,6 +3988,7 @@ public class swiftApi {
self
.
meters
=
PacingInner
(
dictionary
:
pacingDataMeters
)
self
.
enabled
=
(
dictionary
[
"enabled"
]
as?
Bool
??
false
)
self
.
goal_reached
=
(
dictionary
[
"goal_reached"
]
as?
Bool
??
false
)
self
.
title
=
(
dictionary
[
"title"
]
as?
String
??
""
)
self
.
msg
=
(
dictionary
[
"msg"
]
as?
String
??
""
)
self
.
shortcut_enabled
=
(
dictionary
[
"shortcut_enabled"
]
as?
Bool
??
false
)
}
...
...
@@ -4026,6 +4029,15 @@ public class swiftApi {
}
}
public
var
_title
:
String
{
get
{
// getter
return
self
.
title
}
set
(
newValue
)
{
//setter
self
.
title
=
newValue
}
}
public
var
_msg
:
String
{
get
{
// getter
return
self
.
msg
...
...
Please
register
or
login
to post a comment