# 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 GetApplicationAuditLogResponseBody(object):
    _types = {
        "data": AuditLogDetail,
    }

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

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


class GetApplicationAuditLogResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._get_application_audit_log_response_body = GetApplicationAuditLogResponseBody()

    def data(self, data: AuditLogDetail) -> "GetApplicationAuditLogResponseBodyBuilder":
        self._get_application_audit_log_response_body.data = data
        return self

    def build(self) -> "GetApplicationAuditLogResponseBody":
        return self._get_application_audit_log_response_body
