# NOTE: This file is auto generated by OpenAPI Generator 7.12.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 Jason.Encoder
defstruct [
:body,
:subject
]
@type t :: %__MODULE__{
:body => Ory.Model.EmailTemplateDataBody.t,
:subject => String.t
}
alias Ory.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:body, :struct, Ory.Model.EmailTemplateDataBody)
end
end