generated/api/Models/VMDiskFilterProp.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415)
// 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 Commvault.Powershell.Models.IVMDiskFilter[] _rules;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public 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,
        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,
        Description = @"",
        SerializedName = @"rules",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IVMDiskFilter) })]
        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; }

        Commvault.Powershell.Models.IVMDiskFilter[] Rules { get; set; }

    }
}