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; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (room_ == null) { room_ = new global::HOLMS.Types.Operations.Rooms.Room(); } input.ReadMessage(room_); break; } case 18: { if (date_ == null) { date_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } input.ReadMessage(date_); break; } } } }
public void MergeFrom(RoomCrud other) { if (other == null) { return; } if (other.JWToken.Length != 0) { JWToken = other.JWToken; } if (other.CrudAction != 0) { CrudAction = other.CrudAction; } if (other.before_ != null) { if (before_ == null) { before_ = new global::HOLMS.Types.Operations.Rooms.Room(); } Before.MergeFrom(other.Before); } if (other.after_ != null) { if (after_ == null) { after_ = new global::HOLMS.Types.Operations.Rooms.Room(); } After.MergeFrom(other.After); } }
public void MergeFrom(RoomWithClaimInfo other) { if (other == null) { return; } if (other.room_ != null) { if (room_ == null) { room_ = new global::HOLMS.Types.Operations.Rooms.Room(); } Room.MergeFrom(other.Room); } if (other.HasReservationClaim != false) { HasReservationClaim = other.HasReservationClaim; } if (other.HasOooClaim != false) { HasOooClaim = other.HasOooClaim; } if (other.claimingReservation_ != null) { if (claimingReservation_ == null) { claimingReservation_ = new global::HOLMS.Types.Booking.Reservations.ReservationSummary(); } ClaimingReservation.MergeFrom(other.ClaimingReservation); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (room_ == null) { room_ = new global::HOLMS.Types.Operations.Rooms.Room(); } input.ReadMessage(room_); break; } case 16: { CurrentlyOutOfOrder = input.ReadBool(); break; } case 24: { AssignableForTargetDates = 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); } }
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: { JWToken = input.ReadString(); break; } case 16: { crudAction_ = (global::HOLMS.Types.Primitive.CrudAction)input.ReadEnum(); break; } case 26: { if (before_ == null) { before_ = new global::HOLMS.Types.Operations.Rooms.Room(); } input.ReadMessage(before_); break; } case 34: { if (after_ == null) { after_ = new global::HOLMS.Types.Operations.Rooms.Room(); } input.ReadMessage(after_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (room_ == null) { room_ = new global::HOLMS.Types.Operations.Rooms.Room(); } input.ReadMessage(room_); break; } case 16: { HasReservationClaim = input.ReadBool(); break; } case 24: { HasOooClaim = input.ReadBool(); break; } case 34: { if (claimingReservation_ == null) { claimingReservation_ = new global::HOLMS.Types.Booking.Reservations.ReservationSummary(); } input.ReadMessage(claimingReservation_); break; } } } }
public void MergeFrom(ReservationRoomNight other) { if (other == null) { return; } if (other.room_ != null) { if (room_ == null) { room_ = new global::HOLMS.Types.Operations.Rooms.Room(); } Room.MergeFrom(other.Room); } if (other.date_ != null) { if (date_ == null) { date_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } Date.MergeFrom(other.Date); } }
public void MergeFrom(RoomWithClaimInfo other) { if (other == null) { return; } if (other.room_ != null) { if (room_ == null) { room_ = new global::HOLMS.Types.Operations.Rooms.Room(); } Room.MergeFrom(other.Room); } if (other.CurrentlyOutOfOrder != false) { CurrentlyOutOfOrder = other.CurrentlyOutOfOrder; } if (other.AssignableForTargetDates != false) { AssignableForTargetDates = other.AssignableForTargetDates; } }
public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Primitive.ServerActionConfirmation> DeleteAsync(global::HOLMS.Types.Operations.Rooms.Room request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_Delete, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Primitive.ServerActionConfirmation> DeleteAsync(global::HOLMS.Types.Operations.Rooms.Room request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(DeleteAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }
public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Operations.RPC.RoomSvcCRUDResponse> UpdateAsync(global::HOLMS.Types.Operations.Rooms.Room request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_Update, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Operations.RPC.RoomSvcCRUDResponse> UpdateAsync(global::HOLMS.Types.Operations.Rooms.Room request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(UpdateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }
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.OutOfOrder.OutOfOrderRecordIndicator(); } input.ReadMessage(entityId_); break; } case 18: { Reason = input.ReadString(); break; } case 26: { if (dateRange_ == null) { dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange(); } input.ReadMessage(dateRange_); break; } case 34: { if (enteredBy_ == null) { enteredBy_ = new global::HOLMS.Types.IAM.StaffMember(); } input.ReadMessage(enteredBy_); break; } case 42: { if (updatedBy_ == null) { updatedBy_ = new global::HOLMS.Types.IAM.StaffMember(); } input.ReadMessage(updatedBy_); break; } case 50: { if (updatedAt_ == null) { updatedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(updatedAt_); break; } case 58: { if (room_ == null) { room_ = new global::HOLMS.Types.Operations.Rooms.Room(); } input.ReadMessage(room_); break; } } } }
public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Operations.RPC.RoomSvcCRUDResponse> Update(global::HOLMS.Types.Operations.Rooms.Room request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }
public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Primitive.ServerActionConfirmation> Delete(global::HOLMS.Types.Operations.Rooms.Room request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }
public virtual global::HOLMS.Types.Primitive.ServerActionConfirmation Delete(global::HOLMS.Types.Operations.Rooms.Room request, CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_Delete, null, options, request)); }
public virtual global::HOLMS.Types.Operations.RPC.RoomSvcCRUDResponse Create(global::HOLMS.Types.Operations.Rooms.Room request, grpc::CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_Create, null, options, request)); }
public virtual global::HOLMS.Types.Operations.RPC.RoomSvcCRUDResponse Update(global::HOLMS.Types.Operations.Rooms.Room request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(Update(request, new CallOptions(headers, deadline, cancellationToken))); }