Source: inventory/SortOrder.js

/**
 * Autogenerated by Avro
 * 
 * DO NOT EDIT DIRECTLY
 */


/**
* @constructor
* @memberof inventory
*/
var SortOrder = function() {
  this._class_ = SortOrder;
  this.ids = undefined;
};


/**
* Set the field value
* @memberof inventory.SortOrder
* @param {Array.<String>} ids An array of 
*/
SortOrder.prototype.setIds = function(ids) {
  this.ids = ids;
};

/**
* Get the field value
* @memberof inventory.SortOrder
* @return {Array.<String>} An array of 
*/
SortOrder.prototype.getIds = function() {
  return this.ids;
};

/**
* @memberof inventory.SortOrder
* @private
*/
SortOrder.prototype.getMetaInfo = function(fieldName) {
  var curclass = this._class_;
  do {
    var fieldMetaInfo = curclass._meta_.fields[fieldName];
    if(fieldMetaInfo) {
      return fieldMetaInfo;
    }
    if(curclass._meta_._superMeta_) {
      curclass = curclass._meta_._superMeta_._class_;
    } else {
      curclass = null;
    }
  } while(curclass);
  return null;
};

SortOrder.prototype.toString = function() {
  return JSON.stringify(this);
};

SortOrder._meta_ =  {fields:  {}};
SortOrder._meta_._class_ =  SortOrder;
SortOrder._meta_.fields["ids"] = {};
SortOrder._meta_.fields["ids"].type = Array;

//
// Expose the module.
//
if ('undefined' !== typeof module) {
module.exports = SortOrder;
}