public OpenWeather(OpenWeather weather) { this._id = weather.Id; this.Name = weather.Name; this.Cod = weather.Cod; this.Base = weather.Base; this.Visibility = weather.Visibility; this.Dt = weather.Dt; this.Coord = weather.Coord; this.Weather = weather.Weather; this.Main = weather.Main; this.Wind = weather.Wind; this.City = weather.City; this.Clouds = weather.Clouds; this.Sys = weather.Sys; }
public OpenWeather(int id, string name, int cod, string @base, string visibility, string dt, Coord coord, List <Weather> weather, Main main, Wind wind, Clouds clouds, City city, Sys sys, Dictionary <string, string> countries) { this._id = id; this.Name = name; this.Cod = cod; this.Base = @base; this.Visibility = visibility; this.Dt = dt; this.Coord = coord; this.Weather = weather; this.Main = main; this.Wind = wind; this.City = city; this.Clouds = clouds; this.Sys = sys; this.Countries = countries; }