<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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