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

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

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


class UpdateUserIdUserRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._update_user_id_user_request_body = UpdateUserIdUserRequestBody()

    def new_user_id(self, new_user_id: str) -> "UpdateUserIdUserRequestBodyBuilder":
        self._update_user_id_user_request_body.new_user_id = new_user_id
        return self

    def build(self) -> "UpdateUserIdUserRequestBody":
        return self._update_user_id_user_request_body
