# NOTE: This file is auto generated by OpenAPI Generator 6.6.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Ory.Model.EmailTemplateData do
@moduledoc """
Contains the data of the email template, including the subject and body in HTML and plaintext variants
"""
@derive [Poison.Encoder]
defstruct [
:body,
:subject
]
@type t :: %__MODULE__{
:body => Ory.Model.EmailTemplateDataBody.t,
:subject => String.t
}
end
defimpl Poison.Decoder, for: Ory.Model.EmailTemplateData do
import Ory.Deserializer
def decode(value, options) do
value
|> deserialize(:body, :struct, Ory.Model.EmailTemplateDataBody, options)
end
end