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 Summary
Constructors Constructor Description EventNotificationsApi()EventNotificationsApi(ApiClient apiClient) -
Method Summary
Modifier and Type Method Description ApiClientgetApiClient()voidnotifyWebhookEvent(String contentSignature, Event event)Оповестить о событииorg.springframework.http.ResponseEntity<Void>notifyWebhookEventWithHttpInfo(String contentSignature, Event event)Оповестить о событииvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
EventNotificationsApi
public EventNotificationsApi() -
EventNotificationsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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
-