# Code generated by Lark OpenAPI.

from typing import Optional

from lark_oapi.core.construct import init


class UpdateDepartmentIdDepartmentRequestBody(object):
    _types = {
        "new_department_id": str,
    }

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

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


class UpdateDepartmentIdDepartmentRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._update_department_id_department_request_body = UpdateDepartmentIdDepartmentRequestBody()

    def new_department_id(self, new_department_id: str) -> "UpdateDepartmentIdDepartmentRequestBodyBuilder":
        self._update_department_id_department_request_body.new_department_id = new_department_id
        return self

    def build(self) -> "UpdateDepartmentIdDepartmentRequestBody":
        return self._update_department_id_department_request_body
