# 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 GetSubscribeFileResponseBody(object):
    _types = {
        "is_subscribe": bool,
    }

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

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


class GetSubscribeFileResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._get_subscribe_file_response_body = GetSubscribeFileResponseBody()

    def is_subscribe(self, is_subscribe: bool) -> "GetSubscribeFileResponseBodyBuilder":
        self._get_subscribe_file_response_body.is_subscribe = is_subscribe
        return self

    def build(self) -> "GetSubscribeFileResponseBody":
        return self._get_subscribe_file_response_body
