<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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