# Code generated by Lark OpenAPI.

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


class GetByDepartmentBpRequestBody(object):
    _types = {
        "department_id": str,
    }

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

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


class GetByDepartmentBpRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._get_by_department_bp_request_body = GetByDepartmentBpRequestBody()

    def department_id(self, department_id: str) -> "GetByDepartmentBpRequestBodyBuilder":
        self._get_by_department_bp_request_body.department_id = department_id
        return self

    def build(self) -> "GetByDepartmentBpRequestBody":
        return self._get_by_department_bp_request_body
