public void MergeFrom(UnassignedBookingHolds other)
 {
     if (other == null)
     {
         return;
     }
     if (other.eventBookingHold_ != null)
     {
         if (eventBookingHold_ == null)
         {
             eventBookingHold_ = new global::HOLMS.Types.Supply.EventBookingHoldIndicator();
         }
         EventBookingHold.MergeFrom(other.EventBookingHold);
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     if (other.roomType_ != null)
     {
         if (roomType_ == null)
         {
             roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
         }
         RoomType.MergeFrom(other.RoomType);
     }
     if (other.reservationId_ != null)
     {
         if (reservationId_ == null)
         {
             reservationId_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         ReservationId.MergeFrom(other.ReservationId);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (eventBookingHold_ != null)
            {
                hash ^= EventBookingHold.GetHashCode();
            }
            if (dateRange_ != null)
            {
                hash ^= DateRange.GetHashCode();
            }
            if (roomType_ != null)
            {
                hash ^= RoomType.GetHashCode();
            }
            if (reservationId_ != null)
            {
                hash ^= ReservationId.GetHashCode();
            }
            return(hash);
        }