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