generated/api/Models/VMDiskFilterProp.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>vmDiskFilterProp</summary>
    public partial class VMDiskFilterProp :
        Commvault.Powershell.Models.IVMDiskFilterProp,
        Commvault.Powershell.Models.IVMDiskFilterPropInternal
    {

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

        /// <summary>
        /// True if content in vmgroup has to be overwritten, by default it will append the content
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? Overwrite { get => this._overwrite; set => this._overwrite = value; }

        /// <summary>Backing field for <see cref="Rules" /> property.</summary>
        private System.Collections.Generic.List<Commvault.Powershell.Models.IVMDiskFilter> _rules;

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

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

        }
    }
    /// vmDiskFilterProp
    public partial interface IVMDiskFilterProp :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>
        /// True if content in vmgroup has to be overwritten, by default it will append the content
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"True if content in vmgroup has to be overwritten, by default it will append the content",
        SerializedName = @"overwrite",
        PossibleTypes = new [] { typeof(bool) })]
        bool? Overwrite { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"rules",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IVMDiskFilter) })]
        System.Collections.Generic.List<Commvault.Powershell.Models.IVMDiskFilter> Rules { get; set; }

    }
    /// vmDiskFilterProp
    internal partial interface IVMDiskFilterPropInternal

    {
        /// <summary>
        /// True if content in vmgroup has to be overwritten, by default it will append the content
        /// </summary>
        bool? Overwrite { get; set; }

        System.Collections.Generic.List<Commvault.Powershell.Models.IVMDiskFilter> Rules { get; set; }

    }
}