How to use the ask-sdk-model.ask_sdk_model.dialog.elicit_slot_directive.ElicitSlotDirective function in ask-sdk-model

To help you get started, we’ve selected a few ask-sdk-model examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github alexa / alexa-apis-for-python / ask-sdk-model / ask_sdk_model / dialog / elicit_slot_directive.py View on Github external
def __init__(self, updated_intent=None, slot_to_elicit=None):
        # type: (Optional[Intent], Optional[str]) -> None
        """

        :param updated_intent: 
        :type updated_intent: (optional) ask_sdk_model.intent.Intent
        :param slot_to_elicit: 
        :type slot_to_elicit: (optional) str
        """
        self.__discriminator_value = "Dialog.ElicitSlot"  # type: str

        self.object_type = self.__discriminator_value
        super(ElicitSlotDirective, self).__init__(object_type=self.__discriminator_value)
        self.updated_intent = updated_intent
        self.slot_to_elicit = slot_to_elicit
github alexa / alexa-apis-for-python / ask-sdk-model / ask_sdk_model / dialog / elicit_slot_directive.py View on Github external
def __eq__(self, other):
        # type: (object) -> bool
        """Returns true if both objects are equal"""
        if not isinstance(other, ElicitSlotDirective):
            return False

        return self.__dict__ == other.__dict__

ask-sdk-model

The ASK SDK Model package provides model definitions, for building Alexa Skills.

Apache-2.0
Latest version published 9 months ago

Package Health Score

65 / 100
Full package analysis

Popular ask-sdk-model functions

Similar packages