public void MergeFrom(ItemHoldDropRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.item_ != null)
     {
         if (item_ == null)
         {
             item_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator();
         }
         Item.MergeFrom(other.Item);
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     if (other.associatedLodgingReservation_ != null)
     {
         if (associatedLodgingReservation_ == null)
         {
             associatedLodgingReservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         AssociatedLodgingReservation.MergeFrom(other.AssociatedLodgingReservation);
     }
     if (other.DropQuantity != 0)
     {
         DropQuantity = other.DropQuantity;
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (item_ != null)
            {
                hash ^= Item.GetHashCode();
            }
            if (dateRange_ != null)
            {
                hash ^= DateRange.GetHashCode();
            }
            if (associatedLodgingReservation_ != null)
            {
                hash ^= AssociatedLodgingReservation.GetHashCode();
            }
            if (DropQuantity != 0)
            {
                hash ^= DropQuantity.GetHashCode();
            }
            return(hash);
        }