bizUk = $bizUk; $this->apiParas["biz_uk"] = $bizUk; } public function getBizUk() { return $this->bizUk; } public function setEntityCode($entityCode) { $this->entityCode = $entityCode; $this->apiParas["entity_code"] = $entityCode; } public function getEntityCode() { return $this->entityCode; } public function setScopeCode($scopeCode) { $this->scopeCode = $scopeCode; $this->apiParas["scope_code"] = $scopeCode; } public function getScopeCode() { return $this->scopeCode; } public function setTenantId($tenantId) { $this->tenantId = $tenantId; $this->apiParas["tenant_id"] = $tenantId; } public function getTenantId() { return $this->tenantId; } public function getApiMethodName() { return "dingtalk.oapi.smartwork.hrm.master.check"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->bizUk,"bizUk"); RequestCheckUtil::checkMaxListSize($this->bizUk,20,"bizUk"); RequestCheckUtil::checkNotNull($this->scopeCode,"scopeCode"); RequestCheckUtil::checkNotNull($this->tenantId,"tenantId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }