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

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

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


class CreateApplicationObjectRecordRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._create_application_object_record_request_body = CreateApplicationObjectRecordRequestBody()

    def record(self, record: str) -> "CreateApplicationObjectRecordRequestBodyBuilder":
        self._create_application_object_record_request_body.record = record
        return self

    def build(self) -> "CreateApplicationObjectRecordRequestBody":
        return self._create_application_object_record_request_body
