<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetPlanningResult_v2 StructType
 * @subpackage Structs
 */
class GetPlanningResult_v2 extends ExecutionResult
{
    /**
     * The ItemSelection
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\GetPlanningItemSelectionResult_v2
     */
    public $ItemSelection;
    /**
     * The HistoricalSelection
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\GetPlanningHistoricalSelectionResult_v2
     */
    public $HistoricalSelection;
    /**
     * Constructor method for GetPlanningResult_v2
     * @uses GetPlanningResult_v2::setItemSelection()
     * @uses GetPlanningResult_v2::setHistoricalSelection()
     * @param \StructType\GetPlanningItemSelectionResult_v2 $itemSelection
     * @param \StructType\GetPlanningHistoricalSelectionResult_v2 $historicalSelection
     */
    public function __construct(\StructType\GetPlanningItemSelectionResult_v2 $itemSelection = null, \StructType\GetPlanningHistoricalSelectionResult_v2 $historicalSelection = null)
    {
        $this
            ->setItemSelection($itemSelection)
            ->setHistoricalSelection($historicalSelection);
    }
    /**
     * Get ItemSelection value
     * @return \StructType\GetPlanningItemSelectionResult_v2|null
     */
    public function getItemSelection()
    {
        return $this->ItemSelection;
    }
    /**
     * Set ItemSelection value
     * @param \StructType\GetPlanningItemSelectionResult_v2 $itemSelection
     * @return \StructType\GetPlanningResult_v2
     */
    public function setItemSelection(\StructType\GetPlanningItemSelectionResult_v2 $itemSelection = null)
    {
        $this->ItemSelection = $itemSelection;
        return $this;
    }
    /**
     * Get HistoricalSelection value
     * @return \StructType\GetPlanningHistoricalSelectionResult_v2|null
     */
    public function getHistoricalSelection()
    {
        return $this->HistoricalSelection;
    }
    /**
     * Set HistoricalSelection value
     * @param \StructType\GetPlanningHistoricalSelectionResult_v2 $historicalSelection
     * @return \StructType\GetPlanningResult_v2
     */
    public function setHistoricalSelection(\StructType\GetPlanningHistoricalSelectionResult_v2 $historicalSelection = null)
    {
        $this->HistoricalSelection = $historicalSelection;
        return $this;
    }
}
