diff --git a/src/index.ts b/src/index.ts
index a5a0481..bcae79c 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -22,6 +22,9 @@
*/
import { ApiClient } from "./ApiClient";
+
+import { DefaultApi } from "./api/DefaultApi";
+
import { Availability } from "./model/Availability";
import { BrowseNode } from "./model/BrowseNode";
import { BrowseNodeAncestor } from "./model/BrowseNodeAncestor";
@@ -30,8 +33,8 @@ import { BrowseNodeInfo } from "./model/BrowseNodeInfo";
import { BrowseNodesResult } from "./model/BrowseNodesResult";
import { ByLineInfo } from "./model/ByLineInfo";
import { Classifications } from "./model/Classifications";
-import { DefaultApi } from "./api/DefaultApi";
import { Condition } from "./model/Condition";
+import { ContentRating } from "./model/ContentRating";
import { Contributor } from "./model/Contributor";
import { OfferSavings } from "./model/OfferSavings";
import { PriceType } from "./model/PriceType";
diff --git a/src/model/Classifications.ts b/src/model/Classifications.ts
index c521c23..cb1c547 100644
--- a/src/model/Classifications.ts
+++ b/src/model/Classifications.ts
@@ -27,7 +27,6 @@
* @version 1.0.0
*/
-import { ApiClient } from "../ApiClient";
import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute";
/**
diff --git a/src/model/ContentRating.ts b/src/model/ContentRating.ts
index c547549..509d442 100644
--- a/src/model/ContentRating.ts
+++ b/src/model/ContentRating.ts
@@ -15,49 +15,31 @@
* permissions and limitations under the License.
*/
+import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute";
+
/**
* ProductAdvertisingAPI
* https://webservices.amazon.com/paapi5/documentation/index.html
*
*/
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['ApiClient', 'model/SingleStringValuedAttribute'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./SingleStringValuedAttribute'));
- } else {
- // Browser globals (root is window)
- if (!root.ProductAdvertisingAPIv1) {
- root.ProductAdvertisingAPIv1 = {};
- }
- root.ProductAdvertisingAPIv1.ContentRating = factory(root.ProductAdvertisingAPIv1.ApiClient, root.ProductAdvertisingAPIv1.SingleStringValuedAttribute);
- }
-}(this, function(ApiClient, SingleStringValuedAttribute) {
- 'use strict';
-
-
-
+/**
+ * The ContentRating model module.
+ * @module model/ContentRating
+ * @version 1.0.0
+ */
+/**
+ * Constructs a new ContentRating.
+ * @alias module:model/ContentRating
+ * @class
+ */
+export class ContentRating {
/**
- * The ContentRating model module.
- * @module model/ContentRating
- * @version 1.0.0
+ * @member {module:model/SingleStringValuedAttribute} AudienceRating
*/
-
- /**
- * Constructs a new ContentRating.
- * @alias module:model/ContentRating
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
+ public AudienceRating?: SingleStringValuedAttribute;
+
/**
* Constructs a ContentRating 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.
@@ -65,25 +47,14 @@
* @param {module:model/ContentRating} obj Optional instance to populate.
* @return {module:model/ContentRating} The populated ContentRating instance.
*/
- exports.constructFromObject = function(data, obj) {
+ public static constructFromObject(data: any, obj?: ContentRating) {
if (data) {
- obj = obj || new exports();
+ obj = obj || new ContentRating();
if (data.hasOwnProperty('AudienceRating')) {
- obj['AudienceRating'] = SingleStringValuedAttribute.constructFromObject(data['AudienceRating']);
+ obj.AudienceRating = SingleStringValuedAttribute.constructFromObject(data['AudienceRating']);
}
}
return obj;
}
-
- /**
- * @member {module:model/SingleStringValuedAttribute} AudienceRating
- */
- exports.prototype['AudienceRating'] = undefined;
-
-
-
- return exports;
-}));
-
-
+};
\ No newline at end of file