# 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 .audit_log_detail import AuditLogDetail


class DataChangeLogDetailApplicationAuditLogResponseBody(object):
    _types = {
        "data": AuditLogDetail,
    }

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

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


class DataChangeLogDetailApplicationAuditLogResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._data_change_log_detail_application_audit_log_response_body = DataChangeLogDetailApplicationAuditLogResponseBody()

    def data(self, data: AuditLogDetail) -> "DataChangeLogDetailApplicationAuditLogResponseBodyBuilder":
        self._data_change_log_detail_application_audit_log_response_body.data = data
        return self

    def build(self) -> "DataChangeLogDetailApplicationAuditLogResponseBody":
        return self._data_change_log_detail_application_audit_log_response_body
