<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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