angelos.document.messages

Module docstring.

class angelos.document.messages.Attachment(nd: dict = {}, strict: bool = True)

Bases: angelos.document.model.BaseDocument

Short summary.

name

Description of attribute name.

Type

StringField

mime

Description of attribute mime.

Type

StringField

data

Description of attribute data.

Type

BinaryField

class angelos.document.messages.Instant(nd: dict = {}, strict: bool = True)

Bases: angelos.document.messages.Message

Short summary.

type

Description of attribute type.

Type

TypeField

body

Description of attribute body.

Type

BinaryField

mime

Description of attribute mime.

Type

StringField

apply_rules() → bool

Short summary.

Returns

Description of returned object.

Return type

type

class angelos.document.messages.Mail(nd: dict = {}, strict: bool = True)

Bases: angelos.document.messages.Message

Short summary.

type

Description of attribute type.

Type

TypeField

subject

Description of attribute subject.

Type

StringField

attachments

Description of attribute attachments.

Type

DocumentField

apply_rules() → bool

Short summary.

Returns

Description of returned object.

Return type

type

class angelos.document.messages.Message(nd: dict = {}, strict: bool = True)

Bases: angelos.document.document.Document, angelos.document.document.OwnerMixin

Short summary.

expires

Description of attribute expires.

Type

DateField

reply

Description of attribute reply.

Type

UuidField

body

Description of attribute body.

Type

StringField

posted

Description of attribute posted.

Type

DateTimeField

period() → float

The Delta period to expiry date.

Returns (datetime.timedelta):

The Delta period.

class angelos.document.messages.Note(nd: dict = {}, strict: bool = True)

Bases: angelos.document.messages.Message

Short summary.

type

Description of attribute type.

Type

TypeField

apply_rules() → bool

Short summary.

Returns

Description of returned object.

Return type

type

class angelos.document.messages.Report(nd: dict = {}, strict: bool = True)

Bases: angelos.document.messages.Mail

Short summary.

type

Description of attribute type.

Type

TypeField

apply_rules() → bool

Short summary.

Returns

Description of returned object.

Return type

type

class angelos.document.messages.Share(nd: dict = {}, strict: bool = True)

Bases: angelos.document.messages.Mail

Short summary.

type

Description of attribute type.

Type

TypeField

apply_rules() → bool

Short summary.

Returns

Description of returned object.

Return type

type