lib/mail_slurp_api/model/connector_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.ConnectorProjection do
  @moduledoc """
  Connector
  """

  @derive [Poison.Encoder]
  defstruct [
    :"id",
    :"userId",
    :"inboxId",
    :"createdAt",
    :"connectorType",
    :"syncScheduleType",
    :"syncInterval",
    :"syncEnabled"
  ]

  @type t :: %__MODULE__{
    :"id" => String.t | nil,
    :"userId" => String.t,
    :"inboxId" => String.t,
    :"createdAt" => DateTime.t,
    :"connectorType" => String.t,
    :"syncScheduleType" => String.t,
    :"syncInterval" => integer() | nil,
    :"syncEnabled" => boolean()
  }
end

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