# 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.WebhookEmailOpenedPayload do @moduledoc """ EMAIL_OPENED webhook payload. Sent to your webhook url endpoint via HTTP POST when an email containing a tracking pixel is opened and the pixel image is loaded by a reader. """ @derive [Poison.Encoder] defstruct [ :"createdAt", :"eventName", :"inboxId", :"messageId", :"pixelId", :"recipient", :"sentEmailId", :"webhookId", :"webhookName" ] @type t :: %__MODULE__{ :"createdAt" => DateTime.t | nil, :"eventName" => String.t | nil, :"inboxId" => String.t | nil, :"messageId" => String.t | nil, :"pixelId" => String.t | nil, :"recipient" => String.t | nil, :"sentEmailId" => String.t | nil, :"webhookId" => String.t | nil, :"webhookName" => String.t | nil } end defimpl Poison.Decoder, for: MailSlurpAPI.Model.WebhookEmailOpenedPayload do def decode(value, _options) do value end end