Esempio n. 1
0
 public void MergeFrom(NoteRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Operations.NoteRequests.NoteRequestIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.Subject.Length != 0)
     {
         Subject = other.Subject;
     }
     if (other.Department != 0)
     {
         Department = other.Department;
     }
     if (other.NoteType != 0)
     {
         NoteType = other.NoteType;
     }
     if (other.AvailableOnWebsite != false)
     {
         AvailableOnWebsite = other.AvailableOnWebsite;
     }
     requestRoomType_.Add(other.requestRoomType_);
 }
Esempio n. 2
0
 public void MergeFrom(NoteRequestRoomTypes other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Operations.NoteRequestsRoomTypes.NoteRequestRoomTypeIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.noteRequestId_ != null)
     {
         if (noteRequestId_ == null)
         {
             noteRequestId_ = new global::HOLMS.Types.Operations.NoteRequests.NoteRequestIndicator();
         }
         NoteRequestId.MergeFrom(other.NoteRequestId);
     }
     if (other.roomTypeId_ != null)
     {
         if (roomTypeId_ == null)
         {
             roomTypeId_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
         }
         RoomTypeId.MergeFrom(other.RoomTypeId);
     }
 }
 public void MergeFrom(ReservationNote other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Booking.Indicators.ReservationNoteIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.sourceNote_ != null)
     {
         if (sourceNote_ == null)
         {
             sourceNote_ = new global::HOLMS.Types.Operations.NoteRequests.NoteRequestIndicator();
         }
         SourceNote.MergeFrom(other.SourceNote);
     }
     if (other.Category != 0)
     {
         Category = other.Category;
     }
     if (other.AdditionalNote.Length != 0)
     {
         AdditionalNote = other.AdditionalNote;
     }
     if (other.IncludeOnConfirmation != false)
     {
         IncludeOnConfirmation = other.IncludeOnConfirmation;
     }
     if (other.lodgingReservation_ != null)
     {
         if (lodgingReservation_ == null)
         {
             lodgingReservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         LodgingReservation.MergeFrom(other.LodgingReservation);
     }
     if (other.SourceNoteSubject.Length != 0)
     {
         SourceNoteSubject = other.SourceNoteSubject;
     }
     if (other.IsFulfilled != false)
     {
         IsFulfilled = other.IsFulfilled;
     }
 }
Esempio n. 4
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.NoteRequests.NoteRequestIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

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

                case 24: {
                    department_ = (global::HOLMS.Types.Operations.NoteRequests.NoteCategory)input.ReadEnum();
                    break;
                }

                case 32: {
                    noteType_ = (global::HOLMS.Types.Operations.NoteRequests.NoteType)input.ReadEnum();
                    break;
                }

                case 40: {
                    AvailableOnWebsite = input.ReadBool();
                    break;
                }

                case 50: {
                    requestRoomType_.AddEntriesFrom(input, _repeated_requestRoomType_codec);
                    break;
                }
                }
            }
        }
 public void MergeFrom(ReservationNoteTemplate other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.CRM.Guests.ReservationNoteTemplateIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.sourceNote_ != null)
     {
         if (sourceNote_ == null)
         {
             sourceNote_ = new global::HOLMS.Types.Operations.NoteRequests.NoteRequestIndicator();
         }
         SourceNote.MergeFrom(other.SourceNote);
     }
     if (other.Category != 0)
     {
         Category = other.Category;
     }
     if (other.AdditionalNote.Length != 0)
     {
         AdditionalNote = other.AdditionalNote;
     }
     if (other.IncludeOnConfirmation != false)
     {
         IncludeOnConfirmation = other.IncludeOnConfirmation;
     }
     if (other.SourceNoteSubject.Length != 0)
     {
         SourceNoteSubject = other.SourceNoteSubject;
     }
     if (other.guest_ != null)
     {
         if (guest_ == null)
         {
             guest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator();
         }
         Guest.MergeFrom(other.Guest);
     }
 }
Esempio n. 6
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.NoteRequestsRoomTypes.NoteRequestRoomTypeIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    if (noteRequestId_ == null)
                    {
                        noteRequestId_ = new global::HOLMS.Types.Operations.NoteRequests.NoteRequestIndicator();
                    }
                    input.ReadMessage(noteRequestId_);
                    break;
                }

                case 26: {
                    if (roomTypeId_ == null)
                    {
                        roomTypeId_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
                    }
                    input.ReadMessage(roomTypeId_);
                    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.ReservationNoteIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    if (sourceNote_ == null)
                    {
                        sourceNote_ = new global::HOLMS.Types.Operations.NoteRequests.NoteRequestIndicator();
                    }
                    input.ReadMessage(sourceNote_);
                    break;
                }

                case 24: {
                    category_ = (global::HOLMS.Types.Operations.NoteRequests.NoteCategory)input.ReadEnum();
                    break;
                }

                case 34: {
                    AdditionalNote = input.ReadString();
                    break;
                }

                case 40: {
                    IncludeOnConfirmation = input.ReadBool();
                    break;
                }

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

                case 58: {
                    SourceNoteSubject = input.ReadString();
                    break;
                }

                case 64: {
                    IsFulfilled = input.ReadBool();
                    break;
                }
                }
            }
        }
Esempio n. 8
0
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Operations.NoteRequestsRoomTypes.NoteRequestRoomTypes> GetByNoteRequestId(global::HOLMS.Types.Operations.NoteRequests.NoteRequestIndicator request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }
Esempio n. 9
0
 public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Operations.NoteRequestsRoomTypes.NoteRequestRoomTypes> GetByNoteRequestIdAsync(global::HOLMS.Types.Operations.NoteRequests.NoteRequestIndicator request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetByNoteRequestId, null, options, request));
 }
Esempio n. 10
0
 public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Operations.NoteRequestsRoomTypes.NoteRequestRoomTypes> GetByNoteRequestIdAsync(global::HOLMS.Types.Operations.NoteRequests.NoteRequestIndicator request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetByNoteRequestIdAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
 public virtual global::HOLMS.Types.Operations.NoteRequests.NoteRequest GetById(global::HOLMS.Types.Operations.NoteRequests.NoteRequestIndicator request, CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_GetById, null, options, request));
 }
 public virtual global::HOLMS.Types.Operations.NoteRequests.NoteRequest GetById(global::HOLMS.Types.Operations.NoteRequests.NoteRequestIndicator request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetById(request, new CallOptions(headers, deadline, cancellationToken)));
 }
 public void MergeFrom(ReservationNote other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Booking.Indicators.ReservationNoteIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.sourceNote_ != null)
     {
         if (sourceNote_ == null)
         {
             sourceNote_ = new global::HOLMS.Types.Operations.NoteRequests.NoteRequestIndicator();
         }
         SourceNote.MergeFrom(other.SourceNote);
     }
     if (other.Category != 0)
     {
         Category = other.Category;
     }
     if (other.AdditionalNote.Length != 0)
     {
         AdditionalNote = other.AdditionalNote;
     }
     if (other.IncludeOnConfirmation != false)
     {
         IncludeOnConfirmation = other.IncludeOnConfirmation;
     }
     if (other.lodgingReservation_ != null)
     {
         if (lodgingReservation_ == null)
         {
             lodgingReservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         LodgingReservation.MergeFrom(other.LodgingReservation);
     }
     if (other.SourceNoteSubject.Length != 0)
     {
         SourceNoteSubject = other.SourceNoteSubject;
     }
     if (other.IsFulfilled != false)
     {
         IsFulfilled = other.IsFulfilled;
     }
     if (other.PermanentOnGuestRecord != false)
     {
         PermanentOnGuestRecord = other.PermanentOnGuestRecord;
     }
     if (other.incidentalItemId_ != null)
     {
         if (incidentalItemId_ == null)
         {
             incidentalItemId_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator();
         }
         IncidentalItemId.MergeFrom(other.IncidentalItemId);
     }
     if (other.incStartDate_ != null)
     {
         if (incStartDate_ == null)
         {
             incStartDate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         IncStartDate.MergeFrom(other.IncStartDate);
     }
     if (other.incEndDate_ != null)
     {
         if (incEndDate_ == null)
         {
             incEndDate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         IncEndDate.MergeFrom(other.IncEndDate);
     }
 }