# 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 ScopeValue(object): _types = { "key": str, "name": str, } def __init__(self, d=None): self.key: Optional[str] = None self.name: Optional[str] = None init(self, d, self._types) @staticmethod def builder() -> "ScopeValueBuilder": return ScopeValueBuilder() class ScopeValueBuilder(object): def __init__(self) -> None: self._scope_value = ScopeValue() def key(self, key: str) -> "ScopeValueBuilder": self._scope_value.key = key return self def name(self, name: str) -> "ScopeValueBuilder": self._scope_value.name = name return self def build(self) -> "ScopeValue": return self._scope_value