# 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.WebhookEmailReadPayload do @moduledoc """ EMAIL_READ webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is read. This happens when an email is requested in full from the API or a user views the email in the dashboard. """ @derive [Poison.Encoder] defstruct [ :"messageId", :"webhookId", :"eventName", :"webhookName", :"emailId", :"inboxId", :"emailIsRead", :"createdAt" ] @type t :: %__MODULE__{ :"messageId" => String.t, :"webhookId" => String.t, :"eventName" => String.t, :"webhookName" => String.t | nil, :"emailId" => String.t, :"inboxId" => String.t, :"emailIsRead" => boolean(), :"createdAt" => DateTime.t } end defimpl Poison.Decoder, for: MailSlurpAPI.Model.WebhookEmailReadPayload do def decode(value, _options) do value end end