code: func (t *TimeseriesDefinition) GetShowLegend() bool {
  	if t == nil || t.ShowLegend == nil {
  		return false
  	}
  	return *t.ShowLegend
  }
docs: // GetShowLegend returns the ShowLegend field if non-nil, zero value otherwise.