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