Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This file was generated from JSON Schema using quicktype, do not modify it directly.
- // To parse the JSON, add this file to your project and do:
- //
- // let bookShareModel = try? newJSONDecoder().decode(BookShareModel.self, from: jsonData)
- import Foundation
- // MARK: - BookShareModel
- struct BookShareModel: Codable {
- let realFactor, dolarFactor, euroFactor: Double
- let shares: [Share]
- }
- // MARK: - Share
- struct Share: Codable {
- let titleReal: String
- let titleDolar, titleEuro: String?
- let factor: String
- let bars, type, nationality, assetClass: [AssetClass]
- let dolarReal, euroReal: String?
- }
- // MARK: - AssetClass
- struct AssetClass: Codable {
- let value: Double
- let label: String
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement