_propDict)) { return $this->_propDict["errors"]; } else { return null; } } /** * Sets the errors * Set of errors discovered through validation. * * @param \Beta\Microsoft\Graph\Model\PublicError[] $val The errors * * @return ValidateOperation */ public function setErrors($val) { $this->_propDict["errors"] = $val; return $this; } /** * Gets the warnings * Set of warnings discovered through validation. * * @return array|null The warnings */ public function getWarnings() { if (array_key_exists("warnings", $this->_propDict)) { return $this->_propDict["warnings"]; } else { return null; } } /** * Sets the warnings * Set of warnings discovered through validation. * * @param \Beta\Microsoft\Graph\Model\PublicError[] $val The warnings * * @return ValidateOperation */ public function setWarnings($val) { $this->_propDict["warnings"] = $val; return $this; } }