datadog-accessors.go
func (w *WidgetApmOrLogQuery) GetIndexOk() (string, bool) {
	if w == nil || w.Index == nil {
		return "", false
	}
	return *w.Index, true
}
func (w *WidgetApmOrLogQuery) GetIndexOk() (string, bool) {
	if w == nil || w.Index == nil {
		return "", false
	}
	return *w.Index, true
}
// GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise
// and a boolean to check if the value has been set.