# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.construct import init
from .email_alias import EmailAlias


class ListUserMailboxAliasResponseBody(object):
    _types = {
        "items": List[EmailAlias],
    }

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

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


class ListUserMailboxAliasResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._list_user_mailbox_alias_response_body = ListUserMailboxAliasResponseBody()

    def items(self, items: List[EmailAlias]) -> "ListUserMailboxAliasResponseBodyBuilder":
        self._list_user_mailbox_alias_response_body.items = items
        return self

    def build(self) -> "ListUserMailboxAliasResponseBody":
        return self._list_user_mailbox_alias_response_body
