# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.construct import init
from .tmp_download_url import TmpDownloadUrl


class BatchGetTmpDownloadUrlMediaResponseBody(object):
    _types = {
        "tmp_download_urls": List[TmpDownloadUrl],
    }

    def __init__(self, d=None):
        self.tmp_download_urls: Optional[List[TmpDownloadUrl]] = None
        init(self, d, self._types)

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


class BatchGetTmpDownloadUrlMediaResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_get_tmp_download_url_media_response_body = BatchGetTmpDownloadUrlMediaResponseBody()

    def tmp_download_urls(self,
                          tmp_download_urls: List[TmpDownloadUrl]) -> "BatchGetTmpDownloadUrlMediaResponseBodyBuilder":
        self._batch_get_tmp_download_url_media_response_body.tmp_download_urls = tmp_download_urls
        return self

    def build(self) -> "BatchGetTmpDownloadUrlMediaResponseBody":
        return self._batch_get_tmp_download_url_media_response_body
