123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- /**
- * dingtalk API: dingtalk.smartwork.bpms.processinstance.get request
- *
- * @author auto create
- * @since 1.0, 2019.07.03
- */
- class SmartworkBpmsProcessinstanceGetRequest
- {
- /**
- * 审批实例id
- **/
- private $processInstanceId;
-
- private $apiParas = array();
-
- public function setProcessInstanceId($processInstanceId)
- {
- $this->processInstanceId = $processInstanceId;
- $this->apiParas["process_instance_id"] = $processInstanceId;
- }
- public function getProcessInstanceId()
- {
- return $this->processInstanceId;
- }
- public function getApiMethodName()
- {
- return "dingtalk.smartwork.bpms.processinstance.get";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->processInstanceId,"processInstanceId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|