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

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

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


class ClientIsvTenantBuilder(object):
    def __init__(self) -> None:
        self._client_isv_tenant = ClientIsvTenant()

    def id(self, id: str) -> "ClientIsvTenantBuilder":
        self._client_isv_tenant.id = id
        return self

    def name(self, name: str) -> "ClientIsvTenantBuilder":
        self._client_isv_tenant.name = name
        return self

    def build(self) -> "ClientIsvTenant":
        return self._client_isv_tenant
