PCFCountry

public struct PCFCountry: Country, Decodable

PCFCountry model.

  • The id or code for the region.

    Declaration

    Swift

    public let resourceId: String
  • The display name of the region.

    Declaration

    Swift

    public let name: String
  • The display name of the region.

    Declaration

    Swift

    public init?(json: JSON)

    Parameters

    json

    JSON representation of object.

    Return Value

    New instance when JSON parsing successful, false otherwise.