generated/api/Models/PlanRuleExecutionSettings.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708)
// 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>Message object to hold settings for plan rule execution.</summary>
    public partial class PlanRuleExecutionSettings :
        Commvault.Powershell.Models.IPlanRuleExecutionSettings,
        Commvault.Powershell.Models.IPlanRuleExecutionSettingsInternal
    {

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

        /// <summary>
        /// Set this to enable/disable notification over email for subclients pending plan associationover 24 hours. By default, notification
        /// will be enabled.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? EnableAlertNotification { get => this._enableAlertNotification; set => this._enableAlertNotification = value; }

        /// <summary>Backing field for <see cref="ExecutionInterval" /> property.</summary>
        private long? _executionInterval;

        /// <summary>
        /// Setting to suggest evaluation frequency in case of evaluation mode being Automatic.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ExecutionInterval { get => this._executionInterval; set => this._executionInterval = value; }

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

        /// <summary>Plan rule execution mode</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ExecutionMode { get => this._executionMode; set => this._executionMode = value; }

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

        }
    }
    /// Message object to hold settings for plan rule execution.
    public partial interface IPlanRuleExecutionSettings :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>
        /// Set this to enable/disable notification over email for subclients pending plan associationover 24 hours. By default, notification
        /// will be enabled.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Set this to enable/disable notification over email for subclients pending plan associationover 24 hours. By default, notification will be enabled.",
        SerializedName = @"enableAlertNotification",
        PossibleTypes = new [] { typeof(bool) })]
        bool? EnableAlertNotification { get; set; }
        /// <summary>
        /// Setting to suggest evaluation frequency in case of evaluation mode being Automatic.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Setting to suggest evaluation frequency in case of evaluation mode being Automatic.",
        SerializedName = @"executionInterval",
        PossibleTypes = new [] { typeof(long) })]
        long? ExecutionInterval { get; set; }
        /// <summary>Plan rule execution mode</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Plan rule execution mode",
        SerializedName = @"executionMode",
        PossibleTypes = new [] { typeof(string) })]
        string ExecutionMode { get; set; }

    }
    /// Message object to hold settings for plan rule execution.
    internal partial interface IPlanRuleExecutionSettingsInternal

    {
        /// <summary>
        /// Set this to enable/disable notification over email for subclients pending plan associationover 24 hours. By default, notification
        /// will be enabled.
        /// </summary>
        bool? EnableAlertNotification { get; set; }
        /// <summary>
        /// Setting to suggest evaluation frequency in case of evaluation mode being Automatic.
        /// </summary>
        long? ExecutionInterval { get; set; }
        /// <summary>Plan rule execution mode</summary>
        string ExecutionMode { get; set; }

    }
}