/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
var remotepay_BaseRequest = require("../remotepay/BaseRequest");
/**
* @constructor
* @augments remotepay.BaseRequest
* @memberof remotepay
*/
var RetrieveDeviceStatusRequest = function() {
remotepay_BaseRequest.call(this);
this._superClass_ = remotepay_BaseRequest;
this._class_ = RetrieveDeviceStatusRequest;
this.sendLastMessage = false;
};
RetrieveDeviceStatusRequest.prototype = Object.create(remotepay_BaseRequest.prototype);
RetrieveDeviceStatusRequest.prototype.constructor = RetrieveDeviceStatusRequest;
/**
* Set the field value
* Send last message, if true
*
* @memberof remotepay.RetrieveDeviceStatusRequest
* @param {Boolean} sendLastMessage
*/
RetrieveDeviceStatusRequest.prototype.setSendLastMessage = function(sendLastMessage) {
this.sendLastMessage = sendLastMessage;
};
/**
* Get the field value
* Send last message, if true
* @memberof remotepay.RetrieveDeviceStatusRequest
* @return {Boolean}
*/
RetrieveDeviceStatusRequest.prototype.getSendLastMessage = function() {
return this.sendLastMessage;
};
RetrieveDeviceStatusRequest._meta_ = {fields: {}};
RetrieveDeviceStatusRequest._meta_._class_ = RetrieveDeviceStatusRequest;
RetrieveDeviceStatusRequest._meta_._superMeta_ = remotepay_BaseRequest._meta_;
RetrieveDeviceStatusRequest._meta_.fields["sendLastMessage"] = {};
RetrieveDeviceStatusRequest._meta_.fields["sendLastMessage"].type = Boolean;
//
// Expose the module.
//
if ('undefined' !== typeof module) {
module.exports = RetrieveDeviceStatusRequest;
}