<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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