<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Update_GeoFence_V2 StructType
 * @subpackage Structs
 */
class Update_GeoFence_V2 extends AbstractStructBase
{
    /**
     * The Login
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\Login
     */
    public $Login;
    /**
     * The GeoFenceUpdate
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\InterfaceGeoFenceUpdate_V2
     */
    public $GeoFenceUpdate;
    /**
     * Constructor method for Update_GeoFence_V2
     * @uses Update_GeoFence_V2::setLogin()
     * @uses Update_GeoFence_V2::setGeoFenceUpdate()
     * @param \StructType\Login $login
     * @param \StructType\InterfaceGeoFenceUpdate_V2 $geoFenceUpdate
     */
    public function __construct(\StructType\Login $login = null, \StructType\InterfaceGeoFenceUpdate_V2 $geoFenceUpdate = null)
    {
        $this
            ->setLogin($login)
            ->setGeoFenceUpdate($geoFenceUpdate);
    }
    /**
     * Get Login value
     * @return \StructType\Login|null
     */
    public function getLogin()
    {
        return $this->Login;
    }
    /**
     * Set Login value
     * @param \StructType\Login $login
     * @return \StructType\Update_GeoFence_V2
     */
    public function setLogin(\StructType\Login $login = null)
    {
        $this->Login = $login;
        return $this;
    }
    /**
     * Get GeoFenceUpdate value
     * @return \StructType\InterfaceGeoFenceUpdate_V2|null
     */
    public function getGeoFenceUpdate()
    {
        return $this->GeoFenceUpdate;
    }
    /**
     * Set GeoFenceUpdate value
     * @param \StructType\InterfaceGeoFenceUpdate_V2 $geoFenceUpdate
     * @return \StructType\Update_GeoFence_V2
     */
    public function setGeoFenceUpdate(\StructType\InterfaceGeoFenceUpdate_V2 $geoFenceUpdate = null)
    {
        $this->GeoFenceUpdate = $geoFenceUpdate;
        return $this;
    }
}
