# Code generated by Lark OpenAPI.

from typing import Optional

from lark_oapi.core.construct import init


class AppFieldPropertyLocation(object):
    _types = {
        "input_type": str,
    }

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

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


class AppFieldPropertyLocationBuilder(object):
    def __init__(self) -> None:
        self._app_field_property_location = AppFieldPropertyLocation()

    def input_type(self, input_type: str) -> "AppFieldPropertyLocationBuilder":
        self._app_field_property_location.input_type = input_type
        return self

    def build(self) -> "AppFieldPropertyLocation":
        return self._app_field_property_location
