// // ApiModel.swift // Bremer // // Created by yhornisse on 2023/08/05. // struct AudioApiResponse: Codable { var audioList: [Audio] } struct Audio: Codable { var name: String var slug: String var artist: String? var album: String? var sequence: Int? var aliasNames: [String]? var localPath: String } struct AllPlaylistApiResponse: Codable { var playlist: [Playlist] } struct Playlist: Codable { var name: String var slug: String } struct PlaylistApiResponse: Codable { var name: String var slug: String var audioList: [Audio] } struct TagRequest: Codable { var name: String } struct TagAudioRequest: Codable { var audioSlugs: [String] } struct Tag: Codable { var name: String var slug: String } struct AllTagsApiResponse: Codable { var tags: [Tag] } struct TagApiResponse: Codable { var name: String var slug: String var audioList: [Audio] } struct PlaylistRequest: Codable { var name: String } struct PlaylistAudioRequest: Codable { var audioSlugs: [String] } struct AudioRequest : Codable { var name: String var artist: String var album: String }