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 Details

    • WebhookServiceImpl

      public WebhookServiceImpl(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 interface org.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 interface org.oxerr.viagogo.client.webhook.WebhookService
      Throws:
      IOException
    • getWebhook

      public org.oxerr.viagogo.model.response.webhook.Webhook getWebhook(Integer id) throws IOException
      Specified by:
      getWebhook in interface org.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 interface org.oxerr.viagogo.client.webhook.WebhookService
      Throws:
      IOException
    • deleteWebhook

      public void deleteWebhook(Integer id) throws IOException
      Specified by:
      deleteWebhook in interface org.oxerr.viagogo.client.webhook.WebhookService
      Throws:
      IOException
    • ping

      public void ping(Integer id) throws IOException
      Specified by:
      ping in interface org.oxerr.viagogo.client.webhook.WebhookService
      Throws:
      IOException