interface IRule {
    _active?: boolean;
    body?: string;
    c8y_Context?: {
        context?: string;
        id?: string | number;
    };
    cepModuleId?: string;
    config?: object;
    creationTime?: string;
    disabledSources?: string[];
    enabled: boolean;
    enabledSources?: string[];
    id: string | number;
    lastUpdated?: string;
    name: string;
    ruleTemplateName: string;
    type?: string;
}

Properties

_active?: boolean
body?: string
c8y_Context?: {
    context?: string;
    id?: string | number;
}
cepModuleId?: string
config?: object
creationTime?: string
disabledSources?: string[]
enabled: boolean
enabledSources?: string[]
id: string | number
lastUpdated?: string
name: string
ruleTemplateName: string
type?: string