# 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 SignatureCustomFieldValueMultilingualValue(object):
    _types = {
        "zh": str,
        "en": str,
    }

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

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


class SignatureCustomFieldValueMultilingualValueBuilder(object):
    def __init__(self) -> None:
        self._signature_custom_field_value_multilingual_value = SignatureCustomFieldValueMultilingualValue()

    def zh(self, zh: str) -> "SignatureCustomFieldValueMultilingualValueBuilder":
        self._signature_custom_field_value_multilingual_value.zh = zh
        return self

    def en(self, en: str) -> "SignatureCustomFieldValueMultilingualValueBuilder":
        self._signature_custom_field_value_multilingual_value.en = en
        return self

    def build(self) -> "SignatureCustomFieldValueMultilingualValue":
        return self._signature_custom_field_value_multilingual_value
