diff --git a/src/index.ts b/src/index.ts
index fd543a5..8d26f78 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -55,6 +55,7 @@ import { Images } from "./model/Images";
import { Item } from "./model/Item";
import { ItemIdType } from "./model/ItemIdType";
import { ItemInfo } from "./model/ItemInfo";
+import { ItemsResult } from "./model/ItemsResult";
import { Languages } from "./model/Languages";
import { LanguageType } from "./model/LanguageType";
import { ManufactureInfo } from "./model/ManufactureInfo";
diff --git a/src/model/ItemsResult.ts b/src/model/ItemsResult.ts
index 80e22e0..65e8b65 100644
--- a/src/model/ItemsResult.ts
+++ b/src/model/ItemsResult.ts
@@ -21,42 +21,25 @@
*
*/
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['ApiClient', 'model/Item'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./Item'));
- } else {
- // Browser globals (root is window)
- if (!root.ProductAdvertisingAPIv1) {
- root.ProductAdvertisingAPIv1 = {};
- }
- root.ProductAdvertisingAPIv1.ItemsResult = factory(root.ProductAdvertisingAPIv1.ApiClient, root.ProductAdvertisingAPIv1.Item);
- }
-}(this, function(ApiClient, Item) {
- 'use strict';
-
-
+/**
+ * The ItemsResult model module.
+ * @module model/ItemsResult
+ * @version 1.0.0
+ */
+import { ApiClient } from "../ApiClient";
+import { Item } from "./Item";
+/**
+ * Constructs a new ItemsResult.
+ * @alias module:model/ItemsResult
+ * @class
+ */
+export class ItemsResult {
/**
- * The ItemsResult model module.
- * @module model/ItemsResult
- * @version 1.0.0
+ * @member {Array.} Items
*/
-
- /**
- * Constructs a new ItemsResult.
- * @alias module:model/ItemsResult
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
+ public Items?: Item[];
/**
* Constructs a ItemsResult from a plain JavaScript object, optionally creating a new instance.
@@ -65,25 +48,14 @@
* @param {module:model/ItemsResult} obj Optional instance to populate.
* @return {module:model/ItemsResult} The populated ItemsResult instance.
*/
- exports.constructFromObject = function(data, obj) {
+ public static constructFromObject(data: any, obj?: ItemsResult) {
if (data) {
- obj = obj || new exports();
+ obj = obj || new ItemsResult();
if (data.hasOwnProperty('Items')) {
- obj['Items'] = ApiClient.convertToType(data['Items'], [Item]);
+ obj.Items = ApiClient.convertToType(data['Items'], [Item]);
}
}
return obj;
}
-
- /**
- * @member {Array.} Items
- */
- exports.prototype['Items'] = undefined;
-
-
-
- return exports;
-}));
-
-
+};