# Code generated by Lark OpenAPI.

from typing import Optional, List

from lark_oapi.core.construct import init
from .employee_job_data import EmployeeJobData


class BatchGetEmployeesJobDataResponseBody(object):
    _types = {
        "items": List[EmployeeJobData],
    }

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

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


class BatchGetEmployeesJobDataResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_get_employees_job_data_response_body = BatchGetEmployeesJobDataResponseBody()

    def items(self, items: List[EmployeeJobData]) -> "BatchGetEmployeesJobDataResponseBodyBuilder":
        self._batch_get_employees_job_data_response_body.items = items
        return self

    def build(self) -> "BatchGetEmployeesJobDataResponseBody":
        return self._batch_get_employees_job_data_response_body
