class documentation

The list of banned addresses from a mailing-list or from the whole site.

Method __contains__ Undocumented
Method __init__ No summary
Method __repr__ Undocumented
Method add Undocumented
Method find_by_email Undocumented
Method remove Undocumented
Instance Variable _factory Undocumented
Instance Variable _mlist Undocumented

Inherited from RESTList:

Method __delitem__ Undocumented
Method __getitem__ Undocumented
Method __iter__ Undocumented
Method __len__ Undocumented
Method clear Undocumented
Property rest_data Get data from API and cache it (only once per instance).

Inherited from RESTBase (via RESTList):

Method save Undocumented
Method _get Undocumented
Method _reset_cache Undocumented
Method _set Undocumented
Class Variable _autosave automatically send a PATCH request to the API when a value is changed. Otherwise, the save() method must be called.
Class Variable _properties the list of expected entity properties. This is required for API elements that behave like an object, with REST data accessed through attributes. If this value is None, the REST data is used to list available properties.
Class Variable _read_only_properties list of properties that cannot be written to (defaults to self_link only).
Class Variable _writable_properties list of properties that can be written to using a PATCH request. If this value is None, all properties are writable.
Instance Variable _changed_rest_data Undocumented
Instance Variable _connection Undocumented
Instance Variable _rest_data Undocumented
Instance Variable _url Undocumented
def __contains__(self, item): (source)

Undocumented

def __init__(self, connection, url, data=None, mlist=None): (source)
Parameters
connectionUndocumented
urlUndocumented
dataUndocumented
mlist:MailingList or None.The corresponding list object, or None if it is a global ban list.
def __repr__(self): (source)
def add(self, email): (source)

Undocumented

def find_by_email(self, email): (source)

Undocumented

def remove(self, email): (source)

Undocumented

Undocumented