lib/ex_vcom/model/system_measurements_abbreviations.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.SystemMeasurementsAbbreviations do
  @moduledoc """

  """

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

  @type t :: %__MODULE__{
          :systemKey => String.t() | nil,
          :data => [ExVcom.Model.MeasurementAbbreviation.t()] | nil
        }
end

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

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