How to use the ask-sdk-model.ask_sdk_model.dialog.confirm_slot_directive.ConfirmSlotDirective 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 / confirm_slot_directive.py View on Github external
def __init__(self, updated_intent=None, slot_to_confirm=None):
        # type: (Optional[Intent], Optional[str]) -> None
        """

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

        self.object_type = self.__discriminator_value
        super(ConfirmSlotDirective, self).__init__(object_type=self.__discriminator_value)
        self.updated_intent = updated_intent
        self.slot_to_confirm = slot_to_confirm
github alexa / alexa-apis-for-python / ask-sdk-model / ask_sdk_model / dialog / confirm_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, ConfirmSlotDirective):
            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 1 year ago

Package Health Score

56 / 100
Full package analysis

Popular ask-sdk-model functions

Similar packages