# 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 ObjectiveProgress(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() -> "ObjectiveProgressBuilder":
        return ObjectiveProgressBuilder()


class ObjectiveProgressBuilder(object):
    def __init__(self) -> None:
        self._objective_progress = ObjectiveProgress()

    def zh(self, zh: str) -> "ObjectiveProgressBuilder":
        self._objective_progress.zh = zh
        return self

    def en(self, en: str) -> "ObjectiveProgressBuilder":
        self._objective_progress.en = en
        return self

    def build(self) -> "ObjectiveProgress":
        return self._objective_progress
