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

  @derive JSON.Encoder
  defstruct [
    :id,
    :routineId,
    :status,
    :progress,
    :metadata,
    :startedAt,
    :completedAt
  ]

  @type t :: %__MODULE__{
    :id => String.t,
    :routineId => String.t | nil,
    :status => String.t | nil,
    :progress => integer() | nil,
    :metadata => %{optional(String.t) => any()} | nil,
    :startedAt => DateTime.t | nil,
    :completedAt => DateTime.t | nil
  }

  def decode(value) do
    value
  end
end