addMembers = $addMembers; $this->apiParas["add_members"] = $addMembers; } public function getAddMembers() { return $this->addMembers; } public function setAgentId($agentId) { $this->agentId = $agentId; $this->apiParas["agent_id"] = $agentId; } public function getAgentId() { return $this->agentId; } public function setOpenRoleId($openRoleId) { $this->openRoleId = $openRoleId; $this->apiParas["open_role_id"] = $openRoleId; } public function getOpenRoleId() { return $this->openRoleId; } public function getApiMethodName() { return "dingtalk.oapi.authorization.rbac.role.member.add"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->agentId,"agentId"); RequestCheckUtil::checkNotNull($this->openRoleId,"openRoleId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }