<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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