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

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

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


class ProfileSettingI18nBuilder(object):
    def __init__(self) -> None:
        self._profile_setting_i18n = ProfileSettingI18n()

    def zh_cn(self, zh_cn: str) -> "ProfileSettingI18nBuilder":
        self._profile_setting_i18n.zh_cn = zh_cn
        return self

    def en_us(self, en_us: str) -> "ProfileSettingI18nBuilder":
        self._profile_setting_i18n.en_us = en_us
        return self

    def build(self) -> "ProfileSettingI18n":
        return self._profile_setting_i18n
