package com.cameleer.server.core.alerting;

import com.fasterxml.jackson.annotation.JsonProperty;

public record AgentStateCondition(AlertScope scope, String state, int forSeconds) implements AlertCondition {
    @Override
    @JsonProperty(value = "kind", access = JsonProperty.Access.READ_ONLY)
    public ConditionKind kind() { return ConditionKind.AGENT_STATE; }
}
