# 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 KrContent(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() -> "KrContentBuilder":
        return KrContentBuilder()


class KrContentBuilder(object):
    def __init__(self) -> None:
        self._kr_content = KrContent()

    def zh(self, zh: str) -> "KrContentBuilder":
        self._kr_content.zh = zh
        return self

    def en(self, en: str) -> "KrContentBuilder":
        self._kr_content.en = en
        return self

    def build(self) -> "KrContent":
        return self._kr_content
