classId = $classId; $this->apiParas["class_id"] = $classId; } public function getClassId() { return $this->classId; } public function setCorpId($corpId) { $this->corpId = $corpId; $this->apiParas["corp_id"] = $corpId; } public function getCorpId() { return $this->corpId; } public function setStudentParam($studentParam) { $this->studentParam = $studentParam; $this->apiParas["student_param"] = $studentParam; } public function getStudentParam() { return $this->studentParam; } public function setUserid($userid) { $this->userid = $userid; $this->apiParas["userid"] = $userid; } public function getUserid() { return $this->userid; } public function getApiMethodName() { return "dingtalk.oapi.edu.class.student.list"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->classId,"classId"); RequestCheckUtil::checkNotNull($this->userid,"userid"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }