# 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 .website_user import WebsiteUser


class CreateWebsiteSiteUserResponseBody(object):
    _types = {
        "site_user": WebsiteUser,
    }

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

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


class CreateWebsiteSiteUserResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._create_website_site_user_response_body = CreateWebsiteSiteUserResponseBody()

    def site_user(self, site_user: WebsiteUser) -> "CreateWebsiteSiteUserResponseBodyBuilder":
        self._create_website_site_user_response_body.site_user = site_user
        return self

    def build(self) -> "CreateWebsiteSiteUserResponseBody":
        return self._create_website_site_user_response_body
