generated/api/Models/PlanAddons.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 PlanAddons :
        Commvault.Powershell.Models.IPlanAddons,
        Commvault.Powershell.Models.IPlanAddonsInternal
    {

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

        /// <summary>Database options should be shown with this plan</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? Database { get => this._database; set => this._database = value; }

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

        /// <summary>File system options should be shown with this plan</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? FileSystem { get => this._fileSystem; set => this._fileSystem = value; }

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

        /// <summary>Index copy options should be shown with this plan</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? IndexCopy { get => this._indexCopy; set => this._indexCopy = value; }

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

        /// <summary>Snap options should be shown with this plan</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? Snap { get => this._snap; set => this._snap = value; }

        /// <summary>Backing field for <see cref="SnapStatus" /> property.</summary>
        private string _snapStatus;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string SnapStatus { get => this._snapStatus; set => this._snapStatus = value; }

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

        }
    }
    public partial interface IPlanAddons :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Database options should be shown with this plan</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Database options should be shown with this plan",
        SerializedName = @"database",
        PossibleTypes = new [] { typeof(bool) })]
        bool? Database { get; set; }
        /// <summary>File system options should be shown with this plan</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"File system options should be shown with this plan",
        SerializedName = @"fileSystem",
        PossibleTypes = new [] { typeof(bool) })]
        bool? FileSystem { get; set; }
        /// <summary>Index copy options should be shown with this plan</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Index copy options should be shown with this plan",
        SerializedName = @"indexCopy",
        PossibleTypes = new [] { typeof(bool) })]
        bool? IndexCopy { get; set; }
        /// <summary>Snap options should be shown with this plan</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Snap options should be shown with this plan",
        SerializedName = @"snap",
        PossibleTypes = new [] { typeof(bool) })]
        bool? Snap { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"snapStatus",
        PossibleTypes = new [] { typeof(string) })]
        string SnapStatus { get; set; }

    }
    internal partial interface IPlanAddonsInternal

    {
        /// <summary>Database options should be shown with this plan</summary>
        bool? Database { get; set; }
        /// <summary>File system options should be shown with this plan</summary>
        bool? FileSystem { get; set; }
        /// <summary>Index copy options should be shown with this plan</summary>
        bool? IndexCopy { get; set; }
        /// <summary>Snap options should be shown with this plan</summary>
        bool? Snap { get; set; }

        string SnapStatus { get; set; }

    }
}