generated/api/Models/GlobalConfigInfo.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>Only applicable on Global CommCells</summary> public partial class GlobalConfigInfo : Commvault.Powershell.Models.IGlobalConfigInfo, Commvault.Powershell.Models.IGlobalConfigInfoInternal { /// <summary>Backing field for <see cref="ApplyOnAllCommCells" /> property.</summary> private bool? _applyOnAllCommCells; /// <summary> /// Decides whether the global configuration should be applied to all the Service commcells, including the newly created ones /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? ApplyOnAllCommCells { get => this._applyOnAllCommCells; set => this._applyOnAllCommCells = value; } /// <summary>Backing field for <see cref="Commcells" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IGlobalConfigCommcellInfo> _commcells; /// <summary>List of Service CommCells where the global configuration is applied</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IGlobalConfigCommcellInfo> Commcells { get => this._commcells; set => this._commcells = value; } /// <summary>Backing field for <see cref="Id" /> property.</summary> private string _id; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="IsMarkedForDeletion" /> property.</summary> private bool? _isMarkedForDeletion; /// <summary>Indicates whether global configuration deletion has been started.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? IsMarkedForDeletion { get => this._isMarkedForDeletion; set => this._isMarkedForDeletion = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Backing field for <see cref="Scope" /> property.</summary> private string _scope; /// <summary>The entity level at which the config is applied.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Scope { get => this._scope; set => this._scope = value; } /// <summary>Backing field for <see cref="ScopeFilterQuery" /> property.</summary> private string _scopeFilterQuery; /// <summary>CommCellEntityCache filter query string used for filtering the scope</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ScopeFilterQuery { get => this._scopeFilterQuery; set => this._scopeFilterQuery = value; } /// <summary>Backing field for <see cref="Status" /> property.</summary> private string _status; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Status { get => this._status; set => this._status = value; } /// <summary>Creates an new <see cref="GlobalConfigInfo" /> instance.</summary> public GlobalConfigInfo() { } } /// Only applicable on Global CommCells public partial interface IGlobalConfigInfo : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary> /// Decides whether the global configuration should be applied to all the Service commcells, including the newly created ones /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Decides whether the global configuration should be applied to all the Service commcells, including the newly created ones", SerializedName = @"applyOnAllCommCells", PossibleTypes = new [] { typeof(bool) })] bool? ApplyOnAllCommCells { get; set; } /// <summary>List of Service CommCells where the global configuration is applied</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"List of Service CommCells where the global configuration is applied", SerializedName = @"commcells", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IGlobalConfigCommcellInfo) })] System.Collections.Generic.List<Commvault.Powershell.Models.IGlobalConfigCommcellInfo> Commcells { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] string Id { get; set; } /// <summary>Indicates whether global configuration deletion has been started.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Indicates whether global configuration deletion has been started.", SerializedName = @"isMarkedForDeletion", PossibleTypes = new [] { typeof(bool) })] bool? IsMarkedForDeletion { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } /// <summary>The entity level at which the config is applied.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The entity level at which the config is applied.", SerializedName = @"scope", PossibleTypes = new [] { typeof(string) })] string Scope { get; set; } /// <summary>CommCellEntityCache filter query string used for filtering the scope</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"CommCellEntityCache filter query string used for filtering the scope", SerializedName = @"scopeFilterQuery", PossibleTypes = new [] { typeof(string) })] string ScopeFilterQuery { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"status", PossibleTypes = new [] { typeof(string) })] string Status { get; set; } } /// Only applicable on Global CommCells internal partial interface IGlobalConfigInfoInternal { /// <summary> /// Decides whether the global configuration should be applied to all the Service commcells, including the newly created ones /// </summary> bool? ApplyOnAllCommCells { get; set; } /// <summary>List of Service CommCells where the global configuration is applied</summary> System.Collections.Generic.List<Commvault.Powershell.Models.IGlobalConfigCommcellInfo> Commcells { get; set; } string Id { get; set; } /// <summary>Indicates whether global configuration deletion has been started.</summary> bool? IsMarkedForDeletion { get; set; } string Name { get; set; } /// <summary>The entity level at which the config is applied.</summary> string Scope { get; set; } /// <summary>CommCellEntityCache filter query string used for filtering the scope</summary> string ScopeFilterQuery { get; set; } string Status { get; set; } } } |