public void MergeFrom(PricingSvcPropertyQueryRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.rateSchedule_ != null)
     {
         if (rateSchedule_ == null)
         {
             rateSchedule_ = new global::HOLMS.Types.Supply.RateScheduleIndicator();
         }
         RateSchedule.MergeFrom(other.RateSchedule);
     }
     if (other.property_ != null)
     {
         if (property_ == null)
         {
             property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator();
         }
         Property.MergeFrom(other.Property);
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
 }
 public void MergeFrom(GroupBookingRoomTypeQuantityUpdated other)
 {
     if (other == null)
     {
         return;
     }
     if (other.JWToken.Length != 0)
     {
         JWToken = other.JWToken;
     }
     if (other.groupBooking_ != null)
     {
         if (groupBooking_ == null)
         {
             groupBooking_ = new global::HOLMS.Types.Booking.Indicators.GroupBookingIndicator();
         }
         GroupBooking.MergeFrom(other.GroupBooking);
     }
     roomTypeQuantities_.Add(other.roomTypeQuantities_);
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     addHoldQuantities_.Add(other.addHoldQuantities_);
 }
Beispiel #3
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (item_ == null)
                    {
                        item_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator();
                    }
                    input.ReadMessage(item_);
                    break;
                }

                case 18: {
                    if (prevDateRange_ == null)
                    {
                        prevDateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
                    }
                    input.ReadMessage(prevDateRange_);
                    break;
                }

                case 24: {
                    PrevRequestedQuantity = input.ReadUInt32();
                    break;
                }

                case 34: {
                    if (newDateRange_ == null)
                    {
                        newDateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
                    }
                    input.ReadMessage(newDateRange_);
                    break;
                }

                case 40: {
                    NewRequestedQuantity = input.ReadUInt32();
                    break;
                }

                case 50: {
                    if (associatedLodgingReservation_ == null)
                    {
                        associatedLodgingReservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
                    }
                    input.ReadMessage(associatedLodgingReservation_);
                    break;
                }
                }
            }
        }
Beispiel #4
0
 public void MergeFrom(FrontDeskOpsdateRangeReportManifest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     if (other.GeneralAvailabilityReport != false)
     {
         GeneralAvailabilityReport = other.GeneralAvailabilityReport;
     }
     if (other.CancelledReservationsReport != false)
     {
         CancelledReservationsReport = other.CancelledReservationsReport;
     }
     if (other.ArrivalReportDaterangeSorting != 0)
     {
         ArrivalReportDaterangeSorting = other.ArrivalReportDaterangeSorting;
     }
     if (other.ArrivalsReportDaterange != false)
     {
         ArrivalsReportDaterange = other.ArrivalsReportDaterange;
     }
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (rateSchedule_ == null)
                    {
                        rateSchedule_ = new global::HOLMS.Types.Supply.RateScheduleIndicator();
                    }
                    input.ReadMessage(rateSchedule_);
                    break;
                }

                case 18: {
                    if (dateRange_ == null)
                    {
                        dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
                    }
                    input.ReadMessage(dateRange_);
                    break;
                }
                }
            }
        }
 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 void MergeFrom(IncidentalItemAvailabilityResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.NumberAvailable != 0)
     {
         NumberAvailable = other.NumberAvailable;
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     if (other.incidentalItem_ != null)
     {
         if (incidentalItem_ == null)
         {
             incidentalItem_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator();
         }
         IncidentalItem.MergeFrom(other.IncidentalItem);
     }
 }
 public void MergeFrom(CalendarMessage other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Operations.CalendarMessageIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     if (other.AdditionalInformation.Length != 0)
     {
         AdditionalInformation = other.AdditionalInformation;
     }
     if (other.EventType != 0)
     {
         EventType = other.EventType;
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
 }
Beispiel #9
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.Operations.RoomClaims.RoomClaimIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 16: {
                    claimType_ = (global::HOLMS.Types.Operations.RoomClaims.RoomClaimType)input.ReadEnum();
                    break;
                }

                case 26: {
                    if (dateRange_ == null)
                    {
                        dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
                    }
                    input.ReadMessage(dateRange_);
                    break;
                }

                case 34: {
                    if (room_ == null)
                    {
                        room_ = new global::HOLMS.Types.Operations.Rooms.Room();
                    }
                    input.ReadMessage(room_);
                    break;
                }

                case 42: {
                    MaintenanceHoldReason = input.ReadString();
                    break;
                }

                case 50: {
                    if (reservation_ == null)
                    {
                        reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
                    }
                    input.ReadMessage(reservation_);
                    break;
                }
                }
            }
        }
Beispiel #10
0
 public void MergeFrom(GenesisPriceEstimateRequestDTO other)
 {
     if (other == null)
     {
         return;
     }
     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.NumberAdultGuests != 0)
     {
         NumberAdultGuests = other.NumberAdultGuests;
     }
     reservationTags_.Add(other.reservationTags_);
     if (other.IsMockPriceRequiredForGroup != false)
     {
         IsMockPriceRequiredForGroup = other.IsMockPriceRequiredForGroup;
     }
 }
Beispiel #11
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (property_ == null)
                    {
                        property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator();
                    }
                    input.ReadMessage(property_);
                    break;
                }

                case 18: {
                    if (dateRange_ == null)
                    {
                        dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
                    }
                    input.ReadMessage(dateRange_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(SupplySnapshotSvcSnapshotWithoutPropertyTagsReq other)
 {
     if (other == null)
     {
         return;
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     reservationTags_.Add(other.reservationTags_);
     if (other.IsMockPriceRequiredWithoutHolds != false)
     {
         IsMockPriceRequiredWithoutHolds = other.IsMockPriceRequiredWithoutHolds;
     }
     if (other.NumberOfAdultGuests != 0)
     {
         NumberOfAdultGuests = other.NumberOfAdultGuests;
     }
     if (other.NumberOfChildGuests != 0)
     {
         NumberOfChildGuests = other.NumberOfChildGuests;
     }
 }
Beispiel #13
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (dateRange_ == null)
                    {
                        dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
                    }
                    input.ReadMessage(dateRange_);
                    break;
                }

                case 16: {
                    GeneralAvailabilityReport = input.ReadBool();
                    break;
                }

                case 24: {
                    CancelledReservationsReport = input.ReadBool();
                    break;
                }
                }
            }
        }
 public void MergeFrom(OutOfOrderRecord other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Operations.OutOfOrder.OutOfOrderRecordIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.Reason.Length != 0)
     {
         Reason = other.Reason;
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     if (other.enteredBy_ != null)
     {
         if (enteredBy_ == null)
         {
             enteredBy_ = new global::HOLMS.Types.IAM.StaffMember();
         }
         EnteredBy.MergeFrom(other.EnteredBy);
     }
     if (other.updatedBy_ != null)
     {
         if (updatedBy_ == null)
         {
             updatedBy_ = new global::HOLMS.Types.IAM.StaffMember();
         }
         UpdatedBy.MergeFrom(other.UpdatedBy);
     }
     if (other.updatedAt_ != null)
     {
         if (updatedAt_ == null)
         {
             updatedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         UpdatedAt.MergeFrom(other.UpdatedAt);
     }
     if (other.room_ != null)
     {
         if (room_ == null)
         {
             room_ = new global::HOLMS.Types.Operations.Rooms.Room();
         }
         Room.MergeFrom(other.Room);
     }
 }
Beispiel #15
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (dateRange_ == null)
                    {
                        dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
                    }
                    input.ReadMessage(dateRange_);
                    break;
                }

                case 18: {
                    if (reservation_ == null)
                    {
                        reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
                    }
                    input.ReadMessage(reservation_);
                    break;
                }

                case 26: {
                    if (roomType_ == null)
                    {
                        roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
                    }
                    input.ReadMessage(roomType_);
                    break;
                }

                case 48: {
                    AdultGuestCount = input.ReadInt32();
                    break;
                }

                case 56: {
                    ChildGuestCount = input.ReadInt32();
                    break;
                }

                case 66: {
                    tags_.AddEntriesFrom(input, _repeated_tags_codec);
                    break;
                }
                }
            }
        }
Beispiel #16
0
 public void MergeFrom(IncidentalItemReservation other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Booking.Indicators.IncidentalItemReservationIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.reservation_ != null)
     {
         if (reservation_ == null)
         {
             reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         Reservation.MergeFrom(other.Reservation);
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     if (other.reservedItem_ != null)
     {
         if (reservedItem_ == null)
         {
             reservedItem_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator();
         }
         ReservedItem.MergeFrom(other.ReservedItem);
     }
     if (other.AmountReserved != 0)
     {
         AmountReserved = other.AmountReserved;
     }
     if (other.totalCost_ != null)
     {
         if (totalCost_ == null)
         {
             totalCost_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         TotalCost.MergeFrom(other.TotalCost);
     }
     if (other.IncidentalItemName.Length != 0)
     {
         IncidentalItemName = other.IncidentalItemName;
     }
 }
Beispiel #17
0
 public void MergeFrom(ReservationCreationSummary other)
 {
     if (other == null)
     {
         return;
     }
     if (other.reservation_ != null)
     {
         if (reservation_ == null)
         {
             reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         Reservation.MergeFrom(other.Reservation);
     }
     if (other.BookingId.Length != 0)
     {
         BookingId = other.BookingId;
     }
     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.RoomType();
         }
         RoomType.MergeFrom(other.RoomType);
     }
     if (other.NumberAdults != 0)
     {
         NumberAdults = other.NumberAdults;
     }
     if (other.NumberChildren != 0)
     {
         NumberChildren = other.NumberChildren;
     }
     if (other.priceEstimate_ != null)
     {
         if (priceEstimate_ == null)
         {
             priceEstimate_ = new global::HOLMS.Types.Booking.Pricing.ReservationPriceEstimate();
         }
         PriceEstimate.MergeFrom(other.PriceEstimate);
     }
     tags_.Add(other.tags_);
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (property_ == null)
                    {
                        property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator();
                    }
                    input.ReadMessage(property_);
                    break;
                }

                case 18: {
                    if (dateRange_ == null)
                    {
                        dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
                    }
                    input.ReadMessage(dateRange_);
                    break;
                }

                case 26: {
                    reservationTags_.AddEntriesFrom(input, _repeated_reservationTags_codec);
                    break;
                }

                case 32: {
                    IsMockPriceRequiredWithoutHolds = input.ReadBool();
                    break;
                }

                case 40: {
                    NumberOfAdultGuests = input.ReadInt32();
                    break;
                }

                case 48: {
                    NumberOfChildGuests = input.ReadInt32();
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.Booking.Indicators.IncidentalItemReservationIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 16: {
                    IsForExistingIiReservation = input.ReadBool();
                    break;
                }

                case 26: {
                    if (dateRange_ == null)
                    {
                        dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
                    }
                    input.ReadMessage(dateRange_);
                    break;
                }

                case 34: {
                    if (reservedItem_ == null)
                    {
                        reservedItem_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator();
                    }
                    input.ReadMessage(reservedItem_);
                    break;
                }

                case 40: {
                    QuantityHeldByExistingReservation = input.ReadUInt32();
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (eventBookingHold_ == null)
                    {
                        eventBookingHold_ = new global::HOLMS.Types.Supply.EventBookingHoldIndicator();
                    }
                    input.ReadMessage(eventBookingHold_);
                    break;
                }

                case 18: {
                    if (dateRange_ == null)
                    {
                        dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
                    }
                    input.ReadMessage(dateRange_);
                    break;
                }

                case 26: {
                    if (roomType_ == null)
                    {
                        roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
                    }
                    input.ReadMessage(roomType_);
                    break;
                }

                case 34: {
                    if (reservationId_ == null)
                    {
                        reservationId_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
                    }
                    input.ReadMessage(reservationId_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(PricingDetailsRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
 }
Beispiel #22
0
 public void MergeFrom(BookGenesisReservationRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.roomType_ != null)
     {
         if (roomType_ == null)
         {
             roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
         }
         RoomType.MergeFrom(other.RoomType);
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     if (other.sourceChannelInfo_ != null)
     {
         if (sourceChannelInfo_ == null)
         {
             sourceChannelInfo_ = new global::HOLMS.Types.Booking.Channels.ChannelInfo();
         }
         SourceChannelInfo.MergeFrom(other.SourceChannelInfo);
     }
     if (other.guest_ != null)
     {
         if (guest_ == null)
         {
             guest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator();
         }
         Guest.MergeFrom(other.Guest);
     }
     if (other.NumberAdults != 0)
     {
         NumberAdults = other.NumberAdults;
     }
     if (other.NumberChildren != 0)
     {
         NumberChildren = other.NumberChildren;
     }
     reservationTags_.Add(other.reservationTags_);
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    JWToken = input.ReadString();
                    break;
                }

                case 18: {
                    if (groupBooking_ == null)
                    {
                        groupBooking_ = new global::HOLMS.Types.Booking.Indicators.GroupBookingIndicator();
                    }
                    input.ReadMessage(groupBooking_);
                    break;
                }

                case 26: {
                    roomTypeQuantities_.AddEntriesFrom(input, _repeated_roomTypeQuantities_codec);
                    break;
                }

                case 34: {
                    if (dateRange_ == null)
                    {
                        dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
                    }
                    input.ReadMessage(dateRange_);
                    break;
                }

                case 42: {
                    addHoldQuantities_.AddEntriesFrom(input, _repeated_addHoldQuantities_codec);
                    break;
                }
                }
            }
        }
Beispiel #24
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (dateRange_ == null)
                    {
                        dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
                    }
                    input.ReadMessage(dateRange_);
                    break;
                }

                case 18: {
                    if (roomType_ == null)
                    {
                        roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
                    }
                    input.ReadMessage(roomType_);
                    break;
                }

                case 32: {
                    NumberAdultGuests = input.ReadInt32();
                    break;
                }

                case 42: {
                    reservationTags_.AddEntriesFrom(input, _repeated_reservationTags_codec);
                    break;
                }

                case 48: {
                    IsMockPriceRequiredForGroup = input.ReadBool();
                    break;
                }
                }
            }
        }
Beispiel #25
0
 public void MergeFrom(ContinuousRoomClaim other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Operations.RoomClaims.RoomClaimIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.ClaimType != 0)
     {
         ClaimType = other.ClaimType;
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     if (other.room_ != null)
     {
         if (room_ == null)
         {
             room_ = new global::HOLMS.Types.Operations.Rooms.Room();
         }
         Room.MergeFrom(other.Room);
     }
     if (other.MaintenanceHoldReason.Length != 0)
     {
         MaintenanceHoldReason = other.MaintenanceHoldReason;
     }
     if (other.reservation_ != null)
     {
         if (reservation_ == null)
         {
             reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         Reservation.MergeFrom(other.Reservation);
     }
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.Operations.CalendarMessageIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    Description = input.ReadString();
                    break;
                }

                case 26: {
                    AdditionalInformation = input.ReadString();
                    break;
                }

                case 32: {
                    eventType_ = (global::HOLMS.Types.Operations.CalendarMessageType)input.ReadEnum();
                    break;
                }

                case 42: {
                    if (dateRange_ == null)
                    {
                        dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
                    }
                    input.ReadMessage(dateRange_);
                    break;
                }
                }
            }
        }
Beispiel #27
0
 public void MergeFrom(OpenPriceEstimateRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     if (other.reservation_ != null)
     {
         if (reservation_ == null)
         {
             reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         Reservation.MergeFrom(other.Reservation);
     }
     if (other.roomType_ != null)
     {
         if (roomType_ == null)
         {
             roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
         }
         RoomType.MergeFrom(other.RoomType);
     }
     if (other.TaxExempt != false)
     {
         TaxExempt = other.TaxExempt;
     }
     if (other.AdultGuestCount != 0)
     {
         AdultGuestCount = other.AdultGuestCount;
     }
     reservationTags_.Add(other.reservationTags_);
     if (other.IsMockPriceRequiredForGroup != false)
     {
         IsMockPriceRequiredForGroup = other.IsMockPriceRequiredForGroup;
     }
 }
Beispiel #28
0
 public void MergeFrom(ReservationFRPAmendmentRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     if (other.reservation_ != null)
     {
         if (reservation_ == null)
         {
             reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         Reservation.MergeFrom(other.Reservation);
     }
     if (other.roomType_ != null)
     {
         if (roomType_ == null)
         {
             roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
         }
         RoomType.MergeFrom(other.RoomType);
     }
     if (other.AdultGuestCount != 0)
     {
         AdultGuestCount = other.AdultGuestCount;
     }
     if (other.ChildGuestCount != 0)
     {
         ChildGuestCount = other.ChildGuestCount;
     }
     tags_.Add(other.tags_);
 }
 public void MergeFrom(IncidentalItemAvailabilityQuery other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Booking.Indicators.IncidentalItemReservationIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.IsForExistingIiReservation != false)
     {
         IsForExistingIiReservation = other.IsForExistingIiReservation;
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     if (other.reservedItem_ != null)
     {
         if (reservedItem_ == null)
         {
             reservedItem_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator();
         }
         ReservedItem.MergeFrom(other.ReservedItem);
     }
     if (other.QuantityHeldByExistingReservation != 0)
     {
         QuantityHeldByExistingReservation = other.QuantityHeldByExistingReservation;
     }
 }
 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);
     }
 }