# 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.EmailPreview do @moduledoc """ Preview of an email message. For full message (including body and attachments) call the `getEmail` or other email endpoints with the provided email ID. """ @derive [Poison.Encoder] defstruct [ :"attachments", :"bcc", :"cc", :"createdAt", :"from", :"id", :"read", :"subject", :"to" ] @type t :: %__MODULE__{ :"attachments" => [String.t] | nil, :"bcc" => [String.t] | nil, :"cc" => [String.t] | nil, :"createdAt" => DateTime.t | nil, :"from" => String.t | nil, :"id" => String.t | nil, :"read" => boolean() | nil, :"subject" => String.t | nil, :"to" => [String.t] | nil } end defimpl Poison.Decoder, for: MailSlurpAPI.Model.EmailPreview do def decode(value, _options) do value end end