<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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