_propDict)) { return $this->_propDict["isReply"]; } else { return null; } } /** * Sets the isReply * If true, this activity was a reply to an existing comment thread. * * @param bool $val The value of the isReply * * @return CommentAction */ public function setIsReply($val) { $this->_propDict["isReply"] = $val; return $this; } /** * Gets the parentAuthor * The identity of the user who started the comment thread. * * @return IdentitySet|null The parentAuthor */ public function getParentAuthor() { if (array_key_exists("parentAuthor", $this->_propDict)) { if (is_a($this->_propDict["parentAuthor"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["parentAuthor"])) { return $this->_propDict["parentAuthor"]; } else { $this->_propDict["parentAuthor"] = new IdentitySet($this->_propDict["parentAuthor"]); return $this->_propDict["parentAuthor"]; } } return null; } /** * Sets the parentAuthor * The identity of the user who started the comment thread. * * @param IdentitySet $val The value to assign to the parentAuthor * * @return CommentAction The CommentAction */ public function setParentAuthor($val) { $this->_propDict["parentAuthor"] = $val; return $this; } /** * Gets the participants * The identities of the users participating in this comment thread. * * @return IdentitySet|null The participants */ public function getParticipants() { if (array_key_exists("participants", $this->_propDict)) { if (is_a($this->_propDict["participants"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["participants"])) { return $this->_propDict["participants"]; } else { $this->_propDict["participants"] = new IdentitySet($this->_propDict["participants"]); return $this->_propDict["participants"]; } } return null; } /** * Sets the participants * The identities of the users participating in this comment thread. * * @param IdentitySet $val The value to assign to the participants * * @return CommentAction The CommentAction */ public function setParticipants($val) { $this->_propDict["participants"] = $val; return $this; } }