17 lines
450 B
Swift
17 lines
450 B
Swift
import Foundation
|
|
|
|
public struct Series: MusicBrainzSearchable, Identifiable, Hashable, Equatable {
|
|
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, Hashable, Equatable {
|
|
case id, name, type, disambiguation, score, relations
|
|
}
|
|
}
|