<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetRemainingDrivingRestingTimesResult StructType
 * @subpackage Structs
 */
class GetRemainingDrivingRestingTimesResult extends AbstractStructBase
{
    /**
     * The Vehicle_Date
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $Vehicle_Date;
    /**
     * The Driver
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\IdentifierPerson
     */
    public $Driver;
    /**
     * The Current_Vehicle
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\IdentifierVehicleResult
     */
    public $Current_Vehicle;
    /**
     * The Remaining_Driving_Times
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\RemainingDrivingTimes
     */
    public $Remaining_Driving_Times;
    /**
     * The Remaining_Resting_Times
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\RemainingRestingTimes
     */
    public $Remaining_Resting_Times;
    /**
     * The CurrentOBCActivity
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\OBC_Activity
     */
    public $CurrentOBCActivity;
    /**
     * The CurrentTachoActivity
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\Tacho_Activity
     */
    public $CurrentTachoActivity;
    /**
     * Constructor method for GetRemainingDrivingRestingTimesResult
     * @uses GetRemainingDrivingRestingTimesResult::setVehicle_Date()
     * @uses GetRemainingDrivingRestingTimesResult::setDriver()
     * @uses GetRemainingDrivingRestingTimesResult::setCurrent_Vehicle()
     * @uses GetRemainingDrivingRestingTimesResult::setRemaining_Driving_Times()
     * @uses GetRemainingDrivingRestingTimesResult::setRemaining_Resting_Times()
     * @uses GetRemainingDrivingRestingTimesResult::setCurrentOBCActivity()
     * @uses GetRemainingDrivingRestingTimesResult::setCurrentTachoActivity()
     * @param string $vehicle_Date
     * @param \StructType\IdentifierPerson $driver
     * @param \StructType\IdentifierVehicleResult $current_Vehicle
     * @param \StructType\RemainingDrivingTimes $remaining_Driving_Times
     * @param \StructType\RemainingRestingTimes $remaining_Resting_Times
     * @param \StructType\OBC_Activity $currentOBCActivity
     * @param \StructType\Tacho_Activity $currentTachoActivity
     */
    public function __construct($vehicle_Date = null, \StructType\IdentifierPerson $driver = null, \StructType\IdentifierVehicleResult $current_Vehicle = null, \StructType\RemainingDrivingTimes $remaining_Driving_Times = null, \StructType\RemainingRestingTimes $remaining_Resting_Times = null, \StructType\OBC_Activity $currentOBCActivity = null, \StructType\Tacho_Activity $currentTachoActivity = null)
    {
        $this
            ->setVehicle_Date($vehicle_Date)
            ->setDriver($driver)
            ->setCurrent_Vehicle($current_Vehicle)
            ->setRemaining_Driving_Times($remaining_Driving_Times)
            ->setRemaining_Resting_Times($remaining_Resting_Times)
            ->setCurrentOBCActivity($currentOBCActivity)
            ->setCurrentTachoActivity($currentTachoActivity);
    }
    /**
     * Get Vehicle_Date value
     * @return string
     */
    public function getVehicle_Date()
    {
        return $this->Vehicle_Date;
    }
    /**
     * Set Vehicle_Date value
     * @param string $vehicle_Date
     * @return \StructType\GetRemainingDrivingRestingTimesResult
     */
    public function setVehicle_Date($vehicle_Date = null)
    {
        // validation for constraint: string
        if (!is_null($vehicle_Date) && !is_string($vehicle_Date)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($vehicle_Date, true), gettype($vehicle_Date)), __LINE__);
        }
        $this->Vehicle_Date = $vehicle_Date;
        return $this;
    }
    /**
     * Get Driver value
     * @return \StructType\IdentifierPerson|null
     */
    public function getDriver()
    {
        return $this->Driver;
    }
    /**
     * Set Driver value
     * @param \StructType\IdentifierPerson $driver
     * @return \StructType\GetRemainingDrivingRestingTimesResult
     */
    public function setDriver(\StructType\IdentifierPerson $driver = null)
    {
        $this->Driver = $driver;
        return $this;
    }
    /**
     * Get Current_Vehicle value
     * @return \StructType\IdentifierVehicleResult|null
     */
    public function getCurrent_Vehicle()
    {
        return $this->Current_Vehicle;
    }
    /**
     * Set Current_Vehicle value
     * @param \StructType\IdentifierVehicleResult $current_Vehicle
     * @return \StructType\GetRemainingDrivingRestingTimesResult
     */
    public function setCurrent_Vehicle(\StructType\IdentifierVehicleResult $current_Vehicle = null)
    {
        $this->Current_Vehicle = $current_Vehicle;
        return $this;
    }
    /**
     * Get Remaining_Driving_Times value
     * @return \StructType\RemainingDrivingTimes|null
     */
    public function getRemaining_Driving_Times()
    {
        return $this->Remaining_Driving_Times;
    }
    /**
     * Set Remaining_Driving_Times value
     * @param \StructType\RemainingDrivingTimes $remaining_Driving_Times
     * @return \StructType\GetRemainingDrivingRestingTimesResult
     */
    public function setRemaining_Driving_Times(\StructType\RemainingDrivingTimes $remaining_Driving_Times = null)
    {
        $this->Remaining_Driving_Times = $remaining_Driving_Times;
        return $this;
    }
    /**
     * Get Remaining_Resting_Times value
     * @return \StructType\RemainingRestingTimes|null
     */
    public function getRemaining_Resting_Times()
    {
        return $this->Remaining_Resting_Times;
    }
    /**
     * Set Remaining_Resting_Times value
     * @param \StructType\RemainingRestingTimes $remaining_Resting_Times
     * @return \StructType\GetRemainingDrivingRestingTimesResult
     */
    public function setRemaining_Resting_Times(\StructType\RemainingRestingTimes $remaining_Resting_Times = null)
    {
        $this->Remaining_Resting_Times = $remaining_Resting_Times;
        return $this;
    }
    /**
     * Get CurrentOBCActivity value
     * @return \StructType\OBC_Activity|null
     */
    public function getCurrentOBCActivity()
    {
        return $this->CurrentOBCActivity;
    }
    /**
     * Set CurrentOBCActivity value
     * @param \StructType\OBC_Activity $currentOBCActivity
     * @return \StructType\GetRemainingDrivingRestingTimesResult
     */
    public function setCurrentOBCActivity(\StructType\OBC_Activity $currentOBCActivity = null)
    {
        $this->CurrentOBCActivity = $currentOBCActivity;
        return $this;
    }
    /**
     * Get CurrentTachoActivity value
     * @return \StructType\Tacho_Activity|null
     */
    public function getCurrentTachoActivity()
    {
        return $this->CurrentTachoActivity;
    }
    /**
     * Set CurrentTachoActivity value
     * @param \StructType\Tacho_Activity $currentTachoActivity
     * @return \StructType\GetRemainingDrivingRestingTimesResult
     */
    public function setCurrentTachoActivity(\StructType\Tacho_Activity $currentTachoActivity = null)
    {
        $this->CurrentTachoActivity = $currentTachoActivity;
        return $this;
    }
}
