generated/api/Models/EntityAuditList.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415)
// 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>EntityAuditList</summary>
    public partial class EntityAuditList :
        Commvault.Powershell.Models.IEntityAuditList,
        Commvault.Powershell.Models.IEntityAuditListInternal
    {

        /// <summary>Backing field for <see cref="AuditDetails" /> property.</summary>
        private Commvault.Powershell.Models.IEntityAuditInformation[] _auditDetails;

        /// <summary>List of audit information for an entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IEntityAuditInformation[] AuditDetails { get => this._auditDetails; set => this._auditDetails = value; }

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

        }
    }
    /// EntityAuditList
    public partial interface IEntityAuditList :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>List of audit information for an entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"List of audit information for an entity",
        SerializedName = @"auditDetails",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IEntityAuditInformation) })]
        Commvault.Powershell.Models.IEntityAuditInformation[] AuditDetails { get; set; }

    }
    /// EntityAuditList
    internal partial interface IEntityAuditListInternal

    {
        /// <summary>List of audit information for an entity</summary>
        Commvault.Powershell.Models.IEntityAuditInformation[] AuditDetails { get; set; }

    }
}