/// <summary> /// Returns true if GeocodingResponse instances are equal /// </summary> /// <param name="input">Instance of GeocodingResponse to be compared</param> /// <returns>Boolean</returns> public bool Equals(GeocodingResponse input) { if (input == null) { return(false); } return (( Hits == input.Hits || Hits != null && Hits.SequenceEqual(input.Hits) ) && ( Locale == input.Locale || (Locale != null && Locale.Equals(input.Locale)) )); }