MailSlurpClient::WebhookDto

Properties

NameTypeDescriptionNotes
basic_authBooleanDoes webhook expect basic authentication? If true it means you created this webhook with a username and password. MailSlurp will use these in the URL to authenticate itself.[optional]
created_atDateTimeWhen the webhook was created[optional]
event_nameString[optional]
idStringID of the Webhook[optional]
inbox_idStringThe inbox that the Webhook will be triggered by[optional]
methodStringHTTP method that your server endpoint must listen for[optional]
nameStringName of the webhook[optional]
payload_json_schemaStringJSON Schema for the payload that will be sent to your URL via the HTTP method described.[optional]
updated_atDateTime
urlStringURL of your server that the webhook will be sent to. The schema of the JSON that is sent is described by the payloadJsonSchema.[optional]
user_idStringUser ID of the Webhook[optional]

Code Sample

require 'MailSlurpClient'

instance = MailSlurpClient::WebhookDto.new(basic_auth: null,
                                 created_at: null,
                                 event_name: null,
                                 id: null,
                                 inbox_id: null,
                                 method: null,
                                 name: null,
                                 payload_json_schema: null,
                                 updated_at: null,
                                 url: null,
                                 user_id: null)