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';
  import GlobalMessageBaseResponse from './GlobalMessageBaseResponse';
  import GlobalMessageData from './GlobalMessageData';
  import GlobalMessageGetAllOf from './GlobalMessageGetAllOf';
  
  /**
   * The GlobalMessageGet model module.
   * @module model/GlobalMessageGet
   * @version 1.0.0
   */
  class GlobalMessageGet {
      /**
       * Constructs a new <code>GlobalMessageGet</code>.
       * @alias module:model/GlobalMessageGet
       * @implements module:model/GlobalMessageBaseResponse
       * @implements module:model/GlobalMessageGetAllOf
       */
      constructor() { 
          GlobalMessageBaseResponse.initialize(this);GlobalMessageGetAllOf.initialize(this);
          GlobalMessageGet.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>GlobalMessageGet</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/GlobalMessageGet} obj Optional instance to populate.
       * @return {module:model/GlobalMessageGet} The populated <code>GlobalMessageGet</code> instance.
       */
      static constructFromObject(data, obj) {
          if (data) {
              obj = obj || new GlobalMessageGet();
              GlobalMessageBaseResponse.constructFromObject(data, obj);
              GlobalMessageGetAllOf.constructFromObject(data, obj);
  
              if (data.hasOwnProperty('success')) {
                  obj['success'] = ApiClient.convertToType(data['success'], 'Boolean');
  
                  delete data['success'];
              }
              if (data.hasOwnProperty('data')) {
                  obj['data'] = ApiClient.convertToType(data['data'], [GlobalMessageData]);
  
                  delete data['data'];
              }
              if (data.hasOwnProperty('handle_time')) {
                  obj['handle_time'] = ApiClient.convertToType(data['handle_time'], 'Number');
  
                  delete data['handle_time'];
              }
              if (data.hasOwnProperty('_req_time_ctx_ms')) {
                  obj['_req_time_ctx_ms'] = ApiClient.convertToType(data['_req_time_ctx_ms'], Object);
  
                  delete data['_req_time_ctx_ms'];
              }
  
              if (Object.keys(data).length > 0) {
                  Object.assign(obj, data);
              }
  
          }
          return obj;
      }
  
  
  }
  
  /**
   * If the request was successful or not
   * @member {Boolean} success
   */
  GlobalMessageGet.prototype['success'] = undefined;
  
  /**
   * The array of Global Messages
   * @member {Array.<module:model/GlobalMessageData>} data
   */
  GlobalMessageGet.prototype['data'] = undefined;
  
  /**
   * The total time of the controller processing
   * @member {Number} handle_time
   */
  GlobalMessageGet.prototype['handle_time'] = undefined;
  
  /**
   * The list of timers formatted by name and elapsed time in ms (such as `app`, `app_xss_clean`, `app_sanitizer_xss`)
   * @member {Object} _req_time_ctx_ms
   */
  GlobalMessageGet.prototype['_req_time_ctx_ms'] = undefined;
  
  
  // Implement GlobalMessageBaseResponse interface:
  /**
   * If the request was successful or not
   * @member {Boolean} success
   */
  GlobalMessageBaseResponse.prototype['success'] = undefined;
  // Implement GlobalMessageGetAllOf interface:
  /**
   * The array of Global Messages
   * @member {Array.<module:model/GlobalMessageData>} data
   */
  GlobalMessageGetAllOf.prototype['data'] = undefined;
  /**
   * The total time of the controller processing
   * @member {Number} handle_time
   */
  GlobalMessageGetAllOf.prototype['handle_time'] = undefined;
  /**
   * The list of timers formatted by name and elapsed time in ms (such as `app`, `app_xss_clean`, `app_sanitizer_xss`)
   * @member {Object} _req_time_ctx_ms
   */
  GlobalMessageGetAllOf.prototype['_req_time_ctx_ms'] = undefined;
  
  
  
  
  export default GlobalMessageGet;
  
  