var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { JsonElementType, JsonObject, JsonProperty } from "ta-json";
import { FieldFilterValueResponseResource } from "./field-filter-value-response-resource";
import { FilterOperator } from "./filter-operator";
let FieldFilterResponseResource = class FieldFilterResponseResource {
    constructor() {
        this.values = [];
        this.nestedValues = [];
        this.hasDynamicValue = false;
        this.isNested = false;
        this.visible = true;
        this.multiSelect = false;
    }
};
__decorate([
    JsonProperty("name"),
    __metadata("design:type", String)
], FieldFilterResponseResource.prototype, "fieldName", void 0);
__decorate([
    JsonProperty("label"),
    __metadata("design:type", String)
], FieldFilterResponseResource.prototype, "label", void 0);
__decorate([
    JsonProperty("type"),
    __metadata("design:type", String)
], FieldFilterResponseResource.prototype, "dataType", void 0);
__decorate([
    JsonProperty("values"),
    JsonElementType(FieldFilterValueResponseResource),
    __metadata("design:type", Array)
], FieldFilterResponseResource.prototype, "values", void 0);
__decorate([
    JsonProperty("nested_values"),
    JsonElementType(FieldFilterResponseResource),
    __metadata("design:type", Array)
], FieldFilterResponseResource.prototype, "nestedValues", void 0);
__decorate([
    JsonProperty("definition"),
    __metadata("design:type", String)
], FieldFilterResponseResource.prototype, "definition", void 0);
__decorate([
    JsonProperty("operator"),
    __metadata("design:type", Number)
], FieldFilterResponseResource.prototype, "operator", void 0);
__decorate([
    JsonProperty("removeQuery"),
    __metadata("design:type", String)
], FieldFilterResponseResource.prototype, "removeQuery", void 0);
__decorate([
    JsonProperty("dynamic"),
    __metadata("design:type", Boolean)
], FieldFilterResponseResource.prototype, "hasDynamicValue", void 0);
__decorate([
    JsonProperty("nested"),
    __metadata("design:type", Boolean)
], FieldFilterResponseResource.prototype, "isNested", void 0);
__decorate([
    JsonProperty("group"),
    __metadata("design:type", String)
], FieldFilterResponseResource.prototype, "group", void 0);
__decorate([
    JsonProperty("visible"),
    __metadata("design:type", Boolean)
], FieldFilterResponseResource.prototype, "visible", void 0);
__decorate([
    JsonProperty("multi_select"),
    __metadata("design:type", Boolean)
], FieldFilterResponseResource.prototype, "multiSelect", void 0);
FieldFilterResponseResource = __decorate([
    JsonObject()
], FieldFilterResponseResource);
export { FieldFilterResponseResource };
//# sourceMappingURL=field-filter-response-resource.js.map