コード例 #1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 10: {
                    if (booking_ == null)
                    {
                        booking_ = new global::HOLMS.Types.Booking.Groups.GroupBooking();
                    }
                    input.ReadMessage(booking_);
                    break;
                }

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

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

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

                case 40: {
                    groupType_ = (global::HOLMS.Types.CRM.Groups.GroupType)input.ReadEnum();
                    break;
                }

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

                case 58: {
                    quantities_.AddEntriesFrom(input, _repeated_quantities_codec);
                    break;
                }
                }
            }
        }
コード例 #2
0
 public void MergeFrom(GroupBookingExt other)
 {
     if (other == null)
     {
         return;
     }
     if (other.booking_ != null)
     {
         if (booking_ == null)
         {
             booking_ = new global::HOLMS.Types.Booking.Groups.GroupBooking();
         }
         Booking.MergeFrom(other.Booking);
     }
     if (other.GroupName.Length != 0)
     {
         GroupName = other.GroupName;
     }
     if (other.GroupNumber.Length != 0)
     {
         GroupNumber = other.GroupNumber;
     }
     if (other.GroupContactName.Length != 0)
     {
         GroupContactName = other.GroupContactName;
     }
     if (other.GroupType != 0)
     {
         GroupType = other.GroupType;
     }
     if (other.groupProperty_ != null)
     {
         if (groupProperty_ == null)
         {
             groupProperty_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator();
         }
         GroupProperty.MergeFrom(other.GroupProperty);
     }
     quantities_.Add(other.quantities_);
 }
コード例 #3
0
 public virtual AsyncUnaryCall <global::HOLMS.Types.Booking.Groups.GroupBookingExt> UpdateAsync(global::HOLMS.Types.Booking.Groups.GroupBooking request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_Update, null, options, request));
 }
コード例 #4
0
 public virtual AsyncUnaryCall <global::HOLMS.Types.Booking.Groups.GroupBookingExt> UpdateAsync(global::HOLMS.Types.Booking.Groups.GroupBooking request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(UpdateAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
コード例 #5
0
 public virtual global::HOLMS.Types.Booking.Groups.GroupBookingExt Update(global::HOLMS.Types.Booking.Groups.GroupBooking request, CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_Update, null, options, request));
 }
コード例 #6
0
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Booking.Groups.GroupBookingExt> Update(global::HOLMS.Types.Booking.Groups.GroupBooking request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }