UNPKG

openapi-node

Version:

A Node library to interact with the Wix Hive (RESTful API)

102 lines (91 loc) 1.63 kB
/** THIS IS A GENERATED FILE, DO NOT EDIT THIS Generated on 2014-09-04T10:16:59.663Z **/ var _ = require('lodash-node'); /** * The Track class * @constructor * @alias Track */ function Track() { /** * The name value * @member */ this.name = null; /** * The id value * @member */ this.id = null; } /** * @param value the value of 'name' * @returns {@link Track } */ Track.prototype.withName = function(value) { this['name'] = value; return this; }; /** * @param value the value of 'id' * @returns {@link Track } */ Track.prototype.withId = function(value) { this['id'] = value; return this; }; /** * The Album class * @constructor * @alias Album */ function Album() { /** * The name value * @member */ this.name = null; /** * The id value * @member */ this.id = null; } /** * @param value the value of 'name' * @returns {@link Album } */ Album.prototype.withName = function(value) { this['name'] = value; return this; }; /** * @param value the value of 'id' * @returns {@link Album } */ Album.prototype.withId = function(value) { this['id'] = value; return this; }; /** * The TrackPlayedSchema class * @constructor * @alias TrackPlayedSchema */ function TrackPlayedSchema() { /** * The track of value * @member * @type { Track } */ this.track = Object.create(Track.prototype); /** * The album of value * @member * @type { Album } */ this.album = Object.create(Album.prototype); } module.exports = TrackPlayedSchema;