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

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

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


class FormFieldVariableBoolValueBuilder(object):
    def __init__(self) -> None:
        self._form_field_variable_bool_value = FormFieldVariableBoolValue()

    def value(self, value: bool) -> "FormFieldVariableBoolValueBuilder":
        self._form_field_variable_bool_value.value = value
        return self

    def build(self) -> "FormFieldVariableBoolValue":
        return self._form_field_variable_bool_value
