generated/api/Models/SoftwareCacheContent.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>Software cache content details.</summary>
    public partial class SoftwareCacheContent :
        Commvault.Powershell.Models.ISoftwareCacheContent,
        Commvault.Powershell.Models.ISoftwareCacheContentInternal
    {

        /// <summary>Backing field for <see cref="AdditionalUpdates" /> property.</summary>
        private string _additionalUpdates;

        /// <summary>List of additional updates available in software cache</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string AdditionalUpdates { get => this._additionalUpdates; set => this._additionalUpdates = value; }

        /// <summary>Backing field for <see cref="OSName" /> property.</summary>
        private string _oSName;

        /// <summary>OS Name of the media available in software cache</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string OSName { get => this._oSName; set => this._oSName = value; }

        /// <summary>Backing field for <see cref="PackagesInCache" /> property.</summary>
        private string _packagesInCache;

        /// <summary>List of packages available in the software cache</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string PackagesInCache { get => this._packagesInCache; set => this._packagesInCache = value; }

        /// <summary>Backing field for <see cref="Version" /> property.</summary>
        private string _version;

        /// <summary>Version of the media available in software cache</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Version { get => this._version; set => this._version = value; }

        /// <summary>Creates an new <see cref="SoftwareCacheContent" /> instance.</summary>
        public SoftwareCacheContent()
        {

        }
    }
    /// Software cache content details.
    public partial interface ISoftwareCacheContent :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>List of additional updates available in software cache</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"List of additional updates available in software cache",
        SerializedName = @"additionalUpdates",
        PossibleTypes = new [] { typeof(string) })]
        string AdditionalUpdates { get; set; }
        /// <summary>OS Name of the media available in software cache</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"OS Name of the media available in software cache",
        SerializedName = @"osName",
        PossibleTypes = new [] { typeof(string) })]
        string OSName { get; set; }
        /// <summary>List of packages available in the software cache</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"List of packages available in the software cache",
        SerializedName = @"packagesInCache",
        PossibleTypes = new [] { typeof(string) })]
        string PackagesInCache { get; set; }
        /// <summary>Version of the media available in software cache</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Version of the media available in software cache",
        SerializedName = @"version",
        PossibleTypes = new [] { typeof(string) })]
        string Version { get; set; }

    }
    /// Software cache content details.
    internal partial interface ISoftwareCacheContentInternal

    {
        /// <summary>List of additional updates available in software cache</summary>
        string AdditionalUpdates { get; set; }
        /// <summary>OS Name of the media available in software cache</summary>
        string OSName { get; set; }
        /// <summary>List of packages available in the software cache</summary>
        string PackagesInCache { get; set; }
        /// <summary>Version of the media available in software cache</summary>
        string Version { get; set; }

    }
}