# 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 FormFieldVariableObjectValue(object):
    _types = {
        "value": str,
        "wk_api_name": str,
    }

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

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


class FormFieldVariableObjectValueBuilder(object):
    def __init__(self) -> None:
        self._form_field_variable_object_value = FormFieldVariableObjectValue()

    def value(self, value: str) -> "FormFieldVariableObjectValueBuilder":
        self._form_field_variable_object_value.value = value
        return self

    def wk_api_name(self, wk_api_name: str) -> "FormFieldVariableObjectValueBuilder":
        self._form_field_variable_object_value.wk_api_name = wk_api_name
        return self

    def build(self) -> "FormFieldVariableObjectValue":
        return self._form_field_variable_object_value
