generated/api/Models/RuleContent.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>RuleContent</summary> public partial class RuleContent : Commvault.Powershell.Models.IRuleContent, Commvault.Powershell.Models.IRuleContentInternal { /// <summary>Backing field for <see cref="Condition" /> property.</summary> private string _condition; /// <summary>Operation type for VM rules/filters</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Condition { get => this._condition; set => this._condition = value; } /// <summary>Backing field for <see cref="DisplayName" /> property.</summary> private string _displayName; /// <summary>The display name of the entity to be added</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DisplayName { get => this._displayName; set => this._displayName = value; } /// <summary>Backing field for <see cref="Guid" /> property.</summary> private string _guid; /// <summary>GUID of the entity to be added as content</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>name of the VM to be added as content</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = 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>Backing field for <see cref="Value" /> property.</summary> private string _value; /// <summary>value for the few type of VM Content like powerstate</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Value { get => this._value; set => this._value = value; } /// <summary>Creates an new <see cref="RuleContent" /> instance.</summary> public RuleContent() { } } /// RuleContent public partial interface IRuleContent : Commvault.Powershell.Runtime.IJsonSerializable { /// <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 = @"condition", PossibleTypes = new [] { typeof(string) })] string Condition { get; set; } /// <summary>The display name of the entity to be added</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The display name of the entity to be added", SerializedName = @"displayName", PossibleTypes = new [] { typeof(string) })] string DisplayName { get; set; } /// <summary>GUID of the entity to be added as content</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"GUID of the entity to be added as content", SerializedName = @"GUID", PossibleTypes = new [] { typeof(string) })] string Guid { get; set; } /// <summary>name of the VM to be added as content</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"name of the VM to be added as content", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { 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; } /// <summary>value for the few type of VM Content like powerstate</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"value for the few type of VM Content like powerstate", SerializedName = @"value", PossibleTypes = new [] { typeof(string) })] string Value { get; set; } } /// RuleContent internal partial interface IRuleContentInternal { /// <summary>Operation type for VM rules/filters</summary> string Condition { get; set; } /// <summary>The display name of the entity to be added</summary> string DisplayName { get; set; } /// <summary>GUID of the entity to be added as content</summary> string Guid { get; set; } /// <summary>name of the VM to be added as content</summary> string Name { get; set; } string Type { get; set; } /// <summary>value for the few type of VM Content like powerstate</summary> string Value { get; set; } } } |