func (q *QueryConfig) GetTimeRangeOk() (TimeRange, bool) {
	if q == nil || q.TimeRange == nil {
		return TimeRange{}, false
	}
	return *q.TimeRange, true
}
func (q *QueryConfig) GetTimeRangeOk() (TimeRange, bool) {
	if q == nil || q.TimeRange == nil {
		return TimeRange{}, false
	}
	return *q.TimeRange, true
}
// GetTimeRangeOk returns a tuple with the TimeRange field if it's non-nil, zero value otherwise
// and a boolean to check if the value has been set.