datadog-accessors.go
func (r *Rule) GetThresholdOk() (json.Number, bool) {
	if r == nil || r.Threshold == nil {
		return "", false
	}
	return *r.Threshold, true
}
func (r *Rule) GetThresholdOk() (json.Number, bool) {
	if r == nil || r.Threshold == nil {
		return "", false
	}
	return *r.Threshold, true
}
func ( r * Rule ) GetThresholdOk ( ) ( json . Number , bool ) { if r == nil || r . Threshold == nil { return " " , false } return * r . Threshold , true }
// GetThresholdOk returns a tuple with the Threshold field if it's non-nil, zero value otherwise
// and a boolean to check if the value has been set.
GetThresholdOk returns a tuple with the Threshold field if it s non - nil zero value otherwise and a boolean to check if the value has been set .