Showing
2 changed files
with
2 additions
and
2 deletions
No preview for this file type
... | @@ -76,7 +76,7 @@ public class swiftApi { | ... | @@ -76,7 +76,7 @@ public class swiftApi { |
76 | let buyable: Bool? | 76 | let buyable: Bool? |
77 | let visible: Bool? | 77 | let visible: Bool? |
78 | 78 | ||
79 | - init(dictionary: [String: Any]) { | 79 | + public init(dictionary: [String: Any]) { |
80 | self.uuid = dictionary["uuid"] as? String? ?? "" | 80 | self.uuid = dictionary["uuid"] as? String? ?? "" |
81 | self.admin_name = dictionary["admin_name"] as? String? ?? "" | 81 | self.admin_name = dictionary["admin_name"] as? String? ?? "" |
82 | self.name = dictionary["name"] as? String? ?? "" | 82 | self.name = dictionary["name"] as? String? ?? "" |
... | @@ -184,7 +184,7 @@ public class swiftApi { | ... | @@ -184,7 +184,7 @@ public class swiftApi { |
184 | let status: Int? | 184 | let status: Int? |
185 | var couponset_data: CouponSetItemModel? | 185 | var couponset_data: CouponSetItemModel? |
186 | 186 | ||
187 | - init(dictionary: [String: Any]) { | 187 | + public init(dictionary: [String: Any]) { |
188 | self.couponset_uuid = dictionary["couponset_uuid"] as? String? ?? "" | 188 | self.couponset_uuid = dictionary["couponset_uuid"] as? String? ?? "" |
189 | self.name = dictionary["name"] as? String? ?? "" | 189 | self.name = dictionary["name"] as? String? ?? "" |
190 | self.image = dictionary["image"] as? String? ?? "" | 190 | self.image = dictionary["image"] as? String? ?? "" | ... | ... |
-
Please register or login to post a comment