# Code generated by Lark OpenAPI.

from typing import Optional, List

from lark_oapi.core.construct import init


class QueryUserRequestBody(object):
    _types = {
        "email_list": List[str],
    }

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

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


class QueryUserRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._query_user_request_body = QueryUserRequestBody()

    def email_list(self, email_list: List[str]) -> "QueryUserRequestBodyBuilder":
        self._query_user_request_body.email_list = email_list
        return self

    def build(self) -> "QueryUserRequestBody":
        return self._query_user_request_body
