# Code generated by Lark OpenAPI.

from typing import Optional, List

from lark_oapi.core.construct import init


class DataArchivingUser(object):
    _types = {
        "user_ids": List[str],
    }

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

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


class DataArchivingUserBuilder(object):
    def __init__(self) -> None:
        self._data_archiving_user = DataArchivingUser()

    def user_ids(self, user_ids: List[str]) -> "DataArchivingUserBuilder":
        self._data_archiving_user.user_ids = user_ids
        return self

    def build(self) -> "DataArchivingUser":
        return self._data_archiving_user
