# 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 .tenant_assign_info import TenantAssignInfo


class QueryTenantProductAssignInfoResponseBody(object):
    _types = {
        "assign_info_list": List[TenantAssignInfo],
    }

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

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


class QueryTenantProductAssignInfoResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._query_tenant_product_assign_info_response_body = QueryTenantProductAssignInfoResponseBody()

    def assign_info_list(self,
                         assign_info_list: List[TenantAssignInfo]) -> "QueryTenantProductAssignInfoResponseBodyBuilder":
        self._query_tenant_product_assign_info_response_body.assign_info_list = assign_info_list
        return self

    def build(self) -> "QueryTenantProductAssignInfoResponseBody":
        return self._query_tenant_product_assign_info_response_body
