public override int GetHashCode() { int hash = 1; if (reservation_ != null) { hash ^= Reservation.GetHashCode(); } if (BookingId.Length != 0) { hash ^= BookingId.GetHashCode(); } if (dateRangePrior_ != null) { hash ^= DateRangePrior.GetHashCode(); } if (roomTypePrior_ != null) { hash ^= RoomTypePrior.GetHashCode(); } if (NumberAdultsPrior != 0) { hash ^= NumberAdultsPrior.GetHashCode(); } if (NumberChildrenPrior != 0) { hash ^= NumberChildrenPrior.GetHashCode(); } if (priceEstimatePrior_ != null) { hash ^= PriceEstimatePrior.GetHashCode(); } if (dateRangeLatter_ != null) { hash ^= DateRangeLatter.GetHashCode(); } if (roomTypeLatter_ != null) { hash ^= RoomTypeLatter.GetHashCode(); } if (NumberAdultsLatter != 0) { hash ^= NumberAdultsLatter.GetHashCode(); } if (NumberChildrenLatter != 0) { hash ^= NumberChildrenLatter.GetHashCode(); } if (priceEstimateLatter_ != null) { hash ^= PriceEstimateLatter.GetHashCode(); } hash ^= tagsPrior_.GetHashCode(); hash ^= tagsLatter_.GetHashCode(); return(hash); }