openapi-node
Version:
A Node library to interact with the Wix Hive (RESTful API)
102 lines (91 loc) • 1.62 kB
JavaScript
/**
THIS IS A GENERATED FILE, DO NOT EDIT THIS
Generated on 2014-09-04T10:16:59.657Z
**/
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 TrackPlaySchema class
* @constructor
* @alias TrackPlaySchema
*/
function TrackPlaySchema() {
/**
* 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 = TrackPlaySchema;