generated/api/Models/VMFilter.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>vmFiltersummary</summary> public partial class VMFilter : Commvault.Powershell.Models.IVMFilter, Commvault.Powershell.Models.IVMFilterInternal { /// <summary>Backing field for <see cref="CustomAttributeName" /> property.</summary> private string _customAttributeName; /// <summary>Attribute name to check if filter type is VMCustomAttribute</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string CustomAttributeName { get => this._customAttributeName; set => this._customAttributeName = value; } /// <summary>Backing field for <see cref="Description" /> property.</summary> private string _description; /// <summary>Description for filter rule given by user</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Description { get => this._description; set => this._description = value; } /// <summary>Backing field for <see cref="Guid" /> property.</summary> private string _guid; /// <summary>GUID of the VM to be filtered</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Guid { get => this._guid; set => this._guid = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>The string to be filtered against</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Backing field for <see cref="Op" /> property.</summary> private string _op; /// <summary>Operation type for VM rules/filters</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Op { get => this._op; set => this._op = value; } /// <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="Type" /> property.</summary> private string _type; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Type { get => this._type; set => this._type = value; } /// <summary>Creates an new <see cref="VMFilter" /> instance.</summary> public VMFilter() { } } /// vmFiltersummary public partial interface IVMFilter : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Attribute name to check if filter type is VMCustomAttribute</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Attribute name to check if filter type is VMCustomAttribute", SerializedName = @"customAttributeName", PossibleTypes = new [] { typeof(string) })] string CustomAttributeName { get; set; } /// <summary>Description for filter rule given by user</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Description for filter rule given by user", SerializedName = @"description", PossibleTypes = new [] { typeof(string) })] string Description { get; set; } /// <summary>GUID of the VM to be filtered</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"GUID of the VM to be filtered", SerializedName = @"GUID", PossibleTypes = new [] { typeof(string) })] string Guid { get; set; } /// <summary>The string to be filtered against</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The string to be filtered against", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } /// <summary>Operation type for VM rules/filters</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Operation type for VM rules/filters", SerializedName = @"op", PossibleTypes = new [] { typeof(string) })] string Op { get; set; } /// <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 = @"type", PossibleTypes = new [] { typeof(string) })] string Type { get; set; } } /// vmFiltersummary internal partial interface IVMFilterInternal { /// <summary>Attribute name to check if filter type is VMCustomAttribute</summary> string CustomAttributeName { get; set; } /// <summary>Description for filter rule given by user</summary> string Description { get; set; } /// <summary>GUID of the VM to be filtered</summary> string Guid { get; set; } /// <summary>The string to be filtered against</summary> string Name { get; set; } /// <summary>Operation type for VM rules/filters</summary> string Op { get; set; } /// <summary> /// True if content in vmgroup has to be overwritten, by default it will append the content /// </summary> bool? Overwrite { get; set; } string Type { get; set; } } } |