<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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