Everything works well and good structure.
This commit is contained in:
16
Sources/MusicBrainz/Models/Series.swift
Normal file
16
Sources/MusicBrainz/Models/Series.swift
Normal file
@@ -0,0 +1,16 @@
|
||||
import Foundation
|
||||
|
||||
public struct Series: MusicBrainzSearchable {
|
||||
public static let entityType: MusicBrainzEntity = .series
|
||||
|
||||
public let id: String
|
||||
public let name: String
|
||||
public let type: String?
|
||||
public let disambiguation: String?
|
||||
public let relations: [Relation]?
|
||||
public let score: Int?
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case id, name, type, disambiguation, score, relations
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user