generated/api/Models/Sites.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/powershell@3.0.415) // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Commvault.Powershell.Models { using static Commvault.Powershell.Runtime.Extensions; public partial class Sites : Commvault.Powershell.Models.ISites, Commvault.Powershell.Models.ISitesInternal { /// <summary>Backing field for <see cref="PrimarySiteName" /> property.</summary> private string _primarySiteName; /// <summary>Primary site name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string PrimarySiteName { get => this._primarySiteName; set => this._primarySiteName = value; } /// <summary>Backing field for <see cref="SecondarySiteNames" /> property.</summary> private string[] _secondarySiteNames; /// <summary>Secondary site names</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string[] SecondarySiteNames { get => this._secondarySiteNames; set => this._secondarySiteNames = value; } /// <summary>Creates an new <see cref="Sites" /> instance.</summary> public Sites() { } } public partial interface ISites : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Primary site name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Primary site name", SerializedName = @"primarySiteName", PossibleTypes = new [] { typeof(string) })] string PrimarySiteName { get; set; } /// <summary>Secondary site names</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Secondary site names", SerializedName = @"secondarySiteNames", PossibleTypes = new [] { typeof(string) })] string[] SecondarySiteNames { get; set; } } internal partial interface ISitesInternal { /// <summary>Primary site name</summary> string PrimarySiteName { get; set; } /// <summary>Secondary site names</summary> string[] SecondarySiteNames { get; set; } } } |