generated/api/Models/CacheConfigurations.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>CacheConfigurations</summary> public partial class CacheConfigurations : Commvault.Powershell.Models.ICacheConfigurations, Commvault.Powershell.Models.ICacheConfigurationsInternal { /// <summary>Backing field for <see cref="Enable" /> property.</summary> private bool? _enable; /// <summary>Tells if cache configuration is enabled for this storage</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? Enable { get => this._enable; set => this._enable = value; } /// <summary>Backing field for <see cref="MetadataCache" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IMetadataCache> _metadataCache; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IMetadataCache> MetadataCache { get => this._metadataCache; set => this._metadataCache = value; } /// <summary>Creates an new <see cref="CacheConfigurations" /> instance.</summary> public CacheConfigurations() { } } /// CacheConfigurations public partial interface ICacheConfigurations : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Tells if cache configuration is enabled for this storage</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Tells if cache configuration is enabled for this storage", SerializedName = @"enable", PossibleTypes = new [] { typeof(bool) })] bool? Enable { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"metadataCache", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IMetadataCache) })] System.Collections.Generic.List<Commvault.Powershell.Models.IMetadataCache> MetadataCache { get; set; } } /// CacheConfigurations internal partial interface ICacheConfigurationsInternal { /// <summary>Tells if cache configuration is enabled for this storage</summary> bool? Enable { get; set; } System.Collections.Generic.List<Commvault.Powershell.Models.IMetadataCache> MetadataCache { get; set; } } } |