backend.globaleaks.models.enums

Module Contents

Classes

_Enum Generic enumeration.
EnumUserRole Generic enumeration.
EnumUserState Generic enumeration.
EnumContextStatus Generic enumeration.
EnumFieldInstance Generic enumeration.
EnumFieldAttrType Generic enumeration.
EnumFieldOptionScoreType Generic enumeration.
EnumMessageType Generic enumeration.
EnumFileStatus Generic enumeration.
class backend.globaleaks.models.enums._Enum[source]

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

classmethod keys(cls)[source]
class backend.globaleaks.models.enums.EnumUserRole[source]

Bases: backend.globaleaks.models.enums._Enum

Generic enumeration.

Derive from this class to define new enumerations.

admin = 0[source]
receiver = 1[source]
custodian = 2[source]
class backend.globaleaks.models.enums.EnumUserState[source]

Bases: backend.globaleaks.models.enums._Enum

Generic enumeration.

Derive from this class to define new enumerations.

disabled = 0[source]
enabled = 1[source]
class backend.globaleaks.models.enums.EnumContextStatus[source]

Bases: backend.globaleaks.models.enums._Enum

Generic enumeration.

Derive from this class to define new enumerations.

disabled = 0[source]
enabled = 1[source]
hidden = 2[source]
class backend.globaleaks.models.enums.EnumFieldInstance[source]

Bases: backend.globaleaks.models.enums._Enum

Generic enumeration.

Derive from this class to define new enumerations.

instance = 0[source]
template = 1[source]
reference = 2[source]
class backend.globaleaks.models.enums.EnumFieldAttrType[source]

Bases: backend.globaleaks.models.enums._Enum

Generic enumeration.

Derive from this class to define new enumerations.

int = 0[source]
bool = 1[source]
unicode = 2[source]
localized = 3[source]
class backend.globaleaks.models.enums.EnumFieldOptionScoreType[source]

Bases: backend.globaleaks.models.enums._Enum

Generic enumeration.

Derive from this class to define new enumerations.

none = 0[source]
addition = 1[source]
multiplier = 2[source]
class backend.globaleaks.models.enums.EnumMessageType[source]

Bases: backend.globaleaks.models.enums._Enum

Generic enumeration.

Derive from this class to define new enumerations.

whistleblower = 0[source]
receiver = 1[source]
class backend.globaleaks.models.enums.EnumFileStatus[source]

Bases: backend.globaleaks.models.enums._Enum

Generic enumeration.

Derive from this class to define new enumerations.

processing = 0[source]
reference = 1[source]
encrypted = 2[source]
unavailable = 3[source]