<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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