<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetVehicleResult_With_NextStop_Info StructType
 * @subpackage Structs
 */
class GetVehicleResult_With_NextStop_Info extends ExecutionResult
{
    /**
     * The Vehicles
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfVehicleResult_With_NextStop_Info
     */
    public $Vehicles;
    /**
     * Constructor method for GetVehicleResult_With_NextStop_Info
     * @uses GetVehicleResult_With_NextStop_Info::setVehicles()
     * @param \ArrayType\ArrayOfVehicleResult_With_NextStop_Info $vehicles
     */
    public function __construct(\ArrayType\ArrayOfVehicleResult_With_NextStop_Info $vehicles = null)
    {
        $this
            ->setVehicles($vehicles);
    }
    /**
     * Get Vehicles value
     * @return \ArrayType\ArrayOfVehicleResult_With_NextStop_Info|null
     */
    public function getVehicles()
    {
        return $this->Vehicles;
    }
    /**
     * Set Vehicles value
     * @param \ArrayType\ArrayOfVehicleResult_With_NextStop_Info $vehicles
     * @return \StructType\GetVehicleResult_With_NextStop_Info
     */
    public function setVehicles(\ArrayType\ArrayOfVehicleResult_With_NextStop_Info $vehicles = null)
    {
        $this->Vehicles = $vehicles;
        return $this;
    }
}
