# Code generated by Lark OpenAPI.

from typing import Optional

from lark_oapi.core.construct import init


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

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

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


class UnbindDepartmentChatDepartmentRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._unbind_department_chat_department_request_body = UnbindDepartmentChatDepartmentRequestBody()

    def department_id(self, department_id: str) -> "UnbindDepartmentChatDepartmentRequestBodyBuilder":
        self._unbind_department_chat_department_request_body.department_id = department_id
        return self

    def build(self) -> "UnbindDepartmentChatDepartmentRequestBody":
        return self._unbind_department_chat_department_request_body
