1. 1 : (function(root, factory) {
  2. 2 : if (typeof define === 'function' && define.amd) {
  3. 3 : // AMD. Register as an anonymous module.
  4. 4 : define(['ApiClient'], factory);
  5. 5 : } else if (typeof module === 'object' && module.exports) {
  6. 6 : // CommonJS-like environments that support module.exports, like Node.
  7. 7 : module.exports = factory(require('../ApiClient'));
  8. 8 : } else {
  9. 9 : // Browser globals (root is window)
  10. 10 : if (!root.OrbipayPaymentsapiClient) {
  11. 11 : root.OrbipayPaymentsapiClient = {};
  12. 12 : }
  13. 13 : root.OrbipayPaymentsapiClient.DeleteResponse = factory(root.OrbipayPaymentsapiClient.ApiClient);
  14. 14 : }
  15. 15 : }(this, function(ApiClient) {
  16. 16 : 'use strict';
  17. 17 :
  18. 18 :
  19. 19 :
  20. 20 :
  21. 21 : /**
  22. 22 : * The DeleteResponse model module.
  23. 23 : * @module models/DeleteResponse
  24. 24 : */
  25. 25 :
  26. 26 : /**
  27. 27 : * <h3 style="color:red"> This class subject to change without prior notice, Please dont use this class directly. </h3>
  28. 28 :
  29. 29 : * Constructs a new <code>DeleteResponse</code>.
  30. 30 : * @alias module:models/DeleteResponse
  31. 31 : * @class
  32. 32 : */
  33. 33 : var exports = function() {
  34. 34 : var _this = this;
  35. 35 :
  36. 36 :
  37. 37 :
  38. 38 : };
  39. 39 :
  40. 40 : /**
  41. 41 : * Constructs a <code>DeleteResponse</code> from a plain JavaScript object, optionally creating a new instance.
  42. 42 : * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
  43. 43 : * @param {Object} data The plain JavaScript object bearing properties of interest.
  44. 44 : * @param {module:models/DeleteResponse} obj Optional instance to populate.
  45. 45 : * @return {module:models/DeleteResponse} The populated <code>DeleteResponse</code> instance.
  46. 46 : */
  47. 47 : exports.constructFromObject = function(data, obj) {
  48. 48 : if (data) {
  49. 49 : obj = obj || new exports();
  50. 50 :
  51. 51 : if (data.hasOwnProperty('deleted')) {
  52. 52 : obj['deleted'] = ApiClient.convertToType(data['deleted'], 'String');
  53. 53 : }
  54. 54 : if (data.hasOwnProperty('id')) {
  55. 55 : obj['id'] = ApiClient.convertToType(data['id'], 'String');
  56. 56 : }
  57. 57 : }
  58. 58 : return obj;
  59. 59 : };
  60. 60 :
  61. 61 : /**
  62. 62 : * @member {module:models/DeleteResponse.DeletedEnum} deleted
  63. 63 : */
  64. 64 : exports.prototype['deleted'] = undefined;
  65. 65 : /**
  66. 66 : * The id of the deleted resource.
  67. 67 : * @member {String} id
  68. 68 : */
  69. 69 : exports.prototype['id'] = undefined;
  70. 70 :
  71. 71 :
  72. 72 : /**
  73. 73 : * Allowed values for the <code>deleted</code> property.
  74. 74 : * @enum {String}
  75. 75 : * @readonly
  76. 76 : */
  77. 77 : exports.DeletedEnum = {
  78. 78 : /**
  79. 79 : * value: "true"
  80. 80 : * @const
  81. 81 : */
  82. 82 : "true": "true",
  83. 83 : /**
  84. 84 : * value: "false"
  85. 85 : * @const
  86. 86 : */
  87. 87 : "false": "false" };
  88. 88 :
  89. 89 :
  90. 90 : return exports;
  91. 91 : }));
  92. 92 :
  93. 93 :