# Code generated by Lark OpenAPI.

from typing import Optional, List

from lark_oapi.core.construct import init
from .form_field_variable import FormFieldVariable


class GetProcessFormVariableDataResponseBody(object):
    _types = {
        "field_variable_values": List[FormFieldVariable],
    }

    def __init__(self, d=None):
        self.field_variable_values: Optional[List[FormFieldVariable]] = None
        init(self, d, self._types)

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


class GetProcessFormVariableDataResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._get_process_form_variable_data_response_body = GetProcessFormVariableDataResponseBody()

    def field_variable_values(self, field_variable_values: List[
        FormFieldVariable]) -> "GetProcessFormVariableDataResponseBodyBuilder":
        self._get_process_form_variable_data_response_body.field_variable_values = field_variable_values
        return self

    def build(self) -> "GetProcessFormVariableDataResponseBody":
        return self._get_process_form_variable_data_response_body
