12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.industry.studentpool.batchadd request
- *
- * @author auto create
- * @since 1.0, 2020.01.14
- */
- class OapiIndustryStudentpoolBatchaddRequest
- {
- /**
- * 业务code
- **/
- private $bizCode;
-
- /**
- * 学员列表
- **/
- private $studentList;
-
- private $apiParas = array();
-
- public function setBizCode($bizCode)
- {
- $this->bizCode = $bizCode;
- $this->apiParas["biz_code"] = $bizCode;
- }
- public function getBizCode()
- {
- return $this->bizCode;
- }
- public function setStudentList($studentList)
- {
- $this->studentList = $studentList;
- $this->apiParas["student_list"] = $studentList;
- }
- public function getStudentList()
- {
- return $this->studentList;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.industry.studentpool.batchadd";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->bizCode,"bizCode");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|