diff --git a/src/index.ts b/src/index.ts index 1509d40..063d2e2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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"; diff --git a/src/model/MaxPrice.ts b/src/model/MaxPrice.ts index 1350a8e..9d210db 100644 --- a/src/model/MaxPrice.ts +++ b/src/model/MaxPrice.ts @@ -40,7 +40,5 @@ export class MaxPrice { * @param {module:model/MaxPrice} obj Optional instance to populate. * @return {module:model/MaxPrice} The populated MaxPrice instance. */ - public static constructFromObject(data: any, _obj?: any) { - return data; - } + public static constructFromObject(data: any, _obj?: any) { return data; } }; diff --git a/src/model/MinPrice.ts b/src/model/MinPrice.ts index 7c04803..df96200 100644 --- a/src/model/MinPrice.ts +++ b/src/model/MinPrice.ts @@ -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 MinPrice. - * @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 MinPrice. + * @alias module:model/MinPrice + * @class + */ +export class MinPrice { /** * Constructs a MinPrice from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj 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 MinPrice instance. */ - exports.constructFromObject = function(data, obj) { - return data; - } - - - - - return exports; -})); - - + public static constructFromObject(data: any, _obj?: MinPrice) { return data; } +};