modelType = $modelType; $this->apiParas["model_type"] = $modelType; } public function getModelType() { return $this->modelType; } public function setModelVersion($modelVersion) { $this->modelVersion = $modelVersion; $this->apiParas["model_version"] = $modelVersion; } public function getModelVersion() { return $this->modelVersion; } public function setUseridList($useridList) { $this->useridList = $useridList; $this->apiParas["userid_list"] = $useridList; } public function getUseridList() { return $this->useridList; } public function getApiMethodName() { return "dingtalk.oapi.smartdevice.face.feature"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->modelType,"modelType"); RequestCheckUtil::checkNotNull($this->modelVersion,"modelVersion"); RequestCheckUtil::checkNotNull($this->useridList,"useridList"); RequestCheckUtil::checkMaxListSize($this->useridList,20,"useridList"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }