datadog-accessors.go
func (a *AlertValueDefinition) HasUnit() bool {
	if a != nil && a.Unit != nil {
		return true
	}

	return false
}
func (a *AlertValueDefinition) HasUnit() bool {
	if a != nil && a.Unit != nil {
		return true
	}

	return false
}
func ( a * AlertValueDefinition ) HasUnit ( ) bool { if a != nil && a . Unit != nil { return true } return false }
// HasUnit returns a boolean if a field has been set.
HasUnit returns a boolean if a field has been set .