Refactored model/GetBrowseNodesResource.
This commit is contained in:
parent
7eb9ce57b7
commit
6c28615b36
|
|
@ -43,6 +43,7 @@ import { DimensionBasedAttribute } from "./model/DimensionBasedAttribute";
|
|||
import { DurationPrice } from "./model/DurationPrice";
|
||||
import { ErrorData } from "./model/ErrorData";
|
||||
import { ExternalIds } from "./model/ExternalIds";
|
||||
import { GetBrowseNodesResource } from "./model/GetBrowseNodesResource";
|
||||
import { Languages } from "./model/Languages";
|
||||
import { LanguageType } from "./model/LanguageType";
|
||||
import { MultiValuedAttribute } from "./model/MultiValuedAttribute";
|
||||
|
|
|
|||
|
|
@ -21,51 +21,39 @@
|
|||
*
|
||||
*/
|
||||
|
||||
(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.GetBrowseNodesResource = factory(root.ProductAdvertisingAPIv1.ApiClient);
|
||||
}
|
||||
}(this, function(ApiClient) {
|
||||
'use strict';
|
||||
|
||||
|
||||
/**
|
||||
/**
|
||||
* Enum class GetBrowseNodesResource.
|
||||
* @enum {}
|
||||
* @readonly
|
||||
*/
|
||||
var exports = {
|
||||
export const enum GetBrowseNodesResourceValues {
|
||||
/**
|
||||
* value: "BrowseNodes.Ancestor"
|
||||
* @const
|
||||
*/
|
||||
"Ancestor": "BrowseNodes.Ancestor",
|
||||
Ancestor = "BrowseNodes.Ancestor",
|
||||
/**
|
||||
* value: "BrowseNodes.Children"
|
||||
* @const
|
||||
*/
|
||||
"Children": "BrowseNodes.Children" };
|
||||
Children = "BrowseNodes.Children"
|
||||
};
|
||||
|
||||
export class GetBrowseNodesResource extends String {
|
||||
/**
|
||||
* value: "BrowseNodes.Ancestor"
|
||||
* @const
|
||||
*/
|
||||
public static get Ancestor() { return GetBrowseNodesResourceValues.Ancestor; }
|
||||
/**
|
||||
* value: "BrowseNodes.Children"
|
||||
* @const
|
||||
*/
|
||||
public static get Children() { return GetBrowseNodesResourceValues.Children; }
|
||||
/**
|
||||
* Returns a <code>GetBrowseNodesResource</code> enum value from a Javascript object name.
|
||||
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
||||
* @return {module:model/GetBrowseNodesResource} The enum <code>GetBrowseNodesResource</code> value.
|
||||
*/
|
||||
exports.constructFromObject = function(object) {
|
||||
return object;
|
||||
}
|
||||
|
||||
return exports;
|
||||
}));
|
||||
|
||||
|
||||
public static constructFromObject(object: string) { return object; }
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user