generated/api/Models/Sites.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; 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 System.Collections.Generic.List<string> _secondarySiteNames; /// <summary>Secondary site names</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<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, Read = true, Create = true, Update = true, 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, Read = true, Create = true, Update = true, Description = @"Secondary site names", SerializedName = @"secondarySiteNames", PossibleTypes = new [] { typeof(string) })] System.Collections.Generic.List<string> SecondarySiteNames { get; set; } } internal partial interface ISitesInternal { /// <summary>Primary site name</summary> string PrimarySiteName { get; set; } /// <summary>Secondary site names</summary> System.Collections.Generic.List<string> SecondarySiteNames { get; set; } } } |