예제 #1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

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

                case 16: {
                    IsFulfilled = input.ReadBool();
                    break;
                }
                }
            }
        }
 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;
     }
 }
예제 #3
0
 public void MergeFrom(ReservationNoteFulfillmentRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.note_ != null)
     {
         if (note_ == null)
         {
             note_ = new global::HOLMS.Types.Booking.Indicators.ReservationNoteIndicator();
         }
         Note.MergeFrom(other.Note);
     }
     if (other.IsFulfilled != false)
     {
         IsFulfilled = other.IsFulfilled;
     }
 }
        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;
                }
                }
            }
        }
예제 #5
0
 public virtual global::System.Threading.Tasks.Task <global::Google.Protobuf.WellKnownTypes.Empty> RemoveReservationNote(global::HOLMS.Types.Booking.Indicators.ReservationNoteIndicator request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }
예제 #6
0
 public virtual AsyncUnaryCall <global::Google.Protobuf.WellKnownTypes.Empty> RemoveReservationNoteAsync(global::HOLMS.Types.Booking.Indicators.ReservationNoteIndicator request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_RemoveReservationNote, null, options, request));
 }
예제 #7
0
 public virtual AsyncUnaryCall <global::Google.Protobuf.WellKnownTypes.Empty> RemoveReservationNoteAsync(global::HOLMS.Types.Booking.Indicators.ReservationNoteIndicator request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(RemoveReservationNoteAsync(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);
     }
 }