bizId = $bizId; $this->apiParas["biz_id"] = $bizId; } public function getBizId() { return $this->bizId; } public function setCursor($cursor) { $this->cursor = $cursor; $this->apiParas["cursor"] = $cursor; } public function getCursor() { return $this->cursor; } public function setMode($mode) { $this->mode = $mode; $this->apiParas["mode"] = $mode; } public function getMode() { return $this->mode; } public function setSize($size) { $this->size = $size; $this->apiParas["size"] = $size; } public function getSize() { return $this->size; } public function setType($type) { $this->type = $type; $this->apiParas["type"] = $type; } public function getType() { return $this->type; } public function getApiMethodName() { return "dingtalk.oapi.smartdevice.facegroup.device.list"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->bizId,"bizId"); RequestCheckUtil::checkMaxLength($this->bizId,23,"bizId"); RequestCheckUtil::checkNotNull($this->cursor,"cursor"); RequestCheckUtil::checkNotNull($this->mode,"mode"); RequestCheckUtil::checkNotNull($this->size,"size"); RequestCheckUtil::checkMaxValue($this->size,20,"size"); RequestCheckUtil::checkMinValue($this->size,1,"size"); RequestCheckUtil::checkNotNull($this->type,"type"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }