25 lines
479 B
JavaScript
25 lines
479 B
JavaScript
|
/**
|
||
|
* R3.API.Query.Alerts
|
||
|
* @param apiComponent
|
||
|
* @constructor
|
||
|
*/
|
||
|
R3.API.Query.Alerts = function(
|
||
|
apiComponent
|
||
|
) {
|
||
|
|
||
|
R3.API.Query.call(
|
||
|
this,
|
||
|
apiComponent
|
||
|
);
|
||
|
|
||
|
if (R3.Utils.UndefinedOrNull(apiComponent.path)) {
|
||
|
apiComponent.path = '/alerts/_search';
|
||
|
}
|
||
|
this.path = apiComponent.path;
|
||
|
|
||
|
|
||
|
};
|
||
|
|
||
|
R3.API.Query.Alerts.prototype = Object.create(R3.API.Query.prototype);
|
||
|
R3.API.Query.Alerts.prototype.constructor = R3.API.Query.Alerts;
|