# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.construct import init
from .form_field_variable_record_value_example import FormFieldVariableRecordValueExample


class FormFieldVariableRecordValue(object):
    _types = {
        "values": FormFieldVariableRecordValueExample,
    }

    def __init__(self, d=None):
        self.values: Optional[FormFieldVariableRecordValueExample] = None
        init(self, d, self._types)

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


class FormFieldVariableRecordValueBuilder(object):
    def __init__(self) -> None:
        self._form_field_variable_record_value = FormFieldVariableRecordValue()

    def values(self, values: FormFieldVariableRecordValueExample) -> "FormFieldVariableRecordValueBuilder":
        self._form_field_variable_record_value.values = values
        return self

    def build(self) -> "FormFieldVariableRecordValue":
        return self._form_field_variable_record_value
