_propDict)) { return $this->_propDict["isRequired"]; } else { return null; } } /** * Sets the isRequired * Indicates whether it is mandatory to answer the custom question. * * @param bool $val The value of the isRequired * * @return BookingQuestionAssignment */ public function setIsRequired($val) { $this->_propDict["isRequired"] = $val; return $this; } /** * Gets the questionId * If it is mandatory to answer the custom question. * * @return string|null The questionId */ public function getQuestionId() { if (array_key_exists("questionId", $this->_propDict)) { return $this->_propDict["questionId"]; } else { return null; } } /** * Sets the questionId * If it is mandatory to answer the custom question. * * @param string $val The value of the questionId * * @return BookingQuestionAssignment */ public function setQuestionId($val) { $this->_propDict["questionId"] = $val; return $this; } }