authCode = $authCode; $this->apiParas["auth_code"] = $authCode; } public function getAuthCode() { return $this->authCode; } public function setCursor($cursor) { $this->cursor = $cursor; $this->apiParas["cursor"] = $cursor; } public function getCursor() { return $this->cursor; } public function setGroupType($groupType) { $this->groupType = $groupType; $this->apiParas["group_type"] = $groupType; } public function getGroupType() { return $this->groupType; } public function setRoleType($roleType) { $this->roleType = $roleType; $this->apiParas["role_type"] = $roleType; } public function getRoleType() { return $this->roleType; } public function setSize($size) { $this->size = $size; $this->apiParas["size"] = $size; } public function getSize() { return $this->size; } public function getApiMethodName() { return "dingtalk.oapi.wiki.group.list"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->authCode,"authCode"); RequestCheckUtil::checkNotNull($this->groupType,"groupType"); RequestCheckUtil::checkNotNull($this->roleType,"roleType"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }