func (d *Downtime) GetMonitorId() int {
	if d == nil || d.MonitorId == nil {
		return 0
	}
	return *d.MonitorId
}
func (d *Downtime) GetMonitorId() int {
	if d == nil || d.MonitorId == nil {
		return 0
	}
	return *d.MonitorId
}
func ( d * Downtime ) GetMonitorId ( ) int { if d == nil || d . MonitorId == nil { return 0 } return * d . MonitorId }
// GetMonitorId returns the MonitorId field if non-nil, zero value otherwise.
GetMonitorId returns the MonitorId field if non - nil zero value otherwise .