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