<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GeoFenceVehicleSelection StructType
 * @subpackage Structs
 */
class GeoFenceVehicleSelection extends AbstractStructBase
{
    /**
     * The Vehicle
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\IdentifierVehicle
     */
    public $Vehicle;
    /**
     * The GeoFence
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\IdentifierGeoFence
     */
    public $GeoFence;
    /**
     * Constructor method for GeoFenceVehicleSelection
     * @uses GeoFenceVehicleSelection::setVehicle()
     * @uses GeoFenceVehicleSelection::setGeoFence()
     * @param \StructType\IdentifierVehicle $vehicle
     * @param \StructType\IdentifierGeoFence $geoFence
     */
    public function __construct(\StructType\IdentifierVehicle $vehicle = null, \StructType\IdentifierGeoFence $geoFence = null)
    {
        $this
            ->setVehicle($vehicle)
            ->setGeoFence($geoFence);
    }
    /**
     * Get Vehicle value
     * @return \StructType\IdentifierVehicle|null
     */
    public function getVehicle()
    {
        return $this->Vehicle;
    }
    /**
     * Set Vehicle value
     * @param \StructType\IdentifierVehicle $vehicle
     * @return \StructType\GeoFenceVehicleSelection
     */
    public function setVehicle(\StructType\IdentifierVehicle $vehicle = null)
    {
        $this->Vehicle = $vehicle;
        return $this;
    }
    /**
     * Get GeoFence value
     * @return \StructType\IdentifierGeoFence|null
     */
    public function getGeoFence()
    {
        return $this->GeoFence;
    }
    /**
     * Set GeoFence value
     * @param \StructType\IdentifierGeoFence $geoFence
     * @return \StructType\GeoFenceVehicleSelection
     */
    public function setGeoFence(\StructType\IdentifierGeoFence $geoFence = null)
    {
        $this->GeoFence = $geoFence;
        return $this;
    }
}
