Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ObjectInformation configobject.ObjectInformation Fields = []string{ "id", "environment_id", "name_checksum", "properties_checksum", "name", "name_ci", "host_id", "service_id", "command_id", "times_begin", "times_end", "notification_interval", "timeperiod_id", "states", "types", "zone_id", } )
Functions ¶
func NewNotification ¶
func NewNotification() connection.Row
Types ¶
type Notification ¶
type Notification struct { Id string `json:"id"` EnvId string `json:"environment_id"` NameChecksum string `json:"name_checksum"` PropertiesChecksum string `json:"checksum"` Name string `json:"name"` NameCi *string `json:"name_ci"` HostId string `json:"host_id"` ServiceId string `json:"service_id"` CommandId string `json:"command_id"` TimesBegin float64 `json:"times_begin"` TimesEnd float64 `json:"times_end"` NotificationInterval float64 `json:"notification_interval"` PeriodId string `json:"timeperiod_id"` States []string `json:"states"` Types []string `json:"types"` ZoneId string `json:"zone_id"` }
func (*Notification) GetFinalRows ¶
func (n *Notification) GetFinalRows() ([]connection.Row, error)
func (*Notification) GetId ¶
func (n *Notification) GetId() string
func (*Notification) InsertValues ¶
func (n *Notification) InsertValues() []interface{}
func (*Notification) SetId ¶
func (n *Notification) SetId(id string)
func (*Notification) UpdateValues ¶
func (n *Notification) UpdateValues() []interface{}
Click to show internal directories.
Click to hide internal directories.