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

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

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


class FormFieldVariableDepartmentValueBuilder(object):
    def __init__(self) -> None:
        self._form_field_variable_department_value = FormFieldVariableDepartmentValue()

    def value(self, value: str) -> "FormFieldVariableDepartmentValueBuilder":
        self._form_field_variable_department_value.value = value
        return self

    def build(self) -> "FormFieldVariableDepartmentValue":
        return self._form_field_variable_department_value
