<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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