<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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