public void MergeFrom(ReservationCancellationNotification other) { if (other == null) { return; } if (other.JWToken.Length != 0) { JWToken = other.JWToken; } if (other.reservation_ != null) { if (reservation_ == null) { reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } Reservation.MergeFrom(other.Reservation); } if (other.guestId_ != null) { if (guestId_ == null) { guestId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } GuestId.MergeFrom(other.GuestId); } if (other.penalty_ != null) { if (penalty_ == null) { penalty_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } Penalty.MergeFrom(other.Penalty); } if (other.DaysBeforeReservationStart != 0) { DaysBeforeReservationStart = other.DaysBeforeReservationStart; } if (other.RequestingParty.Length != 0) { RequestingParty = other.RequestingParty; } }