<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for TextMessageOutboxSelection_With_Vehicle_Selection
 * StructType
 * @subpackage Structs
 */
class TextMessageOutboxSelection_With_Vehicle_Selection extends TextMessageOutboxSelection
{
    /**
     * The Vehicles
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfIdentifierVehicle
     */
    public $Vehicles;
    /**
     * Constructor method for TextMessageOutboxSelection_With_Vehicle_Selection
     * @uses TextMessageOutboxSelection_With_Vehicle_Selection::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\TextMessageOutboxSelection_With_Vehicle_Selection
     */
    public function setVehicles(\ArrayType\ArrayOfIdentifierVehicle $vehicles = null)
    {
        $this->Vehicles = $vehicles;
        return $this;
    }
}
