# Code generated by Lark OpenAPI.

from typing import Optional, List

from lark_oapi.core.construct import init


class ListByIdJobRequirementRequestBody(object):
    _types = {
        "id_list": List[str],
    }

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

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


class ListByIdJobRequirementRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._list_by_id_job_requirement_request_body = ListByIdJobRequirementRequestBody()

    def id_list(self, id_list: List[str]) -> "ListByIdJobRequirementRequestBodyBuilder":
        self._list_by_id_job_requirement_request_body.id_list = id_list
        return self

    def build(self) -> "ListByIdJobRequirementRequestBody":
        return self._list_by_id_job_requirement_request_body
