election_day.models.subscriber ============================== .. py:module:: election_day.models.subscriber Classes ------- .. autoapisummary:: election_day.models.subscriber.Subscriber election_day.models.subscriber.SmsSubscriber election_day.models.subscriber.EmailSubscriber Module Contents --------------- .. py:class:: Subscriber Bases: :py:obj:`onegov.core.orm.Base`, :py:obj:`onegov.core.orm.mixins.TimestampMixin` Stores subscribers for the notifications .. py:attribute:: __tablename__ :value: 'subscribers' .. py:attribute:: type :type: sqlalchemy.Column[str] .. py:attribute:: __mapper_args__ .. py:attribute:: id :type: sqlalchemy.Column[uuid.UUID] .. py:attribute:: address :type: sqlalchemy.Column[str] .. py:attribute:: locale :type: sqlalchemy.Column[str] .. py:attribute:: active :type: sqlalchemy.Column[bool | None] .. py:attribute:: domain :type: sqlalchemy.Column[str | None] .. py:attribute:: domain_segment :type: sqlalchemy.Column[str | None] .. py:attribute:: active_since :type: sqlalchemy.Column[datetime.datetime | None] .. py:attribute:: inactive_since :type: sqlalchemy.Column[datetime.datetime | None] .. py:class:: SmsSubscriber Bases: :py:obj:`Subscriber` Stores subscribers for the notifications .. py:attribute:: __mapper_args__ .. py:class:: EmailSubscriber Bases: :py:obj:`Subscriber` Stores subscribers for the notifications .. py:attribute:: __mapper_args__