<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetEcoPerformanceResult StructType
 * @subpackage Structs
 */
class GetEcoPerformanceResult extends ExecutionResult
{
    /**
     * The EcoPerformanceReports
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfEcoPerformanceReport
     */
    public $EcoPerformanceReports;
    /**
     * The ProfileDetails
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\EcoPerformanceProfileDetails
     */
    public $ProfileDetails;
    /**
     * Constructor method for GetEcoPerformanceResult
     * @uses GetEcoPerformanceResult::setEcoPerformanceReports()
     * @uses GetEcoPerformanceResult::setProfileDetails()
     * @param \ArrayType\ArrayOfEcoPerformanceReport $ecoPerformanceReports
     * @param \StructType\EcoPerformanceProfileDetails $profileDetails
     */
    public function __construct(\ArrayType\ArrayOfEcoPerformanceReport $ecoPerformanceReports = null, \StructType\EcoPerformanceProfileDetails $profileDetails = null)
    {
        $this
            ->setEcoPerformanceReports($ecoPerformanceReports)
            ->setProfileDetails($profileDetails);
    }
    /**
     * Get EcoPerformanceReports value
     * @return \ArrayType\ArrayOfEcoPerformanceReport|null
     */
    public function getEcoPerformanceReports()
    {
        return $this->EcoPerformanceReports;
    }
    /**
     * Set EcoPerformanceReports value
     * @param \ArrayType\ArrayOfEcoPerformanceReport $ecoPerformanceReports
     * @return \StructType\GetEcoPerformanceResult
     */
    public function setEcoPerformanceReports(\ArrayType\ArrayOfEcoPerformanceReport $ecoPerformanceReports = null)
    {
        $this->EcoPerformanceReports = $ecoPerformanceReports;
        return $this;
    }
    /**
     * Get ProfileDetails value
     * @return \StructType\EcoPerformanceProfileDetails|null
     */
    public function getProfileDetails()
    {
        return $this->ProfileDetails;
    }
    /**
     * Set ProfileDetails value
     * @param \StructType\EcoPerformanceProfileDetails $profileDetails
     * @return \StructType\GetEcoPerformanceResult
     */
    public function setProfileDetails(\StructType\EcoPerformanceProfileDetails $profileDetails = null)
    {
        $this->ProfileDetails = $profileDetails;
        return $this;
    }
}
