lib/mail_slurp_api/model/contact_projection.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.ContactProjection do
  @moduledoc """
  
  """

  @derive [Poison.Encoder]
  defstruct [
    :"id",
    :"groupId",
    :"firstName",
    :"lastName",
    :"company",
    :"emailAddresses",
    :"optOut",
    :"createdAt"
  ]

  @type t :: %__MODULE__{
    :"id" => String.t,
    :"groupId" => String.t | nil,
    :"firstName" => String.t | nil,
    :"lastName" => String.t | nil,
    :"company" => String.t | nil,
    :"emailAddresses" => [String.t] | nil,
    :"optOut" => boolean() | nil,
    :"createdAt" => DateTime.t
  }
end

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