# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.model import BaseRequest
from lark_oapi.core.enum import HttpMethod, AccessTokenType


class ListRepoRequest(BaseRequest):
    def __init__(self) -> None:
        super().__init__()

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


class ListRepoRequestBuilder(object):

    def __init__(self) -> None:
        list_repo_request = ListRepoRequest()
        list_repo_request.http_method = HttpMethod.GET
        list_repo_request.uri = "/open-apis/lingo/v1/repos"
        list_repo_request.token_types = {AccessTokenType.TENANT, AccessTokenType.USER}
        self._list_repo_request: ListRepoRequest = list_repo_request

    def build(self) -> ListRepoRequest:
        return self._list_repo_request
