CharacterExtendedInfo

public struct CharacterExtendedInfo: ResourceExtendedInfo

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

  • Concepts related to the character.

    Declaration

    Swift

    public fileprivate(set) var concepts: [ConceptResource]?
  • Enemies of the character.

    Declaration

    Swift

    public fileprivate(set) var enemies: [CharacterResource]?
  • Franchises related to the character.

    Declaration

    Swift

    public fileprivate(set) var franchises: [FranchiseResource]?
  • Friends of the character.

    Declaration

    Swift

    public fileprivate(set) var friends: [CharacterResource]?
  • Games the character has appeared in.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

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