datadog-accessors.go
func (r *Rule) GetThreshold() json.Number {
	if r == nil || r.Threshold == nil {
		return ""
	}
	return *r.Threshold
}
func (r *Rule) GetThreshold() json.Number {
	if r == nil || r.Threshold == nil {
		return ""
	}
	return *r.Threshold
}
// GetThreshold returns the Threshold field if non-nil, zero value otherwise.