generated/api/Models/NetworkSubnet.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708) // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Commvault.Powershell.Models { using static Commvault.Powershell.Runtime.Extensions; /// <summary>Network info</summary> public partial class NetworkSubnet : Commvault.Powershell.Models.INetworkSubnet, Commvault.Powershell.Models.INetworkSubnetInternal { /// <summary>Backing field for <see cref="Network" /> property.</summary> private string _network; /// <summary>The name of the network</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Network { get => this._network; set => this._network = value; } /// <summary>Backing field for <see cref="SubnetId" /> property.</summary> private string _subnetId; /// <summary>The ID of the subnet</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string SubnetId { get => this._subnetId; set => this._subnetId = value; } /// <summary>Creates an new <see cref="NetworkSubnet" /> instance.</summary> public NetworkSubnet() { } } /// Network info public partial interface INetworkSubnet : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>The name of the network</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The name of the network", SerializedName = @"network", PossibleTypes = new [] { typeof(string) })] string Network { get; set; } /// <summary>The ID of the subnet</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The ID of the subnet", SerializedName = @"subnetId", PossibleTypes = new [] { typeof(string) })] string SubnetId { get; set; } } /// Network info internal partial interface INetworkSubnetInternal { /// <summary>The name of the network</summary> string Network { get; set; } /// <summary>The ID of the subnet</summary> string SubnetId { get; set; } } } |