model/DisplayApplianceAccount.js

  1. /**
  2. * DocuSign REST API
  3. * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
  4. *
  5. * OpenAPI spec version: v2.1
  6. * Contact: devcenter@docusign.com
  7. *
  8. * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead.
  9. *
  10. */
  11. (function(root, factory) {
  12. if (typeof define === 'function' && define.amd) {
  13. // AMD. Register as an anonymous module.
  14. define(['ApiClient'], factory);
  15. } else if (typeof module === 'object' && module.exports) {
  16. // CommonJS-like environments that support module.exports, like Node.
  17. module.exports = factory(require('../ApiClient'));
  18. } else {
  19. // Browser globals (root is window)
  20. if (!root.Docusign) {
  21. root.Docusign = {};
  22. }
  23. root.Docusign.DisplayApplianceAccount = factory(root.Docusign.ApiClient);
  24. }
  25. }(this, function(ApiClient) {
  26. 'use strict';
  27. /**
  28. * The DisplayApplianceAccount model module.
  29. * @module model/DisplayApplianceAccount
  30. */
  31. /**
  32. * Constructs a new <code>DisplayApplianceAccount</code>.
  33. * @alias module:model/DisplayApplianceAccount
  34. * @class
  35. */
  36. var exports = function() {
  37. var _this = this;
  38. };
  39. /**
  40. * Constructs a <code>DisplayApplianceAccount</code> from a plain JavaScript object, optionally creating a new instance.
  41. * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
  42. * @param {Object} data The plain JavaScript object bearing properties of interest.
  43. * @param {module:model/DisplayApplianceAccount} obj Optional instance to populate.
  44. * @return {module:model/DisplayApplianceAccount} The populated <code>DisplayApplianceAccount</code> instance.
  45. */
  46. exports.constructFromObject = function(data, obj) {
  47. if (data) {
  48. obj = obj || new exports();
  49. if (data.hasOwnProperty('accountId')) {
  50. obj['accountId'] = ApiClient.convertToType(data['accountId'], 'String');
  51. }
  52. if (data.hasOwnProperty('optOutAutoNavTextAndTabColorUpdates')) {
  53. obj['optOutAutoNavTextAndTabColorUpdates'] = ApiClient.convertToType(data['optOutAutoNavTextAndTabColorUpdates'], 'Boolean');
  54. }
  55. if (data.hasOwnProperty('showInitialConditionalFields')) {
  56. obj['showInitialConditionalFields'] = ApiClient.convertToType(data['showInitialConditionalFields'], 'Boolean');
  57. }
  58. if (data.hasOwnProperty('signingVersion')) {
  59. obj['signingVersion'] = ApiClient.convertToType(data['signingVersion'], 'String');
  60. }
  61. if (data.hasOwnProperty('tagHasSigBlock')) {
  62. obj['tagHasSigBlock'] = ApiClient.convertToType(data['tagHasSigBlock'], 'Boolean');
  63. }
  64. }
  65. return obj;
  66. }
  67. /**
  68. * The account ID associated with the envelope.
  69. * @member {String} accountId
  70. */
  71. exports.prototype['accountId'] = undefined;
  72. /**
  73. *
  74. * @member {Boolean} optOutAutoNavTextAndTabColorUpdates
  75. */
  76. exports.prototype['optOutAutoNavTextAndTabColorUpdates'] = undefined;
  77. /**
  78. *
  79. * @member {Boolean} showInitialConditionalFields
  80. */
  81. exports.prototype['showInitialConditionalFields'] = undefined;
  82. /**
  83. *
  84. * @member {String} signingVersion
  85. */
  86. exports.prototype['signingVersion'] = undefined;
  87. /**
  88. *
  89. * @member {Boolean} tagHasSigBlock
  90. */
  91. exports.prototype['tagHasSigBlock'] = undefined;
  92. return exports;
  93. }));