// // Playlist.swift // Music Tools // // Created by Andy Pack on 16/02/2020. // Copyright © 2020 Sarsoo. All rights reserved. // import UIKit class Playlist: Identifiable { //MARK: Properties var name: String var uri: String var username: String var include_recommendations: Bool var recommendation_sample: Int var include_library_tracks: Bool var parts: Array var playlist_references: Array var shuffle: Bool //MARK: Initialization init(name: String, uri: String, username: String, include_recommendations: Bool, recommendation_sample: Int, include_library_tracks: Bool, parts: Array, playlist_references: Array, shuffle: Bool){ self.name = name self.uri = uri self.username = username self.include_recommendations = include_recommendations self.recommendation_sample = recommendation_sample self.include_library_tracks = include_library_tracks self.parts = parts self.playlist_references = playlist_references self.shuffle = shuffle } }