/// <summary>
 /// Initializes a new instance of the <see cref="AbstractCountryResponse"/> class.
 /// </summary>
 public AbstractCountryResponse(Continent continent = null, Country country = null, Model.MaxMind maxMind = null, Country registeredCountry = null, RepresentedCountry representedCountry = null, Traits traits = null)
 {
     Continent = continent ?? new Continent();
     Country = country ?? new Country();
     MaxMind = maxMind ?? new Model.MaxMind();
     RegisteredCountry = registeredCountry ?? new Country();
     RepresentedCountry = representedCountry ?? new RepresentedCountry();
     Traits = traits ?? new Traits();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AbstractCountryResponse"/> class.
 /// </summary>
 public AbstractCountryResponse()
 {
     Continent = new Continent();
     Country = new Country();
     MaxMind = new Model.MaxMind();
     RegisteredCountry = new Country();
     RepresentedCountry = new RepresentedCountry();
     Traits = new Traits();
 }
 /// <summary>
 /// Constructor
 /// </summary>
 public CityIspOrgResponse(
     City city = null,
     Continent continent = null,
     Country country = null, Location location = null,
     Model.MaxMind maxMind = null,
     Postal postal = null,
     Country registeredCountry = null,
     RepresentedCountry representedCountry = null,
     List<Subdivision> subdivisions = null,
     Traits traits = null)
     : base(city, continent, country, location, maxMind, postal, registeredCountry, representedCountry, subdivisions, traits)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AbstractCityResponse"/> class.
 /// </summary>
 public AbstractCityResponse(
     City city = null, 
     Continent continent = null, 
     Country country = null,
     Location location = null,
     Model.MaxMind maxMind = null,
     Postal postal = null,
     Country registeredCountry = null, 
     RepresentedCountry representedCountry = null,
     List<Subdivision> subdivisions = null,
     Traits traits = null)
     : base(continent, country, maxMind, registeredCountry, representedCountry, traits)
 {
     City = city ?? new City();
     Location = location ?? new Location();
     Postal = postal ?? new Postal();
     Subdivisions = subdivisions ?? new List<Subdivision>();
 }
示例#5
0
 /// <summary>
 ///     Constructor
 /// </summary>
 public CountryResponse(Continent continent = null, Country country = null, Model.MaxMind maxMind = null,
     Country registeredCountry = null, RepresentedCountry representedCountry = null, Traits traits = null)
     : base(continent, country, maxMind, registeredCountry, representedCountry, traits)
 {
 }