agentId = $agentId; $this->apiParas["agent_id"] = $agentId; } public function getAgentId() { return $this->agentId; } public function setOpenRoleCreate($openRoleCreate) { $this->openRoleCreate = $openRoleCreate; $this->apiParas["open_role_create"] = $openRoleCreate; } public function getOpenRoleCreate() { return $this->openRoleCreate; } public function getApiMethodName() { return "dingtalk.oapi.authorization.rbac.role.create"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->agentId,"agentId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }