FranchiseExtendedInfo

public struct FranchiseExtendedInfo: ResourceExtendedInfo

Struct containing extended information for FranchiseResources. To retrieve, call fetchExtendedInfo(_:) upon the original resource then access the data on the resource’s extendedInfo property.

  • Characters related to the franchise.

    Declaration

    Swift

    public fileprivate(set) var characters: [CharacterResource]?
  • Concepts related to the franchise.

    Declaration

    Swift

    public fileprivate(set) var concepts: [ConceptResource]?
  • Games the franchise has appeared in.

    Declaration

    Swift

    public fileprivate(set) var games: [GameResource]?
  • Locations related to the franchise.

    Declaration

    Swift

    public fileprivate(set) var locations: [LocationResource]?
  • Objects related to the franchise.

    Declaration

    Swift

    public fileprivate(set) var objects: [ObjectResource]?
  • People who have worked with the franchise.

    Declaration

    Swift

    public fileprivate(set) var people: [PersonResource]?
  • Used to create a FranchiseExtendedInfo from JSON.

    Declaration

    Swift

    public init(json: [String : AnyObject])
  • A method used for updating structs. Usually after further requests for more field data.

    Declaration

    Swift

    public mutating func update(_ json: [String : AnyObject])