ask_sdk_model.interfaces.tasks package



Canonical imports have been added in the 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.

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

Returns the model properties as a dict


Returns the string representation of the model