datadog-accessors.go
func (w *WidgetApmOrLogQuery) HasIndex() bool {
	if w != nil && w.Index != nil {
		return true
	}

	return false
}
func (w *WidgetApmOrLogQuery) HasIndex() bool {
	if w != nil && w.Index != nil {
		return true
	}

	return false
}
// HasIndex returns a boolean if a field has been set.