# Code generated by Lark OpenAPI.

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


class BatchGetPathwayResponseBody(object):
    _types = {
        "items": List[Pathway],
    }

    def __init__(self, d=None):
        self.items: Optional[List[Pathway]] = None
        init(self, d, self._types)

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


class BatchGetPathwayResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_get_pathway_response_body = BatchGetPathwayResponseBody()

    def items(self, items: List[Pathway]) -> "BatchGetPathwayResponseBodyBuilder":
        self._batch_get_pathway_response_body.items = items
        return self

    def build(self) -> "BatchGetPathwayResponseBody":
        return self._batch_get_pathway_response_body
