AutoApi.GetCommand.properties

You're seeing just the function properties, go back to AutoApi.GetCommand module for more information.

Specs

properties(t()) :: [AutoApi.Capability.property()]

Returns the properties set in the command.

If the command specifies all properties (that is, it is an empty list) it will return a list of the state properties as by the specifications of the capability.

Examples

iex> command = Elixir.AutoApi.GetCommand.new(AutoApi.RaceCapability, [:vehicle_moving, :gear_mode])
iex> Elixir.AutoApi.GetCommand.properties(command)
[:vehicle_moving, :gear_mode]

iex> command = Elixir.AutoApi.GetCommand.new(AutoApi.HoodCapability, [])
iex> Elixir.AutoApi.GetCommand.properties(command)
[:position, :lock, :lock_safety, :nonce, :vehicle_signature, :timestamp, :vin, :brand]