<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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