Refactored model/MinPrice.

This commit is contained in:
David Ball 2024-07-18 00:08:04 -04:00
parent ddda50dc4f
commit 836a8d8d65
3 changed files with 15 additions and 49 deletions

View File

@ -56,6 +56,7 @@ import { Languages } from "./model/Languages";
import { LanguageType } from "./model/LanguageType";
import { MaxPrice } from "./model/MaxPrice";
import { Merchant } from "./model/Merchant";
import { MinPrice } from "./model/MinPrice";
import { MultiValuedAttribute } from "./model/MultiValuedAttribute";
import { OfferCount } from "./model/OfferCount";
import { OfferPrice } from "./model/OfferPrice";

View File

@ -40,7 +40,5 @@ export class MaxPrice {
* @param {module:model/MaxPrice} obj Optional instance to populate.
* @return {module:model/MaxPrice} The populated <code>MaxPrice</code> instance.
*/
public static constructFromObject(data: any, _obj?: any) {
return data;
}
public static constructFromObject(data: any, _obj?: any) { return data; }
};

View File

@ -21,42 +21,18 @@
*
*/
(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.ProductAdvertisingAPIv1) {
root.ProductAdvertisingAPIv1 = {};
}
root.ProductAdvertisingAPIv1.MinPrice = factory(root.ProductAdvertisingAPIv1.ApiClient);
}
}(this, function(ApiClient) {
'use strict';
/**
* The MinPrice model module.
* @module model/MinPrice
* @version 1.0.0
*/
/**
* Constructs a new <code>MinPrice</code>.
* @alias module:model/MinPrice
* @class
*/
var exports = function() {
var _this = this;
};
/**
* The MinPrice model module.
* @module model/MinPrice
* @version 1.0.0
*/
/**
* Constructs a new <code>MinPrice</code>.
* @alias module:model/MinPrice
* @class
*/
export class MinPrice {
/**
* Constructs a <code>MinPrice</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.
@ -64,14 +40,5 @@
* @param {module:model/MinPrice} obj Optional instance to populate.
* @return {module:model/MinPrice} The populated <code>MinPrice</code> instance.
*/
exports.constructFromObject = function(data, obj) {
return data;
}
return exports;
}));
public static constructFromObject(data: any, _obj?: MinPrice) { return data; }
};