Contact

Contact

class Contact(id_unique, name, alias, email, pager, gui_access, admin, activate)

This class represents a contact

Parameters
  • id_unique (int) – ID of the contact

  • name (str) – Name of the contact

  • alias (str) – Alias of the contact

  • email (str) – EMail of the contact

  • pager (str) – Pager of the contact

  • gui_access (bool) – Has the contact gui access?

  • admin (bool) – Is the user admin?

  • activate (bool) – Is the user activated?

ContactAuthenticationType

class ContactAuthenticationType

This class represents the authentication types

LDAP = 'ldap'
LOCAL = 'local'

ContactParam

class ContactParam

This class represents the contact params

ACCESS = 'access'
ADDRESS1 = 'address1'
ADDRESS2 = 'address2'
ADDRESS3 = 'address3'
ADDRESS4 = 'address4'
ADDRESS5 = 'address5'
ADDRESS6 = 'address6'
ADMIN = 'admin'
ALIAS = 'alias'
AUTHTYPE = 'authtype'
AUTOLOGIN_KEY = 'autologin_key'
COMMENT = 'comment'
EMAIL = 'email'
ENABLE_NOTIFICATIONS = 'enable_notifications'
HOSTNOTIFCMD = 'hostnotifcmd'
HOSTNOTIFOPT = 'hostnotifopt'
HOSTNOTIFPERIOD = 'hostnotifperiod'
LANGUAGE = 'language'
LDAP_DN = 'ldap_dn'
NAME = 'name'
PASSWORD = 'password'
SERVICENOTIFOPT = 'svcnotifopt'
SVCNOTIFCMD = 'svcnotifcmd'
SVCNOTIFPERIOD = 'svcnotifperiod'
TEMPLATE = 'template'
TIMEZONE = 'timezone'