<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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