generated/api/Models/EventCriteriaDetails.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;

    public partial class EventCriteriaDetails :
        Commvault.Powershell.Models.IEventCriteriaDetails,
        Commvault.Powershell.Models.IEventCriteriaDetailsInternal
    {

        /// <summary>Backing field for <see cref="Conditions" /> property.</summary>
        private System.Collections.Generic.List<Commvault.Powershell.Models.IConditionDetails> _conditions;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<Commvault.Powershell.Models.IConditionDetails> Conditions { get => this._conditions; set => this._conditions = value; }

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

        /// <summary>Alert criteria name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string CriteriaName { get => this._criteriaName; set => this._criteriaName = value; }

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

        /// <summary>Integer value for the operation type between conditions</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? OpBetweenConditions { get => this._opBetweenConditions; set => this._opBetweenConditions = value; }

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

        }
    }
    public partial interface IEventCriteriaDetails :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"conditions",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IConditionDetails) })]
        System.Collections.Generic.List<Commvault.Powershell.Models.IConditionDetails> Conditions { get; set; }
        /// <summary>Alert criteria name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Alert criteria name",
        SerializedName = @"criteriaName",
        PossibleTypes = new [] { typeof(string) })]
        string CriteriaName { get; set; }
        /// <summary>Integer value for the operation type between conditions</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Integer value for the operation type between conditions",
        SerializedName = @"opBetweenConditions",
        PossibleTypes = new [] { typeof(long) })]
        long? OpBetweenConditions { get; set; }

    }
    internal partial interface IEventCriteriaDetailsInternal

    {
        System.Collections.Generic.List<Commvault.Powershell.Models.IConditionDetails> Conditions { get; set; }
        /// <summary>Alert criteria name</summary>
        string CriteriaName { get; set; }
        /// <summary>Integer value for the operation type between conditions</summary>
        long? OpBetweenConditions { get; set; }

    }
}