generated/api/Models/ConditionDetails.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 ConditionDetails :
        Commvault.Powershell.Models.IConditionDetails,
        Commvault.Powershell.Models.IConditionDetailsInternal
    {

        /// <summary>Backing field for <see cref="AdvancedCriteria" /> property.</summary>
        private System.Collections.Generic.List<string> _advancedCriteria;

        /// <summary>List of advanced criteria options</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<string> AdvancedCriteria { get => this._advancedCriteria; set => this._advancedCriteria = value; }

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

        /// <summary>First value associated with the column when the operation type is BETWEEN</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string FromValue { get => this._fromValue; set => this._fromValue = value; }

        /// <summary>Backing field for <see cref="Id" /> property.</summary>
        private long _id;

        /// <summary>Unique identifier for the condition column</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long Id { get => this._id; set => this._id = value; }

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

        /// <summary>Name of the condition column</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Name { get => this._name; set => this._name = value; }

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

        /// <summary>Operation type value for the condition column</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Operation { get => this._operation; set => this._operation = value; }

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

        /// <summary>Second value associated with the column when the operation type is BETWEEN</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ToValue { get => this._toValue; set => this._toValue = value; }

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

        /// <summary>Value associated with the column</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Value { get => this._value; set => this._value = value; }

        /// <summary>Backing field for <see cref="ValuesList" /> property.</summary>
        private System.Collections.Generic.List<long> _valuesList;

        /// <summary>
        /// List of the values associated with the column in case of multiple values selection
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<long> ValuesList { get => this._valuesList; set => this._valuesList = value; }

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

        }
    }
    public partial interface IConditionDetails :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>List of advanced criteria options</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"List of advanced criteria options",
        SerializedName = @"advancedCriteria",
        PossibleTypes = new [] { typeof(string) })]
        System.Collections.Generic.List<string> AdvancedCriteria { get; set; }
        /// <summary>First value associated with the column when the operation type is BETWEEN</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"First value associated with the column when the operation type is BETWEEN",
        SerializedName = @"fromValue",
        PossibleTypes = new [] { typeof(string) })]
        string FromValue { get; set; }
        /// <summary>Unique identifier for the condition column</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Unique identifier for the condition column",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long Id { get; set; }
        /// <summary>Name of the condition column</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Name of the condition column",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
        /// <summary>Operation type value for the condition column</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Operation type value for the condition column",
        SerializedName = @"operation",
        PossibleTypes = new [] { typeof(string) })]
        string Operation { get; set; }
        /// <summary>Second value associated with the column when the operation type is BETWEEN</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Second value associated with the column when the operation type is BETWEEN",
        SerializedName = @"toValue",
        PossibleTypes = new [] { typeof(string) })]
        string ToValue { get; set; }
        /// <summary>Value associated with the column</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Value associated with the column",
        SerializedName = @"value",
        PossibleTypes = new [] { typeof(string) })]
        string Value { get; set; }
        /// <summary>
        /// List of the values associated with the column in case of multiple values selection
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"List of the values associated with the column in case of multiple values selection",
        SerializedName = @"valuesList",
        PossibleTypes = new [] { typeof(long) })]
        System.Collections.Generic.List<long> ValuesList { get; set; }

    }
    internal partial interface IConditionDetailsInternal

    {
        /// <summary>List of advanced criteria options</summary>
        System.Collections.Generic.List<string> AdvancedCriteria { get; set; }
        /// <summary>First value associated with the column when the operation type is BETWEEN</summary>
        string FromValue { get; set; }
        /// <summary>Unique identifier for the condition column</summary>
        long Id { get; set; }
        /// <summary>Name of the condition column</summary>
        string Name { get; set; }
        /// <summary>Operation type value for the condition column</summary>
        string Operation { get; set; }
        /// <summary>Second value associated with the column when the operation type is BETWEEN</summary>
        string ToValue { get; set; }
        /// <summary>Value associated with the column</summary>
        string Value { get; set; }
        /// <summary>
        /// List of the values associated with the column in case of multiple values selection
        /// </summary>
        System.Collections.Generic.List<long> ValuesList { get; set; }

    }
}