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