// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

// <auto-generated/>

#nullable disable

using System.Collections.Generic;
using Azure.Core;

namespace Azure.ResourceManager.Network.Models
{
    /// <summary> VirtualHub route table. </summary>
    public partial class VirtualHubRouteTable
    {
        /// <summary> Initializes a new instance of VirtualHubRouteTable. </summary>
        public VirtualHubRouteTable()
        {
            Routes = new ChangeTrackingList<VirtualHubRoute>();
        }

        /// <summary> Initializes a new instance of VirtualHubRouteTable. </summary>
        /// <param name="routes"> List of all routes. </param>
        internal VirtualHubRouteTable(IList<VirtualHubRoute> routes)
        {
            Routes = routes;
        }

        /// <summary> List of all routes. </summary>
        public IList<VirtualHubRoute> Routes { get; }
    }
}
