How to use the ask-sdk-model.ask_sdk_model.connection_completed.ConnectionCompleted 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 / connection_completed.py View on Github external
def __init__(self, token=None, status=None, result=None):
        # type: (Optional[str], Optional[Status], Optional[object]) -> None
        """Represents the status and result needed to resume a skill's suspended session.

        :param token: This is an echo back string that skills send when during Connections.StartConnection directive. They will receive it when they get the SessionResumedRequest. It is never sent to the skill handling the request.
        :type token: (optional) str
        :param status: 
        :type status: (optional) ask_sdk_model.status.Status
        :param result: This is the result object to resume the skill's suspended session.
        :type result: (optional) object
        """
        self.__discriminator_value = "ConnectionCompleted"  # type: str

        self.object_type = self.__discriminator_value
        super(ConnectionCompleted, self).__init__(object_type=self.__discriminator_value)
        self.token = token
        self.status = status
        self.result = result
github alexa / alexa-apis-for-python / ask-sdk-model / ask_sdk_model / connection_completed.py View on Github external
def __eq__(self, other):
        # type: (object) -> bool
        """Returns true if both objects are equal"""
        if not isinstance(other, ConnectionCompleted):
            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