active = $active; $this->apiParas["active"] = $active; } public function getActive() { return $this->active; } public function setBizId($bizId) { $this->bizId = $bizId; $this->apiParas["biz_id"] = $bizId; } public function getBizId() { return $this->bizId; } public function setEndTime($endTime) { $this->endTime = $endTime; $this->apiParas["end_time"] = $endTime; } public function getEndTime() { return $this->endTime; } public function setOuterId($outerId) { $this->outerId = $outerId; $this->apiParas["outer_id"] = $outerId; } public function getOuterId() { return $this->outerId; } public function setStartTime($startTime) { $this->startTime = $startTime; $this->apiParas["start_time"] = $startTime; } public function getStartTime() { return $this->startTime; } public function getApiMethodName() { return "dingtalk.oapi.pbp.instance.create"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->bizId,"bizId"); RequestCheckUtil::checkNotNull($this->outerId,"outerId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }