/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
var remotemessage_KeyPress = require("../remotemessage/KeyPress");
/**
* @constructor
* @memberof remotemessage
*/
var KeyPressEnum = function() {
this._class_ = KeyPressEnum;
this.status = undefined;
};
/**
* Set the field value
* @memberof remotemessage.KeyPressEnum
* @param {remotemessage.KeyPress} status
*/
KeyPressEnum.prototype.setStatus = function(status) {
this.status = status;
};
/**
* Get the field value
* @memberof remotemessage.KeyPressEnum
* @return {remotemessage.KeyPress}
*/
KeyPressEnum.prototype.getStatus = function() {
return this.status;
};
/**
* @memberof remotemessage.KeyPressEnum
* @private
*/
KeyPressEnum.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;
};
KeyPressEnum.prototype.toString = function() {
return JSON.stringify(this);
};
KeyPressEnum._meta_ = {fields: {}};
KeyPressEnum._meta_._class_ = KeyPressEnum;
KeyPressEnum._meta_.fields["status"] = {};
KeyPressEnum._meta_.fields["status"].type = remotemessage_KeyPress;
//
// Expose the module.
//
if ('undefined' !== typeof module) {
module.exports = KeyPressEnum;
}