Class WebhookServiceImpl
java.lang.Object
org.oxerr.viagogo.client.rescu.impl.webhook.WebhookServiceImpl
- All Implemented Interfaces:
org.oxerr.viagogo.client.webhook.WebhookService
public class WebhookServiceImpl
extends Object
implements org.oxerr.viagogo.client.webhook.WebhookService
-
Constructor Summary
ConstructorDescriptionWebhookServiceImpl
(org.oxerr.viagogo.client.rescu.resource.webhook.WebhookResource webhookResource) -
Method Summary
Modifier and TypeMethodDescriptionorg.oxerr.viagogo.model.response.webhook.Webhook
createWebhook
(org.oxerr.viagogo.model.response.webhook.Webhook webhook) void
deleteWebhook
(Integer id) org.oxerr.viagogo.model.response.webhook.Webhook
getWebhook
(Integer id) org.oxerr.viagogo.model.response.webhook.Webhooks
getWebhooks
(Integer page, Integer pageSize, String sort) void
org.oxerr.viagogo.model.response.webhook.Webhook
updateWebhook
(Integer id, org.oxerr.viagogo.model.response.webhook.Webhook webhook)
-
Constructor Details
-
WebhookServiceImpl
public WebhookServiceImpl(org.oxerr.viagogo.client.rescu.resource.webhook.WebhookResource webhookResource)
-
-
Method Details
-
getWebhooks
public org.oxerr.viagogo.model.response.webhook.Webhooks getWebhooks(Integer page, Integer pageSize, String sort) throws IOException - Specified by:
getWebhooks
in interfaceorg.oxerr.viagogo.client.webhook.WebhookService
- Throws:
IOException
-
createWebhook
public org.oxerr.viagogo.model.response.webhook.Webhook createWebhook(org.oxerr.viagogo.model.response.webhook.Webhook webhook) throws IOException - Specified by:
createWebhook
in interfaceorg.oxerr.viagogo.client.webhook.WebhookService
- Throws:
IOException
-
getWebhook
- Specified by:
getWebhook
in interfaceorg.oxerr.viagogo.client.webhook.WebhookService
- Throws:
IOException
-
updateWebhook
public org.oxerr.viagogo.model.response.webhook.Webhook updateWebhook(Integer id, org.oxerr.viagogo.model.response.webhook.Webhook webhook) throws IOException - Specified by:
updateWebhook
in interfaceorg.oxerr.viagogo.client.webhook.WebhookService
- Throws:
IOException
-
deleteWebhook
- Specified by:
deleteWebhook
in interfaceorg.oxerr.viagogo.client.webhook.WebhookService
- Throws:
IOException
-
ping
- Specified by:
ping
in interfaceorg.oxerr.viagogo.client.webhook.WebhookService
- Throws:
IOException
-