1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.crm.objectdata.customer.list request
- *
- * @author auto create
- * @since 1.0, 2021.01.28
- */
- class OapiCrmObjectdataCustomerListRequest
- {
- /**
- * 操作人用户ID
- **/
- private $currentOperatorUserid;
-
- /**
- * 数据ID列表
- **/
- private $dataIdList;
-
- private $apiParas = array();
-
- public function setCurrentOperatorUserid($currentOperatorUserid)
- {
- $this->currentOperatorUserid = $currentOperatorUserid;
- $this->apiParas["current_operator_userid"] = $currentOperatorUserid;
- }
- public function getCurrentOperatorUserid()
- {
- return $this->currentOperatorUserid;
- }
- public function setDataIdList($dataIdList)
- {
- $this->dataIdList = $dataIdList;
- $this->apiParas["data_id_list"] = $dataIdList;
- }
- public function getDataIdList()
- {
- return $this->dataIdList;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.crm.objectdata.customer.list";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->dataIdList,"dataIdList");
- RequestCheckUtil::checkMaxListSize($this->dataIdList,100,"dataIdList");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|