<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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