aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/filter-constraint.ts
blob: a118c97d7b564ed2934a86e21a371599a0724c0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export class FilterConstraint {
    servicePropertyName: string;
    constraintOperator: string;
    sourceType: string;
    sourceName: string;
    value: any;

    constructor(input?: any) {
        if (input) {
            this.servicePropertyName = input.servicePropertyName;
            this.constraintOperator = input.constraintOperator;
            this.sourceType = input.sourceType;
            this.sourceName = input.sourceName;
            this.value = input.value;
        }
    }
}