<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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