# 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.Contact do
@moduledoc """
Snake-case wire format (legacy).
"""
@derive JSON.Encoder
defstruct [
:id,
:user_id,
:organization_id,
:first_name,
:last_name,
:email,
:phone,
:company,
:title,
:notes,
:scope,
:provider,
:metadata,
:created_at,
:updated_at
]
@type t :: %__MODULE__{
:id => String.t,
:user_id => String.t | nil,
:organization_id => String.t | nil,
: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,
:scope => String.t | nil,
:provider => String.t | nil,
:metadata => %{optional(String.t) => any()} | nil,
:created_at => DateTime.t | nil,
:updated_at => DateTime.t | nil
}
def decode(value) do
value
end
end