lib/spatio/model/create_contact_request.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.22.0 (https://openapi-generator.tech).
# Do not edit this file manually.

defmodule Spatio.Model.CreateContactRequest do
  @moduledoc """
  
  """

  @derive JSON.Encoder
  defstruct [
    :first_name,
    :last_name,
    :email,
    :phone,
    :company,
    :title,
    :notes,
    :metadata
  ]

  @type t :: %__MODULE__{
    :first_name => String.t | nil,
    :last_name => String.t | nil,
    :email => String.t | nil,
    :phone => String.t | nil,
    :company => String.t | nil,
    :title => String.t | nil,
    :notes => String.t | nil,
    :metadata => %{optional(String.t) => any()} | nil
  }

  def decode(value) do
    value
  end
end