package com.cameleer.server.app.alerting.dto;

import com.cameleer.server.core.alerting.SilenceMatcher;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;

import java.time.Instant;

public record AlertSilenceRequest(
        @NotNull @Valid SilenceMatcher matcher,
        String reason,
        @NotNull Instant startsAt,
        @NotNull Instant endsAt
) {}
