<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for InterfaceGeoFenceInsert_V2 StructType
 * @subpackage Structs
 */
class InterfaceGeoFenceInsert_V2 extends GeoFence
{
    /**
     * The GeoZones
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfInterfaceGeoZone_V2
     */
    public $GeoZones;
    /**
     * Constructor method for InterfaceGeoFenceInsert_V2
     * @uses InterfaceGeoFenceInsert_V2::setGeoZones()
     * @param \ArrayType\ArrayOfInterfaceGeoZone_V2 $geoZones
     */
    public function __construct(\ArrayType\ArrayOfInterfaceGeoZone_V2 $geoZones = null)
    {
        $this
            ->setGeoZones($geoZones);
    }
    /**
     * Get GeoZones value
     * @return \ArrayType\ArrayOfInterfaceGeoZone_V2|null
     */
    public function getGeoZones()
    {
        return $this->GeoZones;
    }
    /**
     * Set GeoZones value
     * @param \ArrayType\ArrayOfInterfaceGeoZone_V2 $geoZones
     * @return \StructType\InterfaceGeoFenceInsert_V2
     */
    public function setGeoZones(\ArrayType\ArrayOfInterfaceGeoZone_V2 $geoZones = null)
    {
        $this->GeoZones = $geoZones;
        return $this;
    }
}
