class documentation

class HeldMessage(RESTObject): (source)

View In Hierarchy

Undocumented

Method __repr__ Undocumented
Method accept Shortcut for moderate.
Method defer Shortcut for moderate.
Method discard Shortcut for moderate.
Method moderate Moderate a held message.
Method reject Shortcut for moderate.
Class Variable _properties Undocumented

Inherited from RESTObject:

Method __getattr__ Undocumented
Method __setattr__ Undocumented
Method delete Undocumented

Inherited from RESTBase (via RESTObject):

Method __init__ No summary
Method save Undocumented
Property rest_data Get data from API and cache it (only once per instance).
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 _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 __repr__(self): (source)
def accept(self): (source)

Shortcut for moderate.

def defer(self): (source)

Shortcut for moderate.

def discard(self): (source)

Shortcut for moderate.

def moderate(self, action, comment=None): (source)

Moderate a held message.

Parameters
action:String.Action to perform on held message.
commentUndocumented
def reject(self, reason=None): (source)

Shortcut for moderate.

Parameters
reasonAn optional reason for rejecting the held message.
_properties: tuple[str, ...] = (source)