_propDict)) { if (is_a($this->_propDict["b"], "\Microsoft\Graph\Model\Byte") || is_null($this->_propDict["b"])) { return $this->_propDict["b"]; } else { $this->_propDict["b"] = new Byte($this->_propDict["b"]); return $this->_propDict["b"]; } } return null; } /** * Sets the b * Blue value * * @param Byte $val The value to assign to the b * * @return RgbColor The RgbColor */ public function setB($val) { $this->_propDict["b"] = $val; return $this; } /** * Gets the g * Green value * * @return Byte|null The g */ public function getG() { if (array_key_exists("g", $this->_propDict)) { if (is_a($this->_propDict["g"], "\Microsoft\Graph\Model\Byte") || is_null($this->_propDict["g"])) { return $this->_propDict["g"]; } else { $this->_propDict["g"] = new Byte($this->_propDict["g"]); return $this->_propDict["g"]; } } return null; } /** * Sets the g * Green value * * @param Byte $val The value to assign to the g * * @return RgbColor The RgbColor */ public function setG($val) { $this->_propDict["g"] = $val; return $this; } /** * Gets the r * Red value * * @return Byte|null The r */ public function getR() { if (array_key_exists("r", $this->_propDict)) { if (is_a($this->_propDict["r"], "\Microsoft\Graph\Model\Byte") || is_null($this->_propDict["r"])) { return $this->_propDict["r"]; } else { $this->_propDict["r"] = new Byte($this->_propDict["r"]); return $this->_propDict["r"]; } } return null; } /** * Sets the r * Red value * * @param Byte $val The value to assign to the r * * @return RgbColor The RgbColor */ public function setR($val) { $this->_propDict["r"] = $val; return $this; } }