# Code generated by Lark OpenAPI.

from typing import Optional

from lark_oapi.core.construct import init


class SearchGroupRequestBody(object):
    _types = {
        "group_name": str,
    }

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

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


class SearchGroupRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._search_group_request_body = SearchGroupRequestBody()

    def group_name(self, group_name: str) -> "SearchGroupRequestBodyBuilder":
        self._search_group_request_body.group_name = group_name
        return self

    def build(self) -> "SearchGroupRequestBody":
        return self._search_group_request_body
