generated/api/Models/CreateBackupDestinations.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;

    public partial class CreateBackupDestinations :
        Commvault.Powershell.Models.ICreateBackupDestinations,
        Commvault.Powershell.Models.ICreateBackupDestinationsInternal
    {

        /// <summary>Backing field for <see cref="BackupDestinations" /> property.</summary>
        private Commvault.Powershell.Models.ICreateBackupDestination[] _backupDestinations;

        /// <summary>List of backup destinations to create</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.ICreateBackupDestination[] BackupDestinations { get => this._backupDestinations; set => this._backupDestinations = value; }

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

        }
    }
    public partial interface ICreateBackupDestinations :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>List of backup destinations to create</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"List of backup destinations to create",
        SerializedName = @"backupDestinations",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ICreateBackupDestination) })]
        Commvault.Powershell.Models.ICreateBackupDestination[] BackupDestinations { get; set; }

    }
    internal partial interface ICreateBackupDestinationsInternal

    {
        /// <summary>List of backup destinations to create</summary>
        Commvault.Powershell.Models.ICreateBackupDestination[] BackupDestinations { get; set; }

    }
}