Showing
1 changed file
with
12 additions
and
0 deletions
... | @@ -3965,6 +3965,7 @@ public class swiftApi { | ... | @@ -3965,6 +3965,7 @@ public class swiftApi { |
3965 | private var meters: PacingInner | 3965 | private var meters: PacingInner |
3966 | private var enabled: Bool | 3966 | private var enabled: Bool |
3967 | private var goal_reached: Bool | 3967 | private var goal_reached: Bool |
3968 | + private var title: String | ||
3968 | private var msg: String | 3969 | private var msg: String |
3969 | private var shortcut_enabled: Bool | 3970 | private var shortcut_enabled: Bool |
3970 | 3971 | ||
... | @@ -3974,6 +3975,7 @@ public class swiftApi { | ... | @@ -3974,6 +3975,7 @@ public class swiftApi { |
3974 | self.meters = PacingInner() | 3975 | self.meters = PacingInner() |
3975 | self.enabled = false | 3976 | self.enabled = false |
3976 | self.goal_reached = false | 3977 | self.goal_reached = false |
3978 | + self.title = "" | ||
3977 | self.msg = "" | 3979 | self.msg = "" |
3978 | self.shortcut_enabled = false | 3980 | self.shortcut_enabled = false |
3979 | } | 3981 | } |
... | @@ -3986,6 +3988,7 @@ public class swiftApi { | ... | @@ -3986,6 +3988,7 @@ public class swiftApi { |
3986 | self.meters = PacingInner(dictionary: pacingDataMeters) | 3988 | self.meters = PacingInner(dictionary: pacingDataMeters) |
3987 | self.enabled = (dictionary["enabled"] as? Bool ?? false) | 3989 | self.enabled = (dictionary["enabled"] as? Bool ?? false) |
3988 | self.goal_reached = (dictionary["goal_reached"] as? Bool ?? false) | 3990 | self.goal_reached = (dictionary["goal_reached"] as? Bool ?? false) |
3991 | + self.title = (dictionary["title"] as? String ?? "") | ||
3989 | self.msg = (dictionary["msg"] as? String ?? "") | 3992 | self.msg = (dictionary["msg"] as? String ?? "") |
3990 | self.shortcut_enabled = (dictionary["shortcut_enabled"] as? Bool ?? false) | 3993 | self.shortcut_enabled = (dictionary["shortcut_enabled"] as? Bool ?? false) |
3991 | } | 3994 | } |
... | @@ -4026,6 +4029,15 @@ public class swiftApi { | ... | @@ -4026,6 +4029,15 @@ public class swiftApi { |
4026 | } | 4029 | } |
4027 | } | 4030 | } |
4028 | 4031 | ||
4032 | + public var _title: String { | ||
4033 | + get { // getter | ||
4034 | + return self.title | ||
4035 | + } | ||
4036 | + set(newValue) { //setter | ||
4037 | + self.title = newValue | ||
4038 | + } | ||
4039 | + } | ||
4040 | + | ||
4029 | public var _msg: String { | 4041 | public var _msg: String { |
4030 | get { // getter | 4042 | get { // getter |
4031 | return self.msg | 4043 | return self.msg | ... | ... |
-
Please register or login to post a comment