UNPKG

infusionsoft-nodejs

Version:

A NodeJS SDK automatically generated from Infusionsoft API Swagger definitions.

102 lines (86 loc) 3.55 kB
/** * Infusionsoft REST API * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: V1.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. * */ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. define(['expect.js', '../../src/index'], factory); } else if (typeof module === 'object' && module.exports) { // CommonJS-like environments that support module.exports, like Node. factory(require('expect.js'), require('../../src/index')); } else { // Browser globals (root is window) factory(root.expect, root.InfusionsoftRestApi); } }(this, function(expect, InfusionsoftRestApi) { 'use strict'; var instance; beforeEach(function() { instance = new InfusionsoftRestApi.Address(); }); 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('Address', function() { it('should create an instance of Address', function() { // uncomment below and update the code to test Address //var instane = new InfusionsoftRestApi.Address(); //expect(instance).to.be.a(InfusionsoftRestApi.Address); }); it('should have the property countryCode (base name: "country_code")', function() { // uncomment below and update the code to test the property countryCode //var instane = new InfusionsoftRestApi.Address(); //expect(instance).to.be(); }); it('should have the property field (base name: "field")', function() { // uncomment below and update the code to test the property field //var instane = new InfusionsoftRestApi.Address(); //expect(instance).to.be(); }); it('should have the property line1 (base name: "line1")', function() { // uncomment below and update the code to test the property line1 //var instane = new InfusionsoftRestApi.Address(); //expect(instance).to.be(); }); it('should have the property line2 (base name: "line2")', function() { // uncomment below and update the code to test the property line2 //var instane = new InfusionsoftRestApi.Address(); //expect(instance).to.be(); }); it('should have the property locality (base name: "locality")', function() { // uncomment below and update the code to test the property locality //var instane = new InfusionsoftRestApi.Address(); //expect(instance).to.be(); }); it('should have the property postalCode (base name: "postal_code")', function() { // uncomment below and update the code to test the property postalCode //var instane = new InfusionsoftRestApi.Address(); //expect(instance).to.be(); }); it('should have the property region (base name: "region")', function() { // uncomment below and update the code to test the property region //var instane = new InfusionsoftRestApi.Address(); //expect(instance).to.be(); }); }); }));