diff --git a/src/index.ts b/src/index.ts
index 38c17b4..fbb43d2 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -59,6 +59,7 @@ import { Merchant } from "./model/Merchant";
import { MinPrice } from "./model/MinPrice";
import { MultiValuedAttribute } from "./model/MultiValuedAttribute";
import { OfferAvailability } from "./model/OfferAvailability";
+import { OfferConditionNote } from "./model/OfferConditionNote";
import { OfferCount } from "./model/OfferCount";
import { OfferPrice } from "./model/OfferPrice";
import { OfferSavings } from "./model/OfferSavings";
diff --git a/src/model/OfferConditionNote.ts b/src/model/OfferConditionNote.ts
index be468b1..086e9be 100644
--- a/src/model/OfferConditionNote.ts
+++ b/src/model/OfferConditionNote.ts
@@ -21,43 +21,28 @@
*
*/
-(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.OfferConditionNote = factory(root.ProductAdvertisingAPIv1.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
+/**
+ * The OfferConditionNote model module.
+ * @module model/OfferConditionNote
+ * @version 1.0.0
+ */
+import { ApiClient } from "../ApiClient";
+/**
+ * Constructs a new OfferConditionNote.
+ * @alias module:model/OfferConditionNote
+ * @class
+ */
+export class OfferConditionNote {
/**
- * The OfferConditionNote model module.
- * @module model/OfferConditionNote
- * @version 1.0.0
+ * @member {String} Locale
*/
-
+ public Locale?: string;
/**
- * Constructs a new OfferConditionNote.
- * @alias module:model/OfferConditionNote
- * @class
+ * @member {String} Value
*/
- var exports = function() {
- var _this = this;
-
-
-
- };
+ public Value?: string;
/**
* Constructs a OfferConditionNote from a plain JavaScript object, optionally creating a new instance.
@@ -66,32 +51,17 @@
* @param {module:model/OfferConditionNote} obj Optional instance to populate.
* @return {module:model/OfferConditionNote} The populated OfferConditionNote instance.
*/
- exports.constructFromObject = function(data, obj) {
+ public static constructFromObject(data: any, obj?: OfferConditionNote) {
if (data) {
- obj = obj || new exports();
+ obj = obj || new OfferConditionNote();
if (data.hasOwnProperty('Locale')) {
- obj['Locale'] = ApiClient.convertToType(data['Locale'], 'String');
+ obj.Locale = ApiClient.convertToType(data['Locale'], 'String');
}
if (data.hasOwnProperty('Value')) {
- obj['Value'] = ApiClient.convertToType(data['Value'], 'String');
+ obj.Value = ApiClient.convertToType(data['Value'], 'String');
}
}
return obj;
}
-
- /**
- * @member {String} Locale
- */
- exports.prototype['Locale'] = undefined;
- /**
- * @member {String} Value
- */
- exports.prototype['Value'] = undefined;
-
-
-
- return exports;
-}));
-
-
+};