internal TestPlan(XmlRpcStruct data) { active = toInt(data, "active") == 1; id = toInt(data, "id"); name = (string)data["name"]; notes = (string)data["notes"]; testproject_id = toInt(data, "testproject_id"); open = toInt(data, "is_open") == 1; is_public = toInt(data, "is_public") == 1; } }