generated/api/Models/NotificationCriteriaOptions.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>NotificationCriteriaOptions</summary> public partial class NotificationCriteriaOptions : Commvault.Powershell.Models.INotificationCriteriaOptions, Commvault.Powershell.Models.INotificationCriteriaOptionsInternal { /// <summary>Backing field for <see cref="DelayTime" /> property.</summary> private long? _delayTime; /// <summary> /// Delayed time in seconds when the notification criteria value contains delayed flag /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? DelayTime { get => this._delayTime; set => this._delayTime = value; } /// <summary>Backing field for <see cref="PersistTime" /> property.</summary> private long? _persistTime; /// <summary> /// Persisting time in seconds when the notification criteria value contains repeated flag /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? PersistTime { get => this._persistTime; set => this._persistTime = value; } /// <summary>Backing field for <see cref="Value" /> property.</summary> private long? _value; /// <summary> /// Bit flag indicating notification criteria value. 1 means immediate, 2 means repeated and 8 means delayed /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Value { get => this._value; set => this._value = value; } /// <summary>Creates an new <see cref="NotificationCriteriaOptions" /> instance.</summary> public NotificationCriteriaOptions() { } } /// NotificationCriteriaOptions public partial interface INotificationCriteriaOptions : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary> /// Delayed time in seconds when the notification criteria value contains delayed flag /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Delayed time in seconds when the notification criteria value contains delayed flag", SerializedName = @"delayTime", PossibleTypes = new [] { typeof(long) })] long? DelayTime { get; set; } /// <summary> /// Persisting time in seconds when the notification criteria value contains repeated flag /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Persisting time in seconds when the notification criteria value contains repeated flag", SerializedName = @"persistTime", PossibleTypes = new [] { typeof(long) })] long? PersistTime { get; set; } /// <summary> /// Bit flag indicating notification criteria value. 1 means immediate, 2 means repeated and 8 means delayed /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Bit flag indicating notification criteria value. 1 means immediate, 2 means repeated and 8 means delayed", SerializedName = @"value", PossibleTypes = new [] { typeof(long) })] long? Value { get; set; } } /// NotificationCriteriaOptions internal partial interface INotificationCriteriaOptionsInternal { /// <summary> /// Delayed time in seconds when the notification criteria value contains delayed flag /// </summary> long? DelayTime { get; set; } /// <summary> /// Persisting time in seconds when the notification criteria value contains repeated flag /// </summary> long? PersistTime { get; set; } /// <summary> /// Bit flag indicating notification criteria value. 1 means immediate, 2 means repeated and 8 means delayed /// </summary> long? Value { get; set; } } } |