generated/api/Models/PlanSourceCopies.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.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;

    /// <summary>PlanSourceCopies</summary>
    public partial class PlanSourceCopies :
        Commvault.Powershell.Models.IPlanSourceCopies,
        Commvault.Powershell.Models.IPlanSourceCopiesInternal
    {

        /// <summary>Backing field for <see cref="Copy" /> property.</summary>
        private Commvault.Powershell.Models.IPlanSourceCopy[] _copy;

        /// <summary>List of backup destinations which can act as source copy for a new copy</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IPlanSourceCopy[] Copy { get => this._copy; set => this._copy = value; }

        /// <summary>Creates an new <see cref="PlanSourceCopies" /> instance.</summary>
        public PlanSourceCopies()
        {

        }
    }
    /// PlanSourceCopies
    public partial interface IPlanSourceCopies :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>List of backup destinations which can act as source copy for a new copy</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"List of backup destinations which can act as source copy for a new copy",
        SerializedName = @"copy",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IPlanSourceCopy) })]
        Commvault.Powershell.Models.IPlanSourceCopy[] Copy { get; set; }

    }
    /// PlanSourceCopies
    internal partial interface IPlanSourceCopiesInternal

    {
        /// <summary>List of backup destinations which can act as source copy for a new copy</summary>
        Commvault.Powershell.Models.IPlanSourceCopy[] Copy { get; set; }

    }
}