# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.construct import init


class SubPageList(object):
    _types = {
        "wiki_token": str,
    }

    def __init__(self, d=None):
        self.wiki_token: Optional[str] = None
        init(self, d, self._types)

    @staticmethod
    def builder() -> "SubPageListBuilder":
        return SubPageListBuilder()


class SubPageListBuilder(object):
    def __init__(self) -> None:
        self._sub_page_list = SubPageList()

    def wiki_token(self, wiki_token: str) -> "SubPageListBuilder":
        self._sub_page_list.wiki_token = wiki_token
        return self

    def build(self) -> "SubPageList":
        return self._sub_page_list
