UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

75 lines 2.2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TwilioCredential = void 0; var TwilioCredential = /** @class */ (function () { function TwilioCredential(data) { this.enabled = true; Object.assign(this, data); } /** * The name of the model represented by this $resource, * i.e. `TwilioCredential`. */ TwilioCredential.getModelName = function () { return 'TwilioCredential'; }; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of TwilioCredential for dynamic purposes. */ TwilioCredential.factory = function (data) { return new TwilioCredential(data); }; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ TwilioCredential.getModelDefinition = function () { return { name: 'TwilioCredential', plural: 'TwilioCredentials', path: 'TwilioCredentials', idName: 'id', properties: { id: { name: 'id', type: 'string' }, name: { name: 'name', type: 'string' }, description: { name: 'description', type: 'string' }, enabled: { name: 'enabled', type: 'boolean', default: true }, sid: { name: 'sid', type: 'string' }, token: { name: 'token', type: 'string' }, phone: { name: 'phone', type: 'string' }, }, relations: {} }; }; return TwilioCredential; }()); exports.TwilioCredential = TwilioCredential; //# sourceMappingURL=TwilioCredential.js.map