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