Package com.dnsimple.endpoints
Class Webhooks
java.lang.Object
com.dnsimple.endpoints.Webhooks
Provides access to the DNSimple Webhooks API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateWebhook(Number account, String url) Create a webhook in the account.deleteWebhook(Number account, Number webhookId) Delete a webhook from the account.getWebhook(Number account, Number webhookId) Get a specific webhook associated to an account using the webhook's ID.listWebhooks(Number account) Lists the webhooks in the account.listWebhooks(Number account, ListOptions options) Lists the webhooks in the account.
-
Constructor Details
-
Webhooks
-
-
Method Details
-
listWebhooks
Lists the webhooks in the account.- Parameters:
account- The account ID- Returns:
- The list webhooks response
- See Also:
-
listWebhooks
Lists the webhooks in the account.- Parameters:
account- The account IDoptions- The options for the list request- Returns:
- The list webhooks response
- See Also:
-
createWebhook
Create a webhook in the account.- Parameters:
account- The account IDurl- The url of the webhook- Returns:
- The create webhook response
- See Also:
-
getWebhook
Get a specific webhook associated to an account using the webhook's ID.- Parameters:
account- The account IDwebhookId- The webhook ID- Returns:
- The get webhook response
- See Also:
-
deleteWebhook
Delete a webhook from the account.- Parameters:
account- The account IDwebhookId- The webhook ID- Returns:
- The delete webhook response
- See Also:
-