lib/mail_slurp_api/model/create_template_options.ex

# 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.CreateTemplateOptions do
  @moduledoc """
  Create template options
  """

  @derive [Poison.Encoder]
  defstruct [
    :"name",
    :"content"
  ]

  @type t :: %__MODULE__{
    :"name" => String.t,
    :"content" => String.t
  }
end

defimpl Poison.Decoder, for: MailSlurpAPI.Model.CreateTemplateOptions do
  def decode(value, _options) do
    value
  end
end