Showing
2 changed files
with
12 additions
and
0 deletions
No preview for this file type
... | @@ -3961,6 +3961,7 @@ public class swiftApi { | ... | @@ -3961,6 +3961,7 @@ public class swiftApi { |
3961 | private var enabled: Bool | 3961 | private var enabled: Bool |
3962 | private var goal_reached: Bool | 3962 | private var goal_reached: Bool |
3963 | private var msg: String | 3963 | private var msg: String |
3964 | + private var shortcut_enabled: Bool | ||
3964 | 3965 | ||
3965 | 3966 | ||
3966 | public init() { | 3967 | public init() { |
... | @@ -3969,6 +3970,7 @@ public class swiftApi { | ... | @@ -3969,6 +3970,7 @@ public class swiftApi { |
3969 | self.enabled = false | 3970 | self.enabled = false |
3970 | self.goal_reached = false | 3971 | self.goal_reached = false |
3971 | self.msg = "" | 3972 | self.msg = "" |
3973 | + self.shortcut_enabled = false | ||
3972 | } | 3974 | } |
3973 | 3975 | ||
3974 | public init(dictionary: [String: Any]) { | 3976 | public init(dictionary: [String: Any]) { |
... | @@ -3980,6 +3982,7 @@ public class swiftApi { | ... | @@ -3980,6 +3982,7 @@ public class swiftApi { |
3980 | self.enabled = (dictionary["enabled"] as? Bool ?? false) | 3982 | self.enabled = (dictionary["enabled"] as? Bool ?? false) |
3981 | self.goal_reached = (dictionary["goal_reached"] as? Bool ?? false) | 3983 | self.goal_reached = (dictionary["goal_reached"] as? Bool ?? false) |
3982 | self.msg = (dictionary["msg"] as? String ?? "") | 3984 | self.msg = (dictionary["msg"] as? String ?? "") |
3985 | + self.shortcut_enabled = (dictionary["shortcut_enabled"] as? Bool ?? false) | ||
3983 | } | 3986 | } |
3984 | 3987 | ||
3985 | public var _steps: PacingInner { | 3988 | public var _steps: PacingInner { |
... | @@ -4026,6 +4029,15 @@ public class swiftApi { | ... | @@ -4026,6 +4029,15 @@ public class swiftApi { |
4026 | self.msg = newValue | 4029 | self.msg = newValue |
4027 | } | 4030 | } |
4028 | } | 4031 | } |
4032 | + | ||
4033 | + public var _shortcut_enabled: Bool { | ||
4034 | + get { // getter | ||
4035 | + return self.shortcut_enabled | ||
4036 | + } | ||
4037 | + set(newValue) { //setter | ||
4038 | + self.shortcut_enabled = newValue | ||
4039 | + } | ||
4040 | + } | ||
4029 | } | 4041 | } |
4030 | 4042 | ||
4031 | 4043 | ... | ... |
-
Please register or login to post a comment