code: func (d *Downtime) GetParentIdOk() (int, bool) {
  	if d == nil || d.ParentId == nil {
  		return 0, false
  	}
  	return *d.ParentId, true
  }
docs: // GetParentIdOk returns a tuple with the ParentId field if it's non-nil, zero value otherwise
  // and a boolean to check if the value has been set.