AutoApi.GetCommand.new

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

new(capability, properties)

View Source

Specs

Creates a new GetCommand structure with the given capability and properties.

Example

iex> capability = AutoApi.ClimateCapability
iex> properties = [:hvac_state, :defogging_state]
iex> Elixir.AutoApi.GetCommand.new(capability, properties)
%Elixir.AutoApi.GetCommand{capability: AutoApi.ClimateCapability, properties: [:hvac_state, :defogging_state]}