<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Get_GeoFences StructType
 * @subpackage Structs
 */
class Get_GeoFences 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\GeoFenceSelection
     */
    public $GeoFenceSelection;
    /**
     * Constructor method for Get_GeoFences
     * @uses Get_GeoFences::setLogin()
     * @uses Get_GeoFences::setGeoFenceSelection()
     * @param \StructType\Login $login
     * @param \StructType\GeoFenceSelection $geoFenceSelection
     */
    public function __construct(\StructType\Login $login = null, \StructType\GeoFenceSelection $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\Get_GeoFences
     */
    public function setLogin(\StructType\Login $login = null)
    {
        $this->Login = $login;
        return $this;
    }
    /**
     * Get GeoFenceSelection value
     * @return \StructType\GeoFenceSelection|null
     */
    public function getGeoFenceSelection()
    {
        return $this->GeoFenceSelection;
    }
    /**
     * Set GeoFenceSelection value
     * @param \StructType\GeoFenceSelection $geoFenceSelection
     * @return \StructType\Get_GeoFences
     */
    public function setGeoFenceSelection(\StructType\GeoFenceSelection $geoFenceSelection = null)
    {
        $this->GeoFenceSelection = $geoFenceSelection;
        return $this;
    }
}
