code: func (w *WidgetEvent) GetQueryOk() (string, bool) {
  	if w == nil || w.Query == nil {
  		return "", false
  	}
  	return *w.Query, true
  }
docs: // GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise
  // and a boolean to check if the value has been set.