<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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