_propDict)) { return $this->_propDict["isDefault"]; } else { return null; } } /** * Sets the isDefault * * @param bool $val The isDefault * * @return DefaultUserRoleOverride */ public function setIsDefault($val) { $this->_propDict["isDefault"] = boolval($val); return $this; } /** * Gets the rolePermissions * * @return array|null The rolePermissions */ public function getRolePermissions() { if (array_key_exists("rolePermissions", $this->_propDict)) { return $this->_propDict["rolePermissions"]; } else { return null; } } /** * Sets the rolePermissions * * @param UnifiedRolePermission[] $val The rolePermissions * * @return DefaultUserRoleOverride */ public function setRolePermissions($val) { $this->_propDict["rolePermissions"] = $val; return $this; } }