<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for FollowedVehicleCollection StructType
 * @subpackage Structs
 */
class FollowedVehicleCollection extends AbstractStructBase
{
    /**
     * The GroupList
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfVehicleGroupItem
     */
    public $GroupList;
    /**
     * The SingleVehicleList
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfTrackedVehicle
     */
    public $SingleVehicleList;
    /**
     * Constructor method for FollowedVehicleCollection
     * @uses FollowedVehicleCollection::setGroupList()
     * @uses FollowedVehicleCollection::setSingleVehicleList()
     * @param \ArrayType\ArrayOfVehicleGroupItem $groupList
     * @param \ArrayType\ArrayOfTrackedVehicle $singleVehicleList
     */
    public function __construct(\ArrayType\ArrayOfVehicleGroupItem $groupList = null, \ArrayType\ArrayOfTrackedVehicle $singleVehicleList = null)
    {
        $this
            ->setGroupList($groupList)
            ->setSingleVehicleList($singleVehicleList);
    }
    /**
     * Get GroupList value
     * @return \ArrayType\ArrayOfVehicleGroupItem|null
     */
    public function getGroupList()
    {
        return $this->GroupList;
    }
    /**
     * Set GroupList value
     * @param \ArrayType\ArrayOfVehicleGroupItem $groupList
     * @return \StructType\FollowedVehicleCollection
     */
    public function setGroupList(\ArrayType\ArrayOfVehicleGroupItem $groupList = null)
    {
        $this->GroupList = $groupList;
        return $this;
    }
    /**
     * Get SingleVehicleList value
     * @return \ArrayType\ArrayOfTrackedVehicle|null
     */
    public function getSingleVehicleList()
    {
        return $this->SingleVehicleList;
    }
    /**
     * Set SingleVehicleList value
     * @param \ArrayType\ArrayOfTrackedVehicle $singleVehicleList
     * @return \StructType\FollowedVehicleCollection
     */
    public function setSingleVehicleList(\ArrayType\ArrayOfTrackedVehicle $singleVehicleList = null)
    {
        $this->SingleVehicleList = $singleVehicleList;
        return $this;
    }
}
