<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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