Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, updated_intent=None):
# type: (Optional[Intent]) -> None
"""
:param updated_intent:
:type updated_intent: (optional) ask_sdk_model.intent.Intent
"""
self.__discriminator_value = "Dialog.ConfirmIntent" # type: str
self.object_type = self.__discriminator_value
super(ConfirmIntentDirective, self).__init__(object_type=self.__discriminator_value)
self.updated_intent = updated_intent
def __eq__(self, other):
# type: (object) -> bool
"""Returns true if both objects are equal"""
if not isinstance(other, ConfirmIntentDirective):
return False
return self.__dict__ == other.__dict__