Source: remotemessage/RetrieveCustomActivitiesRequestMessage.js

  1. /**
  2. * Autogenerated by Avro
  3. *
  4. * DO NOT EDIT DIRECTLY
  5. */
  6. var remotemessage_Method = require("../remotemessage/Method");
  7. var remotemessage_Message = require("../remotemessage/Message");
  8. /**
  9. * @constructor
  10. * @augments remotemessage.Message
  11. * @memberof remotemessage
  12. */
  13. var RetrieveCustomActivitiesRequestMessage = function() {
  14. remotemessage_Message.call(this);
  15. this._superClass_ = remotemessage_Message;
  16. this._class_ = RetrieveCustomActivitiesRequestMessage;
  17. this.setMethod(remotemessage_Method["RETRIEVE_CUSTOM_ACTIVITIES_REQUEST"]);
  18. this.filters = undefined;
  19. };
  20. RetrieveCustomActivitiesRequestMessage.prototype = Object.create(remotemessage_Message.prototype);
  21. RetrieveCustomActivitiesRequestMessage.prototype.constructor = RetrieveCustomActivitiesRequestMessage;
  22. /**
  23. * Set the field value
  24. * List of category names to filter the results on.
  25. *
  26. * @memberof remotemessage.RetrieveCustomActivitiesRequestMessage
  27. * @param {Array.<String>} filters An array of
  28. */
  29. RetrieveCustomActivitiesRequestMessage.prototype.setFilters = function(filters) {
  30. this.filters = filters;
  31. };
  32. /**
  33. * Get the field value
  34. * List of category names to filter the results on.
  35. * @memberof remotemessage.RetrieveCustomActivitiesRequestMessage
  36. * @return {Array.<String>} An array of
  37. */
  38. RetrieveCustomActivitiesRequestMessage.prototype.getFilters = function() {
  39. return this.filters;
  40. };
  41. RetrieveCustomActivitiesRequestMessage._meta_ = {fields: {}};
  42. RetrieveCustomActivitiesRequestMessage._meta_._class_ = RetrieveCustomActivitiesRequestMessage;
  43. RetrieveCustomActivitiesRequestMessage._meta_._superMeta_ = remotemessage_Message._meta_;
  44. RetrieveCustomActivitiesRequestMessage._meta_.fields["filters"] = {};
  45. RetrieveCustomActivitiesRequestMessage._meta_.fields["filters"].type = Array;
  46. //
  47. // Expose the module.
  48. //
  49. if ('undefined' !== typeof module) {
  50. module.exports = RetrieveCustomActivitiesRequestMessage;
  51. }