ObjectExtendedInfo

public struct ObjectExtendedInfo: ResourceExtendedInfo

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

  • Characters related to the object.

    Declaration

    Swift

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

    Declaration

    Swift

    public fileprivate(set) var companies: [CompanyResource]?
  • Concepts related to the object.

    Declaration

    Swift

    public fileprivate(set) var concepts: [ConceptResource]?
  • Franchises related to the object.

    Declaration

    Swift

    public fileprivate(set) var franchises: [FranchiseResource]?
  • Games the object has appeared in.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public fileprivate(set) var people: [PersonResource]?
  • Used to create a ObjectExtendedInfo 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])