lib/mail_slurp_api/model/group_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.GroupProjection do
  @moduledoc """
  Data for contact group
  """

  @derive [Poison.Encoder]
  defstruct [
    :"name",
    :"id",
    :"description",
    :"createdAt"
  ]

  @type t :: %__MODULE__{
    :"name" => String.t,
    :"id" => String.t,
    :"description" => String.t | nil,
    :"createdAt" => DateTime.t
  }
end

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