_propDict)) { return $this->_propDict["allowCustomMemes"]; } else { return null; } } /** * Sets the allowCustomMemes * If set to true, enables users to include custom memes. * * @param bool $val The value of the allowCustomMemes * * @return TeamFunSettings */ public function setAllowCustomMemes($val) { $this->_propDict["allowCustomMemes"] = $val; return $this; } /** * Gets the allowGiphy * If set to true, enables Giphy use. * * @return bool|null The allowGiphy */ public function getAllowGiphy() { if (array_key_exists("allowGiphy", $this->_propDict)) { return $this->_propDict["allowGiphy"]; } else { return null; } } /** * Sets the allowGiphy * If set to true, enables Giphy use. * * @param bool $val The value of the allowGiphy * * @return TeamFunSettings */ public function setAllowGiphy($val) { $this->_propDict["allowGiphy"] = $val; return $this; } /** * Gets the allowStickersAndMemes * If set to true, enables users to include stickers and memes. * * @return bool|null The allowStickersAndMemes */ public function getAllowStickersAndMemes() { if (array_key_exists("allowStickersAndMemes", $this->_propDict)) { return $this->_propDict["allowStickersAndMemes"]; } else { return null; } } /** * Sets the allowStickersAndMemes * If set to true, enables users to include stickers and memes. * * @param bool $val The value of the allowStickersAndMemes * * @return TeamFunSettings */ public function setAllowStickersAndMemes($val) { $this->_propDict["allowStickersAndMemes"] = $val; return $this; } /** * Gets the giphyContentRating * Giphy content rating. Possible values are: moderate, strict. * * @return GiphyRatingType|null The giphyContentRating */ public function getGiphyContentRating() { if (array_key_exists("giphyContentRating", $this->_propDict)) { if (is_a($this->_propDict["giphyContentRating"], "\Microsoft\Graph\Model\GiphyRatingType") || is_null($this->_propDict["giphyContentRating"])) { return $this->_propDict["giphyContentRating"]; } else { $this->_propDict["giphyContentRating"] = new GiphyRatingType($this->_propDict["giphyContentRating"]); return $this->_propDict["giphyContentRating"]; } } return null; } /** * Sets the giphyContentRating * Giphy content rating. Possible values are: moderate, strict. * * @param GiphyRatingType $val The value to assign to the giphyContentRating * * @return TeamFunSettings The TeamFunSettings */ public function setGiphyContentRating($val) { $this->_propDict["giphyContentRating"] = $val; return $this; } }