/// <summary> /// Initializes a new instance of the <see cref="GeocodingLocation" /> class. /// </summary> /// <param name="Point">Point.</param> /// <param name="OsmId">OSM Id.</param> /// <param name="OsmType">N = node, R = relation, W = way.</param> /// <param name="OsmKey">The osm key of the result like `place` or `amenity`.</param> /// <param name="Name">Name.</param> /// <param name="Country">Country.</param> /// <param name="City">City.</param> /// <param name="State">State.</param> /// <param name="Street">Street.</param> /// <param name="Housenumber">Housenumber.</param> /// <param name="Postcode">Postcode.</param> public GeocodingLocation(GeocodingPoint Point = default(GeocodingPoint), string OsmId = default(string), string OsmType = default(string), string OsmKey = default(string), string Name = default(string), string Country = default(string), string City = default(string), string State = default(string), string Street = default(string), string Housenumber = default(string), string Postcode = default(string)) { this.Point = Point; this.OsmId = OsmId; this.OsmType = OsmType; this.OsmKey = OsmKey; this.Name = Name; this.Country = Country; this.City = City; this.State = State; this.Street = Street; this.Housenumber = Housenumber; this.Postcode = Postcode; }
/// <summary> /// Initializes a new instance of the <see cref="GeocodingLocation" /> class. /// </summary> /// <param name="point">point.</param> /// <param name="osmId">The OSM ID of the entity.</param> /// <param name="osmType">N = node, R = relation, W = way.</param> /// <param name="osmKey">The OSM key of the entity.</param> /// <param name="name">The name of the entity. Can be a boundary, POI, address, etc.</param> /// <param name="country">The country of the address.</param> /// <param name="city">The city of the address.</param> /// <param name="state">The state of the address.</param> /// <param name="street">The street of the address.</param> /// <param name="housenumber">The housenumber of the address.</param> /// <param name="postcode">The postcode of the address.</param> public GeocodingLocation(GeocodingPoint point = default(GeocodingPoint), string osmId = default(string), string osmType = default(string), string osmKey = default(string), string name = default(string), string country = default(string), string city = default(string), string state = default(string), string street = default(string), string housenumber = default(string), string postcode = default(string)) { this.Point = point; this.OsmId = osmId; this.OsmType = osmType; this.OsmKey = osmKey; this.Name = name; this.Country = country; this.City = city; this.State = state; this.Street = street; this.Housenumber = housenumber; this.Postcode = postcode; }