# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule MailSlurpAPI.Model.WebhookBounceRecipientPayload do @moduledoc """ BOUNCE_RECIPIENT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email caused a bounce to occur for a recipient. Save the recipient to a ban list of your server and avoid email them again. """ @derive [Poison.Encoder] defstruct [ :"messageId", :"webhookId", :"eventName", :"webhookName", :"recipient" ] @type t :: %__MODULE__{ :"messageId" => String.t, :"webhookId" => String.t, :"eventName" => String.t, :"webhookName" => String.t | nil, :"recipient" => String.t } end defimpl Poison.Decoder, for: MailSlurpAPI.Model.WebhookBounceRecipientPayload do def decode(value, _options) do value end end