lib/mail_slurp_api/model/create_inbox_forwarder_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.CreateInboxForwarderOptions do
  @moduledoc """
  Options for creating an inbox forwarder
  """

  @derive [Poison.Encoder]
  defstruct [
    :"field",
    :"match",
    :"forwardToRecipients"
  ]

  @type t :: %__MODULE__{
    :"field" => String.t,
    :"match" => String.t,
    :"forwardToRecipients" => [String.t]
  }
end

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