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, 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
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__