# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.model import BaseRequest
from lark_oapi.core.enum import HttpMethod, AccessTokenType


class QueryTenantProductAssignInfoRequest(BaseRequest):
    def __init__(self) -> None:
        super().__init__()

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


class QueryTenantProductAssignInfoRequestBuilder(object):

    def __init__(self) -> None:
        query_tenant_product_assign_info_request = QueryTenantProductAssignInfoRequest()
        query_tenant_product_assign_info_request.http_method = HttpMethod.GET
        query_tenant_product_assign_info_request.uri = "/open-apis/tenant/v2/tenant/assign_info_list/query"
        query_tenant_product_assign_info_request.token_types = {AccessTokenType.TENANT}
        self._query_tenant_product_assign_info_request: QueryTenantProductAssignInfoRequest = query_tenant_product_assign_info_request

    def build(self) -> QueryTenantProductAssignInfoRequest:
        return self._query_tenant_product_assign_info_request
