_propDict)) { return $this->_propDict["choices"]; } else { return null; } } /** * Sets the choices * List of answer choices. * * @param AccessPackageAnswerChoice[] $val The choices * * @return AccessPackageMultipleChoiceQuestion */ public function setChoices($val) { $this->_propDict["choices"] = $val; return $this; } /** * Gets the isMultipleSelectionAllowed * Indicates whether requestor can select multiple choices as their answer. * * @return bool|null The isMultipleSelectionAllowed */ public function getIsMultipleSelectionAllowed() { if (array_key_exists("isMultipleSelectionAllowed", $this->_propDict)) { return $this->_propDict["isMultipleSelectionAllowed"]; } else { return null; } } /** * Sets the isMultipleSelectionAllowed * Indicates whether requestor can select multiple choices as their answer. * * @param bool $val The isMultipleSelectionAllowed * * @return AccessPackageMultipleChoiceQuestion */ public function setIsMultipleSelectionAllowed($val) { $this->_propDict["isMultipleSelectionAllowed"] = boolval($val); return $this; } }