# 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 DepartmentI18nName(object):
    _types = {
        "zh_cn": str,
        "ja_jp": str,
        "en_us": str,
    }

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

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


class DepartmentI18nNameBuilder(object):
    def __init__(self) -> None:
        self._department_i18n_name = DepartmentI18nName()

    def zh_cn(self, zh_cn: str) -> "DepartmentI18nNameBuilder":
        self._department_i18n_name.zh_cn = zh_cn
        return self

    def ja_jp(self, ja_jp: str) -> "DepartmentI18nNameBuilder":
        self._department_i18n_name.ja_jp = ja_jp
        return self

    def en_us(self, en_us: str) -> "DepartmentI18nNameBuilder":
        self._department_i18n_name.en_us = en_us
        return self

    def build(self) -> "DepartmentI18nName":
        return self._department_i18n_name
