summaryrefslogtreecommitdiff
path: root/node_modules/@jet-app/app-store/tmp/src/api/models/ad-incidents.js
blob: d62caa526dd989fa20e8b4e8aa9b171c9de0af39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
 * Models for Ad Incidents that may occur while building model.
 */
import { Model } from "./base";
/**
 * @public
 * Base Incident Type
 */
export class AdIncident extends Model {
    constructor(incidentType) {
        super();
        this.incidentType = incidentType;
    }
}
/**
 * @public
 * Type of Ad Incident where Ad was discarded due to some reason
 */
export class DiscardAdIncident extends AdIncident {
    constructor(instanceId, reason) {
        super("discard");
        this.instanceId = instanceId;
        this.reason = reason;
    }
}
//# sourceMappingURL=ad-incidents.js.map