generated/api/Models/ModifySoftwareCacheDetails.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> /// Request to update software cache properties like associations, cache directory or enabled for a specific server. /// </summary> public partial class ModifySoftwareCacheDetails : Commvault.Powershell.Models.IModifySoftwareCacheDetails, Commvault.Powershell.Models.IModifySoftwareCacheDetailsInternal { /// <summary>Backing field for <see cref="Associations" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IModifySoftwareCacheAssociations> _associations; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IModifySoftwareCacheAssociations> Associations { get => this._associations; set => this._associations = value; } /// <summary>Backing field for <see cref="CacheDirectory" /> property.</summary> private string _cacheDirectory; /// <summary>The software cache directory path where the media will be located</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string CacheDirectory { get => this._cacheDirectory; set => this._cacheDirectory = value; } /// <summary>Backing field for <see cref="Enabled" /> property.</summary> private bool? _enabled; /// <summary>Whether the software cache is enabled or not</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? Enabled { get => this._enabled; set => this._enabled = value; } /// <summary>Creates an new <see cref="ModifySoftwareCacheDetails" /> instance.</summary> public ModifySoftwareCacheDetails() { } } /// Request to update software cache properties like associations, cache directory or enabled for a specific server. public partial interface IModifySoftwareCacheDetails : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"associations", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IModifySoftwareCacheAssociations) })] System.Collections.Generic.List<Commvault.Powershell.Models.IModifySoftwareCacheAssociations> Associations { get; set; } /// <summary>The software cache directory path where the media will be located</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The software cache directory path where the media will be located", SerializedName = @"cacheDirectory", PossibleTypes = new [] { typeof(string) })] string CacheDirectory { get; set; } /// <summary>Whether the software cache is enabled or not</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Whether the software cache is enabled or not", SerializedName = @"enabled", PossibleTypes = new [] { typeof(bool) })] bool? Enabled { get; set; } } /// Request to update software cache properties like associations, cache directory or enabled for a specific server. internal partial interface IModifySoftwareCacheDetailsInternal { System.Collections.Generic.List<Commvault.Powershell.Models.IModifySoftwareCacheAssociations> Associations { get; set; } /// <summary>The software cache directory path where the media will be located</summary> string CacheDirectory { get; set; } /// <summary>Whether the software cache is enabled or not</summary> bool? Enabled { get; set; } } } |