lib/ex_vcom/model/simulation_value_response.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 ExVcom.Model.SimulationValueResponse do
  @moduledoc """

  """

  @derive [Poison.Encoder]
  defstruct [
    :data
  ]

  @type t :: %__MODULE__{
          :data => [ExVcom.Model.SimulationValue.t()]
        }
end

defimpl Poison.Decoder, for: ExVcom.Model.SimulationValueResponse do
  import ExVcom.Deserializer

  def decode(value, options) do
    value
    |> deserialize(:data, :list, ExVcom.Model.SimulationValue, options)
  end
end