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

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

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


class RemoveToRecycleBinPublicMailboxRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._remove_to_recycle_bin_public_mailbox_request_body = RemoveToRecycleBinPublicMailboxRequestBody()

    def to_mail_address(self, to_mail_address: str) -> "RemoveToRecycleBinPublicMailboxRequestBodyBuilder":
        self._remove_to_recycle_bin_public_mailbox_request_body.to_mail_address = to_mail_address
        return self

    def build(self) -> "RemoveToRecycleBinPublicMailboxRequestBody":
        return self._remove_to_recycle_bin_public_mailbox_request_body
