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

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

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


class CreateByAttachmentWebsiteDeliveryResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._create_by_attachment_website_delivery_response_body = CreateByAttachmentWebsiteDeliveryResponseBody()

    def task_id(self, task_id: str) -> "CreateByAttachmentWebsiteDeliveryResponseBodyBuilder":
        self._create_by_attachment_website_delivery_response_body.task_id = task_id
        return self

    def build(self) -> "CreateByAttachmentWebsiteDeliveryResponseBody":
        return self._create_by_attachment_website_delivery_response_body
