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

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

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


class GetMinuteMediaResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._get_minute_media_response_body = GetMinuteMediaResponseBody()

    def download_url(self, download_url: str) -> "GetMinuteMediaResponseBodyBuilder":
        self._get_minute_media_response_body.download_url = download_url
        return self

    def build(self) -> "GetMinuteMediaResponseBody":
        return self._get_minute_media_response_body
