All files / src/ODataApi CustomAction.js

0% Statements 0/15
0% Branches 0/8
0% Functions 0/1
0% Lines 0/15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23                                             
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class CustomAction {
    constructor(options) {
        this.params = [];
        this.requiredParams = [];
        this.isAction = false;
        this.noCache = false;
        this.name = options.name;
        this.id = options.id;
        this.path = options.path;
        this.isAction = options.isAction || false;
        this.noCache = options.noCache || false;
        if (options.params) {
            this.params = this.params.concat(options.params);
        }
        if (options.requiredParams) {
            this.params = this.params.concat(options.requiredParams);
        }
    }
}
exports.CustomAction = CustomAction;
//# sourceMappingURL=CustomAction.js.map