models/invites/InviteContent.js

import MediaAttachment from './../MediaAttachment.js';

export default class InviteContent {
  /**
   * Creates a new InviteContent
   *
   * @constructor InviteContent
   * @param {Object} params - Invite content parameters
   * @param {string} [params.text] - Text
   * @param {string} [params.subject] - E-mail subject
   * @param {string} [params.twitterVia] - Twitter via account
   * @param {Object<string, string>} [params.linkParams={}] - Link parameters
   */
  constructor(params) {
    this.text = params.text || null;
    this.subject = params.subject || null;
    this.twitterVia = params.twitterVia || null;
    this.linkParams = params.linkParams || {};
  }
}