docs/CreateWebhookOptions.md in mailslurp_client-5.0.0 vs docs/CreateWebhookOptions.md in mailslurp_client-7.0.7
- old
+ new
@@ -1,10 +1,21 @@
# MailSlurpClient::CreateWebhookOptions
## Properties
+
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**basic_auth** | [**BasicAuthOptions**](BasicAuthOptions.md) | | [optional]
-**url** | **String** | Public URL (including protocol) that MailSlurp can post WebhookNotificationObjects to when an email is received | [optional]
-**name** | **String** | | [optional]
+**name** | **String** | Optional name for the webhook | [optional]
+**url** | **String** | Public URL on your server that MailSlurp can post WebhookNotification payload to when an email is received. The payload of the submitted JSON is described by https://api.mailslurp.com/schemas/webhook-payload | [optional]
+
+## Code Sample
+
+```ruby
+require 'MailSlurpClient'
+
+instance = MailSlurpClient::CreateWebhookOptions.new(basic_auth: null,
+ name: null,
+ url: null)
+```