ask_sdk_model.interfaces.gadget_controller package¶
Submodules¶
Note
Canonical imports have been added in the __init__.py of the package.
This helps in importing the class directly from the package, than
through the module.
For eg: if package a has module b with
class C, you can do from a import C instead of
from a.b import C.
ask_sdk_model.interfaces.gadget_controller.set_light_directive module¶
-
class
ask_sdk_model.interfaces.gadget_controller.set_light_directive.SetLightDirective(version=None, target_gadgets=None, parameters=None)¶ Bases:
ask_sdk_model.directive.DirectiveSends Alexa a command to modify the behavior of connected Echo Buttons.
Parameters: - version ((optional) int) – The version of the directive. Must be set to 1.
- target_gadgets ((optional) list[str]) – The gadget IDs that will receive the command. An empty array, or leaving this parameter out, signifies that all gadgets will receive the command.
- parameters ((optional) ask_sdk_model.services.gadget_controller.set_light_parameters.SetLightParameters) –
-
attribute_map= {'object_type': 'type', 'parameters': 'parameters', 'target_gadgets': 'targetGadgets', 'version': 'version'}¶
-
deserialized_types= {'object_type': 'str', 'parameters': 'ask_sdk_model.services.gadget_controller.set_light_parameters.SetLightParameters', 'target_gadgets': 'list[str]', 'version': 'int'}¶
-
supports_multiple_types= False¶
-
to_dict()¶ Returns the model properties as a dict
-
to_str()¶ Returns the string representation of the model