You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -56,6 +56,10 @@ class BookingServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$cancelAppointment, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.CancelBookingAppointmentResponse> forceCancelAppointment($0.CancelBookingAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$forceCancelAppointment, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.BookBookingAppointmentResponse> updateAppointment($0.UpdateBookingAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$updateAppointment, request, options: options);
|
||||
}
|
||||
@@ -110,6 +114,10 @@ class BookingServiceClient extends $grpc.Client {
|
||||
'/api.BookingService/CancelAppointment',
|
||||
($0.CancelBookingAppointmentRequest value) => value.writeToBuffer(),
|
||||
$0.CancelBookingAppointmentResponse.fromBuffer);
|
||||
static final _$forceCancelAppointment = $grpc.ClientMethod<$0.CancelBookingAppointmentRequest, $0.CancelBookingAppointmentResponse>(
|
||||
'/api.BookingService/ForceCancelAppointment',
|
||||
($0.CancelBookingAppointmentRequest value) => value.writeToBuffer(),
|
||||
$0.CancelBookingAppointmentResponse.fromBuffer);
|
||||
static final _$updateAppointment = $grpc.ClientMethod<$0.UpdateBookingAppointmentRequest, $0.BookBookingAppointmentResponse>(
|
||||
'/api.BookingService/UpdateAppointment',
|
||||
($0.UpdateBookingAppointmentRequest value) => value.writeToBuffer(),
|
||||
@@ -187,6 +195,13 @@ abstract class BookingServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.CancelBookingAppointmentRequest.fromBuffer(value),
|
||||
($0.CancelBookingAppointmentResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.CancelBookingAppointmentRequest, $0.CancelBookingAppointmentResponse>(
|
||||
'ForceCancelAppointment',
|
||||
forceCancelAppointment_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.CancelBookingAppointmentRequest.fromBuffer(value),
|
||||
($0.CancelBookingAppointmentResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.UpdateBookingAppointmentRequest, $0.BookBookingAppointmentResponse>(
|
||||
'UpdateAppointment',
|
||||
updateAppointment_Pre,
|
||||
@@ -274,6 +289,12 @@ abstract class BookingServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.CancelBookingAppointmentResponse> cancelAppointment($grpc.ServiceCall call, $0.CancelBookingAppointmentRequest request);
|
||||
|
||||
$async.Future<$0.CancelBookingAppointmentResponse> forceCancelAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.CancelBookingAppointmentRequest> $request) async {
|
||||
return forceCancelAppointment($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.CancelBookingAppointmentResponse> forceCancelAppointment($grpc.ServiceCall call, $0.CancelBookingAppointmentRequest request);
|
||||
|
||||
$async.Future<$0.BookBookingAppointmentResponse> updateAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateBookingAppointmentRequest> $request) async {
|
||||
return updateAppointment($call, await $request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user