text: /**
   * Pipedrive API v1
   * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
   *
   * The version of the OpenAPI document: 1.0.0
   * 
   *
   * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
   * https://openapi-generator.tech
   * Do not edit the class manually.
   *
   */
  
  import ApiClient from '../ApiClient';
  
  /**
   * The DealFlowResponseAllOfData model module.
   * @module model/DealFlowResponseAllOfData
   * @version 1.0.0
   */
  class DealFlowResponseAllOfData {
      /**
       * Constructs a new <code>DealFlowResponseAllOfData</code>.
       * @alias module:model/DealFlowResponseAllOfData
       */
      constructor() { 
          
          DealFlowResponseAllOfData.initialize(this);
      }
  
      /**
       * Initializes the fields of this object.
       * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
       * Only for internal use.
       */
      static initialize(obj) { 
      }
  
      /**
       * Constructs a <code>DealFlowResponseAllOfData</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/DealFlowResponseAllOfData} obj Optional instance to populate.
       * @return {module:model/DealFlowResponseAllOfData} The populated <code>DealFlowResponseAllOfData</code> instance.
       */
      static constructFromObject(data, obj) {
          if (data) {
              obj = obj || new DealFlowResponseAllOfData();
  
              if (data.hasOwnProperty('object')) {
                  obj['object'] = ApiClient.convertToType(data['object'], 'String');
  
                  delete data['object'];
              }
              if (data.hasOwnProperty('timestamp')) {
                  obj['timestamp'] = ApiClient.convertToType(data['timestamp'], 'String');
  
                  delete data['timestamp'];
              }
              if (data.hasOwnProperty('data')) {
                  obj['data'] = ApiClient.convertToType(data['data'], Object);
  
                  delete data['data'];
              }
  
              if (Object.keys(data).length > 0) {
                  Object.assign(obj, data);
              }
  
          }
          return obj;
      }
  
  
  }
  
  /**
   * The type of the Deal update. (Possible object types - dealChange, note, activity, mailMessage, invoice, document, file)
   * @member {String} object
   */
  DealFlowResponseAllOfData.prototype['object'] = undefined;
  
  /**
   * The creation date and time of the update
   * @member {String} timestamp
   */
  DealFlowResponseAllOfData.prototype['timestamp'] = undefined;
  
  /**
   * The data related to the update
   * @member {Object} data
   */
  DealFlowResponseAllOfData.prototype['data'] = undefined;
  
  
  
  
  
  
  export default DealFlowResponseAllOfData;
  
  