Class EventNotificationsApi

java.lang.Object
dev.vality.swag_webhook_events.api.EventNotificationsApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2022-02-21T10:48:08.381944838Z[Etc/UTC]")
@Component("dev.vality.swag_webhook_events.api.EventNotificationsApi")
public class EventNotificationsApi
extends Object
  • Constructor Details

    • EventNotificationsApi

      public EventNotificationsApi()
    • EventNotificationsApi

      @Autowired public EventNotificationsApi​(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient​(ApiClient apiClient)
    • notifyWebhookEvent

      public void notifyWebhookEvent​(String contentSignature, Event event) throws org.springframework.web.client.RestClientException
      Оповестить о событии

      200 - Оповещение обработано

      404 - Заданный ресурс не найден

      Parameters:
      contentSignature - Подпись сообщения, сформированная согласно указанным выше правилам (required)
      event - Данные произошедшего в платформе события (required)
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • notifyWebhookEventWithHttpInfo

      public org.springframework.http.ResponseEntity<Void> notifyWebhookEventWithHttpInfo​(String contentSignature, Event event) throws org.springframework.web.client.RestClientException
      Оповестить о событии

      200 - Оповещение обработано

      404 - Заданный ресурс не найден

      Parameters:
      contentSignature - Подпись сообщения, сформированная согласно указанным выше правилам (required)
      event - Данные произошедшего в платформе события (required)
      Returns:
      ResponseEntity<Void>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API