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.TenancyConfig.Indicators.ReservationSourceIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    Description = input.ReadString();
                    break;
                }
                }
            }
        }
 public void MergeFrom(ReservationSource other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.TenancyConfig.Indicators.ReservationSourceIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     if (other.HideTableCorrespondence != false)
     {
         HideTableCorrespondence = other.HideTableCorrespondence;
     }
     if (other.IsManagedByUser != false)
     {
         IsManagedByUser = other.IsManagedByUser;
     }
 }
 public void MergeFrom(SourceOfReservationRequest 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.reservationSource_ != null) {
     if (reservationSource_ == null) {
       reservationSource_ = new global::HOLMS.Types.TenancyConfig.Indicators.ReservationSourceIndicator();
     }
     ReservationSource.MergeFrom(other.ReservationSource);
   }
 }
 public void MergeFrom(ReservationSource other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.TenancyConfig.Indicators.ReservationSourceIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
 }
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.TenancyConfig.ReservationSource> GetById(global::HOLMS.Types.TenancyConfig.Indicators.ReservationSourceIndicator request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }
 public virtual AsyncUnaryCall <global::HOLMS.Types.TenancyConfig.ReservationSource> GetByIdAsync(global::HOLMS.Types.TenancyConfig.Indicators.ReservationSourceIndicator request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetById, null, options, request));
 }
 public virtual AsyncUnaryCall <global::HOLMS.Types.TenancyConfig.ReservationSource> GetByIdAsync(global::HOLMS.Types.TenancyConfig.Indicators.ReservationSourceIndicator request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetByIdAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
Exemplo n.º 8
0
 public virtual global::HOLMS.Types.TenancyConfig.ReservationSource GetById(global::HOLMS.Types.TenancyConfig.Indicators.ReservationSourceIndicator request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_GetById, null, options, request));
 }