generated/api/Models/SnapConfigOverrideResp.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>Response template for Snap Config</summary> public partial class SnapConfigOverrideResp : Commvault.Powershell.Models.ISnapConfigOverrideResp, Commvault.Powershell.Models.ISnapConfigOverrideRespInternal { /// <summary>Backing field for <see cref="AssocType" /> property.</summary> private long? _assocType; /// <summary> /// Association type, at subclient level it is 9, at client level it is 8, at copy level it is 6 and by default at array level /// it is 3 /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? AssocType { get => this._assocType; set => this._assocType = value; } /// <summary>Backing field for <see cref="ClientId" /> property.</summary> private long? _clientId; /// <summary>Client Id</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? ClientId { get => this._clientId; set => this._clientId = value; } /// <summary>Backing field for <see cref="CopyId" /> property.</summary> private long? _copyId; /// <summary>snap copy id</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? CopyId { get => this._copyId; set => this._copyId = value; } /// <summary>Backing field for <see cref="SnapConfigurations" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.ISnapConfigsOverride> _snapConfigurations; /// <summary>Snap Config options that can be overridden</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.ISnapConfigsOverride> SnapConfigurations { get => this._snapConfigurations; set => this._snapConfigurations = value; } /// <summary>Backing field for <see cref="SubclientId" /> property.</summary> private long? _subclientId; /// <summary>Subclient id</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? SubclientId { get => this._subclientId; set => this._subclientId = value; } /// <summary>Creates an new <see cref="SnapConfigOverrideResp" /> instance.</summary> public SnapConfigOverrideResp() { } } /// Response template for Snap Config public partial interface ISnapConfigOverrideResp : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary> /// Association type, at subclient level it is 9, at client level it is 8, at copy level it is 6 and by default at array level /// it is 3 /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Association type, at subclient level it is 9, at client level it is 8, at copy level it is 6 and by default at array level it is 3", SerializedName = @"assocType", PossibleTypes = new [] { typeof(long) })] long? AssocType { get; set; } /// <summary>Client Id</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Client Id", SerializedName = @"clientId", PossibleTypes = new [] { typeof(long) })] long? ClientId { get; set; } /// <summary>snap copy id</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"snap copy id", SerializedName = @"copyId", PossibleTypes = new [] { typeof(long) })] long? CopyId { get; set; } /// <summary>Snap Config options that can be overridden</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Snap Config options that can be overridden", SerializedName = @"snapConfigurations", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ISnapConfigsOverride) })] System.Collections.Generic.List<Commvault.Powershell.Models.ISnapConfigsOverride> SnapConfigurations { get; set; } /// <summary>Subclient id</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Subclient id", SerializedName = @"subclientId", PossibleTypes = new [] { typeof(long) })] long? SubclientId { get; set; } } /// Response template for Snap Config internal partial interface ISnapConfigOverrideRespInternal { /// <summary> /// Association type, at subclient level it is 9, at client level it is 8, at copy level it is 6 and by default at array level /// it is 3 /// </summary> long? AssocType { get; set; } /// <summary>Client Id</summary> long? ClientId { get; set; } /// <summary>snap copy id</summary> long? CopyId { get; set; } /// <summary>Snap Config options that can be overridden</summary> System.Collections.Generic.List<Commvault.Powershell.Models.ISnapConfigsOverride> SnapConfigurations { get; set; } /// <summary>Subclient id</summary> long? SubclientId { get; set; } } } |