WebhooksServiceBase constructor
WebhooksServiceBase()
Implementation
WebhooksServiceBase() {
$addMethod(
$grpc.ServiceMethod<$15.ListWebhooksRequest, $15.ListWebhooksResponse>(
'ListWebhooks',
listWebhooks_Pre,
false,
false,
($core.List<$core.int> value) =>
$15.ListWebhooksRequest.fromBuffer(value),
($15.ListWebhooksResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$15.GetWebhookRequest, $15.Webhook>(
'GetWebhook',
getWebhook_Pre,
false,
false,
($core.List<$core.int> value) =>
$15.GetWebhookRequest.fromBuffer(value),
($15.Webhook value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$15.CreateWebhookRequest, $15.Webhook>(
'CreateWebhook',
createWebhook_Pre,
false,
false,
($core.List<$core.int> value) =>
$15.CreateWebhookRequest.fromBuffer(value),
($15.Webhook value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$15.UpdateWebhookRequest, $15.Webhook>(
'UpdateWebhook',
updateWebhook_Pre,
false,
false,
($core.List<$core.int> value) =>
$15.UpdateWebhookRequest.fromBuffer(value),
($15.Webhook value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$15.DeleteWebhookRequest, $1.Empty>(
'DeleteWebhook',
deleteWebhook_Pre,
false,
false,
($core.List<$core.int> value) =>
$15.DeleteWebhookRequest.fromBuffer(value),
($1.Empty value) => value.writeToBuffer()));
}