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';
  
  /**
   * The InlineResponse2006KeyFiguresMaximumYield model module.
   * @module model/InlineResponse2006KeyFiguresMaximumYield
   * @version 0.10.0
   */
  class InlineResponse2006KeyFiguresMaximumYield {
      /**
       * Constructs a new <code>InlineResponse2006KeyFiguresMaximumYield</code>.
       * Maximum yield. It represents a hypothetical maximum payout at maturity minus the ask price of the derivative. This key figure represents a theoretically possible best-case scenario, disregarding the probability of occurrence. It is calculated only for securitized derivatives with a limited payout (e.g. capped products).
       * @alias module:model/InlineResponse2006KeyFiguresMaximumYield
       */
      constructor() { 
          
          InlineResponse2006KeyFiguresMaximumYield.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>InlineResponse2006KeyFiguresMaximumYield</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/InlineResponse2006KeyFiguresMaximumYield} obj Optional instance to populate.
       * @return {module:model/InlineResponse2006KeyFiguresMaximumYield} The populated <code>InlineResponse2006KeyFiguresMaximumYield</code> instance.
       */
      static constructFromObject(data, obj) {
          if (data) {
              obj = obj || new InlineResponse2006KeyFiguresMaximumYield();
  
              if (data.hasOwnProperty('absolute')) {
                  obj['absolute'] = ApiClient.convertToType(data['absolute'], 'Number');
              }
              if (data.hasOwnProperty('relative')) {
                  obj['relative'] = ApiClient.convertToType(data['relative'], 'Number');
              }
              if (data.hasOwnProperty('annualized')) {
                  obj['annualized'] = ApiClient.convertToType(data['annualized'], 'Number');
              }
          }
          return obj;
      }
  
  
  }
  
  /**
   * Maximum yield in absolute terms.
   * @member {Number} absolute
   */
  InlineResponse2006KeyFiguresMaximumYield.prototype['absolute'] = undefined;
  
  /**
   * Maximum yield relative to the ask price.
   * @member {Number} relative
   */
  InlineResponse2006KeyFiguresMaximumYield.prototype['relative'] = undefined;
  
  /**
   * Annualized maximum yield relative to the ask price.
   * @member {Number} annualized
   */
  InlineResponse2006KeyFiguresMaximumYield.prototype['annualized'] = undefined;
  
  
  
  
  
  
  export default InlineResponse2006KeyFiguresMaximumYield;
  
  