SwiftstructAdaptiveMusic

struct AdaptiveMusic.Resource

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 5

  1. fieldlet attributes: A?
  2. fieldvar href: Foundation.URL?
  3. fieldvar id: String+0x0
  4. fieldvar relationships: [String : AdaptiveMusic.Relationships]?
  5. fieldvar type: String
struct Resource<A> where A: AdaptiveMusic.Attributes {
    enum CodingKeys {
        case id
        case href
        case type
        case attributes
        case relationships
    }
    var id: Swift.String
    var href: Foundation.URL?
    var type: Swift.String
    let attributes: A?
    var relationships: [Swift.String : AdaptiveMusic.Relationships]?
}