/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
var remotepay_KeyPress = require("../remotepay/KeyPress");
/**
* @constructor
* @memberof remotepay
*/
var KeyPressEnum = function() {
this._class_ = KeyPressEnum;
this.status = undefined;
};
/**
* Set the field value
* @memberof remotepay.KeyPressEnum
* @param {remotepay.KeyPress} status
*/
KeyPressEnum.prototype.setStatus = function(status) {
this.status = status;
};
/**
* Get the field value
* @memberof remotepay.KeyPressEnum
* @return {remotepay.KeyPress}
*/
KeyPressEnum.prototype.getStatus = function() {
return this.status;
};
/**
* @memberof remotepay.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 = remotepay_KeyPress;
//
// Expose the module.
//
if ('undefined' !== typeof module) {
module.exports = KeyPressEnum;
}