objectId = $objectId; $this->apiParas["object_id"] = $objectId; } public function getObjectId() { return $this->objectId; } public function setStatDates($statDates) { $this->statDates = $statDates; $this->apiParas["stat_dates"] = $statDates; } public function getStatDates() { return $this->statDates; } public function setType($type) { $this->type = $type; $this->apiParas["type"] = $type; } public function getType() { return $this->type; } public function getApiMethodName() { return "dingtalk.oapi.health.stepinfo.list"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->objectId,"objectId"); RequestCheckUtil::checkNotNull($this->statDates,"statDates"); RequestCheckUtil::checkMaxListSize($this->statDates,31,"statDates"); RequestCheckUtil::checkNotNull($this->type,"type"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }