code: func (w *WidgetApmOrLogQuery) GetIndexOk() (string, bool) {
  	if w == nil || w.Index == nil {
  		return "", false
  	}
  	return *w.Index, true
  }
docs: // 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.