<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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