Source: remotemessage/ResultStatusEnum.js

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

var remotemessage_ResultStatus = require("../remotemessage/ResultStatus");

/**
* @constructor
* @memberof remotemessage
*/
var ResultStatusEnum = function() {
  this._class_ = ResultStatusEnum;
  this.status = undefined;
};


/**
* Set the field value
* @memberof remotemessage.ResultStatusEnum
* @param {remotemessage.ResultStatus} status 
*/
ResultStatusEnum.prototype.setStatus = function(status) {
  this.status = status;
};

/**
* Get the field value
* @memberof remotemessage.ResultStatusEnum
* @return {remotemessage.ResultStatus} 
*/
ResultStatusEnum.prototype.getStatus = function() {
  return this.status;
};

/**
* @memberof remotemessage.ResultStatusEnum
* @private
*/
ResultStatusEnum.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;
};

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

ResultStatusEnum._meta_ =  {fields:  {}};
ResultStatusEnum._meta_._class_ =  ResultStatusEnum;
ResultStatusEnum._meta_.fields["status"] = {};
ResultStatusEnum._meta_.fields["status"].type = remotemessage_ResultStatus;

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