ask_sdk_model.interfaces.tasks 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.tasks.complete_task_directive module¶
-
class
ask_sdk_model.interfaces.tasks.complete_task_directive.
CompleteTaskDirective
(status=None, result=None)¶ Bases:
ask_sdk_model.directive.Directive
This is the directive that a skill can send as part of their response to a session based request. The response will contain the result of the task that the skill is launched for.
Parameters: - status ((optional) ask_sdk_model.status.Status) –
- result ((optional) dict(str, object)) – This is an object sent to the requester.
-
attribute_map
= {'object_type': 'type', 'result': 'result', 'status': 'status'}¶
-
deserialized_types
= {'object_type': 'str', 'result': 'dict(str, object)', 'status': 'ask_sdk_model.status.Status'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model