lib/WixClient.js
function WixLabelData() {

    /**
     * The id of the Label
     * @member WixLabelData#id
     * @type {string}
     */

    /**
     * A timestamp to indicate when this Label was created
     * @member
     * @type {Date}
     */
    this.createdAt = new Date().toISOString();

    /**
     * Label name
     * @member
     * @type {String}
     */
    this.name = null;

    /**
     * Label description
     * @member
     * @type {String}
     */
    this.description = null;

    /**
     * Label totalMembers
     * @member
     * @type {Number}
     */
    this.totalMembers = null;

    /**
     * Label labelType
     * @member
     * @type {String}
     */
    this.labelType = null;

    /**
     * @private
     */
    this.init = function(obj) {
        this.id = obj.id;
        this.name = obj.name;
        this.description = obj.description;
        this.totalMembers = obj.totalMembers;
        this.labelType = obj.labelType;
        this.createdAt = obj.createdAt;
        return this;
    };
}
function WixLabelData() {

    /**
     * The id of the Label
     * @member WixLabelData#id
     * @type {string}
     */

    /**
     * A timestamp to indicate when this Label was created
     * @member
     * @type {Date}
     */
    this.createdAt = new Date().toISOString();

    /**
     * Label name
     * @member
     * @type {String}
     */
    this.name = null;

    /**
     * Label description
     * @member
     * @type {String}
     */
    this.description = null;

    /**
     * Label totalMembers
     * @member
     * @type {Number}
     */
    this.totalMembers = null;

    /**
     * Label labelType
     * @member
     * @type {String}
     */
    this.labelType = null;

    /**
     * @private
     */
    this.init = function(obj) {
        this.id = obj.id;
        this.name = obj.name;
        this.description = obj.description;
        this.totalMembers = obj.totalMembers;
        this.labelType = obj.labelType;
        this.createdAt = obj.createdAt;
        return this;
    };
}
function WixLabelData ( ) { /**
     * The id of the Label
     * @member WixLabelData#id
     * @type {string}
     */ /**
     * A timestamp to indicate when this Label was created
     * @member
     * @type {Date}
     */ this . createdAt = new Date ( ) . toISOString ( ) ; /**
     * Label name
     * @member
     * @type {String}
     */ this . name = null ; /**
     * Label description
     * @member
     * @type {String}
     */ this . description = null ; /**
     * Label totalMembers
     * @member
     * @type {Number}
     */ this . totalMembers = null ; /**
     * Label labelType
     * @member
     * @type {String}
     */ this . labelType = null ; /**
     * @private
     */ this . init = function ( obj ) { this . id = obj . id ; this . name = obj . name ; this . description = obj . description ; this . totalMembers = obj . totalMembers ; this . labelType = obj . labelType ; this . createdAt = obj . createdAt ; return this ; } ; }
Represents an Label in the Wix ecosystem
@constructor
@alias WixLabelData
@class
Represents an Label in the Wix ecosystem