Current section
Files
Jump to
Current section
Files
lib/traccar/model/command.ex
# NOTE: This class is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen.git
# Do not edit the class manually.
defmodule Traccar.Model.Command do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:"id",
:"deviceId",
:"description",
:"type"
]
@type t :: %__MODULE__{
:"id" => integer(),
:"deviceId" => integer(),
:"description" => String.t,
:"type" => String.t
}
end
defimpl Poison.Decoder, for: Traccar.Model.Command do
def decode(value, _options) do
value
end
end