ResourceExtendedInfo

public protocol ResourceExtendedInfo

A protocol which all resource’s extendedInfo struct types must adhere to.

  • The base init method for parsing the API’s response JSON to a native extended info object.

    Declaration

    Swift

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

    Declaration

    Swift

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