@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
896 lines (891 loc) • 26.6 kB
text/typescript
import { SDKModels } from './SDKModels';
import { XompassBaseApi, XompassAuth } from '../core';
import { XompassClient } from '../../XompassClient';
import { LoopBackFilter } from '../../models';
import { EventTrigger } from '../../models';
import {
Asset,
EmergencyContact,
EventGroup,
Event,
EventDashboard,
EventSummary,
EventTriggerTemplate,
EventTriggerAssetState,
AssetState,
Log,
TelegramChat
} from '../../models';
/**
* Api services for the `EventTrigger` model.
*/
export abstract class EventTriggerApi extends XompassBaseApi {
public static model = SDKModels.get('EventTrigger');
public static findByIdEmergencyContacts(id: any, fk: any, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/emergencyContacts/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static linkEmergencyContacts(
id: any,
fk: any,
data: any = {},
retry = false
): Promise<any> {
const _method = 'PUT';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/emergencyContacts/rel/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = data;
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static unlinkEmergencyContacts(id: any, fk: any, retry = false): Promise<any> {
const _method = 'DELETE';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/emergencyContacts/rel/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static findByIdEvents(id: any, fk: any, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static updateByIdEvents(
id: any,
fk: any,
data: any = {},
retry = false
): Promise<any> {
const _method = 'PUT';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = data;
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static findByIdAssetStates(id: any, fk: any, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/assetStates/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static linkAssetStates(
id: any,
fk: any,
data: any = {},
retry = false
): Promise<any> {
const _method = 'PUT';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/assetStates/rel/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = data;
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static unlinkAssetStates(id: any, fk: any, retry = false): Promise<any> {
const _method = 'DELETE';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/assetStates/rel/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static existsAssetStates(id: any, fk: any, retry = false): Promise<any> {
const _method = 'HEAD';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/assetStates/rel/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static findByIdStates(id: any, fk: any, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/states/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static updateByIdStates(
id: any,
fk: any,
data: any = {},
retry = false
): Promise<any> {
const _method = 'PUT';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/states/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = data;
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static findByIdRules(id: any, fk: any, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/rules/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static destroyByIdRules(id: any, fk: any, retry = false): Promise<any> {
const _method = 'DELETE';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/rules/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static updateByIdRules(
id: any,
fk: any,
data: any = {},
retry = false
): Promise<any> {
const _method = 'PUT';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/rules/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = data;
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static findByIdTrackingLogs(id: any, fk: any, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/trackingLogs/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static findByIdTelegramChats(id: any, fk: any, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/telegramChats/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static linkTelegramChats(
id: any,
fk: any,
data: any = {},
retry = false
): Promise<any> {
const _method = 'PUT';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/telegramChats/rel/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = data;
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static unlinkTelegramChats(id: any, fk: any, retry = false): Promise<any> {
const _method = 'DELETE';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/telegramChats/rel/:fk'
].join('');
const _routeParams = {
id,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static getEmergencyContacts(id: any, filter: LoopBackFilter = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/emergencyContacts'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof filter !== 'undefined' && filter !== null) {
_urlParams['filter'] = filter;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static countEmergencyContacts(id: any, where: any = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/emergencyContacts/count'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof where !== 'undefined' && where !== null) {
_urlParams['where'] = where;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static getEvents(id: any, filter: LoopBackFilter = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof filter !== 'undefined' && filter !== null) {
_urlParams['filter'] = filter;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static countEvents(id: any, where: any = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/count'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof where !== 'undefined' && where !== null) {
_urlParams['where'] = where;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static getAssetStates(id: any, filter: LoopBackFilter = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/assetStates'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof filter !== 'undefined' && filter !== null) {
_urlParams['filter'] = filter;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static countAssetStates(id: any, where: any = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/assetStates/count'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof where !== 'undefined' && where !== null) {
_urlParams['where'] = where;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static getStates(id: any, filter: LoopBackFilter = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/states'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof filter !== 'undefined' && filter !== null) {
_urlParams['filter'] = filter;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static countStates(id: any, where: any = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/states/count'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof where !== 'undefined' && where !== null) {
_urlParams['where'] = where;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static getRules(id: any, filter: LoopBackFilter = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/rules'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof filter !== 'undefined' && filter !== null) {
_urlParams['filter'] = filter;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static createRules(id: any, data: any = {}, retry = false): Promise<any> {
const _method = 'POST';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/rules'
].join('');
const _routeParams = {
id
};
const _postBody = data;
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static countRules(id: any, where: any = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/rules/count'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof where !== 'undefined' && where !== null) {
_urlParams['where'] = where;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static getTrackingLogs(id: any, filter: LoopBackFilter = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/trackingLogs'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof filter !== 'undefined' && filter !== null) {
_urlParams['filter'] = filter;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static countTrackingLogs(id: any, where: any = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/trackingLogs/count'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof where !== 'undefined' && where !== null) {
_urlParams['where'] = where;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static getTelegramChats(id: any, filter: LoopBackFilter = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/telegramChats'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof filter !== 'undefined' && filter !== null) {
_urlParams['filter'] = filter;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static countTelegramChats(id: any, where: any = {}, retry = false): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/telegramChats/count'
].join('');
const _routeParams = {
id
};
const _postBody = {};
const _urlParams: any = {};
if (typeof where !== 'undefined' && where !== null) {
_urlParams['where'] = where;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static downloadEvents(
id: any,
nk: any,
file: any,
retry = false
): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/download/:file'
].join('');
const _routeParams = {
id,
nk,
file
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static downloadByIdEventsData(
id: any,
nk: any,
fk: any,
file: any = {},
draw: any = {},
wm: any = {},
retry = false
): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/data/:fk/download'
].join('');
const _routeParams = {
id,
nk,
fk
};
const _postBody = {};
const _urlParams: any = {};
if (typeof draw !== 'undefined' && draw !== null) {
_urlParams['draw'] = draw;
}
if (typeof wm !== 'undefined' && wm !== null) {
_urlParams['wm'] = wm;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static findByIdEventsComments(
id: any,
nk: any,
fk: any,
retry = false
): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/comments/:fk'
].join('');
const _routeParams = {
id,
nk,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static destroyByIdEventsComments(
id: any,
nk: any,
fk: any,
retry = false
): Promise<any> {
const _method = 'DELETE';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/comments/:fk'
].join('');
const _routeParams = {
id,
nk,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static updateByIdEventsComments(
id: any,
nk: any,
fk: any,
data: any = {},
retry = false
): Promise<any> {
const _method = 'PUT';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/comments/:fk'
].join('');
const _routeParams = {
id,
nk,
fk
};
const _postBody = data;
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static findByIdEventsData(
id: any,
nk: any,
fk: any,
retry = false
): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/data/:fk'
].join('');
const _routeParams = {
id,
nk,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static updateByIdEventsData(
id: any,
nk: any,
fk: any,
data: any = {},
retry = false
): Promise<any> {
const _method = 'PUT';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/data/:fk'
].join('');
const _routeParams = {
id,
nk,
fk
};
const _postBody = data;
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static findByIdEventsStateChanges(
id: any,
nk: any,
fk: any,
retry = false
): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/stateChanges/:fk'
].join('');
const _routeParams = {
id,
nk,
fk
};
const _postBody = {};
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static getEventsComments(
id: any,
nk: any,
filter: LoopBackFilter = {},
retry = false
): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/comments'
].join('');
const _routeParams = {
id,
nk
};
const _postBody = {};
const _urlParams: any = {};
if (typeof filter !== 'undefined' && filter !== null) {
_urlParams['filter'] = filter;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static createEventsComments(
id: any,
nk: any,
data: any = {},
retry = false
): Promise<any> {
const _method = 'POST';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/comments'
].join('');
const _routeParams = {
id,
nk
};
const _postBody = data;
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static countEventsComments(
id: any,
nk: any,
where: any = {},
retry = false
): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/comments/count'
].join('');
const _routeParams = {
id,
nk
};
const _postBody = {};
const _urlParams: any = {};
if (typeof where !== 'undefined' && where !== null) {
_urlParams['where'] = where;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static getEventsData(
id: any,
nk: any,
filter: LoopBackFilter = {},
retry = false
): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/data'
].join('');
const _routeParams = {
id,
nk
};
const _postBody = {};
const _urlParams: any = {};
if (typeof filter !== 'undefined' && filter !== null) {
_urlParams['filter'] = filter;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static countEventsData(
id: any,
nk: any,
where: any = {},
retry = false
): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/data/count'
].join('');
const _routeParams = {
id,
nk
};
const _postBody = {};
const _urlParams: any = {};
if (typeof where !== 'undefined' && where !== null) {
_urlParams['where'] = where;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static getEventsStateChanges(
id: any,
nk: any,
filter: LoopBackFilter = {},
retry = false
): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/stateChanges'
].join('');
const _routeParams = {
id,
nk
};
const _postBody = {};
const _urlParams: any = {};
if (typeof filter !== 'undefined' && filter !== null) {
_urlParams['filter'] = filter;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static createEventsStateChanges(
id: any,
nk: any,
data: any = {},
retry = false
): Promise<any> {
const _method = 'POST';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/stateChanges'
].join('');
const _routeParams = {
id,
nk
};
const _postBody = data;
const _urlParams: any = {};
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
public static countEventsStateChanges(
id: any,
nk: any,
where: any = {},
retry = false
): Promise<any> {
const _method = 'GET';
const _url = [
XompassClient.getPath() + '/' + XompassClient.getApiVersion(),
'/EventTriggers/:id/events/:nk/stateChanges/count'
].join('');
const _routeParams = {
id,
nk
};
const _postBody = {};
const _urlParams: any = {};
if (typeof where !== 'undefined' && where !== null) {
_urlParams['where'] = where;
}
return super.request(_method, _url, _routeParams, _urlParams, _postBody, retry);
}
/**
* The name of the model represented by this $resource,
* i.e. `EventTrigger`.
*/
public static getModelName(): string {
return 'EventTrigger';
}
}