text: /**
   * Prime Developer Trial
   * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
   *
   * The version of the OpenAPI document: v1
   * 
   *
   * 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 InlineResponse2002Currency from './InlineResponse2002Currency';
  import InlineResponse2002ProfitLoss from './InlineResponse2002ProfitLoss';
  import InlineResponse2002Summary from './InlineResponse2002Summary';
  
  /**
   * The InlineResponse2002Data model module.
   * @module model/InlineResponse2002Data
   * @version 0.9.2
   */
  class InlineResponse2002Data {
      /**
       * Constructs a new <code>InlineResponse2002Data</code>.
       * @alias module:model/InlineResponse2002Data
       */
      constructor() { 
          
          InlineResponse2002Data.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>InlineResponse2002Data</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/InlineResponse2002Data} obj Optional instance to populate.
       * @return {module:model/InlineResponse2002Data} The populated <code>InlineResponse2002Data</code> instance.
       */
      static constructFromObject(data, obj) {
          if (data) {
              obj = obj || new InlineResponse2002Data();
  
              if (data.hasOwnProperty('id')) {
                  obj['id'] = ApiClient.convertToType(data['id'], 'String');
              }
              if (data.hasOwnProperty('name')) {
                  obj['name'] = ApiClient.convertToType(data['name'], 'String');
              }
              if (data.hasOwnProperty('currency')) {
                  obj['currency'] = InlineResponse2002Currency.constructFromObject(data['currency']);
              }
              if (data.hasOwnProperty('summary')) {
                  obj['summary'] = InlineResponse2002Summary.constructFromObject(data['summary']);
              }
              if (data.hasOwnProperty('profitLoss')) {
                  obj['profitLoss'] = InlineResponse2002ProfitLoss.constructFromObject(data['profitLoss']);
              }
          }
          return obj;
      }
  
  
  }
  
  /**
   * Identifier of the portfolio.
   * @member {String} id
   */
  InlineResponse2002Data.prototype['id'] = undefined;
  
  /**
   * Name of the portfolio.
   * @member {String} name
   */
  InlineResponse2002Data.prototype['name'] = undefined;
  
  /**
   * @member {module:model/InlineResponse2002Currency} currency
   */
  InlineResponse2002Data.prototype['currency'] = undefined;
  
  /**
   * @member {module:model/InlineResponse2002Summary} summary
   */
  InlineResponse2002Data.prototype['summary'] = undefined;
  
  /**
   * @member {module:model/InlineResponse2002ProfitLoss} profitLoss
   */
  InlineResponse2002Data.prototype['profitLoss'] = undefined;
  
  
  
  
  
  
  export default InlineResponse2002Data;
  
  