lib/mail_slurp_api/model/imap_smtp_access_details.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.ImapSmtpAccessDetails do
  @moduledoc """
  Access details for inbox using SMTP or IMAP
  """

  @derive [Poison.Encoder]
  defstruct [
    :"smtpServerHost",
    :"smtpServerPort",
    :"smtpUsername",
    :"smtpPassword",
    :"imapServerHost",
    :"imapServerPort",
    :"imapUsername",
    :"imapPassword"
  ]

  @type t :: %__MODULE__{
    :"smtpServerHost" => String.t,
    :"smtpServerPort" => integer(),
    :"smtpUsername" => String.t,
    :"smtpPassword" => String.t,
    :"imapServerHost" => String.t,
    :"imapServerPort" => integer(),
    :"imapUsername" => String.t,
    :"imapPassword" => String.t
  }
end

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