# Code generated by Lark OpenAPI.

from typing import Optional

from lark_oapi.core.construct import init


class SubmitApproveNotificationRequestBody(object):
    _types = {
        "reason": str,
    }

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

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


class SubmitApproveNotificationRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._submit_approve_notification_request_body = SubmitApproveNotificationRequestBody()

    def reason(self, reason: str) -> "SubmitApproveNotificationRequestBodyBuilder":
        self._submit_approve_notification_request_body.reason = reason
        return self

    def build(self) -> "SubmitApproveNotificationRequestBody":
        return self._submit_approve_notification_request_body
