123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.kac.openlive.white_users.batch_delete request
- *
- * @author auto create
- * @since 1.0, 2021.09.28
- */
- class OapiKacOpenliveWhiteUsersBatchDeleteRequest
- {
- /**
- * 直播id
- **/
- private $liveId;
-
- /**
- * 员工id列表
- **/
- private $userIds;
-
- private $apiParas = array();
-
- public function setLiveId($liveId)
- {
- $this->liveId = $liveId;
- $this->apiParas["live_id"] = $liveId;
- }
- public function getLiveId()
- {
- return $this->liveId;
- }
- public function setUserIds($userIds)
- {
- $this->userIds = $userIds;
- $this->apiParas["user_ids"] = $userIds;
- }
- public function getUserIds()
- {
- return $this->userIds;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.kac.openlive.white_users.batch_delete";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->liveId,"liveId");
- RequestCheckUtil::checkNotNull($this->userIds,"userIds");
- RequestCheckUtil::checkMaxListSize($this->userIds,999,"userIds");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|