SwiftenumMusicKitInternal
enum MusicKit.Playlist.Collaborator.Role
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.CaseIterable
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 7
- case
case collaborator - case
case host - func
convertToCloudRole() -> MusicKit.CloudPlaylist.Collaborator.Role? - func
convertToLegacyModelRawValue() -> Int - init
init(legacyModelRawValue: Int) -> MusicKit.Playlist.Collaborator.Role? - typealias
typealias AllCases = Swift.Array<(extension in MusicKitInternal):MusicKit.Playlist.Collaborator.Role> - typealias
typealias LegacyModelRawValue = Swift.Int
Header
enum MusicKit.Playlist.Collaborator.Role { enum CodingKeys { case host case collaborator } enum HostCodingKeys {} enum CollaboratorCodingKeys {} case host case collaborator init?(legacyModelRawValue: Swift.Int) func convertToCloudRole() -> MusicKit.CloudPlaylist.Collaborator.Role? func convertToLegacyModelRawValue() -> Swift.Int }