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

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

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


class AddRoleAssignAuthorizationResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._add_role_assign_authorization_response_body = AddRoleAssignAuthorizationResponseBody()

    def assign_id(self, assign_id: str) -> "AddRoleAssignAuthorizationResponseBodyBuilder":
        self._add_role_assign_authorization_response_body.assign_id = assign_id
        return self

    def build(self) -> "AddRoleAssignAuthorizationResponseBody":
        return self._add_role_assign_authorization_response_body
