123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.rhino.mos.exec.perform.create request
- *
- * @author auto create
- * @since 1.0, 2022.11.09
- */
- class OapiRhinoMosExecPerformCreateRequest
- {
- /**
- * 工序执行记录
- **/
- private $operations;
-
- /**
- * 订单ID
- **/
- private $orderId;
-
- /**
- * 租户ID
- **/
- private $tenantId;
-
- /**
- * 用户ID
- **/
- private $userid;
-
- private $apiParas = array();
-
- public function setOperations($operations)
- {
- $this->operations = $operations;
- $this->apiParas["operations"] = $operations;
- }
- public function getOperations()
- {
- return $this->operations;
- }
- public function setOrderId($orderId)
- {
- $this->orderId = $orderId;
- $this->apiParas["order_id"] = $orderId;
- }
- public function getOrderId()
- {
- return $this->orderId;
- }
- public function setTenantId($tenantId)
- {
- $this->tenantId = $tenantId;
- $this->apiParas["tenant_id"] = $tenantId;
- }
- public function getTenantId()
- {
- return $this->tenantId;
- }
- public function setUserid($userid)
- {
- $this->userid = $userid;
- $this->apiParas["userid"] = $userid;
- }
- public function getUserid()
- {
- return $this->userid;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.rhino.mos.exec.perform.create";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->tenantId,"tenantId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|