<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for VehicleTimeDiagnostics StructType
 * @subpackage Structs
 */
class VehicleTimeDiagnostics extends AbstractStructBase
{
    /**
     * The LocalTimeZone
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $LocalTimeZone;
    /**
     * The SummerWinterChangeOver
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $SummerWinterChangeOver;
    /**
     * The ClockStatus
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $ClockStatus;
    /**
     * Constructor method for VehicleTimeDiagnostics
     * @uses VehicleTimeDiagnostics::setLocalTimeZone()
     * @uses VehicleTimeDiagnostics::setSummerWinterChangeOver()
     * @uses VehicleTimeDiagnostics::setClockStatus()
     * @param string $localTimeZone
     * @param string $summerWinterChangeOver
     * @param string $clockStatus
     */
    public function __construct($localTimeZone = null, $summerWinterChangeOver = null, $clockStatus = null)
    {
        $this
            ->setLocalTimeZone($localTimeZone)
            ->setSummerWinterChangeOver($summerWinterChangeOver)
            ->setClockStatus($clockStatus);
    }
    /**
     * Get LocalTimeZone value
     * @return string|null
     */
    public function getLocalTimeZone()
    {
        return $this->LocalTimeZone;
    }
    /**
     * Set LocalTimeZone value
     * @param string $localTimeZone
     * @return \StructType\VehicleTimeDiagnostics
     */
    public function setLocalTimeZone($localTimeZone = null)
    {
        // validation for constraint: string
        if (!is_null($localTimeZone) && !is_string($localTimeZone)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($localTimeZone, true), gettype($localTimeZone)), __LINE__);
        }
        $this->LocalTimeZone = $localTimeZone;
        return $this;
    }
    /**
     * Get SummerWinterChangeOver value
     * @return string|null
     */
    public function getSummerWinterChangeOver()
    {
        return $this->SummerWinterChangeOver;
    }
    /**
     * Set SummerWinterChangeOver value
     * @param string $summerWinterChangeOver
     * @return \StructType\VehicleTimeDiagnostics
     */
    public function setSummerWinterChangeOver($summerWinterChangeOver = null)
    {
        // validation for constraint: string
        if (!is_null($summerWinterChangeOver) && !is_string($summerWinterChangeOver)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($summerWinterChangeOver, true), gettype($summerWinterChangeOver)), __LINE__);
        }
        $this->SummerWinterChangeOver = $summerWinterChangeOver;
        return $this;
    }
    /**
     * Get ClockStatus value
     * @return string|null
     */
    public function getClockStatus()
    {
        return $this->ClockStatus;
    }
    /**
     * Set ClockStatus value
     * @param string $clockStatus
     * @return \StructType\VehicleTimeDiagnostics
     */
    public function setClockStatus($clockStatus = null)
    {
        // validation for constraint: string
        if (!is_null($clockStatus) && !is_string($clockStatus)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($clockStatus, true), gettype($clockStatus)), __LINE__);
        }
        $this->ClockStatus = $clockStatus;
        return $this;
    }
}
