public override int GetHashCode()
        {
            int hash = 1;

            if (reservationId_ != null)
            {
                hash ^= ReservationId.GetHashCode();
            }
            if (MasterFolioStatus != 0)
            {
                hash ^= MasterFolioStatus.GetHashCode();
            }
            if (masterFolio_ != null)
            {
                hash ^= MasterFolio.GetHashCode();
            }
            hash ^= clientFolios_.GetHashCode();
            if (GuaranteeStatus != 0)
            {
                hash ^= GuaranteeStatus.GetHashCode();
            }
            if (guaranteeDueOn_ != null)
            {
                hash ^= GuaranteeDueOn.GetHashCode();
            }
            if (hostProperty_ != null)
            {
                hash ^= HostProperty.GetHashCode();
            }
            if (MasterFolioState != 0)
            {
                hash ^= MasterFolioState.GetHashCode();
            }
            hash ^= clientFolioReservations_.GetHashCode();
            if (masterDateRange_ != null)
            {
                hash ^= MasterDateRange.GetHashCode();
            }
            return(hash);
        }
 public void MergeFrom(ReservationFolioSummary other)
 {
     if (other == null)
     {
         return;
     }
     if (other.reservationId_ != null)
     {
         if (reservationId_ == null)
         {
             reservationId_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         ReservationId.MergeFrom(other.ReservationId);
     }
     if (other.MasterFolioStatus != 0)
     {
         MasterFolioStatus = other.MasterFolioStatus;
     }
     if (other.masterFolio_ != null)
     {
         if (masterFolio_ == null)
         {
             masterFolio_ = new global::HOLMS.Types.Folio.FolioIndicator();
         }
         MasterFolio.MergeFrom(other.MasterFolio);
     }
     clientFolios_.Add(other.clientFolios_);
     if (other.GuaranteeStatus != 0)
     {
         GuaranteeStatus = other.GuaranteeStatus;
     }
     if (other.guaranteeDueOn_ != null)
     {
         if (guaranteeDueOn_ == null)
         {
             guaranteeDueOn_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         GuaranteeDueOn.MergeFrom(other.GuaranteeDueOn);
     }
     if (other.hostProperty_ != null)
     {
         if (hostProperty_ == null)
         {
             hostProperty_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator();
         }
         HostProperty.MergeFrom(other.HostProperty);
     }
     if (other.MasterFolioState != 0)
     {
         MasterFolioState = other.MasterFolioState;
     }
     clientFolioReservations_.Add(other.clientFolioReservations_);
     if (other.masterDateRange_ != null)
     {
         if (masterDateRange_ == null)
         {
             masterDateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         MasterDateRange.MergeFrom(other.MasterDateRange);
     }
 }