<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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