_propDict)) { if (is_a($this->_propDict["algorithm"], "\Microsoft\Graph\SecurityNamespace\Model\FileHashAlgorithm") || is_null($this->_propDict["algorithm"])) { return $this->_propDict["algorithm"]; } else { $this->_propDict["algorithm"] = new FileHashAlgorithm($this->_propDict["algorithm"]); return $this->_propDict["algorithm"]; } } return null; } /** * Sets the algorithm * The hash algorithm type. Possible values are: unknown, md5, sha1, sha256, sha256ac, unknownFutureValue. * * @param FileHashAlgorithm $val The value to assign to the algorithm * * @return FileHash The FileHash */ public function setAlgorithm($val) { $this->_propDict["algorithm"] = $val; return $this; } /** * Gets the value * The hash value. * * @return string|null The value */ public function getValue() { if (array_key_exists("value", $this->_propDict)) { return $this->_propDict["value"]; } else { return null; } } /** * Sets the value * The hash value. * * @param string $val The value of the value * * @return FileHash */ public function setValue($val) { $this->_propDict["value"] = $val; return $this; } }