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, update_behavior=None, types=None):
# type: (Optional[UpdateBehavior], Optional[List[EntityListItem]]) -> None
"""
:param update_behavior:
:type update_behavior: (optional) ask_sdk_model.er.dynamic.update_behavior.UpdateBehavior
:param types:
:type types: (optional) list[ask_sdk_model.er.dynamic.entity_list_item.EntityListItem]
"""
self.__discriminator_value = "Dialog.UpdateDynamicEntities" # type: str
self.object_type = self.__discriminator_value
super(DynamicEntitiesDirective, self).__init__(object_type=self.__discriminator_value)
self.update_behavior = update_behavior
self.types = types
def __eq__(self, other):
# type: (object) -> bool
"""Returns true if both objects are equal"""
if not isinstance(other, DynamicEntitiesDirective):
return False
return self.__dict__ == other.__dict__