<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetServiceTimesTachoDetailResult_V2 StructType
 * @subpackage Structs
 */
class GetServiceTimesTachoDetailResult_V2 extends ExecutionResult
{
    /**
     * The ServiceTimes
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfServiceTimeTachoDetail_V2
     */
    public $ServiceTimes;
    /**
     * Constructor method for GetServiceTimesTachoDetailResult_V2
     * @uses GetServiceTimesTachoDetailResult_V2::setServiceTimes()
     * @param \ArrayType\ArrayOfServiceTimeTachoDetail_V2 $serviceTimes
     */
    public function __construct(\ArrayType\ArrayOfServiceTimeTachoDetail_V2 $serviceTimes = null)
    {
        $this
            ->setServiceTimes($serviceTimes);
    }
    /**
     * Get ServiceTimes value
     * @return \ArrayType\ArrayOfServiceTimeTachoDetail_V2|null
     */
    public function getServiceTimes()
    {
        return $this->ServiceTimes;
    }
    /**
     * Set ServiceTimes value
     * @param \ArrayType\ArrayOfServiceTimeTachoDetail_V2 $serviceTimes
     * @return \StructType\GetServiceTimesTachoDetailResult_V2
     */
    public function setServiceTimes(\ArrayType\ArrayOfServiceTimeTachoDetail_V2 $serviceTimes = null)
    {
        $this->ServiceTimes = $serviceTimes;
        return $this;
    }
}
