mirror of https://github.com/vernonkeenan/lib
342 lines
13 KiB
JavaScript
342 lines
13 KiB
JavaScript
/**
|
|
* sf-gate
|
|
* Customer Information Microservice
|
|
*
|
|
* The version of the OpenAPI document: 0.0.2
|
|
* Contact: noc@taxnexus.net
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*
|
|
*/
|
|
|
|
(function(root, factory) {
|
|
if (typeof define === 'function' && define.amd) {
|
|
// AMD.
|
|
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
} else if (typeof module === 'object' && module.exports) {
|
|
// CommonJS-like environments that support module.exports, like Node.
|
|
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
} else {
|
|
// Browser globals (root is window)
|
|
factory(root.expect, root.SfGate);
|
|
}
|
|
}(this, function(expect, SfGate) {
|
|
'use strict';
|
|
|
|
var instance;
|
|
|
|
beforeEach(function() {
|
|
instance = new SfGate.Asset();
|
|
});
|
|
|
|
var getProperty = function(object, getter, property) {
|
|
// Use getter method if present; otherwise, get the property directly.
|
|
if (typeof object[getter] === 'function')
|
|
return object[getter]();
|
|
else
|
|
return object[property];
|
|
}
|
|
|
|
var setProperty = function(object, setter, property, value) {
|
|
// Use setter method if present; otherwise, set the property directly.
|
|
if (typeof object[setter] === 'function')
|
|
object[setter](value);
|
|
else
|
|
object[property] = value;
|
|
}
|
|
|
|
describe('Asset', function() {
|
|
it('should create an instance of Asset', function() {
|
|
// uncomment below and update the code to test Asset
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be.a(SfGate.Asset);
|
|
});
|
|
|
|
it('should have the property ID (base name: "ID")', function() {
|
|
// uncomment below and update the code to test the property ID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property accountID (base name: "AccountID")', function() {
|
|
// uncomment below and update the code to test the property accountID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property address (base name: "Address")', function() {
|
|
// uncomment below and update the code to test the property address
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property assetLevel (base name: "AssetLevel")', function() {
|
|
// uncomment below and update the code to test the property assetLevel
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property name (base name: "Name")', function() {
|
|
// uncomment below and update the code to test the property name
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property assetProvidedByID (base name: "AssetProvidedByID")', function() {
|
|
// uncomment below and update the code to test the property assetProvidedByID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property assetServicedByID (base name: "AssetServicedByID")', function() {
|
|
// uncomment below and update the code to test the property assetServicedByID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property companyProductID (base name: "CompanyProductID")', function() {
|
|
// uncomment below and update the code to test the property companyProductID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property isCompetitorProduct (base name: "IsCompetitorProduct")', function() {
|
|
// uncomment below and update the code to test the property isCompetitorProduct
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property consequenceOfFailure (base name: "ConsequenceOfFailure")', function() {
|
|
// uncomment below and update the code to test the property consequenceOfFailure
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property contactID (base name: "ContactID")', function() {
|
|
// uncomment below and update the code to test the property contactID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property createdByID (base name: "CreatedByID")', function() {
|
|
// uncomment below and update the code to test the property createdByID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property createdDate (base name: "CreatedDate")', function() {
|
|
// uncomment below and update the code to test the property createdDate
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property currentAmount (base name: "CurrentAmount")', function() {
|
|
// uncomment below and update the code to test the property currentAmount
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property currentLifecycleEndDate (base name: "CurrentLifecycleEndDate")', function() {
|
|
// uncomment below and update the code to test the property currentLifecycleEndDate
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property currentMrr (base name: "CurrentMrr")', function() {
|
|
// uncomment below and update the code to test the property currentMrr
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property currentQuantity (base name: "CurrentQuantity")', function() {
|
|
// uncomment below and update the code to test the property currentQuantity
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property description (base name: "Description")', function() {
|
|
// uncomment below and update the code to test the property description
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property digitalAssetStatus (base name: "DigitalAssetStatus")', function() {
|
|
// uncomment below and update the code to test the property digitalAssetStatus
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property externalIdentifier (base name: "ExternalIdentifier")', function() {
|
|
// uncomment below and update the code to test the property externalIdentifier
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property hasLifecycleManagement (base name: "HasLifecycleManagement")', function() {
|
|
// uncomment below and update the code to test the property hasLifecycleManagement
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property installDate (base name: "InstallDate")', function() {
|
|
// uncomment below and update the code to test the property installDate
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property isInternal (base name: "IsInternal")', function() {
|
|
// uncomment below and update the code to test the property isInternal
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() {
|
|
// uncomment below and update the code to test the property lastModifiedByID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() {
|
|
// uncomment below and update the code to test the property lastModifiedDate
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property locationID (base name: "LocationID")', function() {
|
|
// uncomment below and update the code to test the property locationID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property manufactureDate (base name: "ManufactureDate")', function() {
|
|
// uncomment below and update the code to test the property manufactureDate
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property mIMEType (base name: "MIMEType")', function() {
|
|
// uncomment below and update the code to test the property mIMEType
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property parentID (base name: "ParentID")', function() {
|
|
// uncomment below and update the code to test the property parentID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property price (base name: "Price")', function() {
|
|
// uncomment below and update the code to test the property price
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property product2ID (base name: "Product2ID")', function() {
|
|
// uncomment below and update the code to test the property product2ID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property productCode (base name: "ProductCode")', function() {
|
|
// uncomment below and update the code to test the property productCode
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property productDescription (base name: "ProductDescription")', function() {
|
|
// uncomment below and update the code to test the property productDescription
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property productFamily (base name: "ProductFamily")', function() {
|
|
// uncomment below and update the code to test the property productFamily
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property stockKeepingUnit (base name: "StockKeepingUnit")', function() {
|
|
// uncomment below and update the code to test the property stockKeepingUnit
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property purchaseDate (base name: "PurchaseDate")', function() {
|
|
// uncomment below and update the code to test the property purchaseDate
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property quantity (base name: "Quantity")', function() {
|
|
// uncomment below and update the code to test the property quantity
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property rootAssetID (base name: "RootAssetID")', function() {
|
|
// uncomment below and update the code to test the property rootAssetID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property serialNumber (base name: "SerialNumber")', function() {
|
|
// uncomment below and update the code to test the property serialNumber
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property status (base name: "Status")', function() {
|
|
// uncomment below and update the code to test the property status
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property statusReason (base name: "StatusReason")', function() {
|
|
// uncomment below and update the code to test the property statusReason
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property tenantID (base name: "TenantID")', function() {
|
|
// uncomment below and update the code to test the property tenantID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property totalLifecycleAmount (base name: "TotalLifecycleAmount")', function() {
|
|
// uncomment below and update the code to test the property totalLifecycleAmount
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property type (base name: "Type")', function() {
|
|
// uncomment below and update the code to test the property type
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property UUID (base name: "UUID")', function() {
|
|
// uncomment below and update the code to test the property UUID
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property URL (base name: "URL")', function() {
|
|
// uncomment below and update the code to test the property URL
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property usageEndDate (base name: "UsageEndDate")', function() {
|
|
// uncomment below and update the code to test the property usageEndDate
|
|
//var instance = new SfGate.Asset();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
});
|
|
|
|
}));
|