module:model/Country

module:model/Country

new module:model/Country()

Source:

Constructs a new Country.

Members

(inner) isoCode :String

Source:
Type:
  • String

(inner) name :String

Source:
Type:
  • String

(inner) provinces :Array.<module:model/Province>

Source:
Type:

(inner) provinceValidated :String

Source:
Type:
  • String

Methods

(static) constructFromObject(data, obj) → {module:model/Country}

Source:

Constructs a Country from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:model/Country

Optional instance to populate.

Returns:

The populated Country instance.

Type
module:model/Country