12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- /**
- * dingtalk API: dingtalk.corp.ext.delete request
- *
- * @author auto create
- * @since 1.0, 2022.04.12
- */
- class CorpExtDeleteRequest
- {
- /**
- * 外部联系人的userId
- **/
- private $userid;
-
- private $apiParas = array();
-
- public function setUserid($userid)
- {
- $this->userid = $userid;
- $this->apiParas["userid"] = $userid;
- }
- public function getUserid()
- {
- return $this->userid;
- }
- public function getApiMethodName()
- {
- return "dingtalk.corp.ext.delete";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->userid,"userid");
- RequestCheckUtil::checkMaxLength($this->userid,150,"userid");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|