<reponame>kandahk/robusta<gh_stars>100-1000
from typing import List

from ..sink_config import SinkConfigBase
from ..sink_base_params import SinkBaseParams


class OpsGenieSinkParams(SinkBaseParams):
    api_key: str
    teams: List[str] = []
    tags: List[str] = []


class OpsGenieSinkConfigWrapper(SinkConfigBase):
    opsgenie_sink: OpsGenieSinkParams

    def get_params(self) -> SinkBaseParams:
        return self.opsgenie_sink

