# 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 .job_family_timeline import JobFamilyTimeline


class QueryMultiTimelineJobFamilyResponseBody(object):
    _types = {
        "items": List[JobFamilyTimeline],
    }

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

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


class QueryMultiTimelineJobFamilyResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._query_multi_timeline_job_family_response_body = QueryMultiTimelineJobFamilyResponseBody()

    def items(self, items: List[JobFamilyTimeline]) -> "QueryMultiTimelineJobFamilyResponseBodyBuilder":
        self._query_multi_timeline_job_family_response_body.items = items
        return self

    def build(self) -> "QueryMultiTimelineJobFamilyResponseBody":
        return self._query_multi_timeline_job_family_response_body
