mirror of https://github.com/vernonkeenan/lib
408 lines
16 KiB
JavaScript
408 lines
16 KiB
JavaScript
/**
|
|
* devops
|
|
* System Operations 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.Devops);
|
|
}
|
|
}(this, function(expect, Devops) {
|
|
'use strict';
|
|
|
|
var instance;
|
|
|
|
beforeEach(function() {
|
|
instance = new Devops.User();
|
|
});
|
|
|
|
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('User', function() {
|
|
it('should create an instance of User', function() {
|
|
// uncomment below and update the code to test User
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be.a(Devops.User);
|
|
});
|
|
|
|
it('should have the property aPIKey (base name: "APIKey")', function() {
|
|
// uncomment below and update the code to test the property aPIKey
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property aboutMe (base name: "AboutMe")', function() {
|
|
// uncomment below and update the code to test the property aboutMe
|
|
//var instance = new Devops.User();
|
|
//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 Devops.User();
|
|
//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 Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property alias (base name: "Alias")', function() {
|
|
// uncomment below and update the code to test the property alias
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property auth0UserID (base name: "Auth0UserID")', function() {
|
|
// uncomment below and update the code to test the property auth0UserID
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property communityNickname (base name: "CommunityNickname")', function() {
|
|
// uncomment below and update the code to test the property communityNickname
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property companyName (base name: "CompanyName")', function() {
|
|
// uncomment below and update the code to test the property companyName
|
|
//var instance = new Devops.User();
|
|
//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 Devops.User();
|
|
//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 Devops.User();
|
|
//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 Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property delegatedApproverID (base name: "DelegatedApproverID")', function() {
|
|
// uncomment below and update the code to test the property delegatedApproverID
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property department (base name: "Department")', function() {
|
|
// uncomment below and update the code to test the property department
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property division (base name: "Division")', function() {
|
|
// uncomment below and update the code to test the property division
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property email (base name: "Email")', function() {
|
|
// uncomment below and update the code to test the property email
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property employeeNumber (base name: "EmployeeNumber")', function() {
|
|
// uncomment below and update the code to test the property employeeNumber
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property endOfDay (base name: "EndOfDay")', function() {
|
|
// uncomment below and update the code to test the property endOfDay
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property environment (base name: "Environment")', function() {
|
|
// uncomment below and update the code to test the property environment
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property extension (base name: "Extension")', function() {
|
|
// uncomment below and update the code to test the property extension
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property fabricAPIKey (base name: "FabricAPIKey")', function() {
|
|
// uncomment below and update the code to test the property fabricAPIKey
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property fax (base name: "Fax")', function() {
|
|
// uncomment below and update the code to test the property fax
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property firstName (base name: "FirstName")', function() {
|
|
// uncomment below and update the code to test the property firstName
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property forecastEnabled (base name: "ForecastEnabled")', function() {
|
|
// uncomment below and update the code to test the property forecastEnabled
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property fullPhotoURL (base name: "FullPhotoURL")', function() {
|
|
// uncomment below and update the code to test the property fullPhotoURL
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property ID (base name: "ID")', function() {
|
|
// uncomment below and update the code to test the property ID
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property isActive (base name: "IsActive")', function() {
|
|
// uncomment below and update the code to test the property isActive
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property isPortalEnabled (base name: "IsPortalEnabled")', function() {
|
|
// uncomment below and update the code to test the property isPortalEnabled
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property isProphilePhotoActive (base name: "IsProphilePhotoActive")', function() {
|
|
// uncomment below and update the code to test the property isProphilePhotoActive
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property isSystemControlled (base name: "IsSystemControlled")', function() {
|
|
// uncomment below and update the code to test the property isSystemControlled
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property lastIP (base name: "LastIP")', function() {
|
|
// uncomment below and update the code to test the property lastIP
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property lastLogin (base name: "LastLogin")', function() {
|
|
// uncomment below and update the code to test the property lastLogin
|
|
//var instance = new Devops.User();
|
|
//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 Devops.User();
|
|
//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 Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property lastName (base name: "LastName")', function() {
|
|
// uncomment below and update the code to test the property lastName
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property loginCount (base name: "LoginCount")', function() {
|
|
// uncomment below and update the code to test the property loginCount
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property managerID (base name: "ManagerID")', function() {
|
|
// uncomment below and update the code to test the property managerID
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property mobilePhone (base name: "MobilePhone")', function() {
|
|
// uncomment below and update the code to test the property mobilePhone
|
|
//var instance = new Devops.User();
|
|
//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 Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property outOfOfficeMessage (base name: "OutOfOfficeMessage")', function() {
|
|
// uncomment below and update the code to test the property outOfOfficeMessage
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property phone (base name: "Phone")', function() {
|
|
// uncomment below and update the code to test the property phone
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property portalRole (base name: "PortalRole")', function() {
|
|
// uncomment below and update the code to test the property portalRole
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property profileID (base name: "ProfileID")', function() {
|
|
// uncomment below and update the code to test the property profileID
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property receivesAdminEmails (base name: "ReceivesAdminEmails")', function() {
|
|
// uncomment below and update the code to test the property receivesAdminEmails
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property receivesAdminInfoEmails (base name: "ReceivesAdminInfoEmails")', function() {
|
|
// uncomment below and update the code to test the property receivesAdminInfoEmails
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property senderEmail (base name: "SenderEmail")', function() {
|
|
// uncomment below and update the code to test the property senderEmail
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property senderName (base name: "SenderName")', function() {
|
|
// uncomment below and update the code to test the property senderName
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property signature (base name: "Signature")', function() {
|
|
// uncomment below and update the code to test the property signature
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property smallPhotoURL (base name: "SmallPhotoURL")', function() {
|
|
// uncomment below and update the code to test the property smallPhotoURL
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property startOfDay (base name: "StartOfDay")', function() {
|
|
// uncomment below and update the code to test the property startOfDay
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() {
|
|
// uncomment below and update the code to test the property taxnexusAccount
|
|
//var instance = new Devops.User();
|
|
//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 Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property tenantUsers (base name: "TenantUsers")', function() {
|
|
// uncomment below and update the code to test the property tenantUsers
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property timeZone (base name: "TimeZone")', function() {
|
|
// uncomment below and update the code to test the property timeZone
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property title (base name: "Title")', function() {
|
|
// uncomment below and update the code to test the property title
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property userRoleID (base name: "UserRoleID")', function() {
|
|
// uncomment below and update the code to test the property userRoleID
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property userRoles (base name: "UserRoles")', function() {
|
|
// uncomment below and update the code to test the property userRoles
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property userType (base name: "UserType")', function() {
|
|
// uncomment below and update the code to test the property userType
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property username (base name: "Username")', function() {
|
|
// uncomment below and update the code to test the property username
|
|
//var instance = new Devops.User();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
});
|
|
|
|
}));
|