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