lib/spatio/model/create_record_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.CreateRecordRequest do
  @moduledoc """
  
  """

  @derive JSON.Encoder
  defstruct [
    :organization_id,
    :record_type_id,
    :name,
    :attributes,
    :metadata
  ]

  @type t :: %__MODULE__{
    :organization_id => String.t | nil,
    :record_type_id => String.t,
    :name => String.t | nil,
    :attributes => %{optional(String.t) => any()} | nil,
    :metadata => %{optional(String.t) => any()} | nil
  }

  def decode(value) do
    value
  end
end