generated/api/Models/ArchivePlanBackupDestinations.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 ArchivePlanBackupDestinations :
        Commvault.Powershell.Models.IArchivePlanBackupDestinations,
        Commvault.Powershell.Models.IArchivePlanBackupDestinationsInternal
    {

        /// <summary>Backing field for <see cref="Backupdestinations" /> property.</summary>
        private Commvault.Powershell.Models.IArchivePlanBackupDestination[] _backupdestinations;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IArchivePlanBackupDestination[] Backupdestinations { get => this._backupdestinations; set => this._backupdestinations = value; }

        /// <summary>Backing field for <see cref="RegionsConfigured" /> property.</summary>
        private bool? _regionsConfigured;

        /// <summary>Specifies if the plan has region-based storage</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? RegionsConfigured { get => this._regionsConfigured; set => this._regionsConfigured = value; }

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

        }
    }
    public partial interface IArchivePlanBackupDestinations :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"backupdestinations",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IArchivePlanBackupDestination) })]
        Commvault.Powershell.Models.IArchivePlanBackupDestination[] Backupdestinations { get; set; }
        /// <summary>Specifies if the plan has region-based storage</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Specifies if the plan has region-based storage",
        SerializedName = @"regionsConfigured",
        PossibleTypes = new [] { typeof(bool) })]
        bool? RegionsConfigured { get; set; }

    }
    internal partial interface IArchivePlanBackupDestinationsInternal

    {
        Commvault.Powershell.Models.IArchivePlanBackupDestination[] Backupdestinations { get; set; }
        /// <summary>Specifies if the plan has region-based storage</summary>
        bool? RegionsConfigured { get; set; }

    }
}