func (w *WidgetApmOrLogQuery) GetIndex() string {
	if w == nil || w.Index == nil {
		return ""
	}
	return *w.Index
}
func (w *WidgetApmOrLogQuery) GetIndex() string {
	if w == nil || w.Index == nil {
		return ""
	}
	return *w.Index
}
func ( w * WidgetApmOrLogQuery ) GetIndex ( ) string { if w == nil || w . Index == nil { return " " } return * w . Index }
// GetIndex returns the Index field if non-nil, zero value otherwise.
GetIndex returns the Index field if non - nil zero value otherwise .