agentId = $agentId; $this->apiParas["agent_id"] = $agentId; } public function getAgentId() { return $this->agentId; } public function setBizCategoryId($bizCategoryId) { $this->bizCategoryId = $bizCategoryId; $this->apiParas["biz_category_id"] = $bizCategoryId; } public function getBizCategoryId() { return $this->bizCategoryId; } public function setCopyType($copyType) { $this->copyType = $copyType; $this->apiParas["copy_type"] = $copyType; } public function getCopyType() { return $this->copyType; } public function setDescription($description) { $this->description = $description; $this->apiParas["description"] = $description; } public function getDescription() { return $this->description; } public function setProcessCode($processCode) { $this->processCode = $processCode; $this->apiParas["process_code"] = $processCode; } public function getProcessCode() { return $this->processCode; } public function setProcessName($processName) { $this->processName = $processName; $this->apiParas["process_name"] = $processName; } public function getProcessName() { return $this->processName; } public function getApiMethodName() { return "dingtalk.oapi.process.copy"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->agentId,"agentId"); RequestCheckUtil::checkMaxLength($this->bizCategoryId,64,"bizCategoryId"); RequestCheckUtil::checkNotNull($this->processCode,"processCode"); RequestCheckUtil::checkMaxLength($this->processName,64,"processName"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }