generated/api/Models/ApplicationActivityControl.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>Kubernetes Application Activity Control Options</summary>
    public partial class ApplicationActivityControl :
        Commvault.Powershell.Models.IApplicationActivityControl,
        Commvault.Powershell.Models.IApplicationActivityControlInternal
    {

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? EnableBackup { get => this._enableBackup; set => this._enableBackup = value; }

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? EnableRestore { get => this._enableRestore; set => this._enableRestore = value; }

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

        }
    }
    /// Kubernetes Application Activity Control Options
    public partial interface IApplicationActivityControl :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"enableBackup",
        PossibleTypes = new [] { typeof(bool) })]
        bool? EnableBackup { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"enableRestore",
        PossibleTypes = new [] { typeof(bool) })]
        bool? EnableRestore { get; set; }

    }
    /// Kubernetes Application Activity Control Options
    internal partial interface IApplicationActivityControlInternal

    {
        bool? EnableBackup { get; set; }

        bool? EnableRestore { get; set; }

    }
}