text: 'use strict';
  
  Object.defineProperty(exports, "__esModule", {
      value: true
  });
  
  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * ExaVault API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * See our API reference documentation at https://www.exavault.com/developer/api-docs/
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * OpenAPI spec version: 2.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * Contact: support@exavault.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * NOTE: This class is auto generated by the swagger code generator program.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * https://github.com/swagger-api/swagger-codegen.git
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * Do not edit the class manually.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        */
  
  var _ApiClient = require('../ApiClient');
  
  var _ApiClient2 = _interopRequireDefault(_ApiClient);
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  
  /**
  * The NotificationRelationshipsResourceData model module.
  * @module model/NotificationRelationshipsResourceData
  * @version 2.2.5
  */
  var NotificationRelationshipsResourceData = function () {
      /**
      * Constructs a new <code>NotificationRelationshipsResourceData</code>.
      * @alias module:model/NotificationRelationshipsResourceData
      * @class
      */
  
      function NotificationRelationshipsResourceData() {
          _classCallCheck(this, NotificationRelationshipsResourceData);
  
          this['type'] = undefined;
          this['id'] = undefined;
      }
  
      /**
      * Constructs a <code>NotificationRelationshipsResourceData</code> from a plain JavaScript object, optionally creating a new instance.
      * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
      * @param {Object} data The plain JavaScript object bearing properties of interest.
      * @param {module:model/NotificationRelationshipsResourceData} obj Optional instance to populate.
      * @return {module:model/NotificationRelationshipsResourceData} The populated <code>NotificationRelationshipsResourceData</code> instance.
      */
  
  
      _createClass(NotificationRelationshipsResourceData, null, [{
          key: 'constructFromObject',
          value: function constructFromObject(data, obj) {
              if (data) {
                  obj = obj || new NotificationRelationshipsResourceData();
  
                  if (data.hasOwnProperty('type')) {
                      obj['type'] = _ApiClient2.default.convertToType(data['type'], 'String');
                  }
                  if (data.hasOwnProperty('id')) {
                      obj['id'] = _ApiClient2.default.convertToType(data['id'], 'Number');
                  }
              }
              return obj;
          }
  
          /**
          * @member {String} type
          */
  
          /**
          * @member {Number} id
          */
  
      }]);
  
      return NotificationRelationshipsResourceData;
  }();
  
  exports.default = NotificationRelationshipsResourceData;