datadog-accessors.go
func (s *Series) GetUnitsOk() (UnitPair, bool) {
	if s == nil || s.Units == nil {
		return UnitPair{}, false
	}
	return *s.Units, true
}
func (s *Series) GetUnitsOk() (UnitPair, bool) {
	if s == nil || s.Units == nil {
		return UnitPair{}, false
	}
	return *s.Units, true
}
// GetUnitsOk returns a tuple with the Units field if it's non-nil, zero value otherwise
// and a boolean to check if the value has been set.