recipient.model =============== .. py:module:: recipient.model Attributes ---------- .. autoapisummary:: recipient.model.Medium Classes ------- .. autoapisummary:: recipient.model.GenericRecipient Module Contents --------------- .. py:type:: Medium :canonical: Literal['phone', 'email', 'http'] .. py:class:: GenericRecipient Bases: :py:obj:`onegov.core.orm.Base`, :py:obj:`onegov.core.orm.mixins.ContentMixin`, :py:obj:`onegov.core.orm.mixins.TimestampMixin` A generic recipient class with polymorphic support. .. py:attribute:: __tablename__ :value: 'generic_recipients' .. py:attribute:: id :type: sqlalchemy.Column[uuid.UUID] .. py:attribute:: name :type: sqlalchemy.Column[str] .. py:attribute:: order :type: sqlalchemy.Column[str] .. py:attribute:: medium :type: sqlalchemy.Column[Medium] .. py:attribute:: address :type: sqlalchemy.Column[str] .. py:attribute:: extra :type: sqlalchemy.Column[str | None] .. py:attribute:: type :type: sqlalchemy.Column[str] .. py:attribute:: __mapper_args__ .. py:method:: name_observer(name: str) -> None