/**
 * 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 StockNotationScreenerSearchDataEbitMarginMaximum from './StockNotationScreenerSearchDataEbitMarginMaximum';
import StockNotationScreenerSearchDataEbitMarginMinimum from './StockNotationScreenerSearchDataEbitMarginMinimum';

/**
 * The StockNotationScreenerSearchDataReturnOnAssets1Mean model module.
 * @module model/StockNotationScreenerSearchDataReturnOnAssets1Mean
 * @version 0.9.2
 */
class StockNotationScreenerSearchDataReturnOnAssets1Mean {
    /**
     * Constructs a new <code>StockNotationScreenerSearchDataReturnOnAssets1Mean</code>.
     * Value range for the mean value.
     * @alias module:model/StockNotationScreenerSearchDataReturnOnAssets1Mean
     */
    constructor() { 
        
        StockNotationScreenerSearchDataReturnOnAssets1Mean.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>StockNotationScreenerSearchDataReturnOnAssets1Mean</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/StockNotationScreenerSearchDataReturnOnAssets1Mean} obj Optional instance to populate.
     * @return {module:model/StockNotationScreenerSearchDataReturnOnAssets1Mean} The populated <code>StockNotationScreenerSearchDataReturnOnAssets1Mean</code> instance.
     */
    static constructFromObject(data, obj) {
        if (data) {
            obj = obj || new StockNotationScreenerSearchDataReturnOnAssets1Mean();

            if (data.hasOwnProperty('minimum')) {
                obj['minimum'] = StockNotationScreenerSearchDataEbitMarginMinimum.constructFromObject(data['minimum']);
            }
            if (data.hasOwnProperty('maximum')) {
                obj['maximum'] = StockNotationScreenerSearchDataEbitMarginMaximum.constructFromObject(data['maximum']);
            }
        }
        return obj;
    }


}

/**
 * @member {module:model/StockNotationScreenerSearchDataEbitMarginMinimum} minimum
 */
StockNotationScreenerSearchDataReturnOnAssets1Mean.prototype['minimum'] = undefined;

/**
 * @member {module:model/StockNotationScreenerSearchDataEbitMarginMaximum} maximum
 */
StockNotationScreenerSearchDataReturnOnAssets1Mean.prototype['maximum'] = undefined;






export default StockNotationScreenerSearchDataReturnOnAssets1Mean;

