<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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