classId = $classId; $this->apiParas["class_id"] = $classId; } public function getClassId() { return $this->classId; } public function setStudentUserid($studentUserid) { $this->studentUserid = $studentUserid; $this->apiParas["student_userid"] = $studentUserid; } public function getStudentUserid() { return $this->studentUserid; } public function getApiMethodName() { return "dingtalk.oapi.edu.student.get"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->classId,"classId"); RequestCheckUtil::checkNotNull($this->studentUserid,"studentUserid"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }