Compare commits
No commits in common. "6cfbb0db377d0410e167aaf73a2fb47cab09fce4" and "1968bd544e60b6429b3bdf0f962439f9b722d924" have entirely different histories.
6cfbb0db37
...
1968bd544e
167
src/index.ts
167
src/index.ts
|
|
@ -23,13 +23,9 @@
|
||||||
|
|
||||||
import { ApiClient } from "./ApiClient";
|
import { ApiClient } from "./ApiClient";
|
||||||
import { Availability } from "./model/Availability";
|
import { Availability } from "./model/Availability";
|
||||||
import { BrowseNode } from "./model/BrowseNode";
|
|
||||||
import { BrowseNodeAncestor } from "./model/BrowseNodeAncestor";
|
|
||||||
import { BrowseNodeChild } from "./model/BrowseNodeChild";
|
import { BrowseNodeChild } from "./model/BrowseNodeChild";
|
||||||
import { BrowseNodeInfo } from "./model/BrowseNodeInfo";
|
|
||||||
import { ByLineInfo } from "./model/ByLineInfo";
|
import { ByLineInfo } from "./model/ByLineInfo";
|
||||||
import { Classifications } from "./model/Classifications";
|
import { Classifications } from "./model/Classifications";
|
||||||
import { DefaultApi } from "./api/DefaultApi";
|
|
||||||
import { Condition } from "./model/Condition";
|
import { Condition } from "./model/Condition";
|
||||||
import { Contributor } from "./model/Contributor";
|
import { Contributor } from "./model/Contributor";
|
||||||
import { OfferSavings } from "./model/OfferSavings";
|
import { OfferSavings } from "./model/OfferSavings";
|
||||||
|
|
@ -37,7 +33,6 @@ import { PriceType } from "./model/PriceType";
|
||||||
import { SingleBooleanValuedAttribute } from "./model/SingleBooleanValuedAttribute";
|
import { SingleBooleanValuedAttribute } from "./model/SingleBooleanValuedAttribute";
|
||||||
import { SingleIntegerValuedAttribute } from "./model/SingleIntegerValuedAttribute";
|
import { SingleIntegerValuedAttribute } from "./model/SingleIntegerValuedAttribute";
|
||||||
import { SingleStringValuedAttribute } from "./model/SingleStringValuedAttribute";
|
import { SingleStringValuedAttribute } from "./model/SingleStringValuedAttribute";
|
||||||
import { WebsiteSalesRank } from "./model/WebsiteSalesRank";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ProductAdvertisingAPI 5.0 NodeJS SDK.<br>
|
* ProductAdvertisingAPI 5.0 NodeJS SDK.<br>
|
||||||
|
|
@ -68,7 +63,7 @@ import { WebsiteSalesRank } from "./model/WebsiteSalesRank";
|
||||||
* </pre>
|
* </pre>
|
||||||
* </p>
|
* </p>
|
||||||
* @module index
|
* @module index
|
||||||
* @version 2.0.0
|
* @version 1.0.0
|
||||||
*/
|
*/
|
||||||
export {
|
export {
|
||||||
/**
|
/**
|
||||||
|
|
@ -85,12 +80,12 @@ export {
|
||||||
* The BrowseNode model constructor.
|
* The BrowseNode model constructor.
|
||||||
* @property {module:model/BrowseNode}
|
* @property {module:model/BrowseNode}
|
||||||
*/
|
*/
|
||||||
BrowseNode,
|
BrowseNode: BrowseNode,
|
||||||
/**
|
/**
|
||||||
* The BrowseNodeAncestor model constructor.
|
* The BrowseNodeAncestor model constructor.
|
||||||
* @property {module:model/BrowseNodeAncestor}
|
* @property {module:model/BrowseNodeAncestor}
|
||||||
*/
|
*/
|
||||||
BrowseNodeAncestor,
|
BrowseNodeAncestor: BrowseNodeAncestor,
|
||||||
/**
|
/**
|
||||||
* The BrowseNodeChild model constructor.
|
* The BrowseNodeChild model constructor.
|
||||||
* @property {module:model/BrowseNodeChild}
|
* @property {module:model/BrowseNodeChild}
|
||||||
|
|
@ -100,12 +95,12 @@ export {
|
||||||
* The BrowseNodeInfo model constructor.
|
* The BrowseNodeInfo model constructor.
|
||||||
* @property {module:model/BrowseNodeInfo}
|
* @property {module:model/BrowseNodeInfo}
|
||||||
*/
|
*/
|
||||||
BrowseNodeInfo,
|
BrowseNodeInfo: BrowseNodeInfo,
|
||||||
/**
|
/**
|
||||||
* The BrowseNodesResult model constructor.
|
* The BrowseNodesResult model constructor.
|
||||||
* @property {module:model/BrowseNodesResult}
|
* @property {module:model/BrowseNodesResult}
|
||||||
*/
|
*/
|
||||||
BrowseNodesResult,
|
BrowseNodesResult: BrowseNodesResult,
|
||||||
/**
|
/**
|
||||||
* The ByLineInfo model constructor.
|
* The ByLineInfo model constructor.
|
||||||
* @property {module:model/ByLineInfo}
|
* @property {module:model/ByLineInfo}
|
||||||
|
|
@ -125,12 +120,12 @@ export {
|
||||||
* The ContentInfo model constructor.
|
* The ContentInfo model constructor.
|
||||||
* @property {module:model/ContentInfo}
|
* @property {module:model/ContentInfo}
|
||||||
*/
|
*/
|
||||||
ContentInfo,
|
ContentInfo: ContentInfo,
|
||||||
/**
|
/**
|
||||||
* The ContentRating model constructor.
|
* The ContentRating model constructor.
|
||||||
* @property {module:model/ContentRating}
|
* @property {module:model/ContentRating}
|
||||||
*/
|
*/
|
||||||
ContentRating,
|
ContentRating: ContentRating,
|
||||||
/**
|
/**
|
||||||
* The Contributor model constructor.
|
* The Contributor model constructor.
|
||||||
* @property {module:model/Contributor}
|
* @property {module:model/Contributor}
|
||||||
|
|
@ -140,212 +135,212 @@ export {
|
||||||
* The CustomerReviews model constructor.
|
* The CustomerReviews model constructor.
|
||||||
* @property {module:model/CustomerReviews}
|
* @property {module:model/CustomerReviews}
|
||||||
*/
|
*/
|
||||||
CustomerReviews,
|
CustomerReviews: CustomerReviews,
|
||||||
/**
|
/**
|
||||||
* The DeliveryFlag model constructor.
|
* The DeliveryFlag model constructor.
|
||||||
* @property {module:model/DeliveryFlag}
|
* @property {module:model/DeliveryFlag}
|
||||||
*/
|
*/
|
||||||
DeliveryFlag,
|
DeliveryFlag: DeliveryFlag,
|
||||||
/**
|
/**
|
||||||
* The DimensionBasedAttribute model constructor.
|
* The DimensionBasedAttribute model constructor.
|
||||||
* @property {module:model/DimensionBasedAttribute}
|
* @property {module:model/DimensionBasedAttribute}
|
||||||
*/
|
*/
|
||||||
DimensionBasedAttribute,
|
DimensionBasedAttribute: DimensionBasedAttribute,
|
||||||
/**
|
/**
|
||||||
* The DurationPrice model constructor.
|
* The DurationPrice model constructor.
|
||||||
* @property {module:model/DurationPrice}
|
* @property {module:model/DurationPrice}
|
||||||
*/
|
*/
|
||||||
DurationPrice,
|
DurationPrice: DurationPrice,
|
||||||
/**
|
/**
|
||||||
* The ErrorData model constructor.
|
* The ErrorData model constructor.
|
||||||
* @property {module:model/ErrorData}
|
* @property {module:model/ErrorData}
|
||||||
*/
|
*/
|
||||||
ErrorData,
|
ErrorData: ErrorData,
|
||||||
/**
|
/**
|
||||||
* The ExternalIds model constructor.
|
* The ExternalIds model constructor.
|
||||||
* @property {module:model/ExternalIds}
|
* @property {module:model/ExternalIds}
|
||||||
*/
|
*/
|
||||||
ExternalIds,
|
ExternalIds: ExternalIds,
|
||||||
/**
|
/**
|
||||||
* The GetBrowseNodesRequest model constructor.
|
* The GetBrowseNodesRequest model constructor.
|
||||||
* @property {module:model/GetBrowseNodesRequest}
|
* @property {module:model/GetBrowseNodesRequest}
|
||||||
*/
|
*/
|
||||||
GetBrowseNodesRequest,
|
GetBrowseNodesRequest: GetBrowseNodesRequest,
|
||||||
/**
|
/**
|
||||||
* The GetBrowseNodesResource model constructor.
|
* The GetBrowseNodesResource model constructor.
|
||||||
* @property {module:model/GetBrowseNodesResource}
|
* @property {module:model/GetBrowseNodesResource}
|
||||||
*/
|
*/
|
||||||
GetBrowseNodesResource,
|
GetBrowseNodesResource: GetBrowseNodesResource,
|
||||||
/**
|
/**
|
||||||
* The GetBrowseNodesResponse model constructor.
|
* The GetBrowseNodesResponse model constructor.
|
||||||
* @property {module:model/GetBrowseNodesResponse}
|
* @property {module:model/GetBrowseNodesResponse}
|
||||||
*/
|
*/
|
||||||
GetBrowseNodesResponse,
|
GetBrowseNodesResponse: GetBrowseNodesResponse,
|
||||||
/**
|
/**
|
||||||
* The GetItemsRequest model constructor.
|
* The GetItemsRequest model constructor.
|
||||||
* @property {module:model/GetItemsRequest}
|
* @property {module:model/GetItemsRequest}
|
||||||
*/
|
*/
|
||||||
GetItemsRequest,
|
GetItemsRequest: GetItemsRequest,
|
||||||
/**
|
/**
|
||||||
* The GetItemsResource model constructor.
|
* The GetItemsResource model constructor.
|
||||||
* @property {module:model/GetItemsResource}
|
* @property {module:model/GetItemsResource}
|
||||||
*/
|
*/
|
||||||
GetItemsResource,
|
GetItemsResource: GetItemsResource,
|
||||||
/**
|
/**
|
||||||
* The GetItemsResponse model constructor.
|
* The GetItemsResponse model constructor.
|
||||||
* @property {module:model/GetItemsResponse}
|
* @property {module:model/GetItemsResponse}
|
||||||
*/
|
*/
|
||||||
GetItemsResponse,
|
GetItemsResponse: GetItemsResponse,
|
||||||
/**
|
/**
|
||||||
* The GetVariationsRequest model constructor.
|
* The GetVariationsRequest model constructor.
|
||||||
* @property {module:model/GetVariationsRequest}
|
* @property {module:model/GetVariationsRequest}
|
||||||
*/
|
*/
|
||||||
GetVariationsRequest,
|
GetVariationsRequest: GetVariationsRequest,
|
||||||
/**
|
/**
|
||||||
* The GetVariationsResource model constructor.
|
* The GetVariationsResource model constructor.
|
||||||
* @property {module:model/GetVariationsResource}
|
* @property {module:model/GetVariationsResource}
|
||||||
*/
|
*/
|
||||||
GetVariationsResource,
|
GetVariationsResource: GetVariationsResource,
|
||||||
/**
|
/**
|
||||||
* The GetVariationsResponse model constructor.
|
* The GetVariationsResponse model constructor.
|
||||||
* @property {module:model/GetVariationsResponse}
|
* @property {module:model/GetVariationsResponse}
|
||||||
*/
|
*/
|
||||||
GetVariationsResponse,
|
GetVariationsResponse: GetVariationsResponse,
|
||||||
/**
|
/**
|
||||||
* The ImageSize model constructor.
|
* The ImageSize model constructor.
|
||||||
* @property {module:model/ImageSize}
|
* @property {module:model/ImageSize}
|
||||||
*/
|
*/
|
||||||
ImageSize,
|
ImageSize: ImageSize,
|
||||||
/**
|
/**
|
||||||
* The ImageType model constructor.
|
* The ImageType model constructor.
|
||||||
* @property {module:model/ImageType}
|
* @property {module:model/ImageType}
|
||||||
*/
|
*/
|
||||||
ImageType,
|
ImageType: ImageType,
|
||||||
/**
|
/**
|
||||||
* The Images model constructor.
|
* The Images model constructor.
|
||||||
* @property {module:model/Images}
|
* @property {module:model/Images}
|
||||||
*/
|
*/
|
||||||
Images,
|
Images: Images,
|
||||||
/**
|
/**
|
||||||
* The Item model constructor.
|
* The Item model constructor.
|
||||||
* @property {module:model/Item}
|
* @property {module:model/Item}
|
||||||
*/
|
*/
|
||||||
Item,
|
Item: Item,
|
||||||
/**
|
/**
|
||||||
* The ItemIdType model constructor.
|
* The ItemIdType model constructor.
|
||||||
* @property {module:model/ItemIdType}
|
* @property {module:model/ItemIdType}
|
||||||
*/
|
*/
|
||||||
ItemIdType,
|
ItemIdType: ItemIdType,
|
||||||
/**
|
/**
|
||||||
* The ItemInfo model constructor.
|
* The ItemInfo model constructor.
|
||||||
* @property {module:model/ItemInfo}
|
* @property {module:model/ItemInfo}
|
||||||
*/
|
*/
|
||||||
ItemInfo,
|
ItemInfo: ItemInfo,
|
||||||
/**
|
/**
|
||||||
* The ItemsResult model constructor.
|
* The ItemsResult model constructor.
|
||||||
* @property {module:model/ItemsResult}
|
* @property {module:model/ItemsResult}
|
||||||
*/
|
*/
|
||||||
ItemsResult,
|
ItemsResult: ItemsResult,
|
||||||
/**
|
/**
|
||||||
* The LanguageType model constructor.
|
* The LanguageType model constructor.
|
||||||
* @property {module:model/LanguageType}
|
* @property {module:model/LanguageType}
|
||||||
*/
|
*/
|
||||||
LanguageType,
|
LanguageType: LanguageType,
|
||||||
/**
|
/**
|
||||||
* The Languages model constructor.
|
* The Languages model constructor.
|
||||||
* @property {module:model/Languages}
|
* @property {module:model/Languages}
|
||||||
*/
|
*/
|
||||||
Languages,
|
Languages: Languages,
|
||||||
/**
|
/**
|
||||||
* The ManufactureInfo model constructor.
|
* The ManufactureInfo model constructor.
|
||||||
* @property {module:model/ManufactureInfo}
|
* @property {module:model/ManufactureInfo}
|
||||||
*/
|
*/
|
||||||
ManufactureInfo,
|
ManufactureInfo: ManufactureInfo,
|
||||||
/**
|
/**
|
||||||
* The MaxPrice model constructor.
|
* The MaxPrice model constructor.
|
||||||
* @property {module:model/MaxPrice}
|
* @property {module:model/MaxPrice}
|
||||||
*/
|
*/
|
||||||
MaxPrice,
|
MaxPrice: MaxPrice,
|
||||||
/**
|
/**
|
||||||
* The Merchant model constructor.
|
* The Merchant model constructor.
|
||||||
* @property {module:model/Merchant}
|
* @property {module:model/Merchant}
|
||||||
*/
|
*/
|
||||||
Merchant,
|
Merchant: Merchant,
|
||||||
/**
|
/**
|
||||||
* The MinPrice model constructor.
|
* The MinPrice model constructor.
|
||||||
* @property {module:model/MinPrice}
|
* @property {module:model/MinPrice}
|
||||||
*/
|
*/
|
||||||
MinPrice,
|
MinPrice: MinPrice,
|
||||||
/**
|
/**
|
||||||
* The MinReviewsRating model constructor.
|
* The MinReviewsRating model constructor.
|
||||||
* @property {module:model/MinReviewsRating}
|
* @property {module:model/MinReviewsRating}
|
||||||
*/
|
*/
|
||||||
MinReviewsRating,
|
MinReviewsRating: MinReviewsRating,
|
||||||
/**
|
/**
|
||||||
* The MinSavingPercent model constructor.
|
* The MinSavingPercent model constructor.
|
||||||
* @property {module:model/MinSavingPercent}
|
* @property {module:model/MinSavingPercent}
|
||||||
*/
|
*/
|
||||||
MinSavingPercent,
|
MinSavingPercent: MinSavingPercent,
|
||||||
/**
|
/**
|
||||||
* The MultiValuedAttribute model constructor.
|
* The MultiValuedAttribute model constructor.
|
||||||
* @property {module:model/MultiValuedAttribute}
|
* @property {module:model/MultiValuedAttribute}
|
||||||
*/
|
*/
|
||||||
MultiValuedAttribute,
|
MultiValuedAttribute: MultiValuedAttribute,
|
||||||
/**
|
/**
|
||||||
* The OfferAvailability model constructor.
|
* The OfferAvailability model constructor.
|
||||||
* @property {module:model/OfferAvailability}
|
* @property {module:model/OfferAvailability}
|
||||||
*/
|
*/
|
||||||
OfferAvailability,
|
OfferAvailability: OfferAvailability,
|
||||||
/**
|
/**
|
||||||
* The OfferCondition model constructor.
|
* The OfferCondition model constructor.
|
||||||
* @property {module:model/OfferCondition}
|
* @property {module:model/OfferCondition}
|
||||||
*/
|
*/
|
||||||
OfferCondition,
|
OfferCondition: OfferCondition,
|
||||||
/**
|
/**
|
||||||
* The OfferConditionNote model constructor.
|
* The OfferConditionNote model constructor.
|
||||||
* @property {module:model/OfferConditionNote}
|
* @property {module:model/OfferConditionNote}
|
||||||
*/
|
*/
|
||||||
OfferConditionNote,
|
OfferConditionNote: OfferConditionNote,
|
||||||
/**
|
/**
|
||||||
* The OfferCount model constructor.
|
* The OfferCount model constructor.
|
||||||
* @property {module:model/OfferCount}
|
* @property {module:model/OfferCount}
|
||||||
*/
|
*/
|
||||||
OfferCount,
|
OfferCount: OfferCount,
|
||||||
/**
|
/**
|
||||||
* The OfferDeliveryInfo model constructor.
|
* The OfferDeliveryInfo model constructor.
|
||||||
* @property {module:model/OfferDeliveryInfo}
|
* @property {module:model/OfferDeliveryInfo}
|
||||||
*/
|
*/
|
||||||
OfferDeliveryInfo,
|
OfferDeliveryInfo: OfferDeliveryInfo,
|
||||||
/**
|
/**
|
||||||
* The OfferListing model constructor.
|
* The OfferListing model constructor.
|
||||||
* @property {module:model/OfferListing}
|
* @property {module:model/OfferListing}
|
||||||
*/
|
*/
|
||||||
OfferListing,
|
OfferListing: OfferListing,
|
||||||
/**
|
/**
|
||||||
* The OfferLoyaltyPoints model constructor.
|
* The OfferLoyaltyPoints model constructor.
|
||||||
* @property {module:model/OfferLoyaltyPoints}
|
* @property {module:model/OfferLoyaltyPoints}
|
||||||
*/
|
*/
|
||||||
OfferLoyaltyPoints,
|
OfferLoyaltyPoints: OfferLoyaltyPoints,
|
||||||
/**
|
/**
|
||||||
* The OfferMerchantInfo model constructor.
|
* The OfferMerchantInfo model constructor.
|
||||||
* @property {module:model/OfferMerchantInfo}
|
* @property {module:model/OfferMerchantInfo}
|
||||||
*/
|
*/
|
||||||
OfferMerchantInfo,
|
OfferMerchantInfo: OfferMerchantInfo,
|
||||||
/**
|
/**
|
||||||
* The OfferPrice model constructor.
|
* The OfferPrice model constructor.
|
||||||
* @property {module:model/OfferPrice}
|
* @property {module:model/OfferPrice}
|
||||||
*/
|
*/
|
||||||
OfferPrice,
|
OfferPrice: OfferPrice,
|
||||||
/**
|
/**
|
||||||
* The OfferProgramEligibility model constructor.
|
* The OfferProgramEligibility model constructor.
|
||||||
* @property {module:model/OfferProgramEligibility}
|
* @property {module:model/OfferProgramEligibility}
|
||||||
*/
|
*/
|
||||||
OfferProgramEligibility,
|
OfferProgramEligibility: OfferProgramEligibility,
|
||||||
/**
|
/**
|
||||||
* The OfferPromotion model constructor.
|
* The OfferPromotion model constructor.
|
||||||
* @property {module:model/OfferPromotion}
|
* @property {module:model/OfferPromotion}
|
||||||
*/
|
*/
|
||||||
OfferPromotion,
|
OfferPromotion: OfferPromotion,
|
||||||
/**
|
/**
|
||||||
* The OfferSavings model constructor.
|
* The OfferSavings model constructor.
|
||||||
* @property {module:model/OfferSavings}
|
* @property {module:model/OfferSavings}
|
||||||
|
|
@ -355,32 +350,32 @@ export {
|
||||||
* The OfferShippingCharge model constructor.
|
* The OfferShippingCharge model constructor.
|
||||||
* @property {module:model/OfferShippingCharge}
|
* @property {module:model/OfferShippingCharge}
|
||||||
*/
|
*/
|
||||||
OfferShippingCharge,
|
OfferShippingCharge: OfferShippingCharge,
|
||||||
/**
|
/**
|
||||||
* The OfferSubCondition model constructor.
|
* The OfferSubCondition model constructor.
|
||||||
* @property {module:model/OfferSubCondition}
|
* @property {module:model/OfferSubCondition}
|
||||||
*/
|
*/
|
||||||
OfferSubCondition,
|
OfferSubCondition: OfferSubCondition,
|
||||||
/**
|
/**
|
||||||
* The OfferSummary model constructor.
|
* The OfferSummary model constructor.
|
||||||
* @property {module:model/OfferSummary}
|
* @property {module:model/OfferSummary}
|
||||||
*/
|
*/
|
||||||
OfferSummary,
|
OfferSummary: OfferSummary,
|
||||||
/**
|
/**
|
||||||
* The Offers model constructor.
|
* The Offers model constructor.
|
||||||
* @property {module:model/Offers}
|
* @property {module:model/Offers}
|
||||||
*/
|
*/
|
||||||
Offers,
|
Offers: Offers,
|
||||||
/**
|
/**
|
||||||
* The PartnerType model constructor.
|
* The PartnerType model constructor.
|
||||||
* @property {module:model/PartnerType}
|
* @property {module:model/PartnerType}
|
||||||
*/
|
*/
|
||||||
PartnerType,
|
PartnerType: PartnerType,
|
||||||
/**
|
/**
|
||||||
* The Price model constructor.
|
* The Price model constructor.
|
||||||
* @property {module:model/Price}
|
* @property {module:model/Price}
|
||||||
*/
|
*/
|
||||||
Price,
|
Price: Price,
|
||||||
/**
|
/**
|
||||||
* The PriceType model constructor.
|
* The PriceType model constructor.
|
||||||
* @property {module:model/PriceType}
|
* @property {module:model/PriceType}
|
||||||
|
|
@ -390,72 +385,72 @@ export {
|
||||||
* The ProductAdvertisingAPIClientException model constructor.
|
* The ProductAdvertisingAPIClientException model constructor.
|
||||||
* @property {module:model/ProductAdvertisingAPIClientException}
|
* @property {module:model/ProductAdvertisingAPIClientException}
|
||||||
*/
|
*/
|
||||||
ProductAdvertisingAPIClientException,
|
ProductAdvertisingAPIClientException: ProductAdvertisingAPIClientException,
|
||||||
/**
|
/**
|
||||||
* The ProductAdvertisingAPIServiceException model constructor.
|
* The ProductAdvertisingAPIServiceException model constructor.
|
||||||
* @property {module:model/ProductAdvertisingAPIServiceException}
|
* @property {module:model/ProductAdvertisingAPIServiceException}
|
||||||
*/
|
*/
|
||||||
ProductAdvertisingAPIServiceException,
|
ProductAdvertisingAPIServiceException: ProductAdvertisingAPIServiceException,
|
||||||
/**
|
/**
|
||||||
* The ProductInfo model constructor.
|
* The ProductInfo model constructor.
|
||||||
* @property {module:model/ProductInfo}
|
* @property {module:model/ProductInfo}
|
||||||
*/
|
*/
|
||||||
ProductInfo,
|
ProductInfo: ProductInfo,
|
||||||
/**
|
/**
|
||||||
* The Properties model constructor.
|
* The Properties model constructor.
|
||||||
* @property {module:model/Properties}
|
* @property {module:model/Properties}
|
||||||
*/
|
*/
|
||||||
Properties,
|
Properties: Properties,
|
||||||
/**
|
/**
|
||||||
* The Rating model constructor.
|
* The Rating model constructor.
|
||||||
* @property {module:model/Rating}
|
* @property {module:model/Rating}
|
||||||
*/
|
*/
|
||||||
Rating,
|
Rating: Rating,
|
||||||
/**
|
/**
|
||||||
* The Refinement model constructor.
|
* The Refinement model constructor.
|
||||||
* @property {module:model/Refinement}
|
* @property {module:model/Refinement}
|
||||||
*/
|
*/
|
||||||
Refinement,
|
Refinement: Refinement,
|
||||||
/**
|
/**
|
||||||
* The RefinementBin model constructor.
|
* The RefinementBin model constructor.
|
||||||
* @property {module:model/RefinementBin}
|
* @property {module:model/RefinementBin}
|
||||||
*/
|
*/
|
||||||
RefinementBin,
|
RefinementBin: RefinementBin,
|
||||||
/**
|
/**
|
||||||
* The RentalOfferListing model constructor.
|
* The RentalOfferListing model constructor.
|
||||||
* @property {module:model/RentalOfferListing}
|
* @property {module:model/RentalOfferListing}
|
||||||
*/
|
*/
|
||||||
RentalOfferListing,
|
RentalOfferListing: RentalOfferListing,
|
||||||
/**
|
/**
|
||||||
* The RentalOffers model constructor.
|
* The RentalOffers model constructor.
|
||||||
* @property {module:model/RentalOffers}
|
* @property {module:model/RentalOffers}
|
||||||
*/
|
*/
|
||||||
RentalOffers,
|
RentalOffers: RentalOffers,
|
||||||
/**
|
/**
|
||||||
* The SearchItemsRequest model constructor.
|
* The SearchItemsRequest model constructor.
|
||||||
* @property {module:model/SearchItemsRequest}
|
* @property {module:model/SearchItemsRequest}
|
||||||
*/
|
*/
|
||||||
SearchItemsRequest,
|
SearchItemsRequest: SearchItemsRequest,
|
||||||
/**
|
/**
|
||||||
* The SearchItemsResource model constructor.
|
* The SearchItemsResource model constructor.
|
||||||
* @property {module:model/SearchItemsResource}
|
* @property {module:model/SearchItemsResource}
|
||||||
*/
|
*/
|
||||||
SearchItemsResource,
|
SearchItemsResource: SearchItemsResource,
|
||||||
/**
|
/**
|
||||||
* The SearchItemsResponse model constructor.
|
* The SearchItemsResponse model constructor.
|
||||||
* @property {module:model/SearchItemsResponse}
|
* @property {module:model/SearchItemsResponse}
|
||||||
*/
|
*/
|
||||||
SearchItemsResponse,
|
SearchItemsResponse: SearchItemsResponse,
|
||||||
/**
|
/**
|
||||||
* The SearchRefinements model constructor.
|
* The SearchRefinements model constructor.
|
||||||
* @property {module:model/SearchRefinements}
|
* @property {module:model/SearchRefinements}
|
||||||
*/
|
*/
|
||||||
SearchRefinements,
|
SearchRefinements: SearchRefinements,
|
||||||
/**
|
/**
|
||||||
* The SearchResult model constructor.
|
* The SearchResult model constructor.
|
||||||
* @property {module:model/SearchResult}
|
* @property {module:model/SearchResult}
|
||||||
*/
|
*/
|
||||||
SearchResult,
|
SearchResult: SearchResult,
|
||||||
/**
|
/**
|
||||||
* The SingleBooleanValuedAttribute model constructor.
|
* The SingleBooleanValuedAttribute model constructor.
|
||||||
* @property {module:model/SingleBooleanValuedAttribute}
|
* @property {module:model/SingleBooleanValuedAttribute}
|
||||||
|
|
@ -475,55 +470,55 @@ export {
|
||||||
* The SortBy model constructor.
|
* The SortBy model constructor.
|
||||||
* @property {module:model/SortBy}
|
* @property {module:model/SortBy}
|
||||||
*/
|
*/
|
||||||
SortBy,
|
SortBy: SortBy,
|
||||||
/**
|
/**
|
||||||
* The TechnicalInfo model constructor.
|
* The TechnicalInfo model constructor.
|
||||||
* @property {module:model/TechnicalInfo}
|
* @property {module:model/TechnicalInfo}
|
||||||
*/
|
*/
|
||||||
TechnicalInfo,
|
TechnicalInfo: TechnicalInfo,
|
||||||
/**
|
/**
|
||||||
* The TradeInInfo model constructor.
|
* The TradeInInfo model constructor.
|
||||||
* @property {module:model/TradeInInfo}
|
* @property {module:model/TradeInInfo}
|
||||||
*/
|
*/
|
||||||
TradeInInfo,
|
TradeInInfo: TradeInInfo,
|
||||||
/**
|
/**
|
||||||
* The TradeInPrice model constructor.
|
* The TradeInPrice model constructor.
|
||||||
* @property {module:model/TradeInPrice}
|
* @property {module:model/TradeInPrice}
|
||||||
*/
|
*/
|
||||||
TradeInPrice,
|
TradeInPrice: TradeInPrice,
|
||||||
/**
|
/**
|
||||||
* The UnitBasedAttribute model constructor.
|
* The UnitBasedAttribute model constructor.
|
||||||
* @property {module:model/UnitBasedAttribute}
|
* @property {module:model/UnitBasedAttribute}
|
||||||
*/
|
*/
|
||||||
UnitBasedAttribute,
|
UnitBasedAttribute: UnitBasedAttribute,
|
||||||
/**
|
/**
|
||||||
* The VariationAttribute model constructor.
|
* The VariationAttribute model constructor.
|
||||||
* @property {module:model/VariationAttribute}
|
* @property {module:model/VariationAttribute}
|
||||||
*/
|
*/
|
||||||
VariationAttribute,
|
VariationAttribute: VariationAttribute,
|
||||||
/**
|
/**
|
||||||
* The VariationDimension model constructor.
|
* The VariationDimension model constructor.
|
||||||
* @property {module:model/VariationDimension}
|
* @property {module:model/VariationDimension}
|
||||||
*/
|
*/
|
||||||
VariationDimension,
|
VariationDimension: VariationDimension,
|
||||||
/**
|
/**
|
||||||
* The VariationSummary model constructor.
|
* The VariationSummary model constructor.
|
||||||
* @property {module:model/VariationSummary}
|
* @property {module:model/VariationSummary}
|
||||||
*/
|
*/
|
||||||
VariationSummary,
|
VariationSummary: VariationSummary,
|
||||||
/**
|
/**
|
||||||
* The VariationsResult model constructor.
|
* The VariationsResult model constructor.
|
||||||
* @property {module:model/VariationsResult}
|
* @property {module:model/VariationsResult}
|
||||||
*/
|
*/
|
||||||
VariationsResult,
|
VariationsResult: VariationsResult,
|
||||||
/**
|
/**
|
||||||
* The WebsiteSalesRank model constructor.
|
* The WebsiteSalesRank model constructor.
|
||||||
* @property {module:model/WebsiteSalesRank}
|
* @property {module:model/WebsiteSalesRank}
|
||||||
*/
|
*/
|
||||||
WebsiteSalesRank,
|
WebsiteSalesRank: WebsiteSalesRank,
|
||||||
/**
|
/**
|
||||||
* The DefaultApi service constructor.
|
* The DefaultApi service constructor.
|
||||||
* @property {module:api/DefaultApi}
|
* @property {module:api/DefaultApi}
|
||||||
*/
|
*/
|
||||||
DefaultApi
|
DefaultApi: DefaultApi
|
||||||
};
|
};
|
||||||
|
|
@ -21,50 +21,48 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
(function(root, factory) {
|
||||||
* The BrowseNode model module.
|
if (typeof define === 'function' && define.amd) {
|
||||||
* @module model/BrowseNode
|
// AMD. Register as an anonymous module.
|
||||||
* @version 1.0.0
|
define(['ApiClient', 'model/BrowseNodeAncestor', 'model/BrowseNodeChild'], factory);
|
||||||
*/
|
} else if (typeof module === 'object' && module.exports) {
|
||||||
|
// CommonJS-like environments that support module.exports, like Node.
|
||||||
|
module.exports = factory(require('../ApiClient'), require('./BrowseNodeAncestor'), require('./BrowseNodeChild'));
|
||||||
|
} else {
|
||||||
|
// Browser globals (root is window)
|
||||||
|
if (!root.ProductAdvertisingAPIv1) {
|
||||||
|
root.ProductAdvertisingAPIv1 = {};
|
||||||
|
}
|
||||||
|
root.ProductAdvertisingAPIv1.BrowseNode = factory(root.ProductAdvertisingAPIv1.ApiClient, root.ProductAdvertisingAPIv1.BrowseNodeAncestor, root.ProductAdvertisingAPIv1.BrowseNodeChild);
|
||||||
|
}
|
||||||
|
}(this, function(ApiClient, BrowseNodeAncestor, BrowseNodeChild) {
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import { ApiClient } from "../ApiClient";
|
|
||||||
import { BrowseNodeAncestor } from "./BrowseNodeAncestor";
|
|
||||||
import { BrowseNodeChild } from "./BrowseNodeChild";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>BrowseNode</code>.
|
|
||||||
* @alias module:model/BrowseNode
|
|
||||||
* @class
|
|
||||||
*/
|
|
||||||
export class BrowseNode {
|
|
||||||
/**
|
/**
|
||||||
* @member {module:model/BrowseNodeAncestor} Ancestor
|
* The BrowseNode model module.
|
||||||
|
* @module model/BrowseNode
|
||||||
|
* @version 1.0.0
|
||||||
*/
|
*/
|
||||||
public Ancestor?: BrowseNodeAncestor = undefined;
|
|
||||||
/**
|
/**
|
||||||
* @member {Array.<module:model/BrowseNodeChild>} Children
|
* Constructs a new <code>BrowseNode</code>.
|
||||||
|
* @alias module:model/BrowseNode
|
||||||
|
* @class
|
||||||
*/
|
*/
|
||||||
public Children?: BrowseNodeChild[];
|
var exports = function() {
|
||||||
/**
|
var _this = this;
|
||||||
* @member {String} ContextFreeName
|
|
||||||
*/
|
|
||||||
public ContextFreeName?: string;
|
|
||||||
/**
|
|
||||||
* @member {String} DisplayName
|
|
||||||
*/
|
|
||||||
public DisplayName?: string;
|
|
||||||
/**
|
|
||||||
* @member {String} Id
|
};
|
||||||
*/
|
|
||||||
public Id?: string;
|
|
||||||
/**
|
|
||||||
* @member {Boolean} IsRoot
|
|
||||||
*/
|
|
||||||
public IsRoot?: boolean;
|
|
||||||
/**
|
|
||||||
* @member {Number} SalesRank
|
|
||||||
*/
|
|
||||||
public SalesRank?: number;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a <code>BrowseNode</code> from a plain JavaScript object, optionally creating a new instance.
|
* Constructs a <code>BrowseNode</code> from a plain JavaScript object, optionally creating a new instance.
|
||||||
|
|
@ -73,32 +71,67 @@ export class BrowseNode {
|
||||||
* @param {module:model/BrowseNode} obj Optional instance to populate.
|
* @param {module:model/BrowseNode} obj Optional instance to populate.
|
||||||
* @return {module:model/BrowseNode} The populated <code>BrowseNode</code> instance.
|
* @return {module:model/BrowseNode} The populated <code>BrowseNode</code> instance.
|
||||||
*/
|
*/
|
||||||
public static constructFromObject(data: any, obj?: BrowseNode) {
|
exports.constructFromObject = function(data, obj) {
|
||||||
if (data) {
|
if (data) {
|
||||||
obj = obj || new BrowseNode();
|
obj = obj || new exports();
|
||||||
|
|
||||||
if (data.hasOwnProperty('Ancestor')) {
|
if (data.hasOwnProperty('Ancestor')) {
|
||||||
obj.Ancestor = BrowseNodeAncestor.constructFromObject(data['Ancestor']);
|
obj['Ancestor'] = BrowseNodeAncestor.constructFromObject(data['Ancestor']);
|
||||||
}
|
}
|
||||||
if (data.hasOwnProperty('Children')) {
|
if (data.hasOwnProperty('Children')) {
|
||||||
obj.Children = ApiClient.convertToType(data['Children'], [BrowseNodeChild]);
|
obj['Children'] = ApiClient.convertToType(data['Children'], [BrowseNodeChild]);
|
||||||
}
|
}
|
||||||
if (data.hasOwnProperty('ContextFreeName')) {
|
if (data.hasOwnProperty('ContextFreeName')) {
|
||||||
obj.ContextFreeName = ApiClient.convertToType(data['ContextFreeName'], 'String');
|
obj['ContextFreeName'] = ApiClient.convertToType(data['ContextFreeName'], 'String');
|
||||||
}
|
}
|
||||||
if (data.hasOwnProperty('DisplayName')) {
|
if (data.hasOwnProperty('DisplayName')) {
|
||||||
obj.DisplayName = ApiClient.convertToType(data['DisplayName'], 'String');
|
obj['DisplayName'] = ApiClient.convertToType(data['DisplayName'], 'String');
|
||||||
}
|
}
|
||||||
if (data.hasOwnProperty('Id')) {
|
if (data.hasOwnProperty('Id')) {
|
||||||
obj.Id = ApiClient.convertToType(data['Id'], 'String');
|
obj['Id'] = ApiClient.convertToType(data['Id'], 'String');
|
||||||
}
|
}
|
||||||
if (data.hasOwnProperty('IsRoot')) {
|
if (data.hasOwnProperty('IsRoot')) {
|
||||||
obj.IsRoot = ApiClient.convertToType(data['IsRoot'], 'Boolean');
|
obj['IsRoot'] = ApiClient.convertToType(data['IsRoot'], 'Boolean');
|
||||||
}
|
}
|
||||||
if (data.hasOwnProperty('SalesRank')) {
|
if (data.hasOwnProperty('SalesRank')) {
|
||||||
obj.SalesRank = ApiClient.convertToType(data['SalesRank'], 'Number');
|
obj['SalesRank'] = ApiClient.convertToType(data['SalesRank'], 'Number');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
};
|
|
||||||
|
/**
|
||||||
|
* @member {module:model/BrowseNodeAncestor} Ancestor
|
||||||
|
*/
|
||||||
|
exports.prototype['Ancestor'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {Array.<module:model/BrowseNodeChild>} Children
|
||||||
|
*/
|
||||||
|
exports.prototype['Children'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {String} ContextFreeName
|
||||||
|
*/
|
||||||
|
exports.prototype['ContextFreeName'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {String} DisplayName
|
||||||
|
*/
|
||||||
|
exports.prototype['DisplayName'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {String} Id
|
||||||
|
*/
|
||||||
|
exports.prototype['Id'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {Boolean} IsRoot
|
||||||
|
*/
|
||||||
|
exports.prototype['IsRoot'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {Number} SalesRank
|
||||||
|
*/
|
||||||
|
exports.prototype['SalesRank'] = undefined;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return exports;
|
||||||
|
}));
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,36 +21,45 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
(function(root, factory) {
|
||||||
* The BrowseNodeAncestor model module.
|
if (typeof define === 'function' && define.amd) {
|
||||||
* @module model/BrowseNodeAncestor
|
// AMD. Register as an anonymous module.
|
||||||
* @version 1.0.0
|
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.BrowseNodeAncestor = factory(root.ProductAdvertisingAPIv1.ApiClient);
|
||||||
|
}
|
||||||
|
}(this, function(ApiClient, BrowseNodeAncestor) {
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import { ApiClient } from "../ApiClient";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>BrowseNodeAncestor</code>.
|
|
||||||
* @alias module:model/BrowseNodeAncestor
|
|
||||||
* @class
|
|
||||||
*/
|
|
||||||
export class BrowseNodeAncestor {
|
|
||||||
/**
|
/**
|
||||||
* @member {module:model/BrowseNodeAncestor} Ancestor
|
* The BrowseNodeAncestor model module.
|
||||||
|
* @module model/BrowseNodeAncestor
|
||||||
|
* @version 1.0.0
|
||||||
*/
|
*/
|
||||||
public Ancestor?: BrowseNodeAncestor;
|
|
||||||
/**
|
/**
|
||||||
* @member {String} ContextFreeName
|
* Constructs a new <code>BrowseNodeAncestor</code>.
|
||||||
|
* @alias module:model/BrowseNodeAncestor
|
||||||
|
* @class
|
||||||
*/
|
*/
|
||||||
public ContextFreeName?: string;
|
var exports = function() {
|
||||||
/**
|
var _this = this;
|
||||||
* @member {String} DisplayName
|
|
||||||
*/
|
|
||||||
public DisplayName?: string;
|
|
||||||
/**
|
|
||||||
* @member {String} Id
|
|
||||||
*/
|
};
|
||||||
public Id?: string;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a <code>BrowseNodeAncestor</code> from a plain JavaScript object, optionally creating a new instance.
|
* Constructs a <code>BrowseNodeAncestor</code> from a plain JavaScript object, optionally creating a new instance.
|
||||||
|
|
@ -59,23 +68,46 @@ export class BrowseNodeAncestor {
|
||||||
* @param {module:model/BrowseNodeAncestor} obj Optional instance to populate.
|
* @param {module:model/BrowseNodeAncestor} obj Optional instance to populate.
|
||||||
* @return {module:model/BrowseNodeAncestor} The populated <code>BrowseNodeAncestor</code> instance.
|
* @return {module:model/BrowseNodeAncestor} The populated <code>BrowseNodeAncestor</code> instance.
|
||||||
*/
|
*/
|
||||||
public static constructFromObject(data: any, obj?: BrowseNodeAncestor) {
|
exports.constructFromObject = function(data, obj) {
|
||||||
if (data) {
|
if (data) {
|
||||||
obj = obj || new BrowseNodeAncestor();
|
obj = obj || new exports();
|
||||||
|
|
||||||
if (data.hasOwnProperty('Ancestor')) {
|
if (data.hasOwnProperty('Ancestor')) {
|
||||||
obj.Ancestor = this.constructFromObject(data['Ancestor']);
|
obj['Ancestor'] = this.constructFromObject(data['Ancestor']);
|
||||||
}
|
}
|
||||||
if (data.hasOwnProperty('ContextFreeName')) {
|
if (data.hasOwnProperty('ContextFreeName')) {
|
||||||
obj.ContextFreeName = ApiClient.convertToType(data['ContextFreeName'], 'String');
|
obj['ContextFreeName'] = ApiClient.convertToType(data['ContextFreeName'], 'String');
|
||||||
}
|
}
|
||||||
if (data.hasOwnProperty('DisplayName')) {
|
if (data.hasOwnProperty('DisplayName')) {
|
||||||
obj.DisplayName = ApiClient.convertToType(data['DisplayName'], 'String');
|
obj['DisplayName'] = ApiClient.convertToType(data['DisplayName'], 'String');
|
||||||
}
|
}
|
||||||
if (data.hasOwnProperty('Id')) {
|
if (data.hasOwnProperty('Id')) {
|
||||||
obj.Id = ApiClient.convertToType(data['Id'], 'String');
|
obj['Id'] = ApiClient.convertToType(data['Id'], 'String');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
};
|
|
||||||
|
/**
|
||||||
|
* @member {module:model/BrowseNodeAncestor} Ancestor
|
||||||
|
*/
|
||||||
|
exports.prototype['Ancestor'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {String} ContextFreeName
|
||||||
|
*/
|
||||||
|
exports.prototype['ContextFreeName'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {String} DisplayName
|
||||||
|
*/
|
||||||
|
exports.prototype['DisplayName'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {String} Id
|
||||||
|
*/
|
||||||
|
exports.prototype['Id'] = undefined;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return exports;
|
||||||
|
}));
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,30 +21,44 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
(function(root, factory) {
|
||||||
* The BrowseNodeInfo model module.
|
if (typeof define === 'function' && define.amd) {
|
||||||
* @module model/BrowseNodeInfo
|
// AMD. Register as an anonymous module.
|
||||||
* @version 1.0.0
|
define(['ApiClient', 'model/BrowseNode', 'model/WebsiteSalesRank'], factory);
|
||||||
*/
|
} else if (typeof module === 'object' && module.exports) {
|
||||||
|
// CommonJS-like environments that support module.exports, like Node.
|
||||||
|
module.exports = factory(require('../ApiClient'), require('./BrowseNode'), require('./WebsiteSalesRank'));
|
||||||
|
} else {
|
||||||
|
// Browser globals (root is window)
|
||||||
|
if (!root.ProductAdvertisingAPIv1) {
|
||||||
|
root.ProductAdvertisingAPIv1 = {};
|
||||||
|
}
|
||||||
|
root.ProductAdvertisingAPIv1.BrowseNodeInfo = factory(root.ProductAdvertisingAPIv1.ApiClient, root.ProductAdvertisingAPIv1.BrowseNode, root.ProductAdvertisingAPIv1.WebsiteSalesRank);
|
||||||
|
}
|
||||||
|
}(this, function(ApiClient, BrowseNode, WebsiteSalesRank) {
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import { ApiClient } from "../ApiClient";
|
|
||||||
import { BrowseNode } from "./BrowseNode";
|
|
||||||
import { WebsiteSalesRank } from "./WebsiteSalesRank";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>BrowseNodeInfo</code>.
|
|
||||||
* @alias module:model/BrowseNodeInfo
|
|
||||||
* @class
|
|
||||||
*/
|
|
||||||
export class BrowseNodeInfo {
|
|
||||||
/**
|
/**
|
||||||
* @member {Array.<module:model/BrowseNode>} BrowseNodes
|
* The BrowseNodeInfo model module.
|
||||||
|
* @module model/BrowseNodeInfo
|
||||||
|
* @version 1.0.0
|
||||||
*/
|
*/
|
||||||
public BrowseNodes?: BrowseNode;
|
|
||||||
/**
|
/**
|
||||||
* @member {module:model/WebsiteSalesRank} WebsiteSalesRank
|
* Constructs a new <code>BrowseNodeInfo</code>.
|
||||||
|
* @alias module:model/BrowseNodeInfo
|
||||||
|
* @class
|
||||||
*/
|
*/
|
||||||
public WebsiteSalesRank?: WebsiteSalesRank;
|
var exports = function() {
|
||||||
|
var _this = this;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a <code>BrowseNodeInfo</code> from a plain JavaScript object, optionally creating a new instance.
|
* Constructs a <code>BrowseNodeInfo</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.
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
||||||
|
|
@ -52,18 +66,32 @@ export class BrowseNodeInfo {
|
||||||
* @param {module:model/BrowseNodeInfo} obj Optional instance to populate.
|
* @param {module:model/BrowseNodeInfo} obj Optional instance to populate.
|
||||||
* @return {module:model/BrowseNodeInfo} The populated <code>BrowseNodeInfo</code> instance.
|
* @return {module:model/BrowseNodeInfo} The populated <code>BrowseNodeInfo</code> instance.
|
||||||
*/
|
*/
|
||||||
public static constructFromObject(data: any, obj?: BrowseNodeInfo) {
|
exports.constructFromObject = function(data, obj) {
|
||||||
if (data) {
|
if (data) {
|
||||||
obj = obj || new BrowseNodeInfo();
|
obj = obj || new exports();
|
||||||
|
|
||||||
if (data.hasOwnProperty('BrowseNodes')) {
|
if (data.hasOwnProperty('BrowseNodes')) {
|
||||||
obj.BrowseNodes = ApiClient.convertToType(data['BrowseNodes'], [BrowseNode]);
|
obj['BrowseNodes'] = ApiClient.convertToType(data['BrowseNodes'], [BrowseNode]);
|
||||||
}
|
}
|
||||||
if (data.hasOwnProperty('WebsiteSalesRank')) {
|
if (data.hasOwnProperty('WebsiteSalesRank')) {
|
||||||
obj.WebsiteSalesRank = WebsiteSalesRank.constructFromObject(data['WebsiteSalesRank']);
|
obj['WebsiteSalesRank'] = WebsiteSalesRank.constructFromObject(data['WebsiteSalesRank']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
/**
|
||||||
|
* @member {Array.<module:model/BrowseNode>} BrowseNodes
|
||||||
|
*/
|
||||||
|
exports.prototype['BrowseNodes'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {module:model/WebsiteSalesRank} WebsiteSalesRank
|
||||||
|
*/
|
||||||
|
exports.prototype['WebsiteSalesRank'] = undefined;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return exports;
|
||||||
|
}));
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,36 +21,46 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
(function(root, factory) {
|
||||||
* The WebsiteSalesRank model module.
|
if (typeof define === 'function' && define.amd) {
|
||||||
* @module model/WebsiteSalesRank
|
// AMD. Register as an anonymous module.
|
||||||
* @version 1.0.0
|
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.WebsiteSalesRank = factory(root.ProductAdvertisingAPIv1.ApiClient);
|
||||||
|
}
|
||||||
|
}(this, function(ApiClient) {
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import { ApiClient } from "../ApiClient";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>WebsiteSalesRank</code>.
|
|
||||||
* @alias module:model/WebsiteSalesRank
|
|
||||||
* @class
|
|
||||||
*/
|
|
||||||
export class WebsiteSalesRank {
|
|
||||||
/**
|
/**
|
||||||
* @member {String} ContextFreeName
|
* The WebsiteSalesRank model module.
|
||||||
|
* @module model/WebsiteSalesRank
|
||||||
|
* @version 1.0.0
|
||||||
*/
|
*/
|
||||||
public ContextFreeName?: string;
|
|
||||||
/**
|
/**
|
||||||
* @member {String} DisplayName
|
* Constructs a new <code>WebsiteSalesRank</code>.
|
||||||
|
* @alias module:model/WebsiteSalesRank
|
||||||
|
* @class
|
||||||
*/
|
*/
|
||||||
public DisplayName?: string;
|
var exports = function() {
|
||||||
/**
|
var _this = this;
|
||||||
* @member {String} Id
|
|
||||||
*/
|
|
||||||
public Id?: string;
|
|
||||||
/**
|
|
||||||
* @member {Number} SalesRank
|
|
||||||
*/
|
};
|
||||||
public SalesRank?: number;
|
|
||||||
/**
|
/**
|
||||||
* Constructs a <code>WebsiteSalesRank</code> from a plain JavaScript object, optionally creating a new instance.
|
* Constructs a <code>WebsiteSalesRank</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.
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
||||||
|
|
@ -58,23 +68,46 @@ export class WebsiteSalesRank {
|
||||||
* @param {module:model/WebsiteSalesRank} obj Optional instance to populate.
|
* @param {module:model/WebsiteSalesRank} obj Optional instance to populate.
|
||||||
* @return {module:model/WebsiteSalesRank} The populated <code>WebsiteSalesRank</code> instance.
|
* @return {module:model/WebsiteSalesRank} The populated <code>WebsiteSalesRank</code> instance.
|
||||||
*/
|
*/
|
||||||
public static constructFromObject(data: any, obj?: WebsiteSalesRank) {
|
exports.constructFromObject = function(data, obj) {
|
||||||
if (data) {
|
if (data) {
|
||||||
obj = obj || new WebsiteSalesRank();
|
obj = obj || new exports();
|
||||||
|
|
||||||
if (data.hasOwnProperty('ContextFreeName')) {
|
if (data.hasOwnProperty('ContextFreeName')) {
|
||||||
obj.ContextFreeName = ApiClient.convertToType(data['ContextFreeName'], 'String');
|
obj['ContextFreeName'] = ApiClient.convertToType(data['ContextFreeName'], 'String');
|
||||||
}
|
}
|
||||||
if (data.hasOwnProperty('DisplayName')) {
|
if (data.hasOwnProperty('DisplayName')) {
|
||||||
obj.DisplayName = ApiClient.convertToType(data['DisplayName'], 'String');
|
obj['DisplayName'] = ApiClient.convertToType(data['DisplayName'], 'String');
|
||||||
}
|
}
|
||||||
if (data.hasOwnProperty('Id')) {
|
if (data.hasOwnProperty('Id')) {
|
||||||
obj.Id = ApiClient.convertToType(data['Id'], 'String');
|
obj['Id'] = ApiClient.convertToType(data['Id'], 'String');
|
||||||
}
|
}
|
||||||
if (data.hasOwnProperty('SalesRank')) {
|
if (data.hasOwnProperty('SalesRank')) {
|
||||||
obj.SalesRank = ApiClient.convertToType(data['SalesRank'], 'Number');
|
obj['SalesRank'] = ApiClient.convertToType(data['SalesRank'], 'Number');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
};
|
|
||||||
|
/**
|
||||||
|
* @member {String} ContextFreeName
|
||||||
|
*/
|
||||||
|
exports.prototype['ContextFreeName'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {String} DisplayName
|
||||||
|
*/
|
||||||
|
exports.prototype['DisplayName'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {String} Id
|
||||||
|
*/
|
||||||
|
exports.prototype['Id'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {Number} SalesRank
|
||||||
|
*/
|
||||||
|
exports.prototype['SalesRank'] = undefined;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return exports;
|
||||||
|
}));
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user