OneGov Recipient API

Models

class onegov.recipient.model.GenericRecipient(**kwargs)[source]

A generic recipient class with polymorphic support.

id

the internal id of the recipient

name

the recipient name

order

the order of the records (set to the normalized name + medium)

medium

the medium over which notifications are sent

address

the phone number, e-mail, url, etc. of the recipient (matches medium)

extra

extra information associated with the address (say POST/GET for http)

type

the polymorphic recipient type

Collection