func (d *Downtime) HasParentId() bool {
	if d != nil && d.ParentId != nil {
		return true
	}

	return false
}
func (d *Downtime) HasParentId() bool {
	if d != nil && d.ParentId != nil {
		return true
	}

	return false
}
func ( d * Downtime ) HasParentId ( ) bool { if d != nil && d . ParentId != nil { return true } return false }
// HasParentId returns a boolean if a field has been set.
HasParentId returns a boolean if a field has been set .