generated/api/Models/VMContent.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 VMContent : Commvault.Powershell.Models.IVMContent, Commvault.Powershell.Models.IVMContentInternal { /// <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="RuleGroups" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IRuleGroupContent> _ruleGroups; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IRuleGroupContent> RuleGroups { get => this._ruleGroups; set => this._ruleGroups = value; } /// <summary>Backing field for <see cref="VirtualMachines" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IVirtualMachinecontent> _virtualMachines; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IVirtualMachinecontent> VirtualMachines { get => this._virtualMachines; set => this._virtualMachines = value; } /// <summary>Creates an new <see cref="VMContent" /> instance.</summary> public VMContent() { } } /// RuleContent public partial interface IVMContent : 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 = @"ruleGroups", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IRuleGroupContent) })] System.Collections.Generic.List<Commvault.Powershell.Models.IRuleGroupContent> RuleGroups { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"virtualMachines", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IVirtualMachinecontent) })] System.Collections.Generic.List<Commvault.Powershell.Models.IVirtualMachinecontent> VirtualMachines { get; set; } } /// RuleContent internal partial interface IVMContentInternal { /// <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.IRuleGroupContent> RuleGroups { get; set; } System.Collections.Generic.List<Commvault.Powershell.Models.IVirtualMachinecontent> VirtualMachines { get; set; } } } |