WebhookServiceBase constructor

WebhookServiceBase()

Implementation

WebhookServiceBase() {
  $addMethod(
      $grpc.ServiceMethod<$8.PutWebhookRequest_, $8.PutWebhookResponse_>(
          'PutWebhook',
          putWebhook_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $8.PutWebhookRequest_.fromBuffer(value),
          ($8.PutWebhookResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$8.DeleteWebhookRequest_,
          $8.DeleteWebhookResponse_>(
      'DeleteWebhook',
      deleteWebhook_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $8.DeleteWebhookRequest_.fromBuffer(value),
      ($8.DeleteWebhookResponse_ value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$8.ListWebhookRequest_, $8.ListWebhooksResponse_>(
          'ListWebhooks',
          listWebhooks_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $8.ListWebhookRequest_.fromBuffer(value),
          ($8.ListWebhooksResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$8.GetWebhookSecretRequest_,
          $8.GetWebhookSecretResponse_>(
      'GetWebhookSecret',
      getWebhookSecret_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $8.GetWebhookSecretRequest_.fromBuffer(value),
      ($8.GetWebhookSecretResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$8.RotateWebhookSecretRequest_,
          $8.RotateWebhookSecretResponse_>(
      'RotateWebhookSecret',
      rotateWebhookSecret_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $8.RotateWebhookSecretRequest_.fromBuffer(value),
      ($8.RotateWebhookSecretResponse_ value) => value.writeToBuffer()));
}