docusign-rooms
Version:
DocuSign Node.js API client.
89 lines (74 loc) • 2.46 kB
JavaScript
/**
* DocuSign Rooms API - v2
* An API for an integrator to access the features of DocuSign Rooms
*
* OpenAPI spec version: v2
* Contact: devcenter@docusign.com
*
* NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead.
*
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['ApiClient'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
module.exports = factory(require('../ApiClient'));
} else {
// Browser globals (root is window)
if (!root.DocusignRooms) {
root.DocusignRooms = {};
}
root.DocusignRooms.SelectListFieldOption = factory(root.DocusignRooms.ApiClient);
}
}(this, function(ApiClient) {
'use strict';
/**
* The SelectListFieldOption model module.
* @module model/SelectListFieldOption
*/
/**
* Constructs a new <code>SelectListFieldOption</code>.
* @alias module:model/SelectListFieldOption
* @class
*/
var exports = function() {
var _this = this;
};
/**
* Constructs a <code>SelectListFieldOption</code> from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @param {module:model/SelectListFieldOption} obj Optional instance to populate.
* @return {module:model/SelectListFieldOption} The populated <code>SelectListFieldOption</code> instance.
*/
exports.constructFromObject = function(data, obj) {
if (data) {
obj = obj || new exports();
if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], Object);
}
if (data.hasOwnProperty('title')) {
obj['title'] = ApiClient.convertToType(data['title'], 'String');
}
if (data.hasOwnProperty('order')) {
obj['order'] = ApiClient.convertToType(data['order'], 'Number');
}
}
return obj;
}
/**
* @member {Object} id
*/
exports.prototype['id'] = undefined;
/**
* @member {String} title
*/
exports.prototype['title'] = undefined;
/**
* @member {Number} order
*/
exports.prototype['order'] = undefined;
return exports;
}));