# 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 lark_oapi.event.context import EventContext
from .review_data_change import ReviewDataChange


class P2PerformanceReviewDataChangedV2Data(object):
    _types = {
        "items": List[ReviewDataChange],
    }

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


class P2PerformanceReviewDataChangedV2(EventContext):
    _types = {
        "event": P2PerformanceReviewDataChangedV2Data
    }

    def __init__(self, d=None):
        super().__init__(d)
        self._types.update(super()._types)
        self.event: Optional[P2PerformanceReviewDataChangedV2Data] = None
        init(self, d, self._types)
