12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.retail.user.unionidquery request
- *
- * @author auto create
- * @since 1.0, 2021.05.20
- */
- class OapiRetailUserUnionidqueryRequest
- {
- /**
- * 业务身份
- **/
- private $channel;
-
- /**
- * 主帐号ID
- **/
- private $outerId;
-
- /**
- * 子帐号ID
- **/
- private $subOuterId;
-
- private $apiParas = array();
-
- public function setChannel($channel)
- {
- $this->channel = $channel;
- $this->apiParas["channel"] = $channel;
- }
- public function getChannel()
- {
- return $this->channel;
- }
- public function setOuterId($outerId)
- {
- $this->outerId = $outerId;
- $this->apiParas["outer_id"] = $outerId;
- }
- public function getOuterId()
- {
- return $this->outerId;
- }
- public function setSubOuterId($subOuterId)
- {
- $this->subOuterId = $subOuterId;
- $this->apiParas["sub_outer_id"] = $subOuterId;
- }
- public function getSubOuterId()
- {
- return $this->subOuterId;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.retail.user.unionidquery";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->channel,"channel");
- RequestCheckUtil::checkNotNull($this->outerId,"outerId");
- RequestCheckUtil::checkNotNull($this->subOuterId,"subOuterId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|