<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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