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

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

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


class CreateAttachmentResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._create_attachment_response_body = CreateAttachmentResponseBody()

    def id(self, id: str) -> "CreateAttachmentResponseBodyBuilder":
        self._create_attachment_response_body.id = id
        return self

    def build(self) -> "CreateAttachmentResponseBody":
        return self._create_attachment_response_body
