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

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

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


class CreateExportTaskResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._create_export_task_response_body = CreateExportTaskResponseBody()

    def ticket(self, ticket: str) -> "CreateExportTaskResponseBodyBuilder":
        self._create_export_task_response_body.ticket = ticket
        return self

    def build(self) -> "CreateExportTaskResponseBody":
        return self._create_export_task_response_body
